Let n be given.
We prove the intermediate
claim HnO:
n ∈ ω.
An
exact proof term for the current goal is
(setminusE1 ω {0} n HnIn).
We prove the intermediate
claim Hnnot0:
n ∉ {0}.
An
exact proof term for the current goal is
(setminusE2 ω {0} n HnIn).
We prove the intermediate
claim Hnneq0:
n ≠ 0.
We prove the intermediate
claim Hnin0:
n ∈ {0}.
rewrite the current goal using Hn0 (from left to right).
An
exact proof term for the current goal is
(SingI 0).
An exact proof term for the current goal is (Hnnot0 Hnin0).
We prove the intermediate
claim HinvR:
inv_nat n ∈ R.
An
exact proof term for the current goal is
(inv_nat_real n HnO).
We prove the intermediate
claim HltS:
1 < inv_nat n.
We prove the intermediate
claim HnS:
SNo n.
An
exact proof term for the current goal is
(omega_SNo n HnO).
We prove the intermediate
claim HinvS:
SNo (inv_nat n).
An
exact proof term for the current goal is
(SNo_recip_SNo n HnS).
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 HnOrd:
ordinal n.
An
exact proof term for the current goal is
(nat_p_ordinal n HnNat).
We prove the intermediate
claim H1Ord:
ordinal 1.
An
exact proof term for the current goal is
(nat_inv n HnNat).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnneq0 Hn0).
Assume H.
An exact proof term for the current goal is H.
Apply Hexk to the current goal.
Let k be given.
Assume Hkconj.
We prove the intermediate
claim HkNat:
nat_p k.
We prove the intermediate
claim Hneq:
n = ordsucc k.
We prove the intermediate
claim HkOrd:
ordinal k.
An
exact proof term for the current goal is
(nat_p_ordinal k HkNat).
We prove the intermediate
claim H0ltn:
0 < n.
rewrite the current goal using Hneq (from left to right).
We prove the intermediate
claim Hmul1:
mul_SNo n 1 = n.
An
exact proof term for the current goal is
(mul_SNo_oneR n HnS).
An
exact proof term for the current goal is
(recip_SNo_invR n HnS Hnneq0).
We prove the intermediate
claim Hnlt1:
n < 1.
rewrite the current goal using Hmul1 (from right to left).
rewrite the current goal using HmulInv (from right to left) at position 2.
An exact proof term for the current goal is HmulLt.
We prove the intermediate
claim HnIn1:
n ∈ 1.
An
exact proof term for the current goal is
(ordinal_SNoLt_In n 1 HnOrd H1Ord Hnlt1).
We prove the intermediate
claim Hcase1:
n ∈ 0 ∨ n = 0.
An
exact proof term for the current goal is
(ordsuccE 0 n HnIn1).
We prove the intermediate
claim Hn0:
n = 0.
Apply (Hcase1 (n = 0)) to the current goal.
An
exact proof term for the current goal is
(EmptyE n HnIn0 (n = 0)).
Assume H.
An exact proof term for the current goal is H.
An exact proof term for the current goal is (Hnneq0 Hn0).
∎