Class

at.logic.gapt.proofs.occurrences

FormulaOccurrence

Related Doc: package occurrences

Permalink

class FormulaOccurrence extends AnyRef

A formula occurrence is an occurrence of a HOLFormula in a proof. Both formulas in different sequents and multiple occurrences of the same formula (e.g. introduced by contraction) have a different FormulaOccurrence.

Source
occurrences.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormulaOccurrence
  2. AnyRef
  3. Any
Implicitly
  1. by formulaOccurrenceToFormula
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FormulaOccurrence(formula: HOLFormula, parents: Seq[FormulaOccurrence], factory: FOFactory)

    Permalink

    formula

    The formula of which this is an occurrence.

    parents

    What occurrences caused this occurrence, i.e. if this occurrence is introduced by or-right, then this will include the disjunction is occurrence.

    factory

    The formula occurrence factory FOFactory used to construct this occurrence.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==(that: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def &(that: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  5. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to any2stringadd[FormulaOccurrence] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  6. def -->(that: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  7. def ->[B](y: B): (FormulaOccurrence, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to ArrowAssoc[FormulaOccurrence] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. def <->(that: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def ===(that: LambdaExpression): HOLAtom

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  11. def =^=(that: FormulaOccurrence): Boolean

    Permalink

    Tests equality of formulas.

    Tests equality of formulas.

    that

    Another FormulaOccurrence.

    returns

    true iff this and that are occurrences of the same formula.

  12. def ^(n: Int)(that: LambdaExpression): LambdaExpression

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  13. def alphaEquals(that: LambdaExpression): Boolean

    Permalink

    Alpha-equality.

    Alpha-equality.

    that

    Lambda expression to compare against.

    returns

    whether this lambda expression is equal to that lambda expression modulo alpha-conversion.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  14. def ancestors: Seq[FormulaOccurrence]

    Permalink

    returns

    The ancestors of this, i.e. its parents and the ancestors of its parents.

  15. def apply(that: LambdaExpression*): LambdaExpression

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  16. def apply(pos: HOLPosition): LambdaExpression

    Permalink

    Retrieves this expression's subexpression at a given position.

    Retrieves this expression's subexpression at a given position.

    pos

    The position to be retrieved.

    returns

    The subexpression at pos.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  17. def apply(p: LambdaPosition): LambdaExpression

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  18. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    FormulaOccurrence → AnyRef
  20. def ensuring(cond: (FormulaOccurrence) ⇒ Boolean, msg: ⇒ Any): FormulaOccurrence

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def exptype: Ty

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  27. val factory: FOFactory

    Permalink

    The formula occurrence factory FOFactory used to construct this occurrence.

  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def find(exp: LambdaExpression): List[HOLPosition]

    Permalink

    Finds all HOL positions of a subexpression in this expression.

    Finds all HOL positions of a subexpression in this expression.

    exp

    The subexpression to be found.

    returns

    A list containing all positions where exp occurs.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  30. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to StringFormat[FormulaOccurrence] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. val formula: HOLFormula

    Permalink

    The formula of which this is an occurrence.

  32. def get(pos: HOLPosition): Option[LambdaExpression]

    Permalink

    Retrieves this expression's subexpression at a given position, if there is one.

    Retrieves this expression's subexpression at a given position, if there is one.

    pos

    The position to be retrieved.

    returns

    If there is a subexpression at that position, return Some(that expression). Otherwise None.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  33. def get(p: LambdaPosition): Option[LambdaExpression]

    Permalink

    Returns the subexpression at the given position, if it exists.

    Returns the subexpression at the given position, if it exists.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  34. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. val id: Int

    Permalink

    Auto-incremented integer identifying this occurrence.

  37. def isAncestorOf(that: FormulaOccurrence, reflexive: Boolean): Boolean

    Permalink

    Tests whether this is an ancestor of that.

    Tests whether this is an ancestor of that.

    that

    A formula occurrence.

    reflexive

    Whether this should count as an ancestor of itself.

  38. def isDefinedAt(pos: HOLPosition): Boolean

    Permalink

    Tests whether this expression has a subexpression at a given position.

    Tests whether this expression has a subexpression at a given position.

    pos

    The position to be tested.

    returns

    Whether this(pos) is defined.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  39. def isDefinedAt(p: LambdaPosition): Boolean

    Permalink

    Tests whether this Expression has a subexpression at the given position.

    Tests whether this Expression has a subexpression at the given position.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  40. def isDescendantOf(that: FormulaOccurrence, reflexive: Boolean): Boolean

    Permalink

    Tests whether this is a descendant of that.

    Tests whether this is a descendant of that.

    that

    A formula occurrence.

    reflexive

    Whether this should count as a descendant of itself.

  41. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  45. val parents: Seq[FormulaOccurrence]

    Permalink

    What occurrences caused this occurrence, i.e.

    What occurrences caused this occurrence, i.e. if this occurrence is introduced by or-right, then this will include the disjunction is occurrence.

  46. def replace(pos: HOLPosition, exp: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    HOLFormulaLambdaExpression
  47. def replace(pos: Seq[HOLPosition], replacement: LambdaExpression): LambdaExpression

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  48. def replace(pos: LambdaPosition, replacement: LambdaExpression): LambdaExpression

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def syntaxEquals(e: LambdaExpression): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  51. def toAsciiString: String

    Permalink

    Converts this expression into a 7-bit safe ASCII string.

    Converts this expression into a 7-bit safe ASCII string.

    The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  52. def toSigRelativeString(implicit sig: BabelSignature): String

    Permalink

    Converts this expression into a string, taking the signature into account.

    Converts this expression into a string, taking the signature into account.

    This produces a similar output as toString, but will use the variable convention indicated by the signature. That is, if sig defines x to be a constant, then we output just x instead of the default #c(x: i).

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  53. def toString(): String

    Permalink
    Definition Classes
    FormulaOccurrence → AnyRef → Any
  54. def unary_-: HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  55. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def |(that: LambdaExpression): HOLFormula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Definition Classes
    LambdaExpression
  59. def [B](y: B): (FormulaOccurrence, B)

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

Shadowed Implicit Value Members

  1. def equals(a: Any): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaOccurrence: HOLFormula).equals(a)
    Definition Classes
    LambdaExpression → AnyRef → Any
  2. def toString(): String

    Permalink

    Converts this expression into a string.

    Converts this expression into a string.

    The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.

    Implicit information
    This member is added by an implicit conversion from FormulaOccurrence to HOLFormula performed by method formulaOccurrenceToFormula in at.logic.gapt.proofs.occurrences.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaOccurrence: HOLFormula).toString()
    Definition Classes
    LambdaExpression → AnyRef → Any

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion formulaOccurrenceToFormula from FormulaOccurrence to HOLFormula

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

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

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

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

Ungrouped