Hello,
I am trying to prove:
WiresRTC (CA (HighSignal str),s) \/
?str1'.
WiresRTC (CA (HighSignal str1'),{s1 | WiresRTC (s1,s)}) /\
WiresRTC (CA (SignalLink str str1'),s)
------------------------------------
0. !s'.
(!x. x IN s = x IN s') ==>
WiresRTC (CA (HighSignal str1),{s1 | WiresRTC (s1,s')})
1. CA (SignalLink str str1) IN s
2. !x. x IN aSet = x IN s
where WiresRTC is the reflexive-transitive closure of a set of hardware
actions (actually, this is part of a proof that WiresRTC(WiresRTC(s)) =
WiresRTC(s)).
I can't prove the first term in the ORed goal but I was expecting to be
able to use the inductive hypothesis in the second term. In this line,
hypothesis 0 seems to be (quite) what I need for the first part of the
second half of the goal. I was planning to use
e (FULL_SIMP_TAC std_ss [BOTH_FORALL_IMP_THM])
in order to reduce hypothesis 0 into:
0. ?s'. (!x. x IN s = x IN s') ==>
!s'. WiresRTC (CA (HighSignal str1),{s1 | WiresRTC (s1,s')})
then rename any of the occurrences of s' (how do I do this?) and
"massage" the quantifiers to get something of the form:
0. ?s'. !s''. (!x. x IN s = x IN s') ==>
WiresRTC (CA (HighSignal str1),{s1 | WiresRTC (s1,s'')})
Then use Q.Exists to instantiate s' to s and get rid of the first part
of the implication to get:
0. !s''. WiresRTC (CA (HighSignal str1),{s1 | WiresRTC (s1,s'')})
My questions are:
- e (FULL_SIMP_TAC std_ss [BOTH_FORALL_IMP_THM]) does not produce any
rewriting of the hypothesis. What is what I am missing? I checked the
definition of BOTH_FORALL_THM and it states:
(("bool", "BOTH_FORALL_IMP_THM"),
(|- !P Q. (!x. P ==> Q) = (?x. P) ==> !x. Q, Thm)),
which seems to be what I have... Any suggestions?
- Is there a way of renaming quantified variables?
Thank you very much for your help.
Juan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
hol-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hol-info