MRealizability
Attributes
- Source
- m-realizability.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MRealizability.type
Members list
Value members
Concrete methods
computes the type of a potential m-realizer for the formula
Extracts an mrealizer for a theorem from its proof.
Extracts an mrealizer for a theorem from its proof.
Value parameters
- ctx
-
system T
- 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
Attributes
- 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
- Source
- m-realizability.scala
Gives a recursor constant for an inductive type.
Gives a recursor constant for an inductive type.
Value parameters
- ctx
-
context that the inductive type is defined in
- indType
-
the inductive type that the recursor is for
- resultType
-
type of the result of applying terms to the recursor
Attributes
- Returns
-
recursor constant
- Source
- m-realizability.scala
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.
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.
Attributes
- Source
- m-realizability.scala
removes all occurences of the empty program type 1 from term, or is 1 itself, except for the sum type.
removes all occurences of the empty program type 1 from term, or is 1 itself, except for the sum type.
Attributes
- Source
- m-realizability.scala
Attributes
- Source
- m-realizability.scala
Transforms a context into system T.
Transforms a context into system T.
Value parameters
- ctx
-
original context
Attributes
- Returns
-
original context with recursors for inductive types, pair and sum types and terms, and the empty program
- Source
- m-realizability.scala