Repository navigation
FourExponentials: remove unused hypotheses and share the duplicated proofs - #1077
Conversation
…e degree one
Port of carlok/four-exponentials-palomar at 8eb91e1, whose commit adc5d6e is
registered with Palomar as PALOMAR-2026-11-28-000054: the four exponentials
theorem in transcendence degree one (Waldschmidt 1973, Brownawell 1974),
Schneider's eighth problem (one of e^e and e^{e^2} is transcendental), and two
algebraically independent numbers among x_i, y_j, exp(x_i y_j).
Hermite-Lindemann and Schwarz's lemma with prescribed zeros come from Tau Ceti.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WtWPYu3oZU7RJEMLVKo1hy
…roofs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WtWPYu3oZU7RJEMLVKo1hy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WtWPYu3oZU7RJEMLVKo1hy
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Low impact] No blocking code issue was established; the remaining proof duplication is non-blocking, but external source checks remain unverified. SummaryThe PR removes unused assumptions and shares the derivative, reduction, linear-system, and norm proofs.
Reviews (2) · Last reviewed commit: "Merge current Lean Pool main into the Fo..." · Reviewed by Greptile |
Proof profile (new / modified Lean files)
This build covers the added modules and their dependency cones on top of the measurement environment; modified files are measured without rebuilding the pool. Statement changes
|
| File | Δ lines | HB base | HB head | Δ HB | Δ HB % | Wall base (s) | Wall head (s) |
|---|---|---|---|---|---|---|---|
LeanPool/FourExponentials/ExpEOrExpESqTranscendental.lean |
+3/-7 | 35,714 | 21,985 | -13,729 | -38.4% | 7.51 | 4.50 |
LeanPool/FourExponentials/TrdegOnePresentationColumn.lean |
+4/-29 | 39,790 | 27,242 | -12,548 | -31.5% | 5.33 | 3.05 |
LeanPool/FourExponentials/ConstructionGrowth.lean |
+5/-17 | 167,658 | 160,323 | -7,334 | -4.4% | 10.90 | 9.37 |
LeanPool/FourExponentials/ExistsMonicIntegralModelPresentation.lean |
+4/-11 | 155,338 | 151,712 | -3,625 | -2.3% | 11.18 | 8.75 |
LeanPool/FourExponentials/ZeroCountArith.lean |
+1/-1 | 96,293 | 93,646 | -2,647 | -2.7% | 11.32 | 7.49 |
LeanPool/FourExponentials/ExistsIteratedDerivReducedPresentation.lean |
+130/-60 | 56,935 | 58,060 | +1,124 | +2.0% | 6.00 | 5.04 |
LeanPool/FourExponentials/ConstructionCoreColumn.lean |
+7/-9 | 5,944 | 4,921 | -1,023 | -17.2% | 3.46 | 2.41 |
LeanPool/FourExponentials/LengthSumLe.lean |
+6/-36 | 2,067 | 1,173 | -894 | -43.2% | 2.15 | 1.37 |
LeanPool/FourExponentials/SmallIrreducibleFactor.lean |
+1/-1 | 190,584 | 190,366 | -218 | -0.1% | 19.40 | 18.71 |
LeanPool/FourExponentials/ExistsIntPowRepr.lean |
+1/-1 | 11,374 | 11,263 | -111 | -1.0% | 2.81 | 2.78 |
LeanPool/FourExponentials.lean |
+1/-1 | 0 | 0 | +0 | +0.0% | 4.40 | 3.43 |
LeanPool/FourExponentials/AuxiliaryConstructionColumn.lean |
+6/-2 | 5,426 | 5,426 | +0 | +0.0% | 3.51 | 2.58 |
LeanPool/FourExponentials/SmallPolynomialsOfColumn.lean |
+3/-1 | 3,461 | 3,461 | +0 | +0.0% | 2.98 | 2.39 |
LeanPool/FourExponentials/ZeroCountDegenerate.lean |
+6/-2 | 10,646 | 10,646 | +0 | +0.0% | 3.95 | 2.27 |
| Total | +178/-178 | 781,231 | 740,225 | -41,006 | -5.2% | 94.9 | 74.1 |
Per-project compile cost (top 2 of 2 projects by |Δ heartbeats|):
| Project | Files | HB base | HB head | Δ HB | Δ HB % |
|---|---|---|---|---|---|
FourExponentials |
13 | 781,231 | 740,225 | -41,006 | -5.2% |
(root) |
1 | 0 | 0 | +0 | +0.0% |
New files — absolute profile
Total heartbeats: 716,268 maxHeartbeats units across 2 valid files (648 added LOC).
Sum of lean --profile: 3680.4 ms (= 3.68 s) across 1 valid file. Import-excluded time: 1700.4 ms (= 1.70 s).
Count-heartbeats wall-clock total: 35.70 s. Repeated import cost inside lean --profile: 1980.0 ms (= 1.98 s).
Heartbeat values sum disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted from raw allocations to maxHeartbeats units by dividing by 1000. They include command elaboration and kernel checking, exclude imports, and include profiler overhead; they are not comparable to the deprecated linter's totals. Per-file wall clocks are measured under parallel load and are noisier than heartbeats.
LOC counts added lines in the profiled Lean files from this PR diff.
| File | LOC | Heartbeats (maxHB) | Count wall (s) | lean --profile (s) |
Without import (s) | Import (s) | Commands | Errors |
|---|---|---|---|---|---|---|---|---|
LeanPool/FourExponentials/ConstructionCount1973.lean |
8 | 663,687 | 31.58 | — | — | — | 31 | 0 |
LeanPool/FourExponentials/PresentationSize.lean |
285 | 52,580 | 4.12 | 3.68 | 1.70 | 1.98 | 63 | 0 |
LeanPool/FourExponentials/AuxLinearSystem.lean |
15 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/AuxLinearSystemColumn.lean |
14 | — | — | — | — | — | 11 | 1 |
LeanPool/FourExponentials/AuxiliaryConstruction.lean |
16 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/AuxiliaryFunctionAlg.lean |
11 | — | — | — | — | — | 6 | 1 |
LeanPool/FourExponentials/AuxiliaryFunctionAlgColumn.lean |
8 | — | — | — | — | — | 6 | 1 |
LeanPool/FourExponentials/ConstructionCore1973.lean |
8 | — | — | — | — | — | 6 | 1 |
LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean |
99 | — | — | — | — | — | 0 | 1 |
LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean |
55 | — | — | — | — | — | 0 | 1 |
LeanPool/FourExponentials/ExistsIteratedDerivPresentationOfExpFactor.lean |
60 | — | — | — | — | — | 0 | 1 |
LeanPool/FourExponentials/ExistsIteratedDerivReducedPresentationColumn.lean |
11 | — | — | — | — | — | 6 | 1 |
LeanPool/FourExponentials/ExpPolyZeroCount.lean |
1 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/FourExponentialsTrdegOne.lean |
2 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/Imports.lean |
1 | — | — | — | — | — | 0 | 1 |
LeanPool/FourExponentials/NormToPolynomialAlg.lean |
13 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean |
29 | — | — | — | — | — | 22 | 1 |
LeanPool/FourExponentials/RankOneParametrization.lean |
2 | — | — | — | — | — | 10 | 1 |
LeanPool/FourExponentials/SmallPolynomialsOfCounterexample.lean |
9 | — | — | — | — | — | 7 | 1 |
LeanPool/FourExponentials/TranscendenceCriterionContinuous.lean |
1 | — | — | — | — | — | 15 | 1 |
| Total | 648 | 716,268 | 35.70 | 3.68 | 1.70 | 1.98 | 218 | 18 |
Aggregate phase totals
| Phase | Time |
|---|---|
import |
1980.0 ms (= 1.98 s) |
typeclass inference |
508.0 ms (= 0.51 s) |
interpretation |
361.0 ms (= 0.36 s) |
tactic execution |
331.0 ms (= 0.33 s) |
type checking |
158.0 ms (= 0.16 s) |
elaboration |
125.0 ms (= 0.12 s) |
ring |
40.4 ms (= 0.04 s) |
linting |
38.7 ms (= 0.04 s) |
initialization |
26.1 ms (= 0.03 s) |
simp |
24.6 ms (= 0.02 s) |
parsing |
21.5 ms (= 0.02 s) |
process pre-definitions |
19.9 ms (= 0.02 s) |
Slowest changed modules (from lake build)
| Changed module | Lake time |
|---|---|
LeanPool.FourExponentials.ExistsIntPowRepr |
2.80 s |
LeanPool.FourExponentials.LengthSumLe |
2.50 s |
LeanPool.FourExponentials.PresentationSize |
2.10 s |
Per-file `lean --profile` output
LeanPool/FourExponentials/PresentationSize.lean
import took 1.98s
cumulative profiling times:
attribute application 0.242ms
congr simp thm 1.54ms
declTypeLinter 9.87ms
elaboration 125ms
fix level params 1.42ms
import 1.98s
initialization 26.1ms
instantiate metavars 3.37ms
interpretation 361ms
let-to-have transformation 0.458ms
linting 38.7ms
module linting 0.0195ms
norm_num 4.34ms
parsing 21.5ms
process pre-definitions 19.9ms
ring 40.4ms
share common exprs 17.1ms
simp 24.6ms
tactic execution 331ms
tacticAnalysis 7.86ms
type checking 158ms
typeclass inference 508ms
real 3.26
user 2.33
sys 0.92
Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.
Vilin97
left a comment
There was a problem hiding this comment.
Approved at 789008f. The cleanup preserves the three published results and consolidates the main proof path.
- The three registered Lean statements and five derivative-presentation theorem signatures match the merged project. The shared reduction preserves the evaluation identity, monic modulus and root hypotheses. Its two specializations preserve the original degree bounds. Reusing the column lemmas in the main proof widens the coefficient-degree bound by
T * aand keeps the minimality hypothesis at the norm step. - The integration merge preserves the author's project files and takes current main everywhere else. The card and entry point retain the Palomar attribution and update the Apache-2.0 port pin. The upstream build, axiom audit and statement comparison passed at that pin. Pinned comparison
- Four helper proofs remain duplicated in the column presentation. Two have no project callers. This is a maintenance follow-up. Some auxiliary public names and argument lists also change, so callers of those internals may need to update. Review thread
Follow-up to #1074. It handles the maintenance items from the code-quality review of
LeanPool/FourExponentials. Statements of the three main results are unchanged.Ported from carlok/four-exponentials-palomar@54998b2, whose CI (build, axiom audit,
lake comparator) passes at that commit. The card'ssource.commitand the entry module now name that commit.Changes
AuxLinearSystem,NormToPolynomialAlg,AuxiliaryFunctionAlg,SmallIrreducibleFactor,ZeroCountArith,RankOneParametrization,AuxiliaryConstruction,SmallPolynomialsOfCounterexampleand the counting lemmas (count_core,T_bound), with their call sites updated.ExistsIteratedDerivPresentation*modules (len,Szand its lemmas, the Leibniz presentation of the derivatives ofzⁱ e^(βz)) is now in the new modulePresentationSize.exists_iteratedDeriv_presentationis proved throughexists_iteratedDeriv_presentation_of_exp_factor.ReducedPresentationsstates the reduced presentations once, with the degree bound as a parameter, andreduce_presentationproves both reductions moduloQ.ReducedPresentations.monoturns the main-branch presentation into the column-branch hypothesis.aux_linear_system,norm_to_polynomial_algandauxiliary_function_algare now short term proofs from their_columnversions instead of copies of them.exists_int_scaled,isAlgebraic_of_trdeg_le_one, the length lemmas ofLengthMulLe, the growth constants ofConstructionGrowth, andTranscendence.Trdeg.trdegAdjoinLeOneOfIsAlgebraicAdjoinEin place of a second definition of the same algebraic closure inExpEOrExpESqTranscendental.Net change: 827 insertions and 1,753 deletions across 35 files.
Checks run on a fork
lake build LeanPool.FourExponentials.Importsbuilds with no warnings. The slowest file takes 19 s.scripts/ci/lint-project.leanpasses for 61 modules (523 declarations).lint-stylereports nothing,mk_all --checkpasses, andlean_pool.quality --static-onlyreports nothing for this project.🤖 Generated with Claude Code
https://claude.ai/code/session_01WtWPYu3oZU7RJEMLVKo1hy