gapt.proofs.nd
Members list
Type members
Classlikes
An NDProof ending with elimination of the right conjunct:
An NDProof ending with elimination of the right conjunct:
(π)
Γ :- A ∧ B
--------------∧:e1
Γ :- A
Value parameters
- subProof
-
The subproof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with elimination of the left conjunct:
An NDProof ending with elimination of the left conjunct:
(π)
Γ :- A ∧ B
--------------∧:e2
Γ :- B
Value parameters
- subProof
-
The subproof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with a conjunction on the right:
An NDProof ending with a conjunction on the right:
(π1) (π2) Γ :- A Π :- B --------------------∧:i Γ, Π :- A∧B
Value parameters
- leftSubProof
-
The proof π,,1,,.
- rightSubProof
-
The proof π,,2,,.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof deriving a sequent from two other sequents:
An NDProof deriving a sequent from two other sequents:
(π1) (π2)
Γ :- A Γ' :- A'
------------------
Π :- B
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
- Known subtypes
-
class AndIntroRuleclass EqualityElimRuleclass ExcludedMiddleRuleclass ExistsElimRuleclass ImpElimRuleclass NegElimRuleShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BinaryNDProof.type
An NDProof eliminating ⊥:
An NDProof eliminating ⊥:
(π) Γ :- ⊥ --------⊥:e Γ :- A
Value parameters
- mainFormula
-
The formula A.
- subProof
-
The subproof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- nd.scala
- Supertypes
- Known subtypes
-
class AndElim1Ruleclass AndElim2Ruleclass AndIntroRuleclass BottomElimRuleclass ContractionRuleclass DefinitionRuleclass EqualityElimRuleclass ExcludedMiddleRuleclass ExistsElimRuleclass ExistsIntroRuleclass ForallElimRuleclass ForallIntroRuleclass ImpElimRuleclass ImpIntroRuleclass InductionRuleclass NegElimRuleclass NegIntroRuleclass OrElimRuleclass OrIntro1Ruleclass OrIntro2Ruleclass WeakeningRuleShow all
An NDProof ending with a contraction:
An NDProof ending with a contraction:
(π)
A, A, Γ :- B
--------------ctr
A, Γ :- B
Value parameters
- aux1
-
The index of one occurrence of A.
- aux2
-
The index of the other occurrence of A.
- subProof
-
The subproof π.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ContractionRule.type
Class for reducing boilerplate code in ND companion objects.
Class for reducing boilerplate code in ND companion objects.
Value parameters
- longName
-
The long name of the rule.
Attributes
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ContractionRule.typeobject EqualityElimRule.typeobject ExistsElimRule.typeobject ExistsIntroRule.typeobject ForallIntroRule.typeobject ImpIntroRule.typeobject LogicalAxiom.typeobject NegIntroRule.typeobject OrElimRule.typeobject WeakeningRule.typeShow all
An NDProof ending with a definition
An NDProof ending with a definition
(π) Γ :- A[φ] -----------d Γ :- A[c]
Value parameters
- mainFormula
-
The formula A[c].
- subProof
-
The proof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Use this trait for rules that use eigenvariables.
Use this trait for rules that use eigenvariables.
Attributes
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ExistsElimRuleclass ForallIntroRule
An NDProof ending with elimination of equality:
An NDProof ending with elimination of equality:
(π1) (π2)
Γ :- s = t Π :- A[x\s]
------------------------------eq:e
Γ,Π :- A[x\t]
Value parameters
- formulaA
-
The formula A.
- leftSubProof
-
The subproof π1.
- rightSubProof
-
The subproof π2.
- variablex
-
The variable x.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
EqualityElimRule.type
An NDProof that consist of the introduction of an equality.
An NDProof that consist of the introduction of an equality.
----------eq:i :- t = t
Value parameters
- t
-
The term t.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializableclass InitialSequentclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with excluded middle:
An NDProof ending with excluded middle:
(π1) (π2)
Γ, A :- B Π, ¬A :- B
-------------------------EM
Γ, Π :- B
Value parameters
- aux1
-
The index of A.
- aux2
-
The index of ¬A.
- leftSubProof
-
The proof π1.
- rightSubProof
-
The proof π2.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with an existential quantifier elimination:
An NDProof ending with an existential quantifier elimination:
(π1) (π2)
Γ :- ∃x.A Π, A[x\α] :- B
----------------------------∃:e
Γ, Π :- B
This rule is only applicable if the eigenvariable condition is satisfied: α must not occur freely in Π, and B
Value parameters
- aux
-
The index of A[x\α].
- eigenVariable
-
The variable α.
- leftSubProof
-
The proof π1.
- rightSubProof
-
The proof π2.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait Eigenvariabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExistsElimRule.type
An NDProof ending with an existential quantifier introduction:
An NDProof ending with an existential quantifier introduction:
(π)
Γ :- A[x\t]
------------∃:i
Γ :- ∃x.A
Value parameters
- A
-
The formula A.
- subProof
-
The proof π.
- term
-
The term t.
- v
-
The variable x.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExistsIntroRule.type
Attributes
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ForallElimBlock.type
An NDProof ending with a universal quantifier elimination:
An NDProof ending with a universal quantifier elimination:
(π)
Γ :- ∀x.A
-------------∀:e
Γ :- A[x\t]
Value parameters
- subProof
-
The proof π.
- term
-
The term t.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with a universal quantifier introduction:
An NDProof ending with a universal quantifier introduction:
(π)
Γ :- A[x\α]
-------------∀:i
Γ :- ∀x.A
This rule is only applicable if the eigenvariable condition is satisfied: α must not occur freely in Γ.
Value parameters
- eigenVariable
-
The variable α.
- quantifiedVariable
-
The variable x.
- subProof
-
The proof π.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait Eigenvariabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ForallIntroRule.type
An NDProof ending with elimination of an implication:
An NDProof ending with elimination of an implication:
(π1) (π2) Γ :- A→B Π :- A --------------------→:e Γ, Π :- B
Value parameters
- leftSubProof
-
The proof π,,1,,.
- rightSubProof
-
The proof π,,2,,.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with introduction of an implication:
An NDProof ending with introduction of an implication:
(π)
A, Γ :- B
------------→:i
Γ :- A → B
Value parameters
- aux
-
The index of A.
- subProof
-
The subproof π.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ImpIntroRule.type
Proof that a given data type constructor c preserves a formula F:
Proof that a given data type constructor c preserves a formula F:
(π) F(x,,1,,), F(x,,2,,), ..., F(x,,n,,), Γ :- F(c(x,,1,,,...,x,,n,,,y,,1,,,...,y,,n,,))
The variables x,,i,, and y,,i,, are eigenvariables; x,,i,, are the eigenvariables of the same type as the inductive data type, y,,i,, are the other arguments of the constructor c. They can come in any order in the constructor.
Value parameters
- constructor
-
The constructor c of the inductive data type that we're considering.
- eigenVars
-
The eigenvariables of this case: x,,1,,, ..., x,,n,,, y,,1,,, ..., y,,n,, (these need to correspond to the order in c)
- hypotheses
-
Indices of F(x,,1,,), ..., F(x,,n,,)
- proof
-
The NDProof ending in the sequent of this case.
Attributes
- Source
- nd.scala
- Supertypes
An NDProof ending with an induction rule:
An NDProof ending with an induction rule:
(π,,1,,) (π,,2,,) (π,,n,,) case 1 case 2 ... case n -------------------------------------(ind) Γ :- F(t: indTy)
This induction rule can handle inductive data types. The cases are proofs that the various type constructors preserve the formula we want to prove. They are provided via the InductionCase class.
Value parameters
- cases
-
A sequence of proofs showing that each type constructor preserves the validity of the main formula.
- formula
-
The formula we want to prove via induction.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof consisting of a single sequent:
An NDProof consisting of a single sequent:
--------ax
Γ :- A
Attributes
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InitialSequent.type
An NDProof consisting of a logical axiom:
An NDProof consisting of a logical axiom:
--------ax A :- A
Value parameters
- A
-
The formula A.
Attributes
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
LogicalAxiom.type
Attributes
- Source
- m-realizability.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MRealizability.type
Attributes
- Source
- nd.scala
- Supertypes
- Known subtypes
-
class BinaryNDProofclass AndIntroRuleclass EqualityElimRuleclass ExcludedMiddleRuleclass ExistsElimRuleclass ImpElimRuleclass NegElimRuletrait CommonRuleclass AndElim1Ruleclass AndElim2Ruleclass BottomElimRuleclass ContractionRuleclass DefinitionRuleclass ExistsIntroRuleclass ForallElimRuleclass ForallIntroRuleclass ImpIntroRuleclass InductionRuleclass NegIntroRuleclass OrElimRuleclass OrIntro1Ruleclass OrIntro2Ruleclass WeakeningRuleclass InitialSequentclass EqualityIntroRuleclass LogicalAxiomclass TheoryAxiomobject TopIntroRule.typeclass TernaryNDProofclass UnaryNDProofShow all
Attributes
- Source
- nd.scala
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
An NDProof ending with elimination of a negation:
An NDProof ending with elimination of a negation:
(π1) (π2) Γ :- ¬A Π :- A -------------------¬:e Γ, Π :- ⊥
Value parameters
- leftSubProof
-
The proof π,,1,,.
- rightSubProof
-
The proof π,,2,,.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass BinaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with introduction of a negation:
An NDProof ending with introduction of a negation:
(π) A, Γ :- ⊥ -----------¬:i Γ :- ¬A
Value parameters
- aux
-
The index of A.
- subProof
-
The subproof π.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
NegIntroRule.type
An NDProof ending with elimination of a disjunction:
An NDProof ending with elimination of a disjunction:
(π1) (π2) (π3)
Γ :- A∨B Π, A :- C Δ, B :- C
------------------------------------∨:e
Γ, Π, Δ :- C
Value parameters
- aux1
-
The index of A.
- aux2
-
The index of B.
- leftSubProof
-
The proof π,,1,,.
- middleSubProof
-
The proof π,,2,,.
- rightSubProof
-
The proof π,,3,,.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass TernaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
OrElimRule.type
An NDProof ending with introduction of a disjunction, with a new formula as the right disjunct:
An NDProof ending with introduction of a disjunction, with a new formula as the right disjunct:
(π)
Γ :- A
------------∨:i1
Γ :- A ∨ B
Value parameters
- rightDisjunct
-
The formula B.
- subProof
-
The subproof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof ending with introduction of a disjunction, with a new formula as the left disjunct:
An NDProof ending with introduction of a disjunction, with a new formula as the left disjunct:
(π)
Γ :- A
------------∨:i2
Γ :- B ∨ A
Value parameters
- leftDisjunct
-
The formula B.
- subProof
-
The subproof π.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof deriving a sequent from three other sequents:
An NDProof deriving a sequent from three other sequents:
(π1) (π2) (π3)
Γ1 :- A1 Γ2 :- A2 Γ3 :- A3
--------------------------------
Π :- B
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
- Known subtypes
-
class OrElimRule
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TernaryNDProof.type
An NDProof consisting of an axiom from a theory:
An NDProof consisting of an axiom from a theory:
--------th
:- A
Value parameters
- mainFormula
-
The axiom A.
Attributes
- Source
- nd.scala
- Supertypes
-
trait Serializableclass InitialSequentclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An NDProof that is the introduction of ⊤:
An NDProof that is the introduction of ⊤:
------⊤:i :- ⊤
Attributes
- Source
- nd.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializableclass InitialSequentclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
TopIntroRule.type
An NDProof deriving a sequent from another sequent:
An NDProof deriving a sequent from another sequent:
(π)
Γ :- A
----------
Γ' :- A'
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
- Known subtypes
-
class AndElim1Ruleclass AndElim2Ruleclass BottomElimRuleclass ContractionRuleclass DefinitionRuleclass ExistsIntroRuleclass ForallElimRuleclass ForallIntroRuleclass ImpIntroRuleclass NegIntroRuleclass OrIntro1Ruleclass OrIntro2Ruleclass WeakeningRuleShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UnaryNDProof.type
An NDProof ending with weakening:
An NDProof ending with weakening:
(π)
Γ :- B
---------wkn
A, Γ :- B
Value parameters
- formula
-
The formula A.
- subProof
-
The subproof π.
Attributes
- Companion
- object
- Source
- nd.scala
- Supertypes
-
trait Serializabletrait CommonRuleclass UnaryNDProofclass NDProoftrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- nd.scala
- Supertypes
-
trait Producttrait Mirrorclass ConvenienceConstructorclass Objecttrait Matchableclass AnyShow all
- Self type
-
WeakeningRule.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
casesReplaceable.type
Attributes
- Source
- Utils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
freeVariablesND.type
Attributes
- Source
- transformation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
friedman.type
Attributes
- Source
- transformation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
kolmogorov.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
replaceable.type
Implicits
Implicits
Attributes
- Source
- package.scala