gapt.logic.hol
Members list
Packages
Type members
Classlikes
Attributes
- Source
- AndOr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AndOr.type
Computes a negative CNF of a formula, i.e. one that is logically equivalent to the negation of the input formula.
Computes a negative CNF of a formula, i.e. one that is logically equivalent to the negation of the input formula.
The computation is done by expanding the input formula using distributivity.
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CNFn.type
Computes a positive CNF of a formula, i.e. one that is logically equivalent to the input formula.
Computes a positive CNF of a formula, i.e. one that is logically equivalent to the input formula.
The computation is done by expanding the input formula using distributivity.
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CNFp.type
A PredicateEliminationProblem where the first-order part is given by a first-order clause set.
A PredicateEliminationProblem where the first-order part is given by a first-order clause set.
Value parameters
- firstOrderClauses
-
a set of first-order clauses describing the first-order part of the predicate elimination problem
- variablesToEliminate
-
see PredicateEliminationProblem.varsToEliminate
Attributes
- Source
- predicateEliminationProblem.scala
- Supertypes
Computes a negative DNF of a formula, i.e. one that is logically equivalent to the negation of the input formula.
Computes a negative DNF of a formula, i.e. one that is logically equivalent to the negation of the input formula.
The computation is done by expanding the input formula using distributivity.
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DNFn.type
Computes a positive DNF of a formula, i.e. one that is logically equivalent to the input formula.
Computes a positive DNF of a formula, i.e. one that is logically equivalent to the input formula.
The computation is done by expanding the input formula using distributivity.
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DNFp.type
A predicate elimination problem describes a formula of the form ∃X₁ ... ∃Xₙ φ where φ is first-order and we have separated the first-order part from the second-order quantifiers.
A predicate elimination problem describes a formula of the form ∃X₁ ... ∃Xₙ φ where φ is first-order and we have separated the first-order part from the second-order quantifiers.
This is a common data structure used that describes the input for algorithms solving (witnessed) second-order quantifier elimination and formula equations
Value parameters
- firstOrderPart
-
first-order part of the predicate elimination problem that is not allowed to contain second-order quantifiers Since firstOrderPart needs to contain the second-order variables of the predicate elimination problem we cannot enforce that formula is a gapt.expr.formula.fol.FOLFormula
- varsToEliminate
-
the variables that are quantified over and are to be eliminated
Attributes
- Source
- predicateEliminationProblem.scala
- Supertypes
List of definitions of Skolem symbols.
List of definitions of Skolem symbols.
A Skolem definition is similar but slightly different from the epsilon operator:
Syntactically it is a map s_i → λx_1 .. λx_n Qy φ(x_1, .., x_n, y), where Q is a quantifier. Then s_i(x_1, .., x_n) is the Skolem term used for the formula Qy φ(x_1, .., x_n, y), where Qy is strong.
This Skolem term corresponds to the epsilon term εy φ(x_1, .., x_n, y) or εy ¬φ(x_1, .., x_n), depending on whether Q is ∃ or ∀. The reason we don't use epsilon terms directly is that this makes it impossible to deskolemize a formula based on just the Skolem definitions: for example both ∃x ∀y φ and ∃x ¬∃y¬ φ would define their Skolem functions using the same epsilon terms.
Attributes
- Companion
- object
- Source
- SkolemFunctions.scala
- Supertypes
Attributes
- Companion
- class
- Source
- SkolemFunctions.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SkolemFunctions.type
Attributes
- Source
- fastStructuralCNF.scala
- Supertypes
Checks whether a sequent is in (a minor extension of) Orevkov's class 1.
Checks whether a sequent is in (a minor extension of) Orevkov's class 1.
This is a Glivenko class, i.e., whenever this function returns true for a first-order formula, then that formula is provable in intuitionistic logic iff it is provable in classical logic.
Attributes
- Source
- isOrevkovClass1.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isOrevkovClass1.type
Attributes
- Source
- moveQuantifiers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
moveQuantifiers.type
Attributes
- Source
- removeRedundantQuantifiers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- scan.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
scan.type
Simplify a Formula using the equations for bottom and top as well as idempotence of conjunction and disjunction.
Simplify a Formula using the equations for bottom and top as well as idempotence of conjunction and disjunction.
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- skolemize.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
skolemize.type
Takes a predicate elimination problem ∃X₁ ... ∃Xₙ φ and if successful returns a substitution of the second order variables X₁,...,Xₙ such that applying the substitution to φ is a valid first-order formula. The method uses wdls to construct a substitution such that applying it to φ gives a formula equivalent to ∃X₁ ... ∃Xₙ φ. Then Escargot is used to check if the found first-order formula is valid and returns a Failure, if it is not.
Takes a predicate elimination problem ∃X₁ ... ∃Xₙ φ and if successful returns a substitution of the second order variables X₁,...,Xₙ such that applying the substitution to φ is a valid first-order formula. The method uses wdls to construct a substitution such that applying it to φ gives a formula equivalent to ∃X₁ ... ∃Xₙ φ. Then Escargot is used to check if the found first-order formula is valid and returns a Failure, if it is not.
See wdls for a detailed description when this succeeds and when it fails.
Attributes
- Source
- solveFormulaEquation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
solveFormulaEquation.type
Transforms a formula to negation normal form (transforming also implications into disjunctions)
Transforms a formula to negation normal form (transforming also implications into disjunctions)
Attributes
- Source
- normalForms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
toNNF.type
Attributes
- Source
- wscan.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
wscan.type
Value members
Concrete methods
Value parameters
- expr
-
expression to get the free first-order variables of
Attributes
- Returns
-
the set of first-order variables in expr
- Source
- predicateEliminationProblem.scala
Extensions
Extensions
Attributes
- Returns
-
the first-order universal closure of the conjunction of the clauses in the set.
- Source
- predicateEliminationProblem.scala