Let r be given.
Apply Hex to the current goal.
Let a be given.
Assume H1.
Apply H1 to the current goal.
Let b be given.
Assume H2.
Apply H2 to the current goal.
Let c be given.
Assume H3.
Apply H3 to the current goal.
Let d be given.
Assume H4.
An exact proof term for the current goal is H4.
An exact proof term for the current goal is Hcore.
rewrite the current goal using Hreq (from left to right).
Let r be given.
Apply HexU to the current goal.
Let U be given.
Assume HUcore.
Apply HexV to the current goal.
Let V be given.
Assume HVcore.
We prove the intermediate
claim Hreq:
r = setprod U V.
Apply HexUab to the current goal.
Let a be given.
Assume Ha2.
Apply Ha2 to the current goal.
Let b be given.
Assume Hab.
Apply HexVcd to the current goal.
Let c be given.
Assume Hc2.
Apply Hc2 to the current goal.
Let d be given.
Assume Hcd.
We prove the intermediate
claim HUsubR:
U ⊆ R.
rewrite the current goal using HUeq (from left to right).
We prove the intermediate
claim HVsubR:
V ⊆ R.
rewrite the current goal using HVeql (from left to right).
An
exact proof term for the current goal is
(setprod_Subq U V R R HUsubR HVsubR).
We use a to witness the existential quantifier.
We use b to witness the existential quantifier.
We use c to witness the existential quantifier.
We use d to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HaQ.
An exact proof term for the current goal is HbQ.
An exact proof term for the current goal is HcQ.
An exact proof term for the current goal is HdQ.
rewrite the current goal using HUeq (from left to right).
rewrite the current goal using HVeql (from left to right).
Use reflexivity.
rewrite the current goal using Hreq (from left to right).
∎