lean icon indicating copy to clipboard operation
lean copied to clipboard

feat(?): Better support for prod in well_founded

Open eric-wieser opened this issue 3 years ago • 1 comments

This is an attempt at following up on https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/Well.20founded.20definition/near/205105727, which noted that the following didn't work without extra encouragement:

def test : list ℕ × list ℕ → list ℕ × list ℕ
| ([],m) := ([],m)
| (a::l,m) := test(l,m)
-- works with
-- using_well_founded {dec_tac := `[apply prod.lex.left, well_founded_tactics.default_dec_tac]}

I have no idea how to test this locally, unfortunately.

If you think this concept is flawed, feel free to close.

eric-wieser avatar Jul 28 '20 14:07 eric-wieser

The current plan is actually to remove this file altogether, @bryangingechen has started here: #288

gebner avatar Jul 28 '20 15:07 gebner