Let I be given.
We will
prove I ∈ {F p|p ∈ QQ}.
Apply Hexq1 to the current goal.
Let q1 be given.
Assume Hq1pair.
Apply Hexq2 to the current goal.
Let q2 be given.
Assume Hq2pair.
We prove the intermediate
claim HpQQ:
(q1,q2) ∈ QQ.
We prove the intermediate
claim HFpair:
F (q1,q2) = open_interval q1 q2.
We prove the intermediate
claim HFdef:
F (q1,q2) = open_interval ((q1,q2) 0) ((q1,q2) 1).
rewrite the current goal using HFdef (from left to right).
rewrite the current goal using
(tuple_2_0_eq q1 q2) (from left to right).
rewrite the current goal using
(tuple_2_1_eq q1 q2) (from left to right).
Use reflexivity.
rewrite the current goal using HIeq (from left to right).
rewrite the current goal using HFpair (from right to left).
An
exact proof term for the current goal is
(ReplI QQ F (q1,q2) HpQQ).