Let m be given.
Assume Hm.
We prove the intermediate
claim LmN:
nat_p m.
An exact proof term for the current goal is Hm1.
We prove the intermediate
claim Lmo:
ordinal m.
An exact proof term for the current goal is LmN.
We prove the intermediate
claim LmZ:
m ∈ int.
An exact proof term for the current goal is Hm1.
We prove the intermediate
claim LmS:
SNo m.
An
exact proof term for the current goal is
int_SNo m LmZ.
We prove the intermediate
claim Lmpos:
0 < m.
An exact proof term for the current goal is H1.
Apply Hm2 to the current goal.
rewrite the current goal using H1 (from right to left).
Apply SingI to the current goal.
Apply and3I to the current goal.
An exact proof term for the current goal is LmZ.
An exact proof term for the current goal is LmZ.
Let d' be given.
Assume _.
Apply H1 to the current goal.
Assume H.
Apply H to the current goal.
Assume H.
Apply H to the current goal.
Let k be given.
Assume H.
Apply H to the current goal.
We prove the intermediate
claim Ld'S:
SNo d'.
An exact proof term for the current goal is Hd'.
We prove the intermediate
claim LkS:
SNo k.
An exact proof term for the current goal is Hk.
rewrite the current goal using Hd'km (from right to left).
An
exact proof term for the current goal is
mul_SNo_pos_neg d' k Ld'S LkS H1 H2.
An exact proof term for the current goal is Lmpos.
We prove the intermediate
claim LkN:
nat_p k.
We prove the intermediate
claim Ld'N:
nat_p d'.
An exact proof term for the current goal is H1.
rewrite the current goal using Hd'km (from right to left) at position 1.
rewrite the current goal using H3 (from left to right).
We will
prove d' * 0 < m.
rewrite the current goal using
mul_SNo_zeroR d' Ld'S (from left to right).
An exact proof term for the current goal is Lmpos.
rewrite the current goal using Hd'km (from right to left).
An exact proof term for the current goal is Ld'N.
An exact proof term for the current goal is Ld'N.
An exact proof term for the current goal is LkN.
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Lmpos.
∎