Let f and g be given.
We prove the intermediate
claim H0:
(f,g) 0 = f.
An
exact proof term for the current goal is
(tuple_2_0_eq f g).
We prove the intermediate
claim H1:
(f,g) 1 = g.
An
exact proof term for the current goal is
(tuple_2_1_eq f g).
rewrite the current goal using H0 (from left to right) at position 1.
rewrite the current goal using H1 (from left to right) at position 1.
Set P to be the term
(λr : set ⇒ R_lub A r).
rewrite the current goal using Hdef (from left to right).
We prove the intermediate
claim Hlub1:
R_lub A 1.
We will
prove (1 ∈ R ∧ (∀a : set, a ∈ A → a ∈ R → Rle a 1)) ∧ (∀u : set, u ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u) → Rle 1 u).
Apply andI to the current goal.
Apply andI to the current goal.
An
exact proof term for the current goal is
real_1.
Let a be given.
Let n be given.
rewrite the current goal using Haeq (from left to right).
rewrite the current goal using Hdefc (from left to right).
rewrite the current goal using Hdefc (from left to right).
Let u be given.
We prove the intermediate
claim Hn0O:
n0 ∈ ω.
An exact proof term for the current goal is (Hfvals n0 Hn0O).
An exact proof term for the current goal is (Hgvals n0 Hn0O).
rewrite the current goal using Hfn0 (from left to right).
rewrite the current goal using Hgn0 (from left to right).
Use reflexivity.
rewrite the current goal using Hdefabs (from left to right).
rewrite the current goal using Hfn0 (from left to right).
rewrite the current goal using Hgn1 (from left to right).
Use reflexivity.
rewrite the current goal using Habs (from left to right).
rewrite the current goal using Hdefc (from left to right).
Use reflexivity.
rewrite the current goal using Hdefabs (from left to right).
rewrite the current goal using Hfn1 (from left to right).
rewrite the current goal using Hgn0 (from left to right).
rewrite the current goal using
minus_SNo_0 (from left to right).
Use reflexivity.
rewrite the current goal using Habs (from left to right).
rewrite the current goal using Hdefc (from left to right).
Use reflexivity.
rewrite the current goal using Hfn1 (from left to right).
rewrite the current goal using Hgn1 (from left to right).
Use reflexivity.
We prove the intermediate
claim H1inA:
1 ∈ A.
rewrite the current goal using Hclip1 (from right to left) at position 1.
An exact proof term for the current goal is Hin.
An
exact proof term for the current goal is
(Hub 1 H1inA real_1).
We prove the intermediate
claim Hex:
∃r : set, P r.
We use
1 to
witness the existential quantifier.
An exact proof term for the current goal is Hlub1.
We prove the intermediate
claim HlubChosen:
P (Eps_i P).
An
exact proof term for the current goal is
(Eps_i_ex P Hex).
An
exact proof term for the current goal is
(R_lub_unique A (Eps_i P) 1 HlubChosen Hlub1).
∎