gapt.proofs.lk.rules

Members list

Packages

Type members

Classlikes

case class AndLeftRule(subProof: LKProof, aux1: SequentIndex, aux2: SequentIndex) extends UnaryLKProof, CommonRule

An LKProof ending with a conjunction on the left:

An LKProof ending with a conjunction on the left:

       (π)
   A, B, Γ :- Δ
  --------------
  A ∧ B, Γ :- Δ

Value parameters

aux1

The index of A.

aux2

The index of B.

subProof

The subproof π.

Attributes

Companion
object
Source
AndLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
AndLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class AndRightRule(leftSubProof: LKProof, aux1: SequentIndex, rightSubProof: LKProof, aux2: SequentIndex) extends BinaryLKProof, CommonRule

An LKProof ending with a conjunction on the right:

An LKProof ending with a conjunction on the right:

  (π1)         (π2)
 Γ :- Δ, A    Π :- Λ, B
--------------------------
   Γ, Π :- Δ, Λ, A∧B

Value parameters

aux1

The index of A.

aux2

The index of B.

leftSubProof

The proof π,,1,,.

rightSubProof

The proof π,,2,,

Attributes

Companion
object
Source
AndRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
AndRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
abstract class BinaryLKProof extends LKProof

An LKProof deriving a sequent from two other sequents:

An LKProof deriving a sequent from two other sequents:

   (π1)     (π2)
  Γ :- Δ   Γ' :- Δ'
 ------------------
      Π :- Λ

Attributes

Companion
object
Source
BinaryLKProof.scala
Supertypes
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class AndRightRule
class CutRule
class ImpLeftRule
class OrLeftRule
object BinaryLKProof

Attributes

Companion
class
Source
BinaryLKProof.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case object BottomAxiom extends InitialSequent

An LKProof introducing ⊥ on the left:

An LKProof introducing ⊥ on the left:

     --------⊥:l
       ⊥ :-

Attributes

Source
BottomAxiom.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case class ContractionLeftRule(subProof: LKProof, aux1: SequentIndex, aux2: SequentIndex) extends ContractionRule

An LKProof ending with a left contraction:

An LKProof ending with a left contraction:

       (π)
   A, A, Γ :- Δ
  --------------
    A, Γ :- Δ

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
ContractionLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ContractionLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ContractionRightRule(subProof: LKProof, aux1: SequentIndex, aux2: SequentIndex) extends ContractionRule

An LKProof ending with a right contraction:

An LKProof ending with a right contraction:

       (π)
   Γ :- Δ, A, A
  --------------
    Γ :- Δ, A

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
ContractionRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ContractionRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
abstract class ContractionRule extends UnaryLKProof, CommonRule

Attributes

Source
ContractionRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class ConvenienceConstructor(val longName: String)

Class for reducing boilerplate code in LK companion objects.

Class for reducing boilerplate code in LK companion objects.

Value parameters

longName

The long name of the rule.

Attributes

Source
ConvenienceConstructor.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AndLeftMacroRule.type
object ContractionMacroRule.type
object EqualityLeftMacroRule.type
object ImpRightMacroRule.type
object OrRightMacroRule.type
object WeakeningMacroRule.type
object AndLeftRule.type
object AndRightRule.type
object ContractionLeftRule.type
object ContractionRightRule.type
object ConversionLeftRule.type
object ConversionRightRule.type
object ConversionRule.type
object CutRule.type
object EqualityLeftRule.type
object EqualityRightRule.type
object ExistsLeftRule.type
object ExistsRightRule.type
object ExistsSkLeftRule.type
object ForallLeftRule.type
object ForallRightRule.type
object ForallSkRightRule.type
object ImpLeftRule.type
object ImpRightRule.type
object NegLeftRule.type
object NegRightRule.type
object OrLeftRule.type
object OrRightRule.type
Show all
case class ConversionLeftRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula) extends ConversionRule

An LKProof ending with a conversion on the left.

An LKProof ending with a conversion on the left.

     (π)
  N, Γ :- Δ
 -----------d:l
  M, Γ :- Δ

LK proofs that contain this rule are not sound by construction, since it allows you to replace any formula by any other formula. The soundness of such proofs can only be established with respect to a context in which we have M =βδ N. Use the check method on gapt.proofs.context.Context to check whether the constructed proof is sound.

Value parameters

aux

The index of N in the antecedent.

mainFormula

The formula N.

subProof

The proof π.

Attributes

Companion
object
Source
ConversionLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ConversionLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ConversionRightRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula) extends ConversionRule

An LKProof ending with a conversion on the right.

An LKProof ending with a conversion on the right.

     (π)
  Γ :- Δ, M
 -----------conv:r
  Γ :- Δ, N

