2015-11-07 20:54:01 +00:00
|
|
|
import logic.connectives logic.quantifiers
|
|
|
|
|
|
|
|
universe l
|
2015-11-16 19:01:53 +00:00
|
|
|
constants (T : Type.{l}) (x y z : T) (P : T → Prop) (Q : T → T → T → Prop) (R W V : T → T → Prop)
|
2015-11-07 20:54:01 +00:00
|
|
|
constants (px : P x) (wxz : W x z) (vzy : V z y)
|
|
|
|
constants (H : ∀ (x y z : T), P x → W x z → V z y → (Q z y x ↔ R x y))
|
2015-11-16 19:01:53 +00:00
|
|
|
namespace tst
|
|
|
|
attribute px true_iff [simp]
|
2015-11-07 20:54:01 +00:00
|
|
|
attribute wxz [simp]
|
|
|
|
attribute vzy [simp]
|
|
|
|
attribute H [simp]
|
2015-11-16 19:01:53 +00:00
|
|
|
end tst
|
2015-11-07 20:54:01 +00:00
|
|
|
|
2015-11-16 19:01:53 +00:00
|
|
|
#simplify iff tst 0 P x
|
|
|
|
#simplify iff tst 0 W x z
|
|
|
|
#simplify iff tst 0 V z y
|
|
|
|
#simplify iff tst 0 Q z y x
|
|
|
|
#simplify iff tst 0 V z y ↔ Q z y x
|