Object

at.logic.gapt.proofs.lk

WeakeningContractionMacroRule

Related Doc: package lk

Permalink

object WeakeningContractionMacroRule extends ConvenienceConstructor

This macro rule simulates multiple weakenings and contractions in both cedents.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeakeningContractionMacroRule
  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, targetSequent: HOLSequent, strict: Boolean = true): LKProof

    Permalink

    p

    An LKProof.

    targetSequent

    The proposed end sequent.

    strict

    If true, will require that the end sequent of p contains no formula that doesn't appear at least once in targetSequent.

    returns

    p with its end sequent modified to targetSequent by means of weakening and contraction.

  6. def apply(p: LKProof, antMap: Map[HOLFormula, Int], sucMap: Map[HOLFormula, Int], strict: Boolean): LKProof

    Permalink

    p

    An LKProof.

    antMap

    Map of type HOLFormula => Int that expresses “f should occur n times in the antecedent”.

    sucMap

    Map of type HOLFormula => Int that expresses “f should occur n times in the succedent”.

    strict

    If true: requires that for f -> n in antMap or sucMap, if f occurs in the root of s1, then n > 0.

  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, targetSequent: HOLSequent, strict: Boolean = true): (LKProof, OccConnector[HOLFormula])

    Permalink

    p

    An LKProof.

    targetSequent

    The proposed end sequent.

    strict

    If true, will require that the end sequent of p contains no formula that doesn't appear at least once in targetSequent.

    returns

    p with its end sequent modified to targetSequent by means of weakening and contraction and an OccConnector.

  28. def withOccConnector(p: LKProof, antMap: Map[HOLFormula, Int], sucMap: Map[HOLFormula, Int], strict: Boolean): (LKProof, OccConnector[HOLFormula])

    Permalink

    p

    An LKProof.

    antMap

    Map of type HOLFormula => Int that expresses “f should occur n times in the antecedent”.

    sucMap

    Map of type HOLFormula => Int that expresses “f should occur n times in the succedent”.

    strict

    If true: requires that for f -> n in antMap or sucMap, if f occurs in the root of s1, then n > 0.

    returns

    A proof and an OccConnector connecting its end sequent to the end sequent of p.

Inherited from ConvenienceConstructor

Inherited from AnyRef

Inherited from Any

Ungrouped