test: add test for example that does not work in Lean3
cc @eric-wieser
This commit is contained in:
parent
e53e088be8
commit
1a8840330f
1 changed files with 6 additions and 0 deletions
6
tests/lean/run/wfLean3Issue.lean
Normal file
6
tests/lean/run/wfLean3Issue.lean
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
def foo : Nat → Nat → Nat
|
||||
| 0, 0 => 1
|
||||
| s+1, 0 => foo s 0 + 1
|
||||
| 0, b+1 => foo 0 b + 1
|
||||
| s+1, b+1 => foo (s+1) b + foo s (b+1)
|
||||
termination_by foo b s => (b, s)
|
||||
Loading…
Add table
Reference in a new issue