o

gapt.proofs.nd

MRealizability

object MRealizability

Source
m-realizability.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MRealizability
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def flat(formula: Formula)(implicit systemT: Context): Ty

    computes the type of a potential m-realizer for the formula

  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mrealize(proof: NDProof, re: Boolean = true)(implicit ctx: Context): (Map[SequentIndex, Var], Expr)

    Extracts an mrealizer for a theorem from its proof.

    Extracts an mrealizer for a theorem from its proof.

    proof

    proof from which the realizer is extracted

    re

    boolean whether or not the result should be normalized with respect to the empty program (default) or not

    ctx

    system T

    returns

    a term M of system T, and a map of sequentindices of the antecedent of the conclusion of the proof, to variables x1,...,xk, such that: if M1,...,Mk are m-realizers for the formulas in the antecedent, then M[M1/x1]...[Mk/xk] m-realizes the succedent of the conclusion

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def recursor(indType: TBase, resultType: Ty)(implicit ctx: Context): Const

    Gives a recursor constant for an inductive type.

    Gives a recursor constant for an inductive type.

    indType

    the inductive type that the recursor is for

    resultType

    type of the result of applying terms to the recursor

    ctx

    context that the inductive type is defined in

    returns

    recursor constant

  17. def remEmpProg(term: Expr)(implicit systemT: Context): Expr

    removes all occurences of the empty program i : 1 from term, or is i : 1 itself, except for match and inl and inr term: sometimes not possible to remove all occurences.

  18. def remEmpProgType(typee: Ty)(implicit systemT: Context): Ty

    removes all occurences of the empty program type 1 from term, or is 1 itself, except for the sum type.

  19. def remEmpProgTypes(types: List[Ty])(implicit systemT: Context): List[Ty]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def systemT(ctx: Context): Context

    Transforms a context into system T.

    Transforms a context into system T.

    ctx

    original context

    returns

    original context with recursors for inductive types, pair and sum types and terms, and the empty program

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped