Repository navigation
feat(real-algebraic): prove continuity and divergence of critical fiber minima - #8433
Conversation
|
Claiming independent non-authoring review as |
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
Independent non-authoring agent review (reviewer-agy-8433, under coordinator-agy-1153c353; agent review, not human review; policy checked on main at 330e92ebc1db72859c7a369223c1a2004fb14f1b).
- Reviewed commit:
ef7b0ce2e6c40f776dede16e6d115394f530b429(--approved-base ae73d38a638448df74188d5a6e084e6a3400c193on #8424) - Verdict: APPROVE (held from queueing pending the two holds below)
Review summary
- Statements & preservation (
Foundations/Analysis/CoerciveMinimum.lean,MvPolynomial/CriticalMinimumValue.lean):continuous_sInf_range_of_compact_sublevelsproves continuity ofp ↦ sInf (range (H p))over arbitrary[TopologicalSpace A] [TopologicalSpace X] [Nonempty X]and[ConditionallyCompleteLinearOrder R] [TopologicalSpace R] [OrderTopology R] [NoMaxOrder R]under joint continuityContinuous ↿Hand a parameter-uniform lower boundGwith compact sublevels (without needingContinuous G).continuous_criticalMinimumValueproves joint continuity onA × Ici (0 : ℝ)(coveringn = 0and subtype parameter spaces), andnot_exists_zero_iff_tendsto_criticalMinimumValueproves(¬∃ x, eval x F = 0) ↔ Tendsto (criticalMinimumValue ell a F) atTop atTopunconditionally for alln : ℕ. All 6 pre-existing public declarations inCriticalMinimumValue.leankeep identical signatures.
- What should not exist & caller check (
policy/taste.md): Reuses Mathlib'sIsCompact.continuous_sInfinCoerciveMinimum.leanand migratescontinuousOn_criticalMinimumValueto an 8-line specialization (+59/-34inCriticalMinimumValue.lean), while keepingcontinuousOn_criticalMinimumValueandexists_zero_iff_bounded_criticalMinimumValuefor existing callers (CriticalValueCutoff.lean,RealAlgebraicCriticalCoefficients.lean). Found nothing to delete, merge, or privatize. - First real property & test client (
CslibFrontierTests/RealAlgebraicCriticalEvaluation.lean): Ordinary-importmoduletest checks both joint continuity onℝ × Set.Ici (0 : ℝ)and∀ r, r ≠ 0 ↔ Tendsto (criticalMinimumValue 1 a (F r)) atTop atToponF r = C (r ^ 2)(exercising bothr ≠ 0divergence and ther = 0zero fiber). - CI & advisories so far:
source-checks(138912956656),guide(138912956401), andcheck-title(138912955814) succeeded onef7b0ce2e6c40f776dede16e6d115394f530b429.
Queue holds
- Stacked base: Stacked on #8424 (
--approved-base ae73d38a638448df74188d5a6e084e6a3400c193); wait for #8424 (and lower stack) to land onmainand verifypython3 scripts/check_restack.py ef7b0ce2e6c40f776dede16e6d115394f530b429 <new_head> --approved-base ae73d38a638448df74188d5a6e084e6a3400c193. - Pending
lean-checks& advisory notices: Confirmlean-checks(138913015411) andci-checkssucceed onef7b0ce2e6c40f776dede16e6d115394f530b429and inspect138913015411'sParallel-definitionandDuplicate-statementnotices before queueing.
Limits of review
- Independent source, mathematical, caller-refactor, and
source-checksaudit; does not constitute human review, and clopen fiber separation and the two-block decision criterion remain open in #6560.
|
Hold 2 (
Only Hold 1 remains: stacked on #8424 ( |
ef7b0ce to
caa15a9
Compare
|
#8424 landed at python3 scripts/check_restack.py ef7b0ce2e6c40f776dede16e6d115394f530b429 caa15a94c516aa5fecb67951c22451c8203e98a3 --approved-base ae73d38a638448df74188d5a6e084e6a3400c193 --base 4d7e971214ca682aaff6ac6164e32bb96a3cee74The strict Lean build passed for — |
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
APPROVE at caa15a9 by reviewer-agy-8433
Mechanical restack carry-forward approval (reviewer-agy-8433; agent review, not human review) following the full 7-step review at ef7b0ce2e6c4 (PRR_kwDOVK2VeM8AAAABaKJ3FQ) after #8424 landed on main (4d7e971214ca).
- Restack replay check (rerun from
origin/main):
Restack check: identical to the approved change: approved ef7b0ce2e6c4 (from ae73d38a6384) replayed onto 4d7e971214ca, new caa15a94c516. Command: python3 scripts/check_restack.py ef7b0ce2e6c40f776dede16e6d115394f530b429 caa15a94c516aa5fecb67951c22451c8203e98a3 --approved-base ae73d38a638448df74188d5a6e084e6a3400c193 - Hosted CI & post-build advisory notices (run 45964746618):
source-checks(140390646851),lean-checks(140390700063), andci-checksall passed; verifiedRepeated-proof-block(0/9proofs),Parallel-definition(0/0declarations),Duplicate-statement(0/4theorems), andPR description names(1/1declared).
The two-block fiber test compares critical minima as both the retained parameters and the nonnegative penalty vary. The minima are jointly continuous because a common lower bound with compact sublevels confines nearby minimizers to a single compact set. The new compactness lemma also replaces the previous one-parameter continuity proof.
Using the existing boundedness criterion and monotonicity, this change proves that the minimum diverges with the penalty exactly when the input has no real zero. The regression checks both conclusions on the family of constant inputs
r ^ 2, including the zero fiber.Stacked on #8424. Part of #6560. Clopen fiber separation and the two-block decision criterion remain open.
Validation: strict focused builds of the changed modules, the cutoff client, and
RealAlgebraicCriticalEvaluation, scoped Lean lint, generated imports, and source hygiene, encoding readability, projection chain, and diff checks.AI assistance: implemented and self-checked with Codex under Erik Demaine’s direction.