Let X, d, x, A and eps be given.
We prove the intermediate
claim Hlub:
R_lub S l.
We prove the intermediate
claim HlR:
l ∈ R.
An
exact proof term for the current goal is
(R_lub_in_R S l Hlub).
Apply Hex to the current goal.
Let t be given.
Assume Htpack.
We prove the intermediate
claim HtCore:
t ∈ S ∧ t ∈ R.
We prove the intermediate
claim HtIn:
t ∈ S.
An
exact proof term for the current goal is
(andEL (t ∈ S) (t ∈ R) HtCore).
Let a be given.
We prove the intermediate
claim HaX:
a ∈ X.
An exact proof term for the current goal is (HAsub a HaA).
We prove the intermediate
claim HxaIn:
(x,a) ∈ setprod X X.
We prove the intermediate
claim HdxaR:
apply_fun d (x,a) ∈ R.
An exact proof term for the current goal is (Hfun (x,a) HxaIn).
We prove the intermediate
claim HtR:
t ∈ R.
An
exact proof term for the current goal is
(andER (t ∈ S) (t ∈ R) HtCore).
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 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 HdxaS:
SNo (apply_fun d (x,a)).
We prove the intermediate
claim HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
rewrite the current goal using Hteq (from right to left).
An exact proof term for the current goal is HltS.
rewrite the current goal using Hinv (from right to left).
An exact proof term for the current goal is Hneg1.
rewrite the current goal using HrhsEq (from right to left).
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 HaX.
rewrite the current goal using HdistDef (from left to right).
An exact proof term for the current goal is HltR2.
∎