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).
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).
We prove the intermediate
claim HxRlt0:
Rlt (apply_fun d (p 0,q 0)) r.
An
exact proof term for the current goal is
(open_ballE2 Y d (p 0) r (q 0) Hq0Ball).
An
exact proof term for the current goal is
(open_ballE2 Y d (p 1) r (q 1) Hq1Ball).
rewrite the current goal using HsymX (from right to left).
An exact proof term for the current goal is HxRlt0.
rewrite the current goal using HdpEta (from left to right).
An exact proof term for the current goal is Htri2.
rewrite the current goal using HdqEta (from left to right).
An exact proof term for the current goal is HdqLe0.
rewrite the current goal using HcomX (from left to right).
rewrite the current goal using
(add_SNo_assoc dp r r HdpS 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 HdqLe2.
An
exact proof term for the current goal is
(RltI (add_SNo dp (add_SNo r r)) b HsumR HbR HdrLt).
∎