Apply Hqr1 to the current goal.
Let delta be given.
Assume Hqr2.
Apply Hqr2 to the current goal.
Assume Hd1 Hd2.
Assume Hqr3.
Apply Hqr3 to the current goal.
Assume Hqr3.
Apply Hqr3 to the current goal.
Assume Hqr5: r delta.
We will
prove ∃delta ∈ alpha ∩ beta, PNoEq_ delta p r ∧ ¬ p delta ∧ r delta.
We use delta to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hd.
Apply and3I to the current goal.
We will
prove PNoEq_ delta p r.
We will
prove PNoEq_ delta p q.
We will
prove PNoEq_ alpha p q.
An exact proof term for the current goal is Hpq.
We will
prove PNoEq_ delta q r.
An exact proof term for the current goal is Hqr3.
Assume H1: p delta.
Apply Hqr4 to the current goal.
We will prove q delta.
An
exact proof term for the current goal is
iffEL (p delta) (q delta) (Hpq delta Hd1) H1.
We will prove r delta.
An exact proof term for the current goal is Hqr5.