Cezary Kaliszyk
2018-10-27 09:52:58 UTC
Dear all,
Consider the following lemma:
lemma "(⋀B. X1 = B) ⟹ X1 = X2"
by simp
In HOL it works, but for example in ZF it does not work. The simp
trace says that it works if the premise is added to the rewrite rules,
which happens in HOL but does not happen in ZF. What controls whether
premises are added as rewrite rules by rhe simplifier in object
logics? How to get similar behavior as in HOL for this lemma?
Regards,
Cezary
Consider the following lemma:
lemma "(⋀B. X1 = B) ⟹ X1 = X2"
by simp
In HOL it works, but for example in ZF it does not work. The simp
trace says that it works if the premise is added to the rewrite rules,
which happens in HOL but does not happen in ZF. What controls whether
premises are added as rewrite rules by rhe simplifier in object
logics? How to get similar behavior as in HOL for this lemma?
Regards,
Cezary
--
Cezary Kaliszyk, University of Innsbruck,
http://cl-informatik.uibk.ac.at/cek/
Cezary Kaliszyk, University of Innsbruck,
http://cl-informatik.uibk.ac.at/cek/