lean4-htt/tests/lean/run/1315a.lean
2017-01-16 20:01:25 -08:00

35 lines
515 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def k : := 0
def works : Π (n : ) (m : ),
| 0 m := 0
| (n+1) m :=
let val := m+1 in
match works n val with
| 0 := 0
| (l+1) := 0
end
def works2 : Π (n : ) (m : ),
| 0 m := 0
| (n+1) m :=
match k with
| 0 := 0
| (i+1) :=
match works2 n (m+1) with
| 0 := 0
| (l+1) := 0
end
end
def fails : Π (n : ) (m : ),
| 0 m := 0
| (n+1) m :=
match k with
| 0 := 0
| (i+1) :=
let val := m+1 in
match fails n val with
| 0 := 0
| (l+1) := 0
end
end