Let r be given.
We prove the intermediate
claim HrS:
SNo r.
An
exact proof term for the current goal is
(real_SNo r HrR).
We prove the intermediate
claim Hrpos:
0 < r.
An
exact proof term for the current goal is
(RltE_lt 0 r HrposR).
We prove the intermediate
claim HrinvR:
rinv ∈ R.
We prove the intermediate
claim HrinvS:
SNo rinv.
An
exact proof term for the current goal is
(real_SNo rinv HrinvR).
We prove the intermediate
claim HrinvPos:
0 < rinv.
We prove the intermediate
claim HrinvNN:
0 ≤ rinv.
An
exact proof term for the current goal is
(SNoLtLe 0 rinv HrinvPos).
We prove the intermediate
claim Hexn:
∃n ∈ ω, n ≤ rinv ∧ rinv < ordsucc n.
Apply Hexn to the current goal.
Let n be given.
Assume Hnconj.
We prove the intermediate
claim HnO:
n ∈ ω.
An
exact proof term for the current goal is
(andEL (n ∈ ω) (n ≤ rinv ∧ rinv < ordsucc n) Hnconj).
We prove the intermediate
claim Hnrest:
n ≤ rinv ∧ rinv < ordsucc n.
An
exact proof term for the current goal is
(andER (n ∈ ω) (n ≤ rinv ∧ rinv < ordsucc n) Hnconj).
We prove the intermediate
claim HrinvLt:
rinv < ordsucc n.
An
exact proof term for the current goal is
(andER (n ≤ rinv) (rinv < ordsucc n) Hnrest).
We prove the intermediate
claim HnOrd:
ordinal n.
We prove the intermediate
claim HNpos:
0 < ordsucc n.
We prove the intermediate
claim HNinO:
ordsucc n ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc n HnO).
We prove the intermediate
claim HNS:
SNo (ordsucc n).
An
exact proof term for the current goal is
(pos_mul_SNo_Lt r rinv (ordsucc n) HrS Hrpos HrinvS HNS HrinvLt).
We prove the intermediate
claim Hrne0:
r ≠ 0.
We prove the intermediate
claim H00:
0 < 0.
rewrite the current goal using Hr0 (from right to left) at position 2.
An exact proof term for the current goal is Hrpos.
An
exact proof term for the current goal is
((SNoLt_irref 0) H00).
We prove the intermediate
claim HmulEq:
mul_SNo r rinv = 1.
We prove the intermediate
claim Hrinvdef:
rinv = recip_SNo r.
rewrite the current goal using Hrinvdef (from left to right).
An
exact proof term for the current goal is
(recip_SNo_invR r HrS Hrne0).
rewrite the current goal using HmulEq (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
rewrite the current goal using HdivEq (from right to left).
An exact proof term for the current goal is HdivLt.
We use n to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HnO.
An
exact proof term for the current goal is
(RltI (inv_nat (ordsucc n)) r HinvR HrR HinvLtS).
∎