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:
Leonardo de Moura 2016-01-11 16:50:03 -08:00
parent b40f0ffe8b
commit d736376a6f

View 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