Documentation

LeanPool.MovingSofa.GerverSofa.KernelOnly.Core.Bundle006

Gerver sofa: related certificate and semantic modules #

Gerver sofa dependency batch #

Part C concrete objects #

This file fixes the exact objects used throughout Part C. The numerical root, regularity and global two-variable support margins are inherited from the closed Parts A and B. No alternative parameter vector or geometric set is introduced here.

@[reducible, inline]

The certified twenty-two dimensional Gerver parameter vector.

Equations
Instances For
    noncomputable def GerverSofa.PartC.T :

    Physical terminal angle.

    Equations
    Instances For
      noncomputable def GerverSofa.PartC.eta :

      Reflected switching angles.

      Equations
      Instances For
        noncomputable def GerverSofa.PartC.tau :

        The reflected switching angle π/2 - φ for the certified parameters.

        Equations
        Instances For
          @[reducible, inline]

          The concrete cap, fixed sofa, reconstructed Romik set and frame.

          Equations
          Instances For
            @[reducible, inline]

            The fixed Gerver sofa at the certified Romik parameters.

            Equations
            Instances For
              @[reducible, inline]

              The reconstructed contact-curve set at the certified parameters.

              Equations
              Instances For
                @[reducible, inline]
                noncomputable abbrev GerverSofa.PartC.frame :
                ℝ → SE2

                The rigid frame path determined by the certified Romik parameters.

                Equations
                Instances For

                  Endpoint support point used for the direct nonemptiness proof.

                  Equations
                  Instances For
                    noncomputable def GerverSofa.PartC.alphaBetaAt (t : ℝ) :

                    Piecewise body-frame derivative coefficients. This definition is local to Part C so that the geometric layer does not import the later Part D article claims.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      noncomputable def GerverSofa.PartC.alpha (t : ℝ) :

                      The horizontal body-frame velocity coefficient.

                      Equations
                      Instances For
                        noncomputable def GerverSofa.PartC.beta (t : ℝ) :

                        The vertical body-frame velocity coefficient.

                        Equations
                        Instances For
                          noncomputable def GerverSofa.PartC.A (t : ℝ) :

                          The four standard contact curves.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            noncomputable def GerverSofa.PartC.B (t : ℝ) :

                            The inner contact curve x + α v.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              noncomputable def GerverSofa.PartC.C (t : ℝ) :

                              The outer contact curve x - β u + v.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                noncomputable def GerverSofa.PartC.D (t : ℝ) :

                                The inner contact curve x - β u.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Image of a parametrized curve over a time set.

                                  Equations
                                  Instances For

                                    A closed line segment, written without depending on a specialized convex geometry API.

                                    Equations
                                    Instances For

                                      Set-valued form of the niche boundary described in the manuscript.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For

                                        Frozen parameter and endpoint consequences for Part C #

                                        theorem GerverSofa.PartC.phi_bounds :
                                        1958868239504182093160893749 / 50000000000000000000000000000 ≤ params.phi ∧ params.phi ≤ 78354729580167283726435751 / 2000000000000000000000000000
                                        theorem GerverSofa.PartC.theta_bounds :
                                        34065075469136244723692787727 / 50000000000000000000000000000 ≤ params.theta ∧ params.theta ≤ 34065075469136244723692787983 / 50000000000000000000000000000

                                        Exact contact-curve algebra #

                                        These identities are independent of every interval estimate. They record that A and C lie on the two outer supporting lines, while B and D lie on the corresponding inner-wall lines. Later geometric work only has to prove that the relevant contact points belong to the cap and that no hidden crossing changes the boundary envelope.

                                        A(t) lies on the first outer support line.

                                        C(t) lies on the second outer support line.

                                        B(t) lies on the first inner wall through the corner path.

                                        D(t) lies on the second inner wall through the corner path.

                                        Consequences of the certified Part B continuum margins #

                                        The two strict inequalities already certified on the complete square imply that every point of the Gerver rotation path satisfies every outer supporting half-plane inequality. This is one of the main bridges from Part B into the global geometry of Part C.

                                        theorem GerverSofa.PartC.Gu_positive {s t : ℝ} (hs : s ∈ Set.Icc 0 T) (ht : t ∈ Set.Icc 0 T) :
                                        0 < PartB.Gu s t
                                        theorem GerverSofa.PartC.Gv_positive {s t : ℝ} (hs : s ∈ Set.Icc 0 T) (ht : t ∈ Set.Icc 0 T) :
                                        0 < PartB.Gv s t

                                        Every path point lies in every first outer supporting half-plane.

                                        Every path point lies in every second outer supporting half-plane.

                                        Part C geometric consequences already closed by the existing source #

                                        Closedness, supporting-hallway containment, endpoint arms, motion continuity and the set-theoretic identification with Romik's reconstruction require no new numerical replay. They are collected here for the concrete certified parameter vector.

                                        Exact topology target for the concrete Gerver set #

                                        This file states, but does not postulate, the two genuinely remaining set-theoretic obligations. A later concrete proof must construct a value of TopologyCertificate; until then Part C cannot close.

                                        Direct topology certificate with the manuscript's explicit endpoint support witness, rather than an anonymous existential.

                                        Instances For

                                          Global support and niche-topology certificate interfaces #

                                          The statements here encode the exact Part C geometry that is not allowed to be hidden inside an arbitrary connected field: contact support, the two no-hidden-crossing inequalities, and the claimed boundary of the niche.

                                          First no-hidden-crossing inequality from the manuscript.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For

                                            Reflected no-hidden-crossing inequality.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For

                                              Proof-carrying niche topology. The boundary equality is set-valued; the orientation and eighteen-piece count belong to the later Part D boundary certificate.

                                              Instances For

                                                Complete genuinely new geometry required in Part C.

                                                Instances For

                                                  Part C Stage 2 public mesh and branch facts #

                                                  This module exposes the switch-cell classification already used internally in Part B. It is deliberately proved again from the frozen angle boxes so that Part C contact and no-hidden-crossing certificates can reuse the exact 64-cell mesh without depending on private declarations.

                                                  theorem GerverSofa.PartC.Stage2.phase1_cell {i : PartB.Cell} {t : ℝ} (ht : t ∈ PartB.cellSet i) (hphase : t ≤ params.phi) :
                                                  ↑i ≤ 1
                                                  theorem GerverSofa.PartC.Stage2.phase2_cell {i : PartB.Cell} {t : ℝ} (ht : t ∈ PartB.cellSet i) (hlo : params.phi < t) (hhi : t ≤ params.theta) :
                                                  1 ≤ ↑i ∧ ↑i ≤ 27
                                                  theorem GerverSofa.PartC.Stage2.phase3_cell {i : PartB.Cell} {t : ℝ} (ht : t ∈ PartB.cellSet i) (hlo : params.theta < t) (hhi : t ≤ eta) :
                                                  27 ≤ ↑i ∧ ↑i ≤ 36
                                                  theorem GerverSofa.PartC.Stage2.phase4_cell {i : PartB.Cell} {t : ℝ} (ht : t ∈ PartB.cellSet i) (hlo : eta < t) (hhi : t ≤ tau) :
                                                  36 ≤ ↑i ∧ ↑i ≤ 62
                                                  theorem GerverSofa.PartC.Stage2.phase5_cell {i : PartB.Cell} {t : ℝ} (ht : t ∈ PartB.cellSet i) (hlo : tau < t) :
                                                  62 ≤ ↑i

                                                  Part C Stage 2 redesign: exact envelope algebra #

                                                  The first 64x64 contact-box attempt was intentionally fail-closed but too coarse at contact/equality cells: interval dependency destroys exact cancellation. This module switches to the analytic envelope coefficients.

                                                  For the outer u-contact curve A, the phasewise velocity is a nonnegative scalar multiple of v; for the outer v-contact curve C, the velocity is a nonpositive scalar multiple of u. The scalar coefficients below are the five exact algebraic pieces. No numerical root is recomputed here.

                                                  noncomputable def GerverSofa.PartC.Stage2.rhoA (t : ℝ) :

                                                  Phasewise scalar multiplying v(t) in the derivative of A.

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    noncomputable def GerverSofa.PartC.Stage2.rhoC (t : ℝ) :

                                                    Phasewise nonnegative scalar for C'(t) = -rhoC(t) * u(t).

                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For

                                                      The A envelope coefficient is nonnegative on the full physical range.

                                                      The reflected C envelope coefficient is nonnegative on the full physical range.

                                                      The first outer contact starts at the exact fan endpoint (1,0).

                                                      The second outer contact ends exactly on the fan boundary.

                                                      Exact cell reduction of the two no-hidden-crossing inequalities #

                                                      Off-diagonal mesh cells are reduced to executable upper bounds for the already sound Part B intervals Gu and Gv. The only analytic remainder after all 128 row certificates pass is the ordered triangle inside each single mesh cell, named SameCellU and SameCellV below.

                                                      C10: source-clean phase derivative identities — residual batch fix #

                                                      This revision keeps the C09 no-convert architecture and fixes the complete residual class from the C09 clean build. It uses eta-expanded derivative combinators (fun_add, fun_sub, fun_mul, fun_neg, fun_smul) so the function carried by HasDerivAt is in the desired shape from the start. The proof remains organized in body coordinates and the accompanying runner forces a fresh build of this module.

                                                      noncomputable def GerverSofa.PartC.Stage2.vecA (r t : ℝ) :

                                                      The vertical frame vector scaled by the contact coefficient r.

                                                      Equations
                                                      Instances For
                                                        noncomputable def GerverSofa.PartC.Stage2.vecC (r t : ℝ) :

                                                        The negative horizontal frame vector scaled by the contact coefficient r.

                                                        Equations
                                                        Instances For
                                                          theorem GerverSofa.PartC.Stage2.square_hasDerivAt (t : ℝ) :
                                                          HasDerivAt (fun (s : ℝ) => s * s) (t + t) t

                                                          Derivative of the scalar square in the additive form used by the phase formulas.

                                                          The horizontal frame vector has derivative equal to the vertical frame vector.

                                                          The vertical frame vector has derivative equal to the negative horizontal vector.

                                                          theorem GerverSofa.PartC.Stage2.rotAddK_hasDerivAt {z1 z2 : ℝ → ℝ} {z1' z2' k1 k2 : ℝ} (t : ℝ) (hz1 : HasDerivAt z1 z1' t) (hz2 : HasDerivAt z2 z2' t) :
                                                          HasDerivAt (fun (s : ℝ) => Romik.addK (Romik.rot s (z1 s, z2 s)) k1 k2) (Romik.rot t (z1' - z2 t, z2' + z1 t)) t

                                                          Derivative of addK (rot t (z1 t,z2 t)) in body coordinates.

                                                          The phase 1 path has the specified velocity in the rotating frame.

                                                          The phase 2 path has the specified velocity in the rotating frame.

                                                          The phase 3 path has the specified velocity in the rotating frame.

                                                          The phase 4 path has the specified velocity in the rotating frame.

                                                          The phase 5 path has the specified velocity in the rotating frame.

                                                          Phase 1: A' = 0 * v.

                                                          theorem GerverSofa.PartC.Stage2.A2_hasDerivAt (t : ℝ) :
                                                          HasDerivAt phaseA2 (vecA (-(1 / 4) * t * t + params.b1 * t + params.b2 + 1 / 2) t) t

                                                          Phase 2: A' = beta_2 * v.

                                                          Phase 3: A' = beta_3 * v.

                                                          Phase 4: A' = (d1-t/2) * v.

                                                          Phase 5: A' = (1/2) * v.

                                                          Phase 1: C' = -(1/2) * u.

                                                          Phase 2: C' = -(t/2-b1) * u.

                                                          Phase 3: C' = -(1+c2+t) * u.

                                                          theorem GerverSofa.PartC.Stage2.C4_hasDerivAt (t : ℝ) :
                                                          HasDerivAt phaseC4 (vecC (-(1 / 4) * t * t + params.d1 * t + params.d2 + 1 / 2) t) t

                                                          Phase 4: C' = -rhoC_4 * u.

                                                          Phase 5: C' = 0 * u.

                                                          Public derivative shapes for downstream Part C closure #

                                                          The source-clean phase proofs above use private vecA/vecC helpers. These public lemmas expose exactly the stable geometric derivative shapes used by the direct support proof. The transport is derivative-only: the function itself is unchanged, and the remaining pair equality is elementary algebra.

                                                          Direct outer-support closure for Part C #

                                                          This proof uses the five source-clean phase derivative identities and glues monotonicity across the four certified switching times. It does not require a globally differentiable contact parametrisation at the speed-change junctions.

                                                          theorem GerverSofa.PartC.Stage3.rot_dot_u (t : ℝ) (z : Point) :
                                                          dot (Romik.rot t z) (u t) = z.1

                                                          The horizontal rotating-frame projection recovers the first body coordinate.

                                                          theorem GerverSofa.PartC.Stage3.rot_dot_v (t : ℝ) (z : Point) :
                                                          dot (Romik.rot t z) (v t) = z.2

                                                          The vertical rotating-frame projection recovers the second body coordinate.

                                                          Rotation in body coordinates is injective.

                                                          theorem GerverSofa.PartC.Stage3.A_own_max (s : ℝ) (hs : s ∈ Set.Icc 0 T) (t : ℝ) :
                                                          t ∈ Set.Icc 0 T → dot (A t) (u s) ≤ dot (A s) (u s)
                                                          theorem GerverSofa.PartC.Stage3.C_own_max (s : ℝ) (hs : s ∈ Set.Icc 0 T) (t : ℝ) :
                                                          t ∈ Set.Icc 0 T → dot (C t) (v s) ≤ dot (C s) (v s)

                                                          Part C direct final assembly #

                                                          This module bypasses the earlier conditional calculus/branch certificate layers. The two outer-support fields are now concrete theorems. What remains here is exactly the six substantive topology/no-hidden facts; no additional certificate wrapper is introduced.

                                                          Direct global geometry from the concrete support proof and the six exact remaining topology/no-hidden statements.

                                                          Part C Stage 4: public path differential layer #

                                                          Source-clean phase derivatives of the five Gerver path pieces. These are provided here as compatibility wrappers around the shared Stage 2 proofs.

                                                          The five public phase derivative theorems above are the complete differential interface used by Stage 4. We intentionally do not assert a global HasDerivAt for the nested-if path at switching times: such a theorem requires a separate matching-of-derivatives argument and is neither needed nor used by the Part C closure.

                                                          Part C Stage 4: concrete geometry facts #

                                                          C21: source-clean root closure. In particular, branch decisions for the literal nested-if path are made before endpoint abbreviations are unfolded. The core-path nonnegativity statement is transported from the already sound Part B cell enclosure instead of being reproved by a large transcendental nlinarith call.

                                                          C23: minimal exact reflection bridge #

                                                          C22 tried to replace the whole scalar layer at once and regressed badly. C23 rolls back to the stable C21 file and cherry-picks only the reflection bridge needed for D_theta_eq_path_tau.

                                                          Equation pair 20--21 is exactly the first niche contact.

                                                          Reflected contact at the other end of the core.

                                                          The two base endpoints of the claimed niche boundary lie on y=0.

                                                          Exact mesh transport for the literal core path. Cells 1--62 are uniformly above the base. Cells 0 and 63 are intentionally excluded: their interval hulls contain the terminal base contacts and have a tiny negative lower hull.

                                                          C30 strengthens the already kernel-checked cell statement from nonnegativity to strict positivity on every core cell. The computation is the same finite exact-rational decision problem; only the target relation is stronger.

                                                          The first core contact is strictly above the base.

                                                          The reflected core contact has the same strictly positive height.

                                                          Nonnegativity of the literal Gerver path on the core interval, transported from the already proved Part B interval semantics.

                                                          Strict positivity of the literal Gerver path height on the complete core interval [phi,tau]. C30 transports the exact strict lower hull proved above through the existing Part B interval-containment theorem.

                                                          A compact phase-2 lower bound for the reflected contact D. It is also used, by the exact phase-2/phase-4 reflection, to control the late B arc.

                                                          Nonnegative height of the reflected early contact arc.

                                                          theorem GerverSofa.PartC.Stage4.B_y_nonneg {t : ℝ} (ht : t ∈ Set.Icc eta T) :
                                                          0 ≤ (B t).2

                                                          Nonnegative height of the reflected late contact arc.

                                                          C31: strict positivity on the two open contact tails. The base endpoints D 0 and B T have height exactly zero, so the natural domains are Ioc and Ico. These statements are used only for topology of the strict vertical fills; the existing closed-interval nonnegativity theorems remain unchanged.

                                                          theorem GerverSofa.PartC.Stage4.D_y_pos {t : ℝ} (ht : t ∈ Set.Ioc 0 params.theta) :
                                                          0 < (D t).2

                                                          Strict height of the early reflected contact arc away from its base endpoint.

                                                          theorem GerverSofa.PartC.Stage4.B_y_pos {t : ℝ} (ht : t ∈ Set.Ico eta T) :
                                                          0 < (B t).2

                                                          Strict height of the late contact arc away from its base endpoint.

                                                          C24: fixed-endpoint separation by a phase-2 Taylor bound and contact monotonicity #

                                                          C23 reduced the root gate to four scalar U(phi,t) residuals. This replacement removes the large raw nlinarith calls. Phase 2 is reduced to one variable d=t-phi and certified by low-order alternating Taylor bounds. Phases 3--5 use the exact contact identity B(eta)=path(phi) and the sign of the derivative of the phase-local B contact projected on the fixed normal u(t).

                                                          Fixed-endpoint separation required by the direct no-hidden-crossing proof.

                                                          Gerver Sofa / Kernel Only / Part C / Stage4 / No Hidden Match Facts #

                                                          Reflection on the (alpha,beta) coefficient plane induced by t ↦ T-t.

                                                          Equations
                                                          Instances For

                                                            Phase four is the reflected phase two coefficient pair.

                                                            Phase three has the same coefficient reflection symmetry.

                                                            Phase five is the reflected phase one coefficient pair.

                                                            Exact matching of the coefficient pair at the third switch.

                                                            Exact matching of the coefficient pair at the fourth switch.

                                                            Part C Stage 4: continuity of the matched velocity coefficients #

                                                            This file turns the five exact coefficient matching statements into a public continuity interface for alphaBetaAt, alpha, beta, B, and D.

                                                            The literal nested-if velocity coefficient is continuous across all four switches.

                                                            Public continuity of the early reflected contact curve.

                                                            Public continuity of the late reflected contact curve.

                                                            Gerver Sofa / Kernel Only / Part C / Stage4 / No Hidden Sign Facts #

                                                            The u_t coefficient of the Gerver velocity is nonpositive on the entire no-hidden U domain.

                                                            The v_t coefficient of the Gerver velocity is nonnegative on the entire no-hidden U domain.

                                                            Part C Stage 4: positive turning determinant on phases 2--5 #

                                                            The determinant is the signed turning numerator of the nonzero path velocity. These phasewise facts are the analytic input for the remaining one-turn chord argument; they do not assert the no-hidden conclusion by themselves.

                                                            The next six statements expose the coefficient-derivative signs used in the manuscript's tangent-angle argument. They are deliberately stated for the explicit smooth-phase formulae; no derivative is assigned at a switch.

                                                            Phase-five coefficient derivatives are nonpositive. This is the exact formula-level input used below; strict turning follows from the strict nonvanishing of the first coefficient.

                                                            Part C Stage 4: global path derivative and one-turn velocity monotonicity #

                                                            The path derivative is glued across the four switches using equality of both the path values and the body-frame velocity coefficients. The coefficient derivatives themselves need not match at a switch. Consequently the fixed projection is proved antitone phase by phase and then glued order-theoretically.

                                                            The literal five-piece Gerver path is differentiable at the switches as well as in the phase interiors.

                                                            noncomputable def GerverSofa.PartC.Stage4.uVelocity (t r : ℝ) :

                                                            Scalar projection of the corner velocity on the fixed vector u(t).

                                                            Equations
                                                            Instances For

                                                              For fixed terminal time, the projected path velocity is antitone on the complete ordered no-hidden interval.

                                                              Derivative of U(r,t) in its first variable.

                                                              Concavity form of the manuscript's one-turn tangent argument.

                                                              Part C Stage 4: exact reflection bridge for the second no-hidden inequality #

                                                              The affine reflection is derived phase by phase from the certified matching equations. No global symmetry hypothesis is introduced.

                                                              Reflect a point horizontally about the axis x = k31.

                                                              Equations
                                                              Instances For

                                                                Exact global horizontal reflection of the literal five-piece path.

                                                                Reflection transports the second no-hidden scalar to the first one.

                                                                Part C Stage 4: direct no-hidden-crossing closure #

                                                                The first inequality follows from concavity and the two endpoint values. The second is its exact phase-derived horizontal reflection.

                                                                Concrete first no-hidden-crossing theorem.

                                                                Concrete reflected no-hidden-crossing theorem.

                                                                Gerver Sofa / Kernel Only / Part C / Stage4 / Niche Envelope Support #

                                                                Exact reflected forms #

                                                                Only the early half of the coefficient reflection is needed here. Its image under r ↦ T-r is exactly the late B interval. Keeping the endpoint cases explicit avoids relying on definitional reduction across the four switching equalities of alphaBetaAt.

                                                                The late B contact arc is the exact horizontal reflection of the early D contact arc.

                                                                Every point of the early D contact arc lies outside at least one of the two moving inner walls.

                                                                Reflected endpoint separator used for the strict lower horizontal range of the niche.

                                                                Part C Stage 4: independent cap convexity and anchor foundation #

                                                                This module separates the already direct cap geometry from the later theorem that removing the downward niche preserves connectedness.

                                                                The concrete endpoint anchor belongs to the reconstructed cap.

                                                                Convexity of the literal cap follows directly from its half-plane definition.

                                                                The nonempty convex cap is connected.

                                                                Part C Stage 4: independent vertical-fill topology #

                                                                This module isolates the connectedness half of the niche argument from the upper-envelope/frontier equality. It can therefore be kernel-built even while the boundary module is still under repair.

                                                                Vertical fill below a parametrized graph.

                                                                Equations
                                                                Instances For

                                                                  The three certified upper-envelope pieces as strict vertical fills.

                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For

                                                                    Consecutive endpoint incidences of the three graph pieces.

                                                                    theorem GerverSofa.PartC.Stage4.verticalFill_strict_isConnected {f : ℝ → Point} {I : Set ℝ} (hI : IsConnected I) (hf : ContinuousOn f I) (hy : ∀ t ∈ I, 0 < (f t).2) :

                                                                    A strict positive vertical fill is a continuous image of a connected product.

                                                                    Connectedness of the certified three-piece vertical-fill region.

                                                                    Part C Stage 4: inner-wall graph identities #

                                                                    noncomputable def GerverSofa.PartC.Stage4.bRoof (t X : ℝ) :

                                                                    First inner wall as a graph over horizontal coordinate.

                                                                    Equations
                                                                    Instances For
                                                                      noncomputable def GerverSofa.PartC.Stage4.dRoof (t X : ℝ) :

                                                                      Second inner wall as a graph over horizontal coordinate.

                                                                      Equations
                                                                      Instances For
                                                                        noncomputable def GerverSofa.PartC.Stage4.instantRoof (t X : ℝ) :

                                                                        Vertical roof of one instantaneous open inner quadrant.

                                                                        Equations
                                                                        Instances For

                                                                          A point of nonnegative height is in the instantaneous inner quadrant iff it lies strictly below both graph roofs.

                                                                          The two walls agree at their apex.

                                                                          Part C Stage 4: direct membership of the certified vertical fills #

                                                                          These are the three concrete reverse-inclusion facts needed to identify the literal niche with its certified vertical-fill region. They are proved from the literal open-quadrant definition, not assumed through a Stage 2 API.

                                                                          Every strict vertical point below a core-path point belongs to the literal niche.

                                                                          theorem GerverSofa.PartC.Stage4.vertical_below_B_mem_niche {r Y : ℝ} (hr : r ∈ Set.Icc eta T) (hY0 : 0 ≤ Y) (hY : Y < (B r).2) :

                                                                          Every strict vertical point below the late B contact belongs to the literal niche.

                                                                          theorem GerverSofa.PartC.Stage4.vertical_below_D_mem_niche {r Y : ℝ} (hr : r ∈ Set.Icc 0 params.theta) (hY0 : 0 ≤ Y) (hY : Y < (D r).2) :

                                                                          Every strict vertical point below the early D contact belongs to the literal niche.

                                                                          Part C Stage 4: frontier of a strict vertical subgraph #

                                                                          This file contains the topological calculation used by the concrete Gerver niche. The generic lemma is intentionally independent of the old Stage 2 topology sketches: it computes the closure and the interior of a strict vertical subgraph directly.

                                                                          The three Gerver roof arcs are graphs over horizontal position #

                                                                          The early contact arc has strictly increasing horizontal projection.

                                                                          The late contact arc has strictly increasing horizontal projection.

                                                                          The core path runs strictly from right to left in horizontal projection.

                                                                          A single left-to-right parametrization of the three roof arcs #

                                                                          The affine reversal which runs through the core path from tau to phi while the auxiliary parameter runs from theta to eta.

                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          Instances For

                                                                            A single continuous parametrization of the complete upper niche arc.

                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For

                                                                              Horizontal projection of the complete upper arc is strictly increasing.

                                                                              The glued arc has exactly the three curve images, with no additional points introduced by the reparametrization.

                                                                              A vertically filled strict subgraph over a compact interval.

                                                                              Equations
                                                                              Instances For

                                                                                The closed vertical fill associated with strictSubgraphRegion.

                                                                                Equations
                                                                                Instances For

                                                                                  The base together with the graph of the roof.

                                                                                  Equations
                                                                                  Instances For
                                                                                    theorem GerverSofa.PartC.Stage4.closure_strictSubgraphRegion {a b : ℝ} {H : ℝ → ℝ} (hab : a < b) (hH : Continuous H) (hHnonneg : ∀ x ∈ Set.Icc a b, 0 ≤ H x) (hHpos : ∀ x ∈ Set.Ioo a b, 0 < H x) (ha : H a = 0) (hb : H b = 0) :
                                                                                    theorem GerverSofa.PartC.Stage4.frontier_strictSubgraphRegion {a b : ℝ} {H : ℝ → ℝ} (hab : a < b) (hH : Continuous H) (hHnonneg : ∀ x ∈ Set.Icc a b, 0 ≤ H x) (hHpos : ∀ x ∈ Set.Ioo a b, 0 < H x) (ha : H a = 0) (hb : H b = 0) :

                                                                                    The frontier of a positive strict vertical subgraph consists exactly of its roof and its base.

                                                                                    Turning a monotone roof arc into a global continuous graph #

                                                                                    noncomputable def GerverSofa.PartC.Stage4.horizontalOrderIso (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                    ↑(Set.Icc a b) ≃o ↑(Set.Icc (γ a).1 (γ b).1)

                                                                                    Identify a strictly horizontally increasing arc with its horizontal coordinate interval.

                                                                                    Equations
                                                                                    • One or more equations did not get rendered due to their size.
                                                                                    Instances For
                                                                                      @[simp]
                                                                                      theorem GerverSofa.PartC.Stage4.horizontalOrderIso_apply_val (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) (t : ↑(Set.Icc a b)) :
                                                                                      ↑((horizontalOrderIso γ hab hγ hx) t) = (γ ↑t).1
                                                                                      noncomputable def GerverSofa.PartC.Stage4.roofOnHorizontalRange (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                      ↑(Set.Icc (γ a).1 (γ b).1) → ℝ

                                                                                      Express the arc’s vertical coordinate as a function of its horizontal coordinate.

                                                                                      Equations
                                                                                      Instances For
                                                                                        theorem GerverSofa.PartC.Stage4.continuous_roofOnHorizontalRange (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                        theorem GerverSofa.PartC.Stage4.horizontal_endpoints_le (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                        (γ a).1 ≤ (γ b).1
                                                                                        noncomputable def GerverSofa.PartC.Stage4.monotoneCurveRoof (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                        ℝ → ℝ

                                                                                        Extend the roof graph to the real line by clamping to its endpoint interval.

                                                                                        Equations
                                                                                        Instances For
                                                                                          theorem GerverSofa.PartC.Stage4.continuous_monotoneCurveRoof (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                          theorem GerverSofa.PartC.Stage4.monotoneCurveRoof_at (γ : ℝ → Point) {a b t : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) (ht : t ∈ Set.Icc a b) :
                                                                                          monotoneCurveRoof γ hab hγ hx (γ t).1 = (γ t).2
                                                                                          theorem GerverSofa.PartC.Stage4.verticalFill_eq_strictSubgraphRegion (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                          verticalFill γ (Set.Icc a b) = strictSubgraphRegion (γ a).1 (γ b).1 (monotoneCurveRoof γ hab hγ hx)
                                                                                          theorem GerverSofa.PartC.Stage4.curveImage_eq_roofGraph (γ : ℝ → Point) {a b : ℝ} (hab : a < b) (hγ : ContinuousOn γ (Set.Icc a b)) (hx : StrictMonoOn (fun (t : ℝ) => (γ t).1) (Set.Icc a b)) :
                                                                                          curveImage γ (Set.Icc a b) = {p : Point | p.1 ∈ Set.Icc (γ a).1 (γ b).1 ∧ p.2 = monotoneCurveRoof γ hab hγ hx p.1}

                                                                                          The continuous roof function determined by the complete niche top arc.

                                                                                          Equations
                                                                                          • One or more equations did not get rendered due to their size.
                                                                                          Instances For
                                                                                            theorem GerverSofa.PartC.Stage4.nicheRoof_pos {X : ℝ} (hX : X ∈ Set.Ioo (D 0).1 (B T).1) :

                                                                                            Direct frontier calculation for the certified three-fill region.

                                                                                            Literal instantaneous wedges lie below the certified graph #

                                                                                            A core path point dominates every instantaneous roof at its horizontal coordinate. This is the exact geometric content of the two no-hidden inequalities.

                                                                                            Every point of the glued certified roof dominates every instantaneous wall roof at its horizontal coordinate.

                                                                                            Literal niche equals the three concrete strict vertical fills.

                                                                                            Final exact set-valued boundary equality required by Part C.

                                                                                            Part C Stage 4: connectedness of the literal niche #

                                                                                            The independent vertical-fill module proves connectedness of the certified three-piece region. Once the boundary layer identifies that region with the literal niche, connectedness is immediate.

                                                                                            Concrete connectedness of the literal niche.

                                                                                            Part C Stage 4: vertical-fibre topology of the fixed sofa #

                                                                                            The argument in this file is independent of any Jordan-curve theorem. The cap is compact and convex. Its removed niche is a strict vertical subgraph. Consequently every nonempty vertical section of the complement is an interval. Moreover, a highest point of each cap section survives: if it belonged to the strict subgraph, one of the certified graph points would be a still higher cap point. Thus the horizontal projections of the cap and sofa agree. A compact map with connected fibres over that connected projection closes connectedness.

                                                                                            The early inner-contact coefficient is nonnegative on the whole D parameter interval.

                                                                                            Core path points are cap points.

                                                                                            Every certified early D roof point lies in the cap.

                                                                                            Every certified late B roof point lies in the cap.

                                                                                            Every graph which forms the certified strict niche roof consists of cap points.

                                                                                            theorem GerverSofa.PartC.Stage4.verticalFill_downward {f : ℝ → Point} {I : Set ℝ} {p q : Point} (hx : p.1 = q.1) (hp0 : 0 ≤ p.2) (hy : p.2 ≤ q.2) (hq : q ∈ verticalFill f I) :

                                                                                            Strict vertical fills are downward closed along every nonnegative fibre.

                                                                                            theorem GerverSofa.PartC.Stage4.certifiedNicheRegion_downward {p q : Point} (hx : p.1 = q.1) (hp0 : 0 ≤ p.2) (hy : p.2 ≤ q.2) (hq : q ∈ certifiedNicheRegion) :

                                                                                            The union of the three strict graph fills is downward closed in each nonnegative vertical fibre.

                                                                                            The fixed sofa is compact, as the difference of the compact cap and the open union of forbidden quadrants.

                                                                                            theorem GerverSofa.PartC.Stage4.exists_G_point_over_K {q : Point} (hq : q ∈ K) :
                                                                                            ∃ p ∈ G, p.1 = q.1

                                                                                            Every cap fibre has a highest point, and that point survives removal of the strict niche.

                                                                                            Removing the strict niche does not change the horizontal projection.

                                                                                            Every vertical section of G is convex.

                                                                                            Each nonempty vertical section is connected.

                                                                                            Connectedness of the fixed Gerver sofa by compact connected fibres.

                                                                                            Part C Stage 4: topology of the concrete fixed set #

                                                                                            No new certificate structure is introduced here. This file is intended to close the two literal topology fields left by RemainingTopologyTarget.

                                                                                            The left endpoint of the zero-angle support face is the concrete anchor and it is not removed by the niche.

                                                                                            Direct connectedness of the cap-minus-niche set, obtained from the compact connected horizontal projection and the connected vertical fibres.

                                                                                            Part C final unconditional closure #

                                                                                            This is the only terminal assembly for Part C. It contains no payload and no new certificate interface.