gapt.logic

package gapt.logic

Members list

Packages

package gapt.logic.bdt
package gapt.logic.fol
package gapt.logic.hol

Type members

Classlikes

object AllDistinct

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Polarity(inSuc: Boolean) extends AnyVal

Polarity of a formula.

Polarity of a formula.

There are two polarities, positive/in-succedent and negative/in-antecedent. Polarities serve multiple purposes:

  • They distinguish strong and weak quantifiers. A universal (∀) quantifier in positive/in-succedent polarity is strong (requires an eigenvariable/Skolem inference), and is weak in negative/in-antecedent polarity (can be instantiated with any term).
  • They guide the construction of expansion trees and their deep formulas. A merge in positive polarity has a disjunction as deep formula, in negative polarity it has a conjunction.
  • They specify the side/cedent of a sequent.

Our convention is based on proofs in LK:

  • formulas in the succedent are positive
  • formulas in the antecedent are negative

This is used consistently, except for a major exception: in resolution proofs, the polarity is reversed. A formula in the antecedent of a clause in a resolution proof has the negative/in-antecedent polarity (as it is in the antecedent of a sequent). However upon conversion to LK/ET, the polarity switches to positive/in-succedent polarity.

Attributes

Companion
object
Source
Polarity.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Polarity

Attributes

Companion
class
Source
Polarity.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Polarity.type

Attributes

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

Attributes

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

Attributes

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

Value members

Concrete methods

def argumentVariablesWithPatternFor(pattern: Int => String)(constant: Const): Seq[Var]

Attributes

Source
package.scala
def disjointnessAxiom(constructor1: Const, constructor2: Const): Formula

Attributes

Source
package.scala

Attributes

Source
package.scala
def injectivityAxiom(constructor: Const): Formula

Attributes

Source
package.scala

Attributes

Source
package.scala
def isPolyadic(constant: Const): Boolean

Attributes

Source
package.scala