lean4-htt/tests/lean/aux_decl_zeta.lean
2016-09-20 08:32:37 -07:00

23 lines
451 B
Text

inductive vec (A : Type*) : nat → Type*
| nil : vec 0
| cons : Π {n}, A → vec n → vec (n+1)
definition f : bool → Prop
| x :=
let m := 10,
n := m in
match x with
| tt := true
| ff := ∀ (x : vec nat 10) (w : vec nat n), x = w
end
set_option eqn_compiler.zeta true
definition f : bool → Prop
| x :=
let m := 10,
n := m in
match x with
| tt := true
| ff := ∀ (x : vec nat 10) (w : vec nat n), x = w
end