Let X, Tx, n, F and e be given.
We prove the intermediate
claim Hfun_e:
function_on e n F.
We prove the intermediate
claim HP0:
Psum 0.
An exact proof term for the current goal is Hc0cont.
Let x be given.
An
exact proof term for the current goal is
real_0.
Let x be given.
rewrite the current goal using
(const_fun_apply X 0 x HxX) (from left to right).
rewrite the current goal using Hsum0 (from left to right) at position 1.
Use reflexivity.
We prove the intermediate
claim HPS:
∀m : set, nat_p m → Psum m → Psum (ordsucc m).
Let m be given.
Assume IH: Psum m.
We prove the intermediate
claim Hsub:
ordsucc m ⊆ n.
We prove the intermediate
claim HnNat:
nat_p n.
An
exact proof term for the current goal is
(omega_nat_p n HnO).
We prove the intermediate
claim HmInN:
m ∈ n.
An
exact proof term for the current goal is
(Hsub m (ordsuccI2 m)).
We prove the intermediate
claim HfmF:
fm ∈ F.
An exact proof term for the current goal is (Hfun_e m HmInN).
An exact proof term for the current goal is (HtermCont fm HfmF).
An
exact proof term for the current goal is
(add_two_continuous_R X Tx (sum_at m) fm HTx Hsm HfmCont).
Let x be given.
rewrite the current goal using HdefSm (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hdefm (from left to right) at position 1.
Use reflexivity.
We prove the intermediate
claim HsmR:
apply_fun (sum_at m) x ∈ R.
We prove the intermediate
claim HfmR:
apply_fun fm x ∈ R.
rewrite the current goal using
(add_of_pair_map_apply X (sum_at m) fm x HxX HsmR HfmR) (from left to right).
rewrite the current goal using Hlhs (from left to right).
Use reflexivity.
We prove the intermediate
claim HnNat:
nat_p n.
An
exact proof term for the current goal is
(omega_nat_p n HnO).
We prove the intermediate claim HPn: Psum n.
An
exact proof term for the current goal is
(nat_ind Psum HP0 HPS n HnNat).
We prove the intermediate
claim HnIn:
n ∈ ordsucc n.
An
exact proof term for the current goal is
(ordsuccI2 n).
An exact proof term for the current goal is (HPn HnIn).
∎