Packages

case class SequentConnector(lowerSizes: (Int, Int), upperSizes: (Int, Int), parentsSequent: Sequent[Seq[SequentIndex]]) extends Product with Serializable

This class models the connection of formula occurrences between two sequents in a proof.

The most basic use case is that of connecting the conclusion of an LK inference with one of the premises. This is the origin of the names "lowerSizes" and "upperSizes".

lowerSizes

The dimensions of the first ("lower") of the two connected sequents.

upperSizes

The dimensions of the second ("upper") of the two connected sequents.

parentsSequent

A sequent of lists of indices such that for each index i of lowerSequent, parentsSequent(i) is the list of indices of the parents of i in upperSequent.

Source
SequentConnector.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequentConnector
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SequentConnector(lowerSizes: (Int, Int), upperSizes: (Int, Int), parentsSequent: Sequent[Seq[SequentIndex]])

    lowerSizes

    The dimensions of the first ("lower") of the two connected sequents.

    upperSizes

    The dimensions of the second ("upper") of the two connected sequents.

    parentsSequent

    A sequent of lists of indices such that for each index i of lowerSequent, parentsSequent(i) is the list of indices of the parents of i in upperSequent.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(that: SequentConnector): SequentConnector

    Concatenates two SequentConnectors.

    Concatenates two SequentConnectors.

    that

    An SequentConnector. upperSizes of this must be the same as lowerSizes of that.

    returns

    An SequentConnector that connects the lower sequent of this with the upper sequent of that.

  4. def +(child: SequentIndex, parent: SequentIndex): SequentConnector

    Adds a child/parent pair to an SequentConnector.

    Adds a child/parent pair to an SequentConnector.

    child

    An index of lowerSequent.

    parent

    An index of upperSequent.

    returns

    A new SequentConnector in which parents(child) contains parent.

  5. def +(that: SequentConnector): SequentConnector

    Forms the union of two SequentConnectors.

    Forms the union of two SequentConnectors.

    that

    An SequentConnector. Must have the same upper and lower sizes as this.

    returns

    A new SequentConnector o such that for any i, o.parents(i) = this.parents(i) ∪ that.parents(i).

  6. def -(child: SequentIndex, parent: SequentIndex): SequentConnector

    Removes a child/parent pair from an SequentConnector.

    Removes a child/parent pair from an SequentConnector.

    child

    An index of lowerSequent.

    parent

    An index of upperSequent. Must be a parent of child.

    returns

    A new SequentConnector in which parents(child) no longer contains parent.

  7. def ->[B](y: B): (SequentConnector, B)
    Implicit
    This member is added by an implicit conversion from SequentConnector toArrowAssoc[SequentConnector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. val antL: Int
  10. val antU: Int
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def child(idx: SequentIndex): SequentIndex

    Given a SequentIndex for the upper sequent, this returns the child of that occurrence in the lower sequent (if there is exactly one).

    Given a SequentIndex for the upper sequent, this returns the child of that occurrence in the lower sequent (if there is exactly one).

    idx

    An index of upperSequent.

    returns

    The unique child of idx.

  13. def child[T](upperTs: Sequent[T], default: => T = ???): Sequent[T]
  14. def children[T](upperTs: Sequent[T]): Sequent[Seq[T]]
  15. def children(idx: SequentIndex): Seq[SequentIndex]

    Given a SequentIndex for the upper sequent, this returns the list of children of that occurrence in the lower sequent (if defined).

    Given a SequentIndex for the upper sequent, this returns the list of children of that occurrence in the lower sequent (if defined).

    idx

    An index of upperSequent.

    returns

    The list of children of idx.

  16. def childrenSequent: Sequent[Seq[SequentIndex]]

    Analogous to parentsSequent, but in the other direction.

    Analogous to parentsSequent, but in the other direction.

    returns

    A sequent of lists of indices such that for each index i of upperSequent, childrenSequent(i) is the list of indices of the children of i in lowerSequent.

  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  18. def ensuring(cond: (SequentConnector) => Boolean, msg: => Any): SequentConnector
    Implicit
    This member is added by an implicit conversion from SequentConnector toEnsuring[SequentConnector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (SequentConnector) => Boolean): SequentConnector
    Implicit
    This member is added by an implicit conversion from SequentConnector toEnsuring[SequentConnector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: => Any): SequentConnector
    Implicit
    This member is added by an implicit conversion from SequentConnector toEnsuring[SequentConnector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): SequentConnector
    Implicit
    This member is added by an implicit conversion from SequentConnector toEnsuring[SequentConnector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def inv: SequentConnector

    Inverts an SequentConnector.

    Inverts an SequentConnector.

    returns

    This SequentConnector with its lower and upper sizes (and parents and children methods) switched around.

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val lowerSizes: (Int, Int)
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. def parent[T](lowerTs: Sequent[T], default: => T = ???): Sequent[T]

    Given a sequent lowerTs of the same size as the lower sequent, return a sequent of the same size as the upper sequent that contains the unique parent of the Ts in lowerTs, or default otherwise.

  31. def parent(idx: SequentIndex): SequentIndex

    Given a SequentIndex for the lower sequent, this returns the parent of that occurrence in the upper sequent (if there is exactly one).

    Given a SequentIndex for the lower sequent, this returns the parent of that occurrence in the upper sequent (if there is exactly one).

    idx

    An index of lowerSequent.

    returns

    The unique parent of idx.

  32. def parentOption(idx: SequentIndex): Option[SequentIndex]

    Given a SequentIndex for the lower sequent, this returns the parent of that occurrence in the upper sequent (if there is exactly one), and None otherwise.

    Given a SequentIndex for the lower sequent, this returns the parent of that occurrence in the upper sequent (if there is exactly one), and None otherwise.

    idx

    An index of lowerSequent.

    returns

    The unique parent of idx.

  33. def parents[T](lowerTs: Sequent[T]): Sequent[Seq[T]]

    Given a sequent lowerTs of the same size as the lower sequent, return a sequent of the same size as the upper sequent that contains the parents of the Ts in lowerTs.

    Given a sequent lowerTs of the same size as the lower sequent, return a sequent of the same size as the upper sequent that contains the parents of the Ts in lowerTs.

    If we call the returned sequent upperTs, then lowerTs(i) in upperTs(j) for all j in parents(i).

    The intended use-case is that lowerTs is a sequent of labels for the formulas in the lower sequent. parents(lowerTs) will then contain the correct labels for the formulas in the upper sequent.

  34. def parents(idx: SequentIndex): Seq[SequentIndex]

    Given a SequentIndex for the lower sequent, this returns the list of parents of that occurrence in the upper sequent (if defined).

    Given a SequentIndex for the lower sequent, this returns the list of parents of that occurrence in the upper sequent (if defined).

    idx

    An index of lowerSequent.

    returns

    The list of parents of idx.

  35. val parentsSequent: Sequent[Seq[SequentIndex]]
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. val sucL: Int
  38. val sucU: Int
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. val upperSizes: (Int, Int)
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SequentConnector toany2stringadd[SequentConnector] performed by method any2stringadd in scala.Predef.
    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:
    (sequentConnector: any2stringadd[SequentConnector]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SequentConnector toStringFormat[SequentConnector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (SequentConnector, B)
    Implicit
    This member is added by an implicit conversion from SequentConnector toArrowAssoc[SequentConnector] 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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromSequentConnector to any2stringadd[SequentConnector]

Inherited by implicit conversion StringFormat fromSequentConnector to StringFormat[SequentConnector]

Inherited by implicit conversion Ensuring fromSequentConnector to Ensuring[SequentConnector]

Inherited by implicit conversion ArrowAssoc fromSequentConnector to ArrowAssoc[SequentConnector]

Ungrouped