Object

at.logic.gapt.proofs.lk

ContractionMacroRule

Related Doc: package lk

Permalink

object ContractionMacroRule extends ConvenienceConstructor

This macro rule simulates a series of contractions in both cedents.

Source
macroRules.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContractionMacroRule
  2. ConvenienceConstructor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type IndexOrFormula = Either[SequentIndex, HOLFormula]

    Permalink
    Definition Classes
    ConvenienceConstructor

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def LKRuleCreationException(text: String): LKRuleCreationException

    Permalink

    Create an LKRuleCreationException with a message starting with "Cannot create $longName: ..."

    Create an LKRuleCreationException with a message starting with "Cannot create $longName: ..."

    text

    The rest of the message.

    Attributes
    protected
    Definition Classes
    ConvenienceConstructor
  5. def apply(p: LKProof): LKProof

    Permalink

    Performs all possible contractions.

    Performs all possible contractions. Use with care!

    p

    A proof.

    returns

    A proof with all duplicate formulas in the end sequent contracted.

  6. def apply(p: LKProof, targetSequent: HOLSequent, strict: Boolean = true): LKProof

    Permalink

    Contracts the current proof down to a given sequent.

    Contracts the current proof down to a given sequent.

    p

    An LKProof.

    targetSequent

    The target sequent.

    strict

    If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.

    returns

    s1 with its end sequent contracted down to targetSequent.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findAndValidate(premise: HOLSequent)(antIndicesFormulas: Seq[IndexOrFormula], sucIndicesFormulas: Seq[IndexOrFormula]): (Seq[Int], Seq[Int])

    Permalink

    Combines findIndicesOrFormulasInPremise and validateIndices.

    Combines findIndicesOrFormulasInPremise and validateIndices. That is, it will return a pair of lists of indices and throw an exception if either list contains a -1.

    premise

    The sequent in question.

    antIndicesFormulas

    The list of indices or formulas in the antecedent.

    sucIndicesFormulas

    The list of indices or formulas in the succedent.

    Attributes
    protected
    Definition Classes
    ConvenienceConstructor
  13. def findIndicesOrFormulasInPremise(premise: HOLSequent)(antIndicesFormulas: Seq[IndexOrFormula], sucIndicesFormulas: Seq[IndexOrFormula]): (Seq[HOLFormula], Seq[Int], Seq[HOLFormula], Seq[Int])

    Permalink
    Definition Classes
    ConvenienceConstructor
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val longName: String

    Permalink

    The long name of the rule.

    The long name of the rule.

    Definition Classes
    ConvenienceConstructor
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def validateIndices(premise: HOLSequent)(antFormulas: Seq[HOLFormula], antIndices: Seq[Int], sucFormulas: Seq[HOLFormula], sucIndices: Seq[Int]): Unit

    Permalink

    Throws an exception if the output of findFormulasInPremise contains any -1 entries.

    Throws an exception if the output of findFormulasInPremise contains any -1 entries.

    premise

    The sequent in question.

    antFormulas

    The list of formulas in the antecedent.

    antIndices

    The list of indices corresponding to antFormulas.

    sucFormulas

    The list of formulas in the succedent.

    sucIndices

    The list indices corresponding to sucFormulas.

    Attributes
    protected
    Definition Classes
    ConvenienceConstructor
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withOccConnector(p: LKProof): (LKProof, OccConnector[HOLFormula])

    Permalink

    Performs all possible contractions.

    Performs all possible contractions. Use with care!

    p

    A proof.

    returns

    A proof with all duplicate formulas in the end sequent contracted and an OccConnector.

  28. def withOccConnector(p: LKProof, targetSequent: HOLSequent, strict: Boolean = true): (LKProof, OccConnector[HOLFormula])

    Permalink

    Contracts the current proof down to a given sequent.

    Contracts the current proof down to a given sequent.

    p

    An LKProof.

    targetSequent

    The target sequent.

    strict

    If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.

    returns

    p with its end sequent contracted down to targetSequent and an OccConnector.

Inherited from ConvenienceConstructor

Inherited from AnyRef

Inherited from Any

Ungrouped