Let p be given.
We prove the intermediate
claim HpRR:
p ∈ setprod R R.
We prove the intermediate
claim Hp0R:
(p 0) ∈ R.
An
exact proof term for the current goal is
(ap0_Sigma R (λ_ : set ⇒ R) p HpRR).
We prove the intermediate
claim Hp1R:
(p 1) ∈ R.
An
exact proof term for the current goal is
(ap1_Sigma R (λ_ : set ⇒ R) p HpRR).
We prove the intermediate
claim Hxdef:
R2_xcoord p = p 0.
We prove the intermediate
claim Hydef:
R2_ycoord p = p 1.
We prove the intermediate
claim Hmul:
mul_SNo a (p 0) = c.
rewrite the current goal using Hxdef (from right to left).
rewrite the current goal using Hydef (from right to left).
An exact proof term for the current goal is Heqdef.
We prove the intermediate
claim HdefR:
R = real.
We prove the intermediate
claim Hp1Real:
(p 1) ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is Hp1R.
We prove the intermediate
claim Hp1S:
SNo (p 1).
An
exact proof term for the current goal is
(real_SNo (p 1) Hp1Real).
We prove the intermediate
claim Hbterm:
mul_SNo b (p 1) = 0.
rewrite the current goal using Hb0 (from left to right).
An
exact proof term for the current goal is
(mul_SNo_zeroL (p 1) Hp1S).
rewrite the current goal using Hbterm (from left to right).
Use reflexivity.
rewrite the current goal using HlhsEq (from right to left).
An exact proof term for the current goal is Heq0.
We prove the intermediate
claim Hap0:
SNo (mul_SNo a (p 0)).
We prove the intermediate
claim HaReal:
a ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HaR.
We prove the intermediate
claim Hp0Real:
(p 0) ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is Hp0R.
An exact proof term for the current goal is Heq2.
We prove the intermediate
claim HdefR:
R = real.
We prove the intermediate
claim HaReal:
a ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HaR.
We prove the intermediate
claim HcReal:
c ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HcR.
We prove the intermediate
claim Hp0Real:
(p 0) ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is Hp0R.
We prove the intermediate
claim HaS:
SNo a.
An
exact proof term for the current goal is
(real_SNo a HaReal).
We prove the intermediate
claim HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcReal).
We prove the intermediate
claim Hp0S:
SNo (p 0).
An
exact proof term for the current goal is
(real_SNo (p 0) Hp0Real).
We prove the intermediate
claim Hmul2:
c = mul_SNo a (p 0).
rewrite the current goal using Hmul (from left to right).
Use reflexivity.
We prove the intermediate
claim HdivEq:
div_SNo c a = (p 0).
We prove the intermediate
claim Hx0def:
x0 = div_SNo c a.
We prove the intermediate
claim Hx0eq:
x0 = (p 0).
rewrite the current goal using Hx0def (from left to right).
An exact proof term for the current goal is HdivEq.
We prove the intermediate
claim Hp0Sing:
(p 0) ∈ {x0}.
rewrite the current goal using Hx0eq (from right to left).
An
exact proof term for the current goal is
(SingI x0).
We prove the intermediate
claim Heta:
p = (p 0,p 1).
An
exact proof term for the current goal is
(setprod_eta R R p HpRR).
rewrite the current goal using Heta (from left to right).
Let p be given.
We prove the intermediate
claim Hp0Sing:
(p 0) ∈ {x0}.
An
exact proof term for the current goal is
(ap0_Sigma {x0} (λ_ : set ⇒ R) p Hp).
We prove the intermediate
claim Hp1R:
(p 1) ∈ R.
An
exact proof term for the current goal is
(ap1_Sigma {x0} (λ_ : set ⇒ R) p Hp).
We prove the intermediate
claim Hp0eq:
(p 0) = x0.
An
exact proof term for the current goal is
(singleton_elem (p 0) x0 Hp0Sing).
We prove the intermediate
claim HpRR:
p ∈ setprod R R.
We prove the intermediate
claim HSingSub:
{x0} ⊆ R.
We prove the intermediate
claim Hx0Real:
x0 ∈ real.
We prove the intermediate
claim HdefR:
R = real.
We prove the intermediate
claim HaReal:
a ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HaR.
We prove the intermediate
claim HcReal:
c ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HcR.
An
exact proof term for the current goal is
(real_div_SNo c HcReal a HaReal).
We prove the intermediate
claim Hx0R:
x0 ∈ R.
We prove the intermediate
claim HdefR:
R = real.
rewrite the current goal using HdefR (from left to right).
An exact proof term for the current goal is Hx0Real.
rewrite the current goal using Hdef (from left to right).
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HpRR.
We prove the intermediate
claim Hxdef:
R2_xcoord p = p 0.
We prove the intermediate
claim Hydef:
R2_ycoord p = p 1.
rewrite the current goal using Hxdef (from left to right).
rewrite the current goal using Hydef (from left to right).
rewrite the current goal using Hb0 (from left to right).
We prove the intermediate
claim HdefR:
R = real.
We prove the intermediate
claim HaReal:
a ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HaR.
We prove the intermediate
claim HcReal:
c ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is HcR.
We prove the intermediate
claim Hp1Real:
(p 1) ∈ real.
rewrite the current goal using HdefR (from right to left).
An exact proof term for the current goal is Hp1R.
We prove the intermediate
claim Hp1S:
SNo (p 1).
An
exact proof term for the current goal is
(real_SNo (p 1) Hp1Real).
rewrite the current goal using
(mul_SNo_zeroL (p 1) Hp1S) (from left to right).
rewrite the current goal using Hp0eq (from left to right).
We prove the intermediate
claim HaS:
SNo a.
An
exact proof term for the current goal is
(real_SNo a HaReal).
We prove the intermediate
claim HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcReal).
We prove the intermediate
claim Hx0Real:
x0 ∈ real.
An
exact proof term for the current goal is
(real_div_SNo c HcReal a HaReal).
We prove the intermediate
claim Hx0S:
SNo x0.
An
exact proof term for the current goal is
(real_SNo x0 Hx0Real).
We prove the intermediate
claim Hmul:
mul_SNo a x0 = c.
We prove the intermediate
claim Hx0def:
x0 = div_SNo c a.
rewrite the current goal using Hx0def (from left to right).
rewrite the current goal using
(mul_div_SNo_invR c a HcS HaS Ha0) (from left to right).
Use reflexivity.
An exact proof term for the current goal is Hmul.
∎