Set u to be the term
apply_fun (term_of t) x.
We prove the intermediate
claim HutR:
u ∈ R.
An exact proof term for the current goal is (Hterm_cont t HtO).
We prove the intermediate
claim HtFun:
function_on (term_of t) X R.
An exact proof term for the current goal is (HtFun x HxX).
We prove the intermediate
claim HutS:
SNo u.
An
exact proof term for the current goal is
(real_SNo u HutR).
An exact proof term for the current goal is (HvI_cont t HtO).
An exact proof term for the current goal is (HvOn x HxX).
We prove the intermediate
claim HvR:
apply_fun (vI_of t) x ∈ R.
We prove the intermediate
claim H0le_vR:
Rle 0 (apply_fun (vI_of t) x).
We prove the intermediate
claim HvLe1R:
Rle (apply_fun (vI_of t) x) 1.
We prove the intermediate
claim H0le_v:
0 ≤ apply_fun (vI_of t) x.
We prove the intermediate
claim HvLe1:
apply_fun (vI_of t) x ≤ 1.
We prove the intermediate
claim HtSuccO:
ordsucc t ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc t HtO).
We prove the intermediate
claim HuDef:
u = apply_fun (term_of t) x.
rewrite the current goal using Htdef (from left to right).
rewrite the current goal using HuDef (from left to right).
rewrite the current goal using Hcomp (from left to right).
rewrite the current goal using HmulApp (from left to right).
Use reflexivity.
We prove the intermediate
claim H0le_u:
0 ≤ u.
rewrite the current goal using HmulEq (from left to right).
We prove the intermediate
claim HmulLe:
u ≤ eps_ (ordsucc t).
rewrite the current goal using HmulEq (from left to right).
We prove the intermediate
claim HaEq:
a = partial_sum x t.
We prove the intermediate
claim Hfnt:
apply_fun fn t = s_fun t.
An
exact proof term for the current goal is
(apply_fun_graph ω (λn0 : set ⇒ s_fun n0) t HtO).
rewrite the current goal using Hfnt (from left to right).
We prove the intermediate
claim Hsdef:
s_fun t = graph X (λx0 : set ⇒ partial_sum x0 t).
rewrite the current goal using Hsdef (from left to right).
An
exact proof term for the current goal is
(apply_fun_graph X (λx0 : set ⇒ partial_sum x0 t) x HxX).
We prove the intermediate
claim HbEq:
b = add_SNo a u.
rewrite the current goal using HfntS (from left to right).
We prove the intermediate
claim HsSdef:
s_fun (ordsucc t) = graph X (λx0 : set ⇒ partial_sum x0 (ordsucc t)).
rewrite the current goal using HsSdef (from left to right).
An
exact proof term for the current goal is
(apply_fun_graph X (λx0 : set ⇒ partial_sum x0 (ordsucc t)) x HxX).
rewrite the current goal using HbApp (from left to right).
rewrite the current goal using HdefS (from left to right).
An
exact proof term for the current goal is
(nat_primrec_S 0 (sum_step x) t HtNat).
rewrite the current goal using HprimS (from left to right).
We prove the intermediate
claim HaccEq:
nat_primrec 0 (sum_step x) t = partial_sum x t.
rewrite the current goal using HaccEq (from left to right).
We prove the intermediate
claim Hstepdef:
sum_step x t (partial_sum x t) = add_SNo (partial_sum x t) (apply_fun (term_of t) x).
rewrite the current goal using Hstepdef (from left to right).
rewrite the current goal using HaEq (from right to left).
Use reflexivity.
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).
An
exact proof term for the current goal is
(SNo_minus_SNo a HaS).
An
exact proof term for the current goal is
(SNo_minus_SNo u HutS).
rewrite the current goal using HbEq (from left to right).
rewrite the current goal using HmEq (from left to right).
rewrite the current goal using HdiffEq (from left to right).
An
exact proof term for the current goal is
(abs_SNo_minus u HutS).
rewrite the current goal using Habsm (from left to right).
An
exact proof term for the current goal is
(nonneg_abs_SNo u H0le_u).
An exact proof term for the current goal is HmulLe.
We prove the intermediate
claim H0in:
0 ∈ ordsucc t.
rewrite the current goal using
(eps_0_1) (from right to left).
An exact proof term for the current goal is HepsLtE0.
We prove the intermediate
claim HuLt1S:
u < 1.
We prove the intermediate
claim HuLt1R:
Rlt u 1.
An
exact proof term for the current goal is
(RltI u 1 HutR real_1 HuLt1S).
rewrite the current goal using HabsEq (from left to right).
An exact proof term for the current goal is HuLt1R.
rewrite the current goal using Hmab (from left to right).
rewrite the current goal using Hbddef (from left to right).
rewrite the current goal using HifEq (from left to right).
rewrite the current goal using HabsEq (from left to right).
Use reflexivity.
rewrite the current goal using HmetricEq (from left to right).
An exact proof term for the current goal is HuLeR.