gapt.expr.formula.hol
Members list
Type members
Classlikes
Attributes
- Source
- HOLPosition.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BinaryConnective.type
Attributes
- Companion
- object
- Source
- HOLAtomConst.scala
- Supertypes
-
trait HOLPartialAtomclass Consttrait VarOrConstclass Exprclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait FOLAtomConsttrait PropAtom
Attributes
- Companion
- trait
- Source
- HOLAtomConst.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HOLAtomConst.type
Attributes
- Source
- HOLFunction.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HOLFunction.type
Ordering for HOL Formulas (also for FOL)
Ordering for HOL Formulas (also for FOL)
Attributes
- Companion
- class
- Source
- orderings.scala
- Supertypes
-
class HOLOrderingtrait PartialOrdering[Expr]trait Serializabletrait Comparator[Expr]class Objecttrait Matchableclass AnyShow all
- Self type
-
HOLOrdering.type
Attributes
- Companion
- object
- Source
- orderings.scala
- Supertypes
- Known subtypes
-
object HOLOrdering.type
Attributes
- Source
- HOLPartialAtom.scala
- Supertypes
- Known subtypes
-
trait FOLPartialAtomtrait FOLAtomtrait PropAtomtrait FOLAtomConsttrait HOLAtomConsttrait AtomShow all
Attributes
- Companion
- class
- Source
- HOLPosition.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HOLPosition.type
Represents a position in a gapt.expr.Expr.
Represents a position in a gapt.expr.Expr.
Positions are represented by lists of Integers. The empty list denotes the expression itself. A nonempty list denotes a position in the left or right subexpression according to whether it starts with 1 or 2.
The difference between this and gapt.expr.util.LambdaPosition lies in the handling of quantifiers and binary logical connectives. LambdaPositions treat e.g. conjunctions like any other function, while HOLPositions treat them naturally, i.e. 1 denotes the left conjunct and 2 the right conjunct.
Note that this can cause unexpeted behavior: Say a variable of type o -> o -> o is substituted by ∧ in some expression. The LambdaPositions will stay the same, but the HOLPositions won't.
Value parameters
- list
-
The list of integers describing the position.
Attributes
- Companion
- object
- Source
- HOLPosition.scala
- Supertypes
Ordering on types.
Ordering on types.
Attributes
- Companion
- class
- Source
- orderings.scala
- Supertypes
-
class TAOrderingtrait PartialOrdering[Ty]trait Serializabletrait Comparator[Ty]class Objecttrait Matchableclass AnyShow all
- Self type
-
TAOrdering.type
Attributes
- Companion
- object
- Source
- orderings.scala
- Supertypes
- Known subtypes
-
object TAOrdering.type
Return the list of all atoms in the given argument.
Return the list of all atoms in the given argument.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
atoms.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
containsHOQuantifier.type
True iff All or Ex matches any subterm of e.
True iff All or Ex matches any subterm of e.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
containsQuantifier.type
True iff All or Ex is contained in the logical structure of the given Formula. For example, P( (all x:x) ) contains a quantifier, but it is inside of an atom.
True iff All or Ex is contained in the logical structure of the given Formula. For example, P( (all x:x) ) contains a quantifier, but it is inside of an atom.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Dualize a formula in NNF by switching conjunctions with disjunctions, universal with existential quantifiers, top with bottom and positive literals with negative literals. The formula dualize( A ) is logically equivalent to the negation of A.
Dualize a formula in NNF by switching conjunctions with disjunctions, universal with existential quantifiers, top with bottom and positive literals with negative literals. The formula dualize( A ) is logically equivalent to the negation of A.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
dualize.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
existentialClosure.type
Removes top-level connectives from a formula.
Removes top-level connectives from a formula.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
formulaToSequent.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
freeHOVariables.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
inductionPrinciple.type
Instantiates a formula with terms.
Instantiates a formula with terms.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
instantiate.type
Returns true iff the given Formula is an atom (which does not include top nor bottom).
Returns true iff the given Formula is an atom (which does not include top nor bottom).
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isAtom.type
Returns true iff the given Formula is an extended atom, i.e. an atom or top or bottom.
Returns true iff the given Formula is an extended atom, i.e. an atom or top or bottom.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isExtendedAtom.type
Returns true iff the given Expr consists of a logical constant.
Returns true iff the given Expr consists of a logical constant.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isLogicalConstant.type
Returns true iff the given Formula starts with a negation.
Returns true iff the given Formula starts with a negation.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isNeg.type
Returns true iff the given formula is prenex.
Returns true iff the given formula is prenex.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isPrenex.type
Returns true iff the given Formula is a reflexivity atom.
Returns true iff the given Formula is a reflexivity atom.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
isReflexivity.type
the logical complexity of this formula, i.e. the number of logical connectives and atoms starting from the root of the formula. The inner structure of atoms is not counted.
the logical complexity of this formula, i.e. the number of logical connectives and atoms starting from the root of the formula. The inner structure of atoms is not counted.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
lcomp.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Return the number of atoms in the given argument.
Return the number of atoms in the given argument.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
numOfAtoms.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
removeAllQuantifiers.type
Remove the leading negation from a formula.
Remove the leading negation from a formula.
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
removeNeg.type
Attributes
- Source
- utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
universalClosure.type