Sequents for natural deduction.
They have the form A,,1,,,...,A,,m,, :- B (there is always exactly one element in the succedent).
Type parameters
- A
-
The type of elements in the sequent.
Value parameters
- assumptions
-
The elements A,,1,,,...,A,,m,,.
- conclusion
-
The element B.
Attributes
- Companion
- object
- Source
- NDSequent.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- sequents.scala
Adds a sequent of elements to the antecedent. New elements are always outermost, i.e. on the very left.
Adds a sequent of elements to the antecedent. New elements are always outermost, i.e. on the very left.
Value parameters
- es
-
A collection of elements of type B > A.
Attributes
- Returns
-
The sequent with es added to the antecedent.
- Source
- sequents.scala
Attributes
- Source
- NDSequent.scala
Adds an element to the antecedent. New elements are always outermost, i.e. on the very left.
Adds an element to the antecedent. New elements are always outermost, i.e. on the very left.
Value parameters
- e
-
An element of type B > A
Attributes
- Returns
-
The sequent with e added to the antecedent
- Source
- sequents.scala
Attributes
- Source
- NDSequent.scala
Adds an element to the succedent. New elements are always outermost, i.e. on the very right.
Adds an element to the succedent. New elements are always outermost, i.e. on the very right.
Value parameters
- e
-
An element of type B > A
Attributes
- Returns
-
The sequent with e added to the succedent
- Source
- sequents.scala
Adds a sequence of elements to the succedent. New elements are always outermost, i.e. on the very right.
Adds a sequence of elements to the succedent. New elements are always outermost, i.e. on the very right.
Value parameters
- es
-
A collection of elements of type B > A.
Attributes
- Returns
-
The sequent with es added to the succedent.
- Source
- sequents.scala
Attributes
- Source
- NDSequent.scala
Returns the element at some SequentIndex.
Returns the element at some SequentIndex.
Value parameters
- i
-
A SequentIndex, i.e. Ant(k) or Suc(k)
Attributes
- Returns
-
The k-th element of the antecedent or succedent, depending on the type of i.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Returns true iff the sequent contains some element in either cedent.
Returns true iff the sequent contains some element in either cedent.
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Takes the multiset difference between two sequents, i.e. each side separately.
Takes the multiset difference between two sequents, i.e. each side separately.
Attributes
- Source
- sequents.scala
Removes duplicate formulas from both cedents.
Sequence of elements of the sequent.
Sequence of elements of the sequent.
Attributes
- Returns
-
Antecedent concatenated with succedent.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
The sub-sequent of elements satisfying some predicate.
The sub-sequent of elements satisfying some predicate.
Value parameters
- p
-
A function of type A => Boolean.
Attributes
- Returns
-
The sequent consisting of only those elements satisfying p.
- Source
- sequents.scala
The sub-sequent of elements not satisfying some predicate.
The sub-sequent of elements not satisfying some predicate.
Value parameters
- p
-
A function of type A => Boolean.
Attributes
- Returns
-
The sequent consisting of only those elements not satisfying p.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Focuses on one element of the sequent, i.e. returns element at index and the rest of the sequent.
Focuses on one element of the sequent, i.e. returns element at index and the rest of the sequent.
Value parameters
- i
-
A SequentIndex.
Attributes
- Returns
-
A pair consisting of this(i) and the rest of this.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Returns the range of indices of the sequent as a sequence.
Returns the range of indices of the sequent as a sequent.
Returns the list of indices of elements satisfying some predicate.
Returns the list of indices of elements satisfying some predicate.
Value parameters
- p
-
A function of type A => Boolean.
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Computes the intersection of two sequents.
Tests whether the sequent is defined at the supplied SequentIndex.
Returns true iff both cedents are empty.
Attributes
- Source
- sequents.scala
Value parameters
- other
-
Another Sequent.
Attributes
- Returns
-
True iff other contains this pair of sets.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
The number of elements in the sequent.
A pair consisting of the lengths of the cedents.
Maps a function over both cedents
Maps a function over both cedents
Type parameters
- B
-
The return type of f
Value parameters
- f
-
A function of type A => B
Attributes
- Returns
-
The sequent of type B that results from mapping f over both cedents.
- Source
- sequents.scala
Maps two functions over the antecedent and succedent, respectively.
Maps two functions over the antecedent and succedent, respectively.
Type parameters
- B
-
The return type of f and g.
Value parameters
- f
-
The function to map over the antecedent.
- g
-
The function to map over the succedent.
Attributes
- Returns
-
The sequent of type B that results from mapping f and g over the antecedent and succedent, respectively.
- Source
- sequents.scala
Equality treating each side of the sequent as a multiset.
Attributes
- Source
- sequents.scala
Sequence of elements together with polarities of type Boolean signifying whether an element is in the antecedent or succedent.
Sequence of elements together with polarities of type Boolean signifying whether an element is in the antecedent or succedent.
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Equality treating each side of the sequent as a set.
Synonym for length.
Synonym for lengths.
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Returns
-
The sequent in tuple form.
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Attributes
- Source
- sequents.scala
Deprecated methods
Attributes
- Deprecated
-
[Since version 2.9]
- Source
- sequents.scala
Attributes
- Deprecated
-
[Since version 2.9]
- Source
- sequents.scala