We prove the intermediate
claim HxiR:
xi ∈ R.
We prove the intermediate
claim HaS:
SNo a.
An
exact proof term for the current goal is
(real_SNo a HaR).
We prove the intermediate
claim HbS:
SNo b.
An
exact proof term for the current goal is
(real_SNo b HbR).
We prove the intermediate
claim HxiS:
SNo xi.
An
exact proof term for the current goal is
(real_SNo xi HxiR).
We prove the intermediate
claim Hm1R:
m1 ∈ R.
We prove the intermediate
claim Hm2R:
m2 ∈ R.
We prove the intermediate
claim Hm1pos:
Rlt 0 m1.
We prove the intermediate
claim Haxlt:
a < xi.
An
exact proof term for the current goal is
(RltE_lt a xi Hailt).
We prove the intermediate
claim Hm1posS:
0 < m1.
An
exact proof term for the current goal is
(SNo_minus_SNo a HaS).
rewrite the current goal using Hcom (from left to right).
Use reflexivity.
rewrite the current goal using H0eq (from right to left) at position 1.
rewrite the current goal using Hm1eq (from right to left) at position 1.
An exact proof term for the current goal is Hlt.
An
exact proof term for the current goal is
(RltI 0 m1 real_0 Hm1R Hm1posS).
We prove the intermediate
claim Hm2pos:
Rlt 0 m2.
We prove the intermediate
claim Hxblt:
xi < b.
An
exact proof term for the current goal is
(RltE_lt xi b Hiltb).
We prove the intermediate
claim Hm2posS:
0 < m2.
An
exact proof term for the current goal is
(SNo_minus_SNo xi HxiS).
rewrite the current goal using Hcom (from left to right).
Use reflexivity.
rewrite the current goal using H0eq (from right to left) at position 1.
rewrite the current goal using Hm2eq (from right to left) at position 1.
An exact proof term for the current goal is Hlt.
An
exact proof term for the current goal is
(RltI 0 m2 real_0 Hm2R Hm2posS).
We prove the intermediate
claim H1R:
1 ∈ R.
An
exact proof term for the current goal is
real_1.
We prove the intermediate
claim H1pos:
Rlt 0 1.
An
exact proof term for the current goal is
Rlt_0_1.
Apply Hexr3 to the current goal.
Let r3 be given.
An exact proof term for the current goal is Hr3conj.
We prove the intermediate
claim Hr3top1:
(((r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 m1) ∧ Rlt r3 m2) ∧ Rlt r3 1.
Apply Hr3top to the current goal.
Assume Hr3top1 Hr3lt1b.
An exact proof term for the current goal is Hr3top1.
We prove the intermediate
claim Hr3top2:
((r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 m1) ∧ Rlt r3 m2.
Apply Hr3top1 to the current goal.
Assume Hr3top2 Hr3lt1.
An exact proof term for the current goal is Hr3top2.
We prove the intermediate
claim Hr3top3:
(r3 ∈ R ∧ Rlt 0 r3) ∧ Rlt r3 m1.
Apply Hr3top2 to the current goal.
Assume Hr3top3 Hr3m2.
An exact proof term for the current goal is Hr3top3.
We prove the intermediate
claim Hr3pair:
r3 ∈ R ∧ Rlt 0 r3.
Apply Hr3top3 to the current goal.
Assume Hr3pair Hr3m1.
An exact proof term for the current goal is Hr3pair.
We prove the intermediate
claim Hr3R:
r3 ∈ R.
Apply Hr3pair to the current goal.
Assume Hr3R Hr3pos.
An exact proof term for the current goal is Hr3R.
We prove the intermediate
claim Hr3pos:
Rlt 0 r3.
Apply Hr3pair to the current goal.
Assume Hr3R Hr3pos.
An exact proof term for the current goal is Hr3pos.
We prove the intermediate
claim Hr3lt1b:
Rlt r3 1.
Apply Hr3top to the current goal.
Assume Hr3top1 Hr3lt1b.
An exact proof term for the current goal is Hr3lt1b.
We prove the intermediate
claim Hr3lt1:
Rlt r3 1.
Apply Hr3top1 to the current goal.
Assume Hr3top2 Hr3lt1.
An exact proof term for the current goal is Hr3lt1.
We prove the intermediate
claim Hr3m2lt:
Rlt r3 m2.
Apply Hr3top2 to the current goal.
Assume Hr3top3 Hr3m2lt.
An exact proof term for the current goal is Hr3m2lt.
We prove the intermediate
claim Hr3m1lt:
Rlt r3 m1.
Apply Hr3top3 to the current goal.
Assume Hr3pair Hr3m1lt.
An exact proof term for the current goal is Hr3m1lt.
We prove the intermediate
claim Hisuc:
ordsucc i ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc i Hi).
We prove the intermediate
claim HsuccNotIn0:
ordsucc i ∉ {0}.
We prove the intermediate
claim Heq:
ordsucc i = 0.
An
exact proof term for the current goal is
(SingE 0 (ordsucc i) Hin0).
An
exact proof term for the current goal is
(neq_ordsucc_0 i Heq).
We prove the intermediate
claim HinvR:
inv ∈ R.
We prove the intermediate
claim HinvPosR:
Rlt 0 inv.
We prove the intermediate
claim Hr0R:
r0 ∈ R.
An
exact proof term for the current goal is
(real_mul_SNo r3 Hr3R inv HinvR).
We prove the intermediate
claim Hr0pos:
Rlt 0 r0.
We prove the intermediate
claim Hr3S:
SNo r3.
An
exact proof term for the current goal is
(real_SNo r3 Hr3R).
We prove the intermediate
claim HinvS:
SNo inv.
An
exact proof term for the current goal is
(real_SNo inv HinvR).
We prove the intermediate
claim Hr3posS:
0 < r3.
An
exact proof term for the current goal is
(RltE_lt 0 r3 Hr3pos).
We prove the intermediate
claim HinvPosS:
0 < inv.
An
exact proof term for the current goal is
(RltE_lt 0 inv HinvPosR).
We prove the intermediate
claim Hr0posS:
0 < r0.
An
exact proof term for the current goal is
(mul_SNo_pos_pos r3 inv Hr3S HinvS Hr3posS HinvPosS).
An
exact proof term for the current goal is
(RltI 0 r0 real_0 Hr0R Hr0posS).
We use r0 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 Hr0R.
An exact proof term for the current goal is Hr0pos.
Let g be given.
We prove the intermediate
claim HgX:
g ∈ X.
An
exact proof term for the current goal is
(open_ballE1 X d f r0 g Hgball).
rewrite the current goal using HXeq (from right to left).
An exact proof term for the current goal is HgX.
rewrite the current goal using HCdef (from left to right).
Apply SepI to the current goal.
An exact proof term for the current goal is Hgprod.
Apply andI to the current goal.
An exact proof term for the current goal is Hi.
rewrite the current goal using Hdef (from left to right).
rewrite the current goal using HTi (from left to right).
An exact proof term for the current goal is HU.
An exact proof term for the current goal is Hleft.
We prove the intermediate
claim HgiR:
apply_fun g i ∈ R.
We prove the intermediate
claim Hfgprod:
(f,g) ∈ setprod X X.
rewrite the current goal using
(tuple_2_0_eq f g) (from left to right).
rewrite the current goal using
(tuple_2_1_eq f g) (from left to right).
Use reflexivity.
We prove the intermediate
claim Hltball:
Rlt (apply_fun d (f,g)) r0.
An
exact proof term for the current goal is
(open_ballE2 X d f r0 g Hgball).
rewrite the current goal using Hdapp (from right to left).
An exact proof term for the current goal is Hltball.
rewrite the current goal using Hr0eq (from right to left).
An exact proof term for the current goal is Hltval.
We prove the intermediate
claim Hr3S:
SNo r3.
An
exact proof term for the current goal is
(real_SNo r3 Hr3R).
We prove the intermediate
claim Hr3posS:
0 < r3.
An
exact proof term for the current goal is
(RltE_lt 0 r3 Hr3pos).
We prove the intermediate
claim Hm1S:
SNo m1.
An
exact proof term for the current goal is
(real_SNo m1 Hm1R).
We prove the intermediate
claim Hm2S:
SNo m2.
An
exact proof term for the current goal is
(real_SNo m2 Hm2R).
We prove the intermediate
claim Hr3m1ltS:
r3 < m1.
An
exact proof term for the current goal is
(RltE_lt r3 m1 Hr3m1lt).
We prove the intermediate
claim Hr3m2ltS:
r3 < m2.
An
exact proof term for the current goal is
(RltE_lt r3 m2 Hr3m2lt).
We prove the intermediate
claim HtS:
SNo t.
We prove the intermediate
claim Htlt:
t < r3.
An
exact proof term for the current goal is
(abs_SNo_lt_imp_lt t r3 HtS Hr3S Hr3posS Habfg).
We prove the intermediate
claim Hmtlt:
minus_SNo t < r3.
rewrite the current goal using HinterDef (from left to right).
Apply SepI to the current goal.
An exact proof term for the current goal is HgiR.
Apply andI to the current goal.
We prove the intermediate
claim Htltm1:
t < m1.
An
exact proof term for the current goal is
(SNoLt_tra t r3 m1 HtS Hr3S Hm1S Htlt Hr3m1ltS).
An
exact proof term for the current goal is
(SNo_minus_SNo a HaS).
rewrite the current goal using Htdef (from right to left).
rewrite the current goal using Hm1def (from right to left).
An exact proof term for the current goal is Htltm1.
We prove the intermediate
claim HaltS:
a < apply_fun g i.
rewrite the current goal using Hainv (from right to left) at position 1.
rewrite the current goal using Hgiinv (from right to left).
An exact proof term for the current goal is Hnegneg.
An
exact proof term for the current goal is
(RltI a (apply_fun g i) HaR HgiR HaltS).
We prove the intermediate
claim Hmtltm2:
minus_SNo t < m2.
An
exact proof term for the current goal is
(SNo_minus_SNo xi HxiS).
rewrite the current goal using Hgiinv2 (from right to left) at position 2.
An exact proof term for the current goal is Hnegtdistr.
rewrite the current goal using Hcom (from right to left).
rewrite the current goal using Hnegteq (from right to left).
Use reflexivity.
rewrite the current goal using Hnegteq2 (from left to right).
rewrite the current goal using Hm2def (from right to left).
An exact proof term for the current goal is Hmtltm2.
We prove the intermediate
claim HltS:
apply_fun g i < b.
An
exact proof term for the current goal is
(RltI (apply_fun g i) b HgiR HbR HltS).
We prove the intermediate
claim HgiB0:
apply_fun g i ∈ b0.
rewrite the current goal using Hb0eq (from left to right).
An exact proof term for the current goal is Hgib.
An
exact proof term for the current goal is
(Hb0subU (apply_fun g i) HgiB0).