Trait

at.logic.gapt.proofs.lk

LKVisitor

Related Doc: package lk

Permalink

trait LKVisitor[T] extends AnyRef

Implementation of the visitor pattern for at.logic.gapt.proofs.lk.LKProof. Proof transformations can implement this trait to reduce boilerplate code.

T

Type of additional arguments that may be used in the transformation.

Source
LKVisitor.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LKVisitor
  2. AnyRef
  3. 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

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to any2stringadd[LKVisitor[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LKVisitor[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to ArrowAssoc[LKVisitor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def apply(proof: LKProof, otherArg: T): LKProof

    Permalink

    Applies the proof transformation to an LKProof.

    Applies the proof transformation to an LKProof.

    proof

    The input proof.

    returns

    The transformed proof.

  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. def ensuring(cond: (LKVisitor[T]) ⇒ Boolean, msg: ⇒ Any): LKVisitor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to Ensuring[LKVisitor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (LKVisitor[T]) ⇒ Boolean): LKVisitor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to Ensuring[LKVisitor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): LKVisitor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to Ensuring[LKVisitor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): LKVisitor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to Ensuring[LKVisitor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to StringFormat[LKVisitor[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def one2one(proof: LKProof, arg: T)(func: (Seq[(LKProof, OccConnector[HOLFormula])]) ⇒ LKProof): (LKProof, OccConnector[HOLFormula])

    Permalink
  24. def recurse(proof: LKProof, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def transportToSubProof(arg: T, proof: LKProof, subProofIdx: Int): T

    Permalink
  28. def visitAndLeft(proof: AndLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  29. def visitAndRight(proof: AndRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  30. def visitBottomAxiom(otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  31. def visitContractionLeft(proof: ContractionLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  32. def visitContractionRight(proof: ContractionRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  33. def visitCut(proof: CutRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  34. def visitDefinitionLeft(proof: DefinitionLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  35. def visitDefinitionRight(proof: DefinitionRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  36. def visitEqualityLeft(proof: EqualityLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  37. def visitEqualityRight(proof: EqualityRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  38. def visitExistsLeft(proof: ExistsLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  39. def visitExistsRight(proof: ExistsRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  40. def visitExistsSkLeft(proof: ExistsSkLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  41. def visitForallLeft(proof: ForallLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  42. def visitForallRight(proof: ForallRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  43. def visitForallSkRight(proof: ForallSkRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  44. def visitImpLeft(proof: ImpLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  45. def visitImpRight(proof: ImpRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  46. def visitInduction(proof: InductionRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  47. def visitLogicalAxiom(proof: LogicalAxiom, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  48. def visitNegLeft(proof: NegLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  49. def visitNegRight(proof: NegRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  50. def visitOpenAssumption(proof: OpenAssumption, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  51. def visitOrLeft(proof: OrLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  52. def visitOrRight(proof: OrRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  53. def visitReflexivityAxiom(proof: ReflexivityAxiom, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  54. def visitTheoryAxiom(proof: TheoryAxiom, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  55. def visitTopAxiom(otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  56. def visitWeakeningLeft(proof: WeakeningLeftRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  57. def visitWeakeningRight(proof: WeakeningRightRule, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink
    Attributes
    protected
  58. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def withIdentityOccConnector(proof: LKProof): (LKProof, OccConnector[HOLFormula])

    Permalink
  62. final def withOccConnector(proof: LKProof, otherArg: T): (LKProof, OccConnector[HOLFormula])

    Permalink

    Applies the proof transformation to an LKProof.

    Applies the proof transformation to an LKProof.

    proof

    The input proof.

    returns

    A pair consisting of the transformed proof and an OccConnector relating the two proofs.

  63. def [B](y: B): (LKVisitor[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from LKVisitor[T] to ArrowAssoc[LKVisitor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LKVisitor[T] to any2stringadd[LKVisitor[T]]

Inherited by implicit conversion StringFormat from LKVisitor[T] to StringFormat[LKVisitor[T]]

Inherited by implicit conversion Ensuring from LKVisitor[T] to Ensuring[LKVisitor[T]]

Inherited by implicit conversion ArrowAssoc from LKVisitor[T] to ArrowAssoc[LKVisitor[T]]

Ungrouped