case class ExpansionTree(term: ETt, polarity: Polarity, shallow: Formula) extends DagProof[ExpansionTree] with Product with Serializable

Expansion tree.

A tree collecting instances of a formula. See, e.g., M. Baaz, S. Hetzl, D. Weller: On the complexity of proof deskolemization, Journal of Symbolic Logic, 77(2), 2012 for a formulation close to the one implemented here.

ExpansionTree wraps an expansion tree term together with the intended shallow formula and polarity. The term may not be necessarily correct for this shallow formula (i.e., calling deep may produce an exception). Calling ExpansionTree.check validates the correctness of the expansion tree (also with respect to the given gapt.proofs.context.Context).

The constructors ETAtom, ETAnd, etc. ensure that the produced expansion trees are correct.

Source
trees.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpansionTree
  2. Serializable
  3. DagProof
  4. Product
  5. Equals
  6. AnyRef
  7. 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 ExpansionTree(term: ETt, polarity: Polarity, shallow: Formula)

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 ExpansionTree toany2stringadd[ExpansionTree] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ExpansionTree, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTree toArrowAssoc[ExpansionTree] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def apply(pos: HOLPosition): Set[ExpansionTree]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def check()(implicit ctx: Maybe[Context]): Unit

    Checks whether this expansion tree is correct (in the given Context).

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def dagLike: DagLikeOps[ExpansionTree]

    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
  11. def deep: Formula
  12. 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
  13. def ensuring(cond: (ExpansionTree) => Boolean, msg: => Any): ExpansionTree
    Implicit
    This member is added by an implicit conversion from ExpansionTree toEnsuring[ExpansionTree] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ExpansionTree) => Boolean): ExpansionTree
    Implicit
    This member is added by an implicit conversion from ExpansionTree toEnsuring[ExpansionTree] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): ExpansionTree
    Implicit
    This member is added by an implicit conversion from ExpansionTree toEnsuring[ExpansionTree] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ExpansionTree
    Implicit
    This member is added by an implicit conversion from ExpansionTree toEnsuring[ExpansionTree] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(that: Any): Boolean
    Definition Classes
    ExpansionTreeDagProof → Equals → AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ExpansionTree toStringFormat[ExpansionTree] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. val hashCode: Int
    Definition Classes
    DagProof
  23. def immediateSubProofs: Seq[ExpansionTree]

    The immediate subproofs of this rule.

    The immediate subproofs of this rule.

    Definition Classes
    ExpansionTreeDagProof
  24. def isAtom: Boolean
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def longName: String

    The name of this rule (in words).

    The name of this rule (in words).

    Definition Classes
    DagProof
  27. def name: String

    The name of this rule (in symbols).

    The name of this rule (in symbols).

    Definition Classes
    DagProof
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val polarity: Polarity
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. val shallow: Formula
  34. def stepString(subProofLabels: Map[Any, String]): String
    Attributes
    protected
    Definition Classes
    DagProof
  35. def subProofAt(pos: List[Int]): ExpansionTree

    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
  36. def subProofs: Set[ExpansionTree]

    Set of all (transitive) sub-proofs including this.

    Set of all (transitive) sub-proofs including this.

    Definition Classes
    DagProof
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. val term: ETt
  39. def toDoc(implicit sig: BabelSignature): Doc
  40. def toSigRelativeString(implicit sig: BabelSignature): String
  41. def toString(): String
    Definition Classes
    ExpansionTreeDagProof → AnyRef → Any
  42. def treeLike: TreeLikeOps[ExpansionTree]

    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
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (ExpansionTree, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTree toArrowAssoc[ExpansionTree] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from DagProof[ExpansionTree]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromExpansionTree to any2stringadd[ExpansionTree]

Inherited by implicit conversion StringFormat fromExpansionTree to StringFormat[ExpansionTree]

Inherited by implicit conversion Ensuring fromExpansionTree to Ensuring[ExpansionTree]

Inherited by implicit conversion ArrowAssoc fromExpansionTree to ArrowAssoc[ExpansionTree]

Ungrouped