Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/expose-array-back
/
.
/
tests
/
elab
/
262.lean
blob: 2ab641808ef3c2b073619b0ed5741e405e81be6f [
file
] [
edit
]
mutual
inductive
ConE
:
Type
where
|
nilE
:
ConE
|
extE
:
ConE
→
TyE
→
ConE
inductive
TyE
:
Type
where
|
UE
:
ConE
→
TyE
end
def
length
(Γ
E
:
ConE
)
:
Nat
:=
match
Γ
E
with
|
ConE
.
nilE
=>
0
|
ConE
.
extE
Γ
E AE
=>
(
length
Γ
E
)
+
1