Let L and R be given.
Assume HLR.
Let alpha be given.
Assume Ha HaL HaR.
We prove the intermediate
claim L1:
∃beta, ordinal beta ∧ (∃p : set → prop, PNo_strict_imv L R beta p) ∧ ∀gamma ∈ beta, ¬ (∃p : set → prop, PNo_strict_imv L R gamma p).
Apply least_ordinal_ex (λbeta ⇒ ∃p : set → prop, PNo_strict_imv L R beta p) to the current goal.
We will
prove ∃beta, ordinal beta ∧ ∃p : set → prop, PNo_strict_imv L R beta p.
Let beta be given.
Assume H1.
Apply H1 to the current goal.
Assume H1.
Apply H1 to the current goal.
Let p be given.
We prove the intermediate claim Lsa: ordinal (ordsucc alpha).
An exact proof term for the current goal is ordinal_ordsucc alpha Ha.
We use beta to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is ordinal_Hered (ordsucc alpha) Lsa beta Hb.
We use p to witness the existential quantifier.
An exact proof term for the current goal is Hp.
Apply L1 to the current goal.
Let beta be given.
Assume H1.
Apply H1 to the current goal.
Assume H1.
Apply H1 to the current goal.
Assume H1: ordinal beta.
Apply H2 to the current goal.
Let p be given.
We use beta to witness the existential quantifier.
Apply andI to the current goal.
We use
(λx ⇒ x ∈ beta ∧ p x) to
witness the existential quantifier.
We will
prove PNo_least_rep L R beta (λx ⇒ x ∈ beta ∧ p x) ∧ ∀x, x ∉ beta → ¬ (x ∈ beta ∧ p x).
Apply andI to the current goal.
Apply and3I to the current goal.
An exact proof term for the current goal is H1.
We will
prove PNoEq_ beta p (λx ⇒ x ∈ beta ∧ p x).
Let x be given.
We will
prove p x ↔ x ∈ beta ∧ p x.
Apply iffI to the current goal.
Assume H4.
Apply andI to the current goal.
An exact proof term for the current goal is Hx.
An exact proof term for the current goal is H4.
Assume H4.
Apply H4 to the current goal.
Assume _ H5.
An exact proof term for the current goal is H5.
An exact proof term for the current goal is Hp.
Let gamma be given.
Let q be given.
We will prove False.
Apply H3 gamma Hc to the current goal.
We use q to witness the existential quantifier.
An exact proof term for the current goal is H4.
We will
prove ∀x, x ∉ beta → ¬ (x ∈ beta ∧ p x).
Let x be given.
Assume Hx.
Assume H4.
Apply H4 to the current goal.
Assume H5 _.
An exact proof term for the current goal is Hx H5.
Let q and r be given.
Apply Hq to the current goal.
Assume Hq1 Hq2.
Apply Hr to the current goal.
Assume Hr1 Hr2.
We will prove q = r.
Apply pred_ext to the current goal.
Let x be given.
Apply xm (x ∈ beta) to the current goal.
We will prove q x ↔ r x.
Apply Hr1 to the current goal.
Assume Hr1a.
Apply Hr1a to the current goal.
Assume _.
Assume _.
Assume H4: x ∉ beta.
Apply iffI to the current goal.
Assume H5: q x.
We will prove False.
Apply Hq2 x H4 to the current goal.
An exact proof term for the current goal is H5.
Assume H5: r x.
We will prove False.
Apply Hr2 x H4 to the current goal.
An exact proof term for the current goal is H5.
∎