CONSTANT Exp
AXIOM EqAssoc == \A p,q,r \in Exp : ((p = q) = r) = (p = (q = r))
THEOREM NeqEqInterch == \A p,q,r \in Exp : ((p # q) = r) = (p = (q # r)) BY EqAssoc
=============================================
The Proof Manager successfully shows NeqEqInterch to be proved, even though I never supplied the properties for not equal (i.e. 'p # q'), negation (i.e. '\neg p') on Exp, nor gave any explicit membership information about Exp. However, when not supplying EqAssoc, the Proof Manager reports a timeout on all theorem provers. So somehow it seems that only associativity of equality is missing. But why is everything else already supplied but not associativity?
Best,
Erick
THEOREM NeqDef == \A p,q \in Exp : (p # q) = (\neg (p = q)) (* Succeeds => Already built-in axiom/theorem *)
OBVIOUS
THEOREM NegDistrOverEq == \A p,q \in Exp : (\neg (p = q)) = ((\neg p) = q) (* Fails => Can be supplied as AXIOM instead *)
OBVIOUS
Best regards,--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/7ae642da-65f3-4faa-8427-72e1e7873a6dn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CAF6T5Kr73-aQuGSue7geMdigvtfT6dc3Rbps57t9N%2Boby7%2By1w%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CABf5HMj7K-FzG_EtQoxxQ-F2iRSOK%2BCEVEF7UR9M4PY79xoVBw%40mail.gmail.com.
LEMMA \A n \in Nat : (\E m \in Nat : n = m+m) => n \div 2 = 0fails
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/e7535dbc-0eeb-49a4-ba50-aac7a35bc9dfn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CAF6T5KoX_vLw_prW3LEzfE6tN0339FoxVE54KfOy0ByEbN0NiQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CAF6T5KrfvpboULwBuoZTEy6jNygV8GBiLXmOG40Ayywc68qgAw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/0577B216-F066-4DEB-84B4-D2EDFC3AB903%40gmail.com.
EXTENDS Sequences
True == [ op |-> "T" ]
False == [ op |-> "F" ]
Neg(f) == [ op |-> "neg", args |-> <<f>> ]
a ## b == Neg(a \equiv b)
LEMMA EqAssoc == \A p,q,r : ((p \equiv q) \equiv r) \equiv (p \equiv (q \equiv r))
OBVIOUS
LEMMA EqSym == \A p,q : (p \equiv q) \equiv (q \equiv p)
OBVIOUS
AXIOM EqIden == \A p : True \equiv (p \equiv p)
AXIOM FalseDef == False \equiv Neg(True)
AXIOM NegDistr == \A p,q : Neg(p \equiv q) \equiv (Neg(p) \equiv q)
AXIOM NeqDef == \A p,q : (p ## q) \equiv Neg(p \equiv q)
THEOREM NegDble ==
ASSUME NEW p
PROVE Neg(Neg(p)) \equiv p
<1>1 (Neg(Neg(p)) \equiv p) \equiv Neg(Neg(p) \equiv p)
BY NegDistr
<1>2 @ \equiv (Neg(p \equiv Neg(p)))
BY EqSym (* OBVIOUS *)
<1>3 @ \equiv (Neg(p) \equiv Neg(p))
BY NegDistr
<1>4 @ \equiv (True \equiv (Neg(p) \equiv Neg(p)))
BY EqIden
<1> QED
BY <1>1, <1>2, <1>3, <1>4, EqIden