Let q be given.
Assume Hq1 Hq2.
Assume Hq1a Hq1b Hq1c Hq1d.
We prove the intermediate
claim Lmq:
SNo (- q).
An
exact proof term for the current goal is
SNo_minus_SNo q Hq1c.
We prove the intermediate
claim Lxmq:
SNo (x + - q).
An
exact proof term for the current goal is
SNo_add_SNo x (- q) Hx Lmq.
We prove the intermediate
claim Lqmx:
SNo (q + - x).
An
exact proof term for the current goal is
SNo_add_SNo q (- x) Hq1c Lmx.
We prove the intermediate
claim L5:
∀w ∈ L, w < q.
Let w be given.
Assume Hw.
Let n be given.
Assume Hn.
rewrite the current goal using Hwn (from left to right).
Apply SNoLtLe_or (f n) q (Lf n Hn) Hq1c to the current goal.
An exact proof term for the current goal is H9.
Assume _ _ _ _ _.
Assume _.
We prove the intermediate
claim L5a:
SNo (f (ordsucc n)).
We prove the intermediate
claim L5b:
q < f (ordsucc n).
We prove the intermediate
claim L5c:
0 < f (ordsucc n) + - q.
We prove the intermediate
claim L5d:
SNo (f (ordsucc n) + - q).
We prove the intermediate
claim L5e:
f (ordsucc n) < x.
We prove the intermediate
claim L5f:
q < x.
An
exact proof term for the current goal is
SNoLt_tra q (f (ordsucc n)) x Hq1c L5a Hx L5b L5e.
We prove the intermediate
claim L5g:
0 < x + - q.
An
exact proof term for the current goal is
SNoLt_minus_pos q x Hq1c Hx L5f.
We prove the intermediate
claim L5h:
abs_SNo (q + - x) = x + - q.
An
exact proof term for the current goal is
pos_abs_SNo (x + - q) L5g.
We prove the intermediate
claim L5i:
q = f (ordsucc n).
Apply Hfn2 q Hq1 to the current goal.
Let k be given.
An exact proof term for the current goal is L5e.
rewrite the current goal using L5h (from right to left).
An exact proof term for the current goal is Hq2 k Hk.
rewrite the current goal using L5i (from left to right) at position 2.
An exact proof term for the current goal is L5b.
We prove the intermediate
claim L6:
∀z ∈ R, q < z.
Let z be given.
Let m be given.
Assume Hm.
rewrite the current goal using Hzm (from left to right).
Apply SNoLtLe_or q (g m) Hq1c (Lg m Hm) to the current goal.
An exact proof term for the current goal is H9.
Assume _ _ _ _ _.
Assume _.
We prove the intermediate
claim L6a:
SNo (g (ordsucc m)).
We prove the intermediate
claim L6b:
g (ordsucc m) < q.
An exact proof term for the current goal is H9.
We prove the intermediate
claim L6c:
0 < q + - g (ordsucc m).
We prove the intermediate
claim L6d:
SNo (q + - g (ordsucc m)).
We prove the intermediate
claim L6e:
x < g (ordsucc m).
We prove the intermediate
claim L6f:
x < q.
An
exact proof term for the current goal is
SNoLt_tra x (g (ordsucc m)) q Hx L6a Hq1c L6e L6b.
We prove the intermediate
claim L6g:
0 < q + - x.
An
exact proof term for the current goal is
SNoLt_minus_pos x q Hx Hq1c L6f.
We prove the intermediate
claim L6h:
abs_SNo (q + - x) = q + - x.
An
exact proof term for the current goal is
pos_abs_SNo (q + - x) L6g.
We prove the intermediate
claim L6i:
q = g (ordsucc m).
Apply Hgm2 q Hq1 to the current goal.
Let k be given.
An exact proof term for the current goal is L6e.
rewrite the current goal using L6h (from right to left).
An exact proof term for the current goal is Hq2 k Hk.
rewrite the current goal using L6i (from left to right) at position 1.
An exact proof term for the current goal is L6b.
Apply H7 q Hq1c L5 L6 to the current goal.
rewrite the current goal using Hxfg (from right to left).
rewrite the current goal using H8 (from left to right).
Apply H9 to the current goal.
An exact proof term for the current goal is Hq1a.