Let q be given.
An exact proof term for the current goal is HqRect.
We prove the intermediate
claim HsubU:
open_ball Y d (p 0) r ⊆ Y.
We prove the intermediate
claim HsubV:
open_ball Y d (p 1) r ⊆ Y.
We prove the intermediate
claim HqDom:
q ∈ setprod Y Y.
rewrite the current goal using HpreDef (from left to right).
We prove the intermediate
claim Hm:
metric_on Y d.
We prove the intermediate
claim HdqR:
dq ∈ R.
An exact proof term for the current goal is (Hfun q HqDom).
We prove the intermediate
claim HdpDef:
dp = apply_fun d p.
We prove the intermediate
claim HdpEta:
dp = apply_fun d (p 0,p 1).
rewrite the current goal using HdpDef (from left to right).
rewrite the current goal using
(setprod_eta Y Y p HpDom) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate
claim HetaQ:
q = (q 0,q 1).
We prove the intermediate
claim HdqEta:
dq = apply_fun d (q 0,q 1).
We prove the intermediate
claim HdqDef:
dq = apply_fun d q.
rewrite the current goal using HdqDef (from left to right).
rewrite the current goal using HetaQ (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using HrayDef (from left to right).
Apply (dneg (Rlt a dq)) to the current goal.
We prove the intermediate
claim HdqLeA:
Rle dq a.
An
exact proof term for the current goal is
(RleI dq a HdqR HaR Hn).
We prove the intermediate
claim Hq0Ball:
q 0 ∈ open_ball Y d (p 0) r.
We prove the intermediate
claim Hq1Ball:
q 1 ∈ open_ball Y d (p 1) r.
We prove the intermediate
claim Hq0Y:
q 0 ∈ Y.
An
exact proof term for the current goal is
(open_ballE1 Y d (p 0) r (q 0) Hq0Ball).
We prove the intermediate
claim Hq1Y:
q 1 ∈ Y.
An
exact proof term for the current goal is
(open_ballE1 Y d (p 1) r (q 1) Hq1Ball).
An
exact proof term for the current goal is
(open_ballE2 Y d (p 0) r (q 0) Hq0Ball).
rewrite the current goal using HdqEta (from right to left).
An exact proof term for the current goal is HdqLeA.
We prove the intermediate
claim HzRlt0:
Rlt (apply_fun d (p 1,q 1)) r.
An
exact proof term for the current goal is
(open_ballE2 Y d (p 1) r (q 1) Hq1Ball).
rewrite the current goal using HsymZ (from right to left).
An exact proof term for the current goal is HzRlt0.
We prove the intermediate
claim HxrR:
r ∈ R.
An exact proof term for the current goal is HrR.
rewrite the current goal using HdpEta (from left to right).
An exact proof term for the current goal is Htri1.
rewrite the current goal using Hcom1 (from left to right).
rewrite the current goal using Hcom2 (from left to right).
rewrite the current goal using HcomX (from left to right).
rewrite the current goal using
(add_SNo_assoc a r r HaS HrS HrS) (from right to left).
Use reflexivity.
rewrite the current goal using Hassoc (from right to left).
An exact proof term for the current goal is HdpLeSum3.
An
exact proof term for the current goal is
(RltI (add_SNo a (add_SNo r r)) dp HarR HdpR HarLt).
∎