LK proofs that contain this rule are not sound by construction, since it allows you to replace any formula by any other formula. The soundness of such proofs can only be established with respect to a context in which we have M =βδ N. Use the check method on gapt.proofs.context.Context to check whether the constructed proof is sound.

Value parameters

aux

The index of M in the succedent.

mainFormula

The formula N.

subProof

The proof π.

Attributes

Companion
object
Source
ConversionRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ConversionRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
abstract class ConversionRule extends UnaryLKProof, CommonRule

Attributes

Companion
object
Source
ConversionRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Source
ConversionRule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class CutRule(leftSubProof: LKProof, aux1: SequentIndex, rightSubProof: LKProof, aux2: SequentIndex) extends BinaryLKProof, CommonRule

An LKProof ending with a cut:

An LKProof ending with a cut:

    (π1)         (π2)
  Γ :- Δ, A   A, Π :- Λ
 ------------------------
      Γ, Π :- Δ, Λ

Value parameters

aux1

The index of A in π,,1,,.

aux2

The index of A in π,,2,,.

leftSubProof

The proof π,,1,,.

rightSubProof

The proof π,,2,,.

Attributes

Companion
object
Source
CutRule.scala
Supertypes
trait Serializable
trait CommonRule
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
CutRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
CutRule.type

Use this trait for rules that use eigenvariables.

Use this trait for rules that use eigenvariables.

Attributes

Source
Eigenvariable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class EqualityLeftRule(subProof: LKProof, eq: SequentIndex, aux: SequentIndex, replacementContext: Abs) extends EqualityRule

An LKProof ending with a left equality rule. There are two possible cases according to which direction the rule is applied in:

An LKProof ending with a left equality rule. There are two possible cases according to which direction the rule is applied in:

          (π)                            (π)
  A[s], s = t, Γ :- Δ            A[t], s = t, Γ :- Δ
 ---------------------eq:l      ---------------------eq:l
  A[t], s = t, Γ :- Δ            A[s], s = t, Γ :- Δ

Value parameters

aux

The index of the formula in which the replacement is to be performed.

eq

The index of s = t.

replacementContext

A term λx.A[x] that designates the positions to be replaced.

subProof

The subproof π.

Attributes

Companion
object
Source
EqualityLeftRule.scala
Supertypes
trait Serializable
class EqualityRule
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
EqualityLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class EqualityRightRule(subProof: LKProof, eq: SequentIndex, aux: SequentIndex, replacementContext: Abs) extends EqualityRule

An LKProof ending with a right equality rule. There are two possible cases according to which direction the rule is applied in:

An LKProof ending with a right equality rule. There are two possible cases according to which direction the rule is applied in:

          (π)                            (π)
  s = t, Γ :- Δ, A[s]            s = t, Γ :- Δ, A[t]
 ---------------------eq:r      ---------------------eq:r
  s = t, Γ :- Δ, A[t]            s = t, Γ :- Δ, A[s]

Value parameters

aux

The index of the formula in which the replacement is to be performed.

eq

The index of s = t.

replacementContext

A term λx.A[x] that designates the positions to be replaced.

subProof

The subproof π.

Attributes

Companion
object
Source
EqualityRightRule.scala
Supertypes
trait Serializable
class EqualityRule
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
EqualityRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
abstract class EqualityRule extends UnaryLKProof, CommonRule

Abstract class that performs most of the construction of left and right equality rules.

Abstract class that performs most of the construction of left and right equality rules.

Attributes

Companion
object
Source
EqualityRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object EqualityRule

Attributes

Companion
class
Source
EqualityRule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class ExistsLeftRule(subProof: LKProof, aux: SequentIndex, eigenVariable: Var, quantifiedVariable: Var) extends StrongQuantifierRule

An LKProof ending with an existential quantifier on the left:

An LKProof ending with an existential quantifier on the left:

         (π)
    A[x\α], Γ :- Δ
   ---------------∀:r
     ∃x.A Γ :- Δ

This rule is only applicable if the eigenvariable condition is satisfied: α must not occur freely in Γ :- Δ.

Value parameters

aux

The index of A[x\α].

eigenVariable

The variable α.

quantifiedVariable

The variable x.

subProof

The proof π.

Attributes

Companion
object
Source
ExistsLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ExistsLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ExistsRightRule(subProof: LKProof, aux: SequentIndex, A: Formula, term: Expr, v: Var) extends WeakQuantifierRule

An LKProof ending with an existential quantifier on the right:

An LKProof ending with an existential quantifier on the right:

          (π)
    Γ :- Δ, A[x\t]
   ----------------∃:r
     Γ :- Δ, ∃x.A

Value parameters

A

The formula A.

aux

The index of A[x\t].

subProof

The proof π.

term

The term t.

v

The variable x.

Attributes

Companion
object
Source
ExistsRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ExistsRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ExistsSkLeftRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula, skolemTerm: Expr) extends SkolemQuantifierRule

An LKProof ending with an existential quantifier on the left:

An LKProof ending with an existential quantifier on the left:

         (π)
    A[x\s(...)], Γ :- Δ
   --------------- ∃sk:l
     ∃x.A Γ :- Δ

This rule requires a Skolem function s(...)

Value parameters

aux

The index of A[x\s(...)].

mainFormula

The main formula A[x\s(...)]

skolemTerm

The Skolem term s(...)

subProof

The proof π.

Attributes

Companion
object
Source
ExistsSkLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ExistsSkLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ForallLeftRule(subProof: LKProof, aux: SequentIndex, A: Formula, term: Expr, v: Var) extends WeakQuantifierRule

An LKProof ending with a universal quantifier on the left:

An LKProof ending with a universal quantifier on the left:

          (π)
    A[x\t], Γ :- Δ
   ----------------∀:l
     ∀x.A, Γ :- Δ

Value parameters

A

The formula A.

aux

The index of A[x\t].

subProof

The proof π.

term

The term t.

v

The variable x.

Attributes

Companion
object
Source
ForallLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ForallLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ForallRightRule(subProof: LKProof, aux: SequentIndex, eigenVariable: Var, quantifiedVariable: Var) extends StrongQuantifierRule

An LKProof ending with a universal quantifier on the right:

An LKProof ending with a universal quantifier on the right:

         (π)
    Γ :- Δ, A[x\α]
   ---------------∀:r
    Γ :- Δ, ∀x.A

This rule is only applicable if the eigenvariable condition is satisfied: α must not occur freely in Γ :- Δ.

Value parameters

aux

The index of A[x\α].

eigenVariable

The variable α.

quantifiedVariable

The variable x.

subProof

The proof π.

Attributes

Companion
object
Source
ForallRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ForallRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ForallSkRightRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula, skolemTerm: Expr) extends SkolemQuantifierRule

An LKProof ending with a universal quantifier on the right:

An LKProof ending with a universal quantifier on the right:

         (π)
    Γ :- Δ, A[x\s(...)]
   ---------------∀:r
    Γ :- Δ, ∀x.A

This rule requires a Skolem function s(...)

Value parameters

aux

The index of A[x\α].

mainFormula

The main formula A[x\s(...)]

skolemTerm

The Skolem term s(...)

subProof

The proof π.

Attributes

Companion
object
Source
ForallSkRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ForallSkRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ImpLeftRule(leftSubProof: LKProof, aux1: SequentIndex, rightSubProof: LKProof, aux2: SequentIndex) extends BinaryLKProof, CommonRule

An LKProof ending with an implication on the left:

An LKProof ending with an implication on the left:

   (π1)         (π2)
 Γ :- Δ, A    B, Π :- Λ
--------------------------
   A→B, Γ, Π :- Δ, Λ

Value parameters

aux1

The index of A.

aux2

The index of B.

leftSubProof

The proof π,,1,,.

rightSubProof

The proof π,,2,,

Attributes

Companion
object
Source
ImpLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ImpLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ImpRightRule(subProof: LKProof, aux1: SequentIndex, aux2: SequentIndex) extends UnaryLKProof, CommonRule

An LKProof ending with an implication on the right:

An LKProof ending with an implication on the right:

       (π)
   A, Γ :- Δ, B
  --------------
   Γ :- Δ, A → B

Value parameters

aux1

The index of A.

aux2

The index of B.

subProof

The subproof π.

Attributes

Companion
object
Source
ImpRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ImpRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class InductionCase(proof: LKProof, constructor: Const, hypotheses: Seq[SequentIndex], eigenVars: Seq[Var], conclusion: SequentIndex)

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

conclusion

Index of F(c(x,,1,,,...,x,,n,,,y,,1,,,...,y,,n,,))

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 LKProof ending in the sequent of this case.

Attributes

Source
InductionCase.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class InductionRule(cases: Seq[InductionCase], formula: Abs, term: Expr) extends CommonRule

An LKProof ending with an induction rule:

An LKProof 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
InductionRule.scala
Supertypes
trait Serializable
trait CommonRule
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class InitialSequent extends LKProof

An LKProof consisting of a single sequent:

An LKProof consisting of a single sequent:

   --------ax
    Γ :- Δ

Attributes

Companion
object
Source
InitialSequent.scala
Supertypes
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object BottomAxiom.type
class LogicalAxiom
class ProofLink
object TopAxiom.type
Show all

Attributes

Companion
class
Source
InitialSequent.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class LogicalAxiom(A: Formula) extends InitialSequent

An LKProof consisting of a logical axiom:

An LKProof consisting of a logical axiom:

  --------ax
   A :- A

with A atomic.

Value parameters

A

The atom A.

Attributes

Source
LogicalAxiom.scala
Supertypes
trait Serializable
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class NegLeftRule(subProof: LKProof, aux: SequentIndex) extends UnaryLKProof, CommonRule

Index of the left cut formula or the formula itself. An LKProof ending with a negation on the left:

Index of the left cut formula or the formula itself. An LKProof ending with a negation on the left:

     (π)
  Γ :- Δ, A
 -----------¬:l
 ¬A, Γ :- Δ

Value parameters

aux

The index of A in the succedent.

subProof

The proof π.

Attributes

Companion
object
Source
NegLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
NegLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class NegRightRule(subProof: LKProof, aux: SequentIndex) extends UnaryLKProof, CommonRule

An LKProof ending with a negation on the right:Index of the left cut formula or the formula itself.

An LKProof ending with a negation on the right:Index of the left cut formula or the formula itself.

     (π)
  A, Γ :- Δ
 -----------¬:r
 Γ :- Δ, ¬A

Value parameters

aux

The index of A in the antecedent.

subProof

The proof π.

Attributes

Companion
object
Source
NegRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
NegRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class OrLeftRule(leftSubProof: LKProof, aux1: SequentIndex, rightSubProof: LKProof, aux2: SequentIndex) extends BinaryLKProof, CommonRule

An LKProof ending with a disjunction on the left:

An LKProof ending with a disjunction on the left:

   (π1)         (π2)
 A, Γ :- Δ    B, Π :- Λ
--------------------------
   A∨B, Γ, Π :- Δ, Λ

Value parameters

aux1

The index of A.

aux2

The index of B.

leftSubProof

The proof π,,1,,.

rightSubProof

The proof π,,2,,

Attributes

Companion
object
Source
OrLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
OrLeftRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
OrLeftRule.type
case class OrRightRule(subProof: LKProof, aux1: SequentIndex, aux2: SequentIndex) extends UnaryLKProof, CommonRule

An LKProof ending with a disjunction on the right:

An LKProof ending with a disjunction on the right:

       (π)
   Γ :- Δ, A, B
  --------------
   Γ :- Δ, A ∨ B

Value parameters

aux1

The index of A.

aux2

The index of B.

subProof

The subproof π.

Attributes

Companion
object
Source
OrRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
OrRightRule.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
case class ProofLink(referencedProof: Expr, referencedSequent: Sequent[Formula]) extends InitialSequent

Attributes

Companion
object
Source
ProofLink.scala
Supertypes
trait Serializable
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ProofLink

Attributes

Companion
class
Source
ProofLink.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ProofLink.type
case class ReflexivityAxiom(s: Expr) extends InitialSequent

An LKProof consisting of a reflexivity axiom:

An LKProof consisting of a reflexivity axiom:

  ------------ax
    :- s = s

with s a term.

Value parameters

s

The term s.

Attributes

Source
ReflexivityAxiom.scala
Supertypes
trait Serializable
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
SkolemQuantifierRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
object
Source
StrongQuantifierRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Source
StrongQuantifierRule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case object TopAxiom extends InitialSequent

An LKProof introducing ⊤ on the right:

An LKProof introducing ⊤ on the right:

     --------⊤:r
       :- ⊤

Attributes

Source
TopAxiom.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TopAxiom.type
abstract class UnaryLKProof extends LKProof

An LKProof deriving a sequent from another sequent:

An LKProof deriving a sequent from another sequent:

      (π)
    Γ :- Δ
  ----------
   Γ' :- Δ'

Attributes

Companion
object
Source
UnaryLKProof.scala
Supertypes
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object UnaryLKProof

Attributes

Companion
class
Source
UnaryLKProof.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class WeakQuantifierRule extends UnaryLKProof, CommonRule

Attributes

Companion
object
Source
WeakQuantifierRule.scala
Supertypes
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Source
WeakQuantifierRule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class WeakeningLeftRule(subProof: LKProof, formula: Formula) extends UnaryLKProof, CommonRule

An LKProof ending with a left weakening:

An LKProof ending with a left weakening:

      (π)
     Γ :- Δ
   ---------w:l
   A, Γ :- Δ

Value parameters

formula

The formula A.

subProof

The subproof π.

Attributes

Source
WeakeningLeftRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WeakeningRightRule(subProof: LKProof, formula: Formula) extends UnaryLKProof, CommonRule

An LKProof ending with a right weakening:

An LKProof ending with a right weakening:

      (π)
     Γ :- Δ
   ---------w:r
   Γ :- Δ, A

Value parameters

formula

The formula A.

subProof

The subproof π.

Attributes

Source
WeakeningRightRule.scala
Supertypes
trait Serializable
trait CommonRule
class UnaryLKProof
class LKProof
trait DagProof[LKProof]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all