case class DefinitionLeftRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula) extends DefinitionRule with Product with Serializable
An LKProof ending with a definition on the left.
Introducing the definition c := φ on the left means replacing some occurrences of the expression φ by c in a formula in the antecedent:
(π) A[φ], Γ :- Δ -----------d:l A[c], Γ :- Δ
NB: 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.
Use the check
method on gapt.proofs.Context to check whether the constructed proof is sound.
- subProof
The proof π.
- aux
The index of A in the antecedent.
- mainFormula
The formula
- Source
- lk.scala
- Alphabetic
- By Inheritance
- DefinitionLeftRule
- Serializable
- Serializable
- DefinitionRule
- CommonRule
- ContextRule
- UnaryLKProof
- LKProof
- SequentProof
- DagProof
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DefinitionLeftRule(subProof: LKProof, aux: SequentIndex, mainFormula: Formula)
- subProof
The proof π.
- aux
The index of A in the antecedent.
- mainFormula
The formula
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to any2stringadd[DefinitionLeftRule] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DefinitionLeftRule, B)
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to ArrowAssoc[DefinitionLeftRule] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
LKRuleCreationException(message: String): LKRuleCreationException
- Attributes
- protected
- Definition Classes
- LKProof
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
aux: SequentIndex
- Definition Classes
- DefinitionLeftRule → DefinitionRule
-
def
auxFormula: Formula
- Definition Classes
- DefinitionRule
-
def
auxFormulas: Seq[Seq[Formula]]
A list of lists containing the auxiliary formulas of the rule.
A list of lists containing the auxiliary formulas of the rule. The first list constains the auxiliary formulas in the first premise and so on.
- Definition Classes
- SequentProof
-
def
auxIndices: Seq[Seq[SequentIndex]]
A list of lists of SequentIndices denoting the auxiliary formula(s) of the rule.
A list of lists of SequentIndices denoting the auxiliary formula(s) of the rule. The first list contains the auxiliary formulas in the first premise and so on.
- Definition Classes
- DefinitionLeftRule → SequentProof
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
lazy val
conclusion: Sequent[Formula]
The conclusion of the rule.
The conclusion of the rule.
- Definition Classes
- ContextRule → SequentProof
-
def
contexts: Seq[Sequent[Formula]]
- Attributes
- protected
- Definition Classes
- ContextRule
-
def
dagLike: DagLikeOps[LKProof]
Operations that view the sub-proofs as a DAG, which ignore duplicate sub-proofs, see DagProof.DagLikeOps for a list.
Operations that view the sub-proofs as a DAG, which ignore duplicate sub-proofs, see DagProof.DagLikeOps for a list.
- Definition Classes
- DagProof
-
def
depth: Int
Depth of the proof, which is the maximum length of a path you can take via immediateSubProofs.
Depth of the proof, which is the maximum length of a path you can take via immediateSubProofs.
- Definition Classes
- DagProof
-
final
def
endSequent: Sequent[Formula]
The end-sequent of the rule.
The end-sequent of the rule.
- Definition Classes
- LKProof
-
def
ensuring(cond: (DefinitionLeftRule) ⇒ Boolean, msg: ⇒ Any): DefinitionLeftRule
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to Ensuring[DefinitionLeftRule] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DefinitionLeftRule) ⇒ Boolean): DefinitionLeftRule
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to Ensuring[DefinitionLeftRule] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DefinitionLeftRule
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to Ensuring[DefinitionLeftRule] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DefinitionLeftRule
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to Ensuring[DefinitionLeftRule] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- DagProof → Equals → AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to StringFormat[DefinitionLeftRule] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
formulasToBeDeleted: Seq[Seq[SequentIndex]]
- Attributes
- protected
- Definition Classes
- ContextRule
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getSequentConnector: SequentConnector
The object connecting the lower and upper sequents.auxFormulas
The object connecting the lower and upper sequents.auxFormulas
- Definition Classes
- UnaryLKProof
-
val
hashCode: Int
- Definition Classes
- DagProof
-
def
immediateSubProofs: Seq[LKProof]
The immediate subproofs of this rule.
The immediate subproofs of this rule.
- Definition Classes
- UnaryLKProof → DagProof
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
longName: String
The name of this rule (in words).
The name of this rule (in words).
- Definition Classes
- DagProof
-
val
mainFormula: Formula
- Definition Classes
- DefinitionLeftRule → DefinitionRule
-
def
mainFormulaSequent: Sequent[Formula]
- Definition Classes
- DefinitionLeftRule → ContextRule
-
def
mainFormulas: Seq[Formula]
The list of main formulas of the rule.
The list of main formulas of the rule.
- Definition Classes
- SequentProof
-
def
mainIndices: Vector[SequentIndex]
A list of SequentIndices denoting the main formula(s) of the rule.
A list of SequentIndices denoting the main formula(s) of the rule.
- Definition Classes
- ContextRule → SequentProof
-
def
name: String
The name of this rule (in symbols).
The name of this rule (in symbols).
- Definition Classes
- DefinitionLeftRule → DagProof
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
occConnectors: Seq[SequentConnector]
A list of occurrence connectors, one for each immediate subproof.
A list of occurrence connectors, one for each immediate subproof.
- Definition Classes
- ContextRule → SequentProof
-
def
premise: Sequent[Formula]
The upper sequent of the rule.
The upper sequent of the rule.
- Definition Classes
- UnaryLKProof
-
def
premises: Seq[Sequent[Formula]]
The upper sequents of the rule.
The upper sequents of the rule.
- Definition Classes
- SequentProof
-
def
stepString(subProofLabels: Map[Any, String]): String
- Attributes
- protected
- Definition Classes
- SequentProof → DagProof
-
val
subProof: LKProof
The immediate subproof of the rule.
The immediate subproof of the rule.
- Definition Classes
- DefinitionLeftRule → DefinitionRule → UnaryLKProof
-
def
subProofAt(pos: List[Int]): LKProof
Returns the subproof at the given position: p.subProofAt(Nil) is p itself; p.subProofAt(i :: is) is the ith subproof of p.subProofAt(is).
Returns the subproof at the given position: p.subProofAt(Nil) is p itself; p.subProofAt(i :: is) is the ith subproof of p.subProofAt(is).
- Definition Classes
- DagProof
-
def
subProofs: Set[LKProof]
Set of all (transitive) sub-proofs including this.
Set of all (transitive) sub-proofs including this.
- Definition Classes
- DagProof
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- DagProof → AnyRef → Any
-
def
treeLike: TreeLikeOps[LKProof]
Operations that view the sub-proofs as a tree, see DagProof.TreeLikeOps for a list.
Operations that view the sub-proofs as a tree, see DagProof.TreeLikeOps for a list.
- Definition Classes
- DagProof
-
def
validateIndices(premise: HOLSequent, antecedentIndices: Seq[SequentIndex], succedentIndices: Seq[SequentIndex]): Unit
Checks whether indices are in the right place and premise is defined at all of them.
Checks whether indices are in the right place and premise is defined at all of them.
- premise
The sequent to be checked.
- antecedentIndices
Indices that should be in the antecedent.
- succedentIndices
Indices that should be in the succedent.
- Attributes
- protected
- Definition Classes
- LKProof
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (DefinitionLeftRule, B)
- Implicit
- This member is added by an implicit conversion from DefinitionLeftRule to ArrowAssoc[DefinitionLeftRule] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
This is the API documentation for GAPT.
The main package is gapt.