Let A, l and eps be given.
We prove the intermediate
claim HlR:
l ∈ R.
An
exact proof term for the current goal is
(R_lub_in_R A l Hlub).
We prove the intermediate
claim HuR:
u ∈ R.
We prove the intermediate
claim HlS:
SNo l.
An
exact proof term for the current goal is
(real_SNo l HlR).
We prove the intermediate
claim HepsS:
SNo eps.
An
exact proof term for the current goal is
(real_SNo eps HepsR).
We prove the intermediate
claim HepsPosS:
0 < eps.
An
exact proof term for the current goal is
(RltE_lt 0 eps HepsPos).
We prove the intermediate
claim HmepsR:
minus_SNo eps ∈ R.
An
exact proof term for the current goal is
(real_minus_SNo eps HepsR).
We prove the intermediate
claim HmepsS:
SNo (minus_SNo eps).
We prove the intermediate
claim Hmepslt0:
minus_SNo eps < 0.
rewrite the current goal using
minus_SNo_0 (from right to left).
We prove the intermediate
claim HuLtL:
u < l.
rewrite the current goal using HuDef (from left to right) at position 1.
rewrite the current goal using
(add_SNo_0R l HlS) (from right to left) at position 2.
An exact proof term for the current goal is HuLtL0.
We prove the intermediate
claim HuLtL_R:
Rlt u l.
An
exact proof term for the current goal is
(RltI u l HuR HlR HuLtL).
We prove the intermediate
claim HnotAll:
¬ (∀a : set, a ∈ A → a ∈ R → Rle a u).
We prove the intermediate
claim Hmin:
∀u0 : set, u0 ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u0) → Rle l u0.
An
exact proof term for the current goal is
(andER (l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l) (∀u0 : set, u0 ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u0) → Rle l u0) Hlub).
We prove the intermediate
claim Hle:
Rle l u.
An exact proof term for the current goal is (Hmin u HuR Hall).
We prove the intermediate
claim Hnlt:
¬ (Rlt u l).
An
exact proof term for the current goal is
(RleE_nlt l u Hle).
An exact proof term for the current goal is (Hnlt HuLtL_R).
Let a be given.
We prove the intermediate
claim Hna1:
a ∈ A ∧ ¬ (a ∈ R → Rle a u).
An
exact proof term for the current goal is
(not_imp (a ∈ A) (a ∈ R → Rle a u) Hna).
We prove the intermediate
claim HaA:
a ∈ A.
An
exact proof term for the current goal is
(andEL (a ∈ A) (¬ (a ∈ R → Rle a u)) Hna1).
We prove the intermediate
claim Hna2:
¬ (a ∈ R → Rle a u).
An
exact proof term for the current goal is
(andER (a ∈ A) (¬ (a ∈ R → Rle a u)) Hna1).
We prove the intermediate
claim Hna3:
a ∈ R ∧ ¬ (Rle a u).
An
exact proof term for the current goal is
(not_imp (a ∈ R) (Rle a u) Hna2).
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(andEL (a ∈ R) (¬ (Rle a u)) Hna3).
We prove the intermediate
claim Hnle:
¬ (Rle a u).
An
exact proof term for the current goal is
(andER (a ∈ R) (¬ (Rle a u)) Hna3).
We prove the intermediate
claim HuLtA:
Rlt u a.
Apply (xm (Rlt u a) (Rlt u a)) to the current goal.
An exact proof term for the current goal is Hlt.
We prove the intermediate
claim Hle:
Rle a u.
An
exact proof term for the current goal is
(RleI a u HaR HuR Hnlt).
An
exact proof term for the current goal is
(FalseE (Hnle Hle) (Rlt u a)).
We use a to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HaA.
An exact proof term for the current goal is HaR.
An exact proof term for the current goal is HuLtA.
∎