feat(builtin/basic): add TypeM alias
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1b300d3598
commit
f8b82d854e
8 changed files with 2 additions and 9 deletions
|
@ -1,5 +1,7 @@
|
|||
Import macros
|
||||
|
||||
Definition TypeU := (Type U)
|
||||
Definition TypeM := (Type M)
|
||||
|
||||
Definition SubstP {A : TypeU} {a b : A} (P : A → Bool) (H1 : P a) (H2 : a == b) : P b
|
||||
:= Subst H1 H2.
|
||||
|
|
Binary file not shown.
|
@ -1,8 +1,6 @@
|
|||
Import cast
|
||||
SetOption pp::colors false
|
||||
|
||||
Definition TypeM := (Type M)
|
||||
|
||||
Check fun (A A': TypeM)
|
||||
(B : A -> TypeM)
|
||||
(B' : A' -> TypeM)
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
Set: pp::unicode
|
||||
Imported 'cast'
|
||||
Set: pp::colors
|
||||
Defined: TypeM
|
||||
λ (A A' : TypeM)
|
||||
(B : A → TypeM)
|
||||
(B' : A' → TypeM)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Import cast
|
||||
SetOption pp::colors false
|
||||
|
||||
Definition TypeM := (Type M)
|
||||
|
||||
Check fun (A A': TypeM)
|
||||
(a : A)
|
||||
(b : A')
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
Set: pp::unicode
|
||||
Imported 'cast'
|
||||
Set: pp::colors
|
||||
Defined: TypeM
|
||||
λ (A A' : TypeM) (a : A) (b : A') (L2 : A' == A), let b' : A := cast L2 b, L3 : b == b' := CastEq L2 b in L3 :
|
||||
Π (A A' : TypeM) (a : A) (b : A') (L2 : A' == A), b == cast L2 b
|
||||
λ (A A' : TypeM)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
Import cast
|
||||
SetOption pp::colors false
|
||||
|
||||
Definition TypeM := (Type M)
|
||||
|
||||
Check fun (A A': TypeM)
|
||||
(a : A)
|
||||
(b : A')
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
Set: pp::unicode
|
||||
Imported 'cast'
|
||||
Set: pp::colors
|
||||
Defined: TypeM
|
||||
λ (A A' : TypeM) (a : A) (b : A') (L2 : A' == A), let b' : A := cast L2 b, L3 : b == b' := CastEq L2 b in L3 :
|
||||
Π (A A' : TypeM) (a : A) (b : A') (L2 : A' == A), b == cast L2 b
|
||||
λ (A A' : TypeM)
|
||||
|
|
Loading…
Reference in a new issue