Skip to content

About

Lean 4 formalization of a counterexample to global convergence of classical DFP under the standard strong Wolfe conditions (arXiv:2608.21708).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

DFP Wolfe Counterexample

This repository is the Lean 4 and mathlib formalization accompanying the paper A counterexample to global convergence of classical DFP under the standard strong Wolfe conditions.

The paper authors are Benqi Liu, Zichen Wang, Zaiwen Wen, Liwei Zhang, and Yaxiang Yuan. The formalization author is Zichen Wang.

The formalization develops a uniformly convex, globally Hessian-bounded counterexample for the classical inverse-form Davidon-Fletcher-Powell (DFP) method. It formalizes the weak-Wolfe global-convergence question, a stronger strong-Wolfe counterexample in the paper's coefficient range, all-dimensional transport, level-set semantics, and the identity-initialized matrix liminf corollary.

The repository contains the reusable ReasLib infrastructure, the paper-facing DFPWolfe declarations, and the matrix/operator coordinate-change bridges.

Proof versions

Route Public entry Status
Original center-manifold construction Original paper · Correspondence Complete; preserved alongside v21.
October 9, 2026 v21 polar construction v21 paper · Correspondence Complete numbered results 1–8, with the source refinements and conditional Section 6 interpolation.

The ReasBook mirror keeps the two routes under one versioned project. Separate dependency maps are available for the original proof and v21. Website publication follows the ReasBook source release; a source push alone does not update the live Docs, Verso pages or maps.

Associated paper

Title: A counterexample to global convergence of classical DFP under the standard strong Wolfe conditions

arXiv: 2608.21708v1 (math.OC, 22 August 2026)

Requirements

  • Lean 4 v4.32.0
  • mathlib v4.32.0

Checks

lake lean DFPWolfe.lean
lake lean DFPWolfe/Paper.lean
lake lean DFPWolfe/V21/Paper.lean
lake lean DFPWolfe/Main.lean

The original proof index maps that revision's eleven numbered statements to individual files directly in DFPWolfe/ and to their Lean proof declarations. The main exports include:

  • DFP.main_not_globalWeakWolfeConvergence_of_parameterRange
  • DFP.not_PaperRangeGlobalWeakWolfeConvergence
  • DFP.not_PaperRangeLevelSetGlobalWeakWolfeConvergence
  • DFP.existsMatrixIdentityLiminfStrongWolfe_of_parameterRange
  • DFP.existsStrongWolfeCounterexampleHolderSharp_of_dimension_ge_two
  • DFP.existsMatrixIdentityLiminfStrongWolfeHolder
  • DFP.main_planarWeakWolfeConvergence
  • DFP.main_planarStrongWolfeConvergence
  • DFP.SecantIteration.planarDegeneration

DFPWolfe/Main.lean provides the convergence and nonconvergence interfaces; DFPWolfe/Paper.lean also exports the independent results used in the paper, including the local invariant graph and the complete limiting-circle statement. Each paper statement has a numbered navigation file with its LaTeX label, mathematical summary, and #check commands for the existing declarations, including all components of multi-part results. Proofs are organized by mathematical topic in ReasLib. Obsolete numbered wrappers, generic infrastructure checks, and unused implementation branches remain removed; the eleven original-version paper navigation files are intentionally retained.

The September 23, 2026 reorganization passed the then-current original-route checks. An ephemeral #print axioms audit of 27 principal declarations, covering all eleven numbered paper results and the convergence-negation interfaces, found only propext, Classical.choice, and Quot.sound. Source scans found no proof placeholders or custom axioms. Navigation #check commands are confined to paper correspondence files in DFPWolfe; no #check or #print commands are retained in ReasLib. Existing style warnings remain; these checks do not claim a warning-free tree.

A subsequent source-polishing pass preserved all declaration signatures while simplifying the matrix identity-initialization bridges and the minimizer-uniqueness proof. Three inactive proof blocks (692 lines) were removed. Targeted lake lean checks and the root check passed; an expanded audit of 36 declarations, including the modified interfaces, again found only the three standard axioms above.

A second polishing pass reused the radius limit in the limiting-circle proof and the existing quadratic coefficients in the truncated Taylor-germ interface. It removed redundant simplification arguments and inactive tactics, eliminating 66 warning diagnostics in the four modified modules. Their declaration signatures were preserved. Targeted checks, the root check, and an expanded 85-declaration axiom audit passed; other modules still have existing style warnings.

The paper navigation pass added eleven correspondence files containing 32 declaration checks. Each file, Paper.lean, and the root entry point passed lake lean. A fresh 36-declaration axiom audit covered every navigation target and the principal convergence-negation interfaces, with only the three standard axioms above. No proof declarations or signatures changed in this pass.

v21 polar proof

The v21 correspondence index follows the revised manuscript's numbering. Its prescribed polar recurrence and explicit cutoff interpolation give a complete proof of the strong Wolfe counterexample, with all-dimensional extension, identity initialization, and the source refinements. The original center-manifold proof is preserved alongside it.

Import DFPWolfe.V21.Paper for the new route. Principal declarations are:

  • DFPWolfe.V21.main
  • DFPWolfe.V21.not_globalWeakWolfeConvergenceAt
  • DFPWolfe.V21.identityInitializationExplicit
  • DFPWolfe.V21.planarConvergenceCases
  • DFPWolfe.V21.polarContinuation
  • DFPWolfe.V21.polarGeometry
  • DFPWolfe.V21.polarInterpolation
  • DFPWolfe.V21.planarDegeneration
  • DFPWolfe.V21.CenterManifold.centerProposition
  • DFPWolfe.V21.CenterManifold.centerManifoldAsymptotics
  • DFPWolfe.V21.CenterInterpolation.centerManifoldConditionalInterpolation
  • DFPWolfe.V21.planarCounterexampleFamilyWithSequenceProperties
  • DFPWolfe.V21.planarCounterexampleFamilyWithFullTurn
  • DFPWolfe.V21.identityInitializationQuantitative

The new entry and the combined repository root passed lake lean. The final 182-declaration kernel axiom audit covered 15 principal results and 167 foundation and navigation declarations, with only propext, Classical.choice, and Quot.sound. An additional traversal of actual opaque proof bodies verified that the new counterexample and identity corollary do not depend on the old center-manifold witness construction. Comparator has not been rerun for this route.

The independent Section 6 Proposition 8 now follows the source's graph-transform iterate bounds and Arzelà–Ascoli regularity argument. Its cancellation, limiting scales and exact circle cluster set are also proved. The unnumbered sequence comparisons hold on the same actual Wolfe witness as the polar counterexample. The complete-turn expansion is attached to that same witness. The quantitative identity entry gives the source's precise eigenvalue Hessian constants and gradient liminf bound for the same positive-root transformation. The final Section 6 interpolation preserves the full original cutoff sum and the source's explicit disjoint-ball condition. The v21 index gives the result-to-source correspondence, including this conditional scope.

Comparator verification

Before the September 2026 source reorganization, two proof interfaces were checked with leanprover/comparator, using its v4.32.0 release to match this project's Lean toolchain. The checks used the real landrun implementation (v0.1.18), so the Challenge build, export, and Solution build/export ran under Linux Landlock restrictions. The comparator/landrun command-line delimiter mismatch was handled by a transparent argument-only adapter; it did not change any source or exported proof content. The temporary Challenge/Solution wrappers were outside the tracked tree and were removed after the checks.

Comparator target Result
DFP.main_not_globalWeakWolfeConvergence_of_parameterRange Your solution is okay!
DFP.existsMatrixIdentityLiminfStrongWolfe_of_parameterRange Your solution is okay!

For both targets, comparator found matching Challenge/Solution declarations, accepted the Solution with the Lean default kernel, and found no axioms beyond propext, Classical.choice, and Quot.sound. The independent lake lean DFPWolfe.lean check also returned successfully.

Comparator certifies declaration identity, kernel acceptance, and the stated axiom budget. It does not by itself establish that every formal definition has the intended correspondence with the paper; that remains the subject of the separate semantic-fidelity review. A one-shot export of the entire root module was intentionally not used because it exceeded the practical memory budget; the two targeted proof-interface checks completed successfully. These are historical results, not a comparator validation of the reorganized tree or the newer regularity and convergence theorems.

Code scale

The figures below are measured from both proof routes in the Lean source tree (2026-10-20). The local DFP_counterexample/ and DFP_wolfe_paperforge/ directories contain publication and presentation material. They are ignored and not included in the published source tree or these Lean-code metrics. Build products, local proof-stage state, generated audits, manuscript working copies, and temporary probes are also excluded by .gitignore.

Metric Value
Lean source files, including the two root modules 501
Physical Lean lines 144,498
Non-blank Lean lines 135,434
Lean source size 6.66 MiB
Declaration heads 5,550
ReasLib/ Lean files 469
DFPWolfe/ Lean files 30

The declaration-head total counts active source declarations introduced by theorem, lemma, def, abbrev, structure, or instance. Nested block comments, line comments, and string literals are excluded; leading attributes and declaration modifiers are recognized. It is not a count of the full imported mathlib environment. The breakdown is 4,394 theorems, 359 lemmas, 714 definitions, 3 abbreviations, 75 structures, and 5 instances, including private declarations. This corrects the earlier line-based count, which included commented-out text and omitted declarations with attributes on the same line.

Before reorganization the tracked Lean tree had 828 files and 159,815 physical lines. The cleanup removes generic diagnostic wrappers, unused proof branches, and the obsolete fixed-parameter compatibility results. Both proof routes are exported through DFPWolfe; ReasLib is the empty library root. The paper's sixth-order amplitude estimate is retained; its polynomial expansion reuses the canonical proof instead of a second copy of that calculation.

License

The formalization code is released under the Apache License, Version 2.0. See LICENSE for the complete terms. Copyright 2026 Zichen Wang.

About

Lean 4 formalization of a counterexample to global convergence of classical DFP under the standard strong Wolfe conditions (arXiv:2608.21708).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages