Packages

c

gapt.proofs.lk

LKProofReplacer

class LKProofReplacer extends LKVisitor[Unit]

Source
LKProofSubstitutable.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LKProofReplacer
  2. LKVisitor
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LKProofReplacer(repl: PartialFunction[Expr, Expr])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to any2stringadd[LKProofReplacer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LKProofReplacer, B)
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to ArrowAssoc[LKProofReplacer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def apply(proof: LKProof, otherArg: Unit): LKProof

    Applies the proof transformation to an LKProof.

    Applies the proof transformation to an LKProof.

    proof

    The input proof.

    returns

    The transformed proof.

    Definition Classes
    LKVisitor
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def contractAfter[A](visitingFunction: (LKProof, A) ⇒ (LKProof, SequentConnector)): (LKProof, A) ⇒ (LKProof, SequentConnector)

    Transforms a visiting function by inserting contractions after it.

    Transforms a visiting function by inserting contractions after it. Only formula occurrences that were not in the old proof -- i.e., that have been added by the visitor -- are contracted.

    visitingFunction

    The visiting function after which contractions should be inserted. In most cases, just using recurse here should be fine.

    returns

    A new visiting function that behaves the same as the old one, but contracts all duplicate new formulas at the end.

    Definition Classes
    LKVisitor
  10. def ensuring(cond: (LKProofReplacer) ⇒ Boolean, msg: ⇒ Any): LKProofReplacer
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to Ensuring[LKProofReplacer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (LKProofReplacer) ⇒ Boolean): LKProofReplacer
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to Ensuring[LKProofReplacer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): LKProofReplacer
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to Ensuring[LKProofReplacer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): LKProofReplacer
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to Ensuring[LKProofReplacer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to StringFormat[LKProofReplacer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def one2one(proof: LKProof, arg: Unit)(func: (Seq[(LKProof, SequentConnector)]) ⇒ LKProof): (LKProof, SequentConnector)
    Definition Classes
    LKVisitor
  25. def recurse(proof: LKProof, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def transportToSubProof(arg: Unit, proof: LKProof, subProofIdx: Int): Unit
    Definition Classes
    LKVisitor
  29. def visitAndLeft(proof: AndLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  30. def visitAndRight(proof: AndRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  31. def visitBottomAxiom(otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  32. def visitContractionLeft(proof: ContractionLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  33. def visitContractionRight(proof: ContractionRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  34. def visitCut(proof: CutRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  35. def visitDefinitionLeft(proof: DefinitionLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  36. def visitDefinitionRight(proof: DefinitionRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  37. def visitEqualityLeft(proof: EqualityLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  38. def visitEqualityRight(proof: EqualityRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  39. def visitExistsLeft(proof: ExistsLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  40. def visitExistsRight(proof: ExistsRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  41. def visitExistsSkLeft(proof: ExistsSkLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  42. def visitForallLeft(proof: ForallLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  43. def visitForallRight(proof: ForallRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  44. def visitForallSkRight(proof: ForallSkRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  45. def visitImpLeft(proof: ImpLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  46. def visitImpRight(proof: ImpRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  47. def visitInduction(proof: InductionRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  48. def visitLogicalAxiom(proof: LogicalAxiom, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  49. def visitNegLeft(proof: NegLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  50. def visitNegRight(proof: NegRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  51. def visitOpenAssumption(proof: OpenAssumption, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  52. def visitOrLeft(proof: OrLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  53. def visitOrRight(proof: OrRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  54. def visitProofLink(proof: ProofLink, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  55. def visitReflexivityAxiom(proof: ReflexivityAxiom, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  56. def visitTopAxiom(otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKVisitor
  57. def visitWeakeningLeft(proof: WeakeningLeftRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  58. def visitWeakeningRight(proof: WeakeningRightRule, otherArg: Unit): (LKProof, SequentConnector)
    Attributes
    protected
    Definition Classes
    LKProofReplacerLKVisitor
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. def withIdentitySequentConnector(proof: LKProof): (LKProof, SequentConnector)
    Definition Classes
    LKVisitor
  63. final def withSequentConnector(proof: LKProof, otherArg: Unit): (LKProof, SequentConnector)

    Applies the proof transformation to an LKProof.

    Applies the proof transformation to an LKProof.

    proof

    The input proof.

    returns

    Transformed proof, and the sequent connector with the new proof as lower sequent and the old proof as upper sequent.

    Definition Classes
    LKVisitor
  64. def [B](y: B): (LKProofReplacer, B)
    Implicit
    This member is added by an implicit conversion from LKProofReplacer to ArrowAssoc[LKProofReplacer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LKVisitor[Unit]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LKProofReplacer to any2stringadd[LKProofReplacer]

Inherited by implicit conversion StringFormat from LKProofReplacer to StringFormat[LKProofReplacer]

Inherited by implicit conversion Ensuring from LKProofReplacer to Ensuring[LKProofReplacer]

Inherited by implicit conversion ArrowAssoc from LKProofReplacer to ArrowAssoc[LKProofReplacer]

Ungrouped