Documentation

LeanPool.HSDInteriorPointLP.PrimalDualData

Primal-dual LP data and HSDE notation #

This file is intended to be a stable foundation. It contains the LP data, homogeneous self-dual variables, complementarity/gap notation, and the neighborhood definitions used later in the proof.

Lean-reading hints for beginners:

HSDE-LP proof skeleton with separated (x, τ) and (s, κ) variables #

This version keeps the homogenizing variables explicit:

This is closer to the Ye--Todd--Mizuno HLP notation and is easier to compare with Clarabel-style homogeneous embedding variables. It is mathematically equivalent to bundling (x,τ) and (s,κ) into vectors of dimension n+1, but the separated form makes the special scalar complementarity term τκ visible.

The remaining YTM predictor/corrector neighborhood estimates are kept only in the fixed-parameter YTM form: tight neighborhood 1/4, wide neighborhood 1/2, and predictor step constant 8^{-2.5}.

Short Lean proof-command guide #

The file is written for readers who know the interior-point algebra but may be new to Lean.

@[reducible, inline]

Real coordinate vectors indexed by Fin n.

Equations
Instances For

    Standard-form LP data for the Ye--Todd--Mizuno HLP construction: min cᵀx subject to Ax = b, x ≥ 0.

    • A : Matrix (Fin m) (Fin n)

      Constraint matrix.

    • b : Vec m

      Right-hand side vector.

    • c : Vec n

      Objective vector.

    Instances For

      Full row rank of A, written without importing a separate linear-independence API. This says that the only linear combination of the rows of A equal to zero is the trivial one. This is the standard full-row-rank assumption used in primal-dual IPM analyses.

      Equations
      Instances For

        Standard assumptions for the LP-level HLP skeleton. For the current LP proof skeleton we only record full row rank explicitly. Interior/nonemptiness assumptions belong to the neighborhood and local-theory statements below.

        Instances For

          Homogeneous complementarity dimension n + 1.

          Equations
          Instances For
            def HSDInteriorPointLP.dot {n : } (u v : Vec n) :

            Euclidean dot product on finite real vectors.

            Equations
            Instances For
              def HSDInteriorPointLP.hdot {n : } (x : Vec n) (tau : ) (s : Vec n) (kappa : ) :

              Pairing of (x,τ) and (s,κ): xᵀs + τκ.

              Equations
              Instances For
                def HSDInteriorPointLP.centerSq {n : } (x : Vec n) (tau : ) (s : Vec n) (kappa μ : ) :

                Squared centrality deviation for (xᵢsᵢ, τκ) from μe.

                Equations
                Instances For

                  Homogeneous self-dual state with primal and dual/complementarity variables.

                  • x : Vec n

                    Primal vector.

                  • tau :

                    Primal homogenizing scalar.

                  • s : Vec n

                    Dual slack vector.

                  • kappa :

                    Dual homogenizing scalar.

                  Instances For

                    Homogeneous self-dual search direction.

                    • dx : Vec n

                      Primal-vector direction.

                    • dtau :

                      Primal homogenizing scalar direction.

                    • ds : Vec n

                      Dual-slack direction.

                    • dkappa :

                      Dual homogenizing scalar direction.

                    Instances For

                      Strict positivity of every HSD state component.

                      Equations
                      Instances For

                        Complementarity gap of an HSD state.

                        Equations
                        Instances For
                          noncomputable def HSDInteriorPointLP.mu {n : } (w : HSState n) :

                          Average complementarity measure.

                          Equations
                          Instances For

                            HSDE central neighborhood corresponding to the YTM neighborhood ‖(Xs, τκ) - μe‖ ≤ β μ, written with squared Euclidean norm.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def HSDInteriorPointLP.addStep {n : } (w : HSState n) (d : HSDirection n) (α : ) :

                              Apply a scalar step along an HSD search direction.

                              Equations
                              Instances For

                                Direction lies in the HLP nullspace, recorded through the skew-symmetry consequence used in the complementarity-gap calculation.

                                In the full HLP formulation this identity is obtained by multiplying the four linearized HLP equality equations by the corresponding direction components and adding them. See HLPNullDirection_from_full_nullspace below for the concrete calculation from the separated full equations.

                                Instances For

                                  Skew-symmetry of the HLP constraint matrix gives this orthogonality.

                                  Instances For

                                    Complementarity equation used in the predictor/corrector system. For γ = 0 this is the predictor equation. For γ = 1 this is the corrector equation.

                                    Instances For
                                      structure HSDInteriorPointLP.HSDStepDirection {n : } (w : HSState n) (d : HSDirection n) (γ : ) :

                                      A single YTM-type linearized step direction for the HLP.

                                      Instances For
                                        structure HSDInteriorPointLP.HSDDirectionEquation {n : } (w : HSState n) (d : HSDirection n) (γ : ) :

                                        The linear system that defines a YTM-type search direction.

                                        The first field represents membership in the HLP nullspace, i.e., the linearized HLP equalities. The last two fields are the linearized complementarity equations for (x,s) and (τ,κ). The parameter γ distinguishes the predictor (γ = 0) from the corrector (γ = 1).

                                        Instances For

                                          Concrete YTM/HLP full-direction layer #

                                          The earlier HSDirectionEquation works only with the reduced variables (dx,dτ,ds,dκ). The actual Ye--Todd--Mizuno HLP Newton system also contains dy and . The following definitions expose that full search-direction layer.

                                          def HSDInteriorPointLP.matVec {m n : } (A : Matrix (Fin m) (Fin n) ) (x : Vec n) :
                                          Vec m

                                          Matrix-vector multiplication for the row-indexed constraint matrix.

                                          Equations
                                          Instances For
                                            def HSDInteriorPointLP.tMatVec {m n : } (A : Matrix (Fin m) (Fin n) ) (y : Vec m) :
                                            Vec n

                                            Transposed matrix-vector multiplication.

                                            Equations
                                            Instances For
                                              theorem HSDInteriorPointLP.dot_tMatVec_eq_dot_matVec {m n : } (A : Matrix (Fin m) (Fin n) ) (y : Vec m) (x : Vec n) :
                                              dot x (tMatVec A y) = dot y (matVec A x)

                                              Finite-dimensional adjointness of matVec and tMatVec.

                                              All-ones vector.

                                              Equations
                                              Instances For
                                                def HSDInteriorPointLP.bbar {m n : } (P : LPData m n) :
                                                Vec m

                                                The YTM simplified HLP uses bbar = b - A e.

                                                Equations
                                                Instances For
                                                  def HSDInteriorPointLP.cbar {m n : } (P : LPData m n) :
                                                  Vec n

                                                  The YTM simplified HLP uses cbar = c - e.

                                                  Equations
                                                  Instances For
                                                    def HSDInteriorPointLP.zbar {m n : } (P : LPData m n) :

                                                    The YTM simplified HLP uses zbar = cᵀe + 1.

                                                    Equations
                                                    Instances For

                                                      Full HLP direction, including the equality-multiplier direction dy and the free homogenizing direction .

                                                      • dy : Vec m

                                                        Equality-multiplier direction.

                                                      • dx : Vec n

                                                        Primal-vector direction.

                                                      • dtau :

                                                        Primal homogenizing scalar direction.

                                                      • dtheta :

                                                        Free homogenizing direction.

                                                      • ds : Vec n

                                                        Dual-slack direction.

                                                      • dkappa :

                                                        Dual homogenizing scalar direction.

                                                      Instances For

                                                        Forget the free/equality components and retain the reduced complementarity variables.

                                                        Equations
                                                        Instances For

                                                          Linearized HLP equalities in the simplified YTM HLP form.

                                                          These equations are the full analogue of membership in the HLP nullspace. They correspond to the four displayed equations in Theorem 5(ii) of Ye--Todd--Mizuno, after adding the slack directions ds and and keeping the free direction .

                                                          Instances For
                                                            structure HSDInteriorPointLP.HLPFullDirectionEquation {m n : } (P : LPData m n) (w : HSState n) (D : HLPFullDirection m n) (γ : ) :

                                                            Full YTM search-direction equations: HLP nullspace plus the linearized complementarity equations.

                                                            Instances For
                                                              noncomputable def HSDInteriorPointLP.complRhs {n : } (w : HSState n) (γ : ) :
                                                              Vec n

                                                              Right-hand side of the complementarity part of the YTM Newton system.

                                                              Equations
                                                              Instances For
                                                                noncomputable def HSDInteriorPointLP.scalarComplRhs {n : } (w : HSState n) (γ : ) :

                                                                Right-hand side of the scalar complementarity equation.

                                                                Equations
                                                                Instances For
                                                                  structure HSDInteriorPointLP.HLPNewtonBlockSystem {m n : } (P : LPData m n) (w : HSState n) (D : HLPFullDirection m n) (γ : ) :

                                                                  The full HLP Newton block operator, written as equations rather than as a single matrix. The output consists of the four HLP nullspace residuals and the n+1 complementarity residuals. Thus solving the Newton system means finding D such that this operator equals the right-hand side encoded below.

                                                                  For the homogeneous self-dual LP of Ye--Todd--Mizuno, the first four blocks are the linearized HLP equalities, while the last two blocks are the linearized complementarity equations.

                                                                  Instances For

                                                                    The block-system formulation is equivalent to the previous bundled full direction equation. This direction is useful because the block system exposes the Newton matrix whose nonsingularity must be proved from full row rank and interiority.

                                                                    Homogeneous version of the full Newton block system.

                                                                    This is the kernel system obtained by replacing the complementarity right-hand side by zero. Proving that its only solution is zero is the standard injectivity step in the finite-dimensional solvability proof of the HLP Newton equations.

                                                                    Instances For

                                                                      Finite-dimensional solvability of the full Newton block #

                                                                      The solvability step is a purely finite-dimensional linear-algebra argument. We encode the unknowns (dy,dx,dτ,dθ,ds,dκ) and the six residual blocks in the same product vector space. The concrete Newton block is then a linear self-map on this space. Since the homogeneous block has only the zero solution, the self-map is injective; in finite dimension, injectivity of a self-map implies surjectivity.

                                                                      @[reducible, inline]

                                                                      Product vector space used for the full HLP Newton unknowns and residuals.

                                                                      Equations
                                                                      Instances For

                                                                        Encode a full HLP direction as a vector in the product block space.

                                                                        Equations
                                                                        Instances For

                                                                          Decode a product block vector as a full HLP direction.

                                                                          Equations
                                                                          Instances For
                                                                            noncomputable def HSDInteriorPointLP.HLPNewtonBlockRhs {n : } (w : HSState n) (γ : ) (m : ) :

                                                                            Right-hand side of the full Newton block system in the same block space.

                                                                            Equations
                                                                            Instances For

                                                                              This file contains the stable foundation: data structures, elementary HSDE/HLP definitions, and basic algebraic identities used by the work file. It intentionally stops before HLPNewtonBlockOperator, where the current active proof engineering is happening.