gapt.logic.hol

package gapt.logic.hol

Members list

Packages

Type members

Classlikes

object AndOr

Attributes

Source
AndOr.scala
Supertypes
class Object
trait Matchable
class Any
Self type
AndOr.type
object CNFn

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 Object
trait Matchable
class Any
Self type
CNFn.type
object CNFp

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 Object
trait Matchable
class Any
Self type
CNFp.type
object DNFn

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 Object
trait Matchable
class Any
Self type
DNFn.type
object DNFp

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 Object
trait Matchable
class Any
Self type
DNFp.type
case class SkolemFunctions(skolemDefs: Map[Const, Expr])

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
SkolemFunctions.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class fastStructuralCNF(propositional: Boolean, bidirectionalDefs: Boolean)

Attributes

Source
fastStructuralCNF.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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 Object
trait Matchable
class Any
Self type

Attributes

Source
moveQuantifiers.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
removeRedundantQuantifiers.scala
Supertypes
class Object
trait Matchable
class Any
Self 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 Object
trait Matchable
class Any
Self type
object skolemize

Attributes

Source
skolemize.scala
Supertypes
class Object
trait Matchable
class Any
Self type
skolemize.type

Takes a formula equation F[X₁,...,Xₙ] and if successful returns a substitution of the second order variables X_1,...,X_n such that applying the substitution to F is a valid first-order formula. See dls for a detailed description when this succeeds and when it fails. In addition, this method uses Escargot to check if the found first-order formula is valid and returns a Failure, if it is not.

Takes a formula equation F[X₁,...,Xₙ] and if successful returns a substitution of the second order variables X_1,...,X_n such that applying the substitution to F is a valid first-order formula. See dls for a detailed description when this succeeds and when it fails. In addition, this method uses Escargot to check if the found first-order formula is valid and returns a Failure, if it is not.

Attributes

Source
solveFormulaEquation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object toNNF

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 Object
trait Matchable
class Any
Self type
toNNF.type