Let I and S be given.
We will
prove ∃m : set, m ∈ S ∧ ∀s : set, s ∈ S → m ⊆ s.
We prove the intermediate
claim Hexs:
∃x : set, x ∈ S.
Apply Hexs to the current goal.
Let x be given.
Set p to be the term
λa : set ⇒ a ∈ S.
We prove the intermediate
claim Hexord:
∃a : set, ordinal a ∧ p a.
We use x to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HxI:
x ∈ I.
An exact proof term for the current goal is (HSsubI x HxS).
An
exact proof term for the current goal is
(ordinal_Hered I HordI x HxI).
An exact proof term for the current goal is HxS.
Let m be given.
We prove the intermediate
claim Hm12:
ordinal m ∧ p m.
An
exact proof term for the current goal is
(andEL (ordinal m ∧ p m) (∀beta ∈ m, ¬ p beta) Hm).
We prove the intermediate
claim Hmord:
ordinal m.
An
exact proof term for the current goal is
(andEL (ordinal m) (p m) Hm12).
We prove the intermediate claim Hmp: p m.
An
exact proof term for the current goal is
(andER (ordinal m) (p m) Hm12).
We prove the intermediate
claim Hmmin:
∀beta ∈ m, ¬ p beta.
An
exact proof term for the current goal is
(andER (ordinal m ∧ p m) (∀beta ∈ m, ¬ p beta) Hm).
We use m to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hmp.
Let s be given.
We prove the intermediate
claim Hsord:
ordinal s.
We prove the intermediate
claim HsI:
s ∈ I.
An exact proof term for the current goal is (HSsubI s HsS).
An
exact proof term for the current goal is
(ordinal_Hered I HordI s HsI).
We prove the intermediate
claim HsTr:
TransSet s.
An exact proof term for the current goal is (HsTr m Hms).
rewrite the current goal using Hmeq (from left to right).
An
exact proof term for the current goal is
(Subq_ref s).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hmmin s Hsm HsS).
∎