Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

chore(NavierStokes/Wave): delete 107 declarations nothing uses #289
Review of be36a27: ready
Deletes a hundred and seven unused declarations across four NavierStokes/Wave* files (1,595 Lean lines, deletions only), under #10 (S-1) — AGENTS.md, "Changes we want": "Deleting … declarations that nothing uses."
Measured with tools/measure.py be36a27 61506c7: declarations 48,201 → 48,094 (−107), docstrings 12,161 → 12,127 (−34), erw 122 → 122, no set_option line, no raised maxHeartbeats, no instance removed, no linter switched off. Zero added Lean lines; no import line changed in any of the four files.
Read, name by name where the short name also lives elsewhere: class_sub (deleted from WaveInteractionBounds.lean) is not NavierStokes.CurlClassBounds.class_sub; divergence_congr is not NavierStokes.DirectAngularDiagonal.divergence_congr; of_global is not LocalizedWaveBounds.LocalClass.of_global; waveStage_covariance_regular is not NavierStokes.GaugeDebtIncrement.waveStage_covariance_regular (which stays, with its caller in CorrectionStep.lean); jet_bound is not NativeRegularity.jet_bound's namesake in NavierStokes.FiniteHeadClass; CoefficientSupport's only outside hit is a section name, not the declaration. grouped is a local noncomputable def deleted together with every lemma that used it (all in the same diff), and every other outside hit for these names is prose in a docstring. No deleted docstring names a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation; the two that mention "the manuscript" ("the manuscript's literal path", "the manuscript's constructed vector potential") carry no number.
Statements: the change touches none of the statement-bearing files (ComparatorDefinitions.lean, Euler/SolutionDefinitions.lean, the *Comparator* faces, Euler/Solution.lean, PaperResults.lean and its imports, R3/Theorem.lean), and no signature of the four Comparator theorems changed; to be confirmed by main's replay after the merge.
Checks: on the site both were still queued when I judged (challenge job 3669, build job 3670), so I ran the approved checks/challenge.py on this head in the workspace: "ok: 4 challenge files and the build configuration as approved; 2589 Lean files, 607474 lines, toolchain leanprover/lean4:v4.34.0-rc2". This ready stands on build passing on this head — the site gates the merge on it.
Nothing left: a wanted change, same statements, description true.
Part of #10.
Deletes 107 declarations of the family
NavierStokes/Wave*that nothing uses, 1595 lines in 4 files. No statement and no proof that stays is changed: the diff is deletions only.NavierStokes.WaveEdgeExtension.native_flatWeight(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.nativeExtension_nonpositive(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.inner_edgeDistance_eq(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.inner_edgeGrowth_le_native(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeJets.native_regular_of_inner_growth(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.pulseEnvelope_nonneg(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.primaryVelocity_native_regular(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeJets.on_zero_germ_cover(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeJets.native_regular_of_zero_germ_cover(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.primaryVelocity_native_regular_of_zero_germ_cover(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeRegularity.jet_bound(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeJets.nativeExtension_jets(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.meanNative_apply(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.nativeRadius_meanNative(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.meanExtension_inside(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.meanExtension_outside(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.meanExtension_jet_norm(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEdgeExtension.NativeRegularity.mean_edge(NavierStokes/WaveEdgeExtension.lean)NavierStokes.WaveEnvelopeTransport.entire_path_in_rectangle(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.path_transverse(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.path_time(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.source_path_observable(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.source_path_mem(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.source_path_domain(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.cutoff_on_path(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.reference_envelope_on_path(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.reference_envelope_path_gaussian(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.separated_bandGeometry(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.exists_separated_native_rectangle(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.copyCell(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.copyCell_closed(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.copyCell_locallyFinite(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_eventually_eq_copy(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_eventually_zero(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_on_entire_path(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_path_zero_of_transverse_support(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_path_zero_of_slow_support(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.grouped_waveClass(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.waveClass_sourceArgument_bound(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.waveClass_forcingAlong_bound(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.native_source_path(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveEnvelopeTransport.anchoredSolve_zero_of_grouped_transverse_support(NavierStokes/WaveEnvelopeTransport.lean)NavierStokes.WaveInteractionBounds.class_sub(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.wave_mean_cmul(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.wave_cmul_wave(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.bandBound_const(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_eq_stripped(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.mean_wave_weight(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.carrier_add(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.carrier_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_mode_left(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_mode_right(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_modes(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.wave_mean_identity(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_identity(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_wave_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_mean_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.harmonic_stage_add(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.harmonic_stage_neg(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.conjugateFamily(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.conjugate_wave(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.carrier_neg(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.vectorMode_conjugate(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.opposite_identity(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.opposite_mean_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.conjugate_opposite_mean_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.finite_wave_sum(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_harmonic_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.mul_along_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_zero_of_products(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.cross_transport_every_class(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.slot_complex_product_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.slotField(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.slot_transport_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.transport_real_parts(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.conjugate_angularIndependent(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.real_modes_identity(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.real_equal_modes_identity(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.real_mean_coefficient_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.divergence_congr(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_from_curl(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_from_realized(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.product_curl_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.curl_cross_products(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.curl_transport_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.curl_transport_every_class(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.slot_curl_transport_zero(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.realTransport_coordinates(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.cartesian_transport_components(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.fixedGeometry(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.realized_seed_pair_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.stageHarmonics(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.stageHarmonics_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.stage_frequency_bound(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveInteractionBounds.same_label_curl_interaction(NavierStokes/WaveInteractionBounds.lean)NavierStokes.WaveStateRegularity.field_smoothOn_of_germs(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.LocalData.of_global(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.LocalData.block_smooth(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.LocalData.fieldSum_smooth(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.CoefficientSupport(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.fieldSum_support_of_coefficients(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.fieldSum_covariance_regular(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.fieldSum_covarianceIncrement_regular(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.state_covariance_regular(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.state_covarianceIncrement_regular(NavierStokes/WaveStateRegularity.lean)NavierStokes.WaveStateRegularity.waveStage_covariance_regular(NavierStokes/WaveStateRegularity.lean)How these were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream
f9e8bc5) found them unreachable from the four Comparator theorems. The declaration graph, exported from the compiled tree at this project's main (5baf4fe), was read again under this project's rule: a declaration that Treant deleted stays when one of the paper's results reaches it (the filesNavierStokes/PaperResults.leanimports,NavierStokes/R3/Theorem.lean,NavierStokes/LocalPaperTheorem.lean), when its docstring cites the paper, or when the text of a declaration that stays names it. 640 of Treant's deletions stay for that; none of them is in this pull request. This branch is based onmainat61506c7.On the tree left behind,
git grep -nwover each of the 107 short names finds only other declarations of the same name, a section namedCoefficientSupport, and the word "grouped" in prose; no deleted docstring names a Lemma, Theorem, Proposition, Corollary, Section or Equation of the paper.What it does not show: that every remaining declaration is needed.