test(tests/lean/run/blast_cc_heq8): new congruence closure procedure can also handle subtypes without using a flattening preprocessing step
This commit is contained in:
parent
b40f0ffe8b
commit
d736376a6f
1 changed files with 10 additions and 0 deletions
10
tests/lean/run/blast_cc_heq8.lean
Normal file
10
tests/lean/run/blast_cc_heq8.lean
Normal file
|
@ -0,0 +1,10 @@
|
|||
open nat subtype
|
||||
|
||||
definition f (x : nat) (y : {n : nat | n > x}) : nat :=
|
||||
x + elt_of y
|
||||
|
||||
set_option blast.subst false
|
||||
|
||||
example (h : nat → nat) (a b c d : nat) (Ha : h c > h a) (Hb : h d > h b)
|
||||
: h a = h b → c = d → f (h a) (tag (h c) Ha) = f (h b) (tag (h d) Hb) :=
|
||||
by inst_simp
|
Loading…
Reference in a new issue