Skip to content

FourExponentials: remove unused hypotheses and share the duplicated proofs - #1077

Merged
Vilin97 merged 5 commits into
LeanPool:mainfrom
carlok:carlok/four-exponentials-cleanup
Nov 28, 2026
Merged

Vilin97 merged 5 commits into
LeanPool:mainfrom
carlok:carlok/four-exponentials-cleanup

Conversation

@carlok

@carlok carlok commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

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's source.commit and the entry module now name that commit.

Changes

  • Unused hypotheses removed from AuxLinearSystem, NormToPolynomialAlg, AuxiliaryFunctionAlg, SmallIrreducibleFactor, ZeroCountArith, RankOneParametrization, AuxiliaryConstruction, SmallPolynomialsOfCounterexample and the counting lemmas (count_core, T_bound), with their call sites updated.
  • One copy of the presentation helpers. The size bookkeeping repeated in the three ExistsIteratedDerivPresentation* modules (len, Sz and its lemmas, the Leibniz presentation of the derivatives of zⁱ e^(βz)) is now in the new module PresentationSize. exists_iteratedDeriv_presentation is proved through exists_iteratedDeriv_presentation_of_exp_factor.
  • Main branch derived from the column branch.
    • ReducedPresentations states the reduced presentations once, with the degree bound as a parameter, and reduce_presentation proves both reductions modulo Q.
    • ReducedPresentations.mono turns the main-branch presentation into the column-branch hypothesis. aux_linear_system, norm_to_polynomial_alg and auxiliary_function_alg are now short term proofs from their _column versions instead of copies of them.
  • Existing lemmas reused in place of local copies: exists_int_scaled, isAlgebraic_of_trdeg_le_one, the length lemmas of LengthMulLe, the growth constants of ConstructionGrowth, and Transcendence.Trdeg.trdegAdjoinLeOneOfIsAlgebraicAdjoinE in place of a second definition of the same algebraic closure in ExpEOrExpESqTranscendental.
  • 18 broken blueprint references (rendered as "Lemma .") are replaced with the Lean names.

Net change: 827 insertions and 1,753 deletions across 35 files.

Checks run on a fork

  • lake build LeanPool.FourExponentials.Imports builds with no warnings. The slowest file takes 19 s.
  • scripts/ci/lint-project.lean passes for 61 modules (523 declarations).
  • lint-style reports nothing, mk_all --check passes, and lean_pool.quality --static-only reports nothing for this project.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WtWPYu3oZU7RJEMLVKo1hy

carlok and others added 4 commits November 28, 2026 18:43
…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
@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

No blocking code issue was established; the remaining proof duplication is non-blocking, but external source checks remain unverified.RetriggerView in Greptile

[Low impact] No blocking code issue was established; the remaining proof duplication is non-blocking, but external source checks remain unverified.

Summary

The PR removes unused assumptions and shares the derivative, reduction, linear-system, and norm proofs.

  • Derivative presentations share one size and reduction framework.
  • Main auxiliary proofs now reuse the column-case proofs.
  • Several proof results now ask callers for fewer unused facts.
  • Existing helper results replace repeated facts and formulas.
  • The project record and entry module point to the updated source revision.

Reviews (2) · Last reviewed commit: "Merge current Lean Pool main into the Fo..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 33.42 s (= 0.56 min) — user 9.46 s, sys 5.31 s.

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

⚠️ 28 declarations changed their statement across 19 files — a statement change is more than a refactor. Confirm each one is intended.

⚠️ Statements changed (28)
  • FourExponentials.aux_linear_system — LeanPool/FourExponentials/AuxLinearSystem.lean
  • FourExponentials.aux_linear_system_column — LeanPool/FourExponentials/AuxLinearSystemColumn.lean
  • FourExponentials.auxiliary_construction — LeanPool/FourExponentials/AuxiliaryConstruction.lean
  • FourExponentials.auxiliary_function_alg — LeanPool/FourExponentials/AuxiliaryFunctionAlg.lean
  • FourExponentials.auxiliary_function_alg_column — LeanPool/FourExponentials/AuxiliaryFunctionAlgColumn.lean
  • FourExponentials.construction_core_1973 — LeanPool/FourExponentials/ConstructionCore1973.lean
  • FourExponentials.construction_core_column — LeanPool/FourExponentials/ConstructionCoreColumn.lean
  • FourExponentials.FourExpCount.T_bound — LeanPool/FourExponentials/ConstructionCount1973.lean
  • FourExponentials.FourExpCount.count_core — LeanPool/FourExponentials/ConstructionCount1973.lean
  • FourExponentials.construction_growth — LeanPool/FourExponentials/ConstructionGrowth.lean
  • FourExponentials.Transcendence.ExistsIntPowRepr.aeval_red — LeanPool/FourExponentials/ExistsIntPowRepr.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_epart — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_fac — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_mul — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_sum — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.sz_colfac — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationOfExpFactor.exists_iteratedDeriv_presentation_of_exp_factor_main — LeanPool/FourExponentials/ExistsIteratedDerivPresentationOfExpFactor.lean
  • FourExponentials.ExistsIteratedDerivPresentationOfExpFactor.exists_iteratedDeriv_presentation_of_exp_factor_sz_lin — LeanPool/FourExponentials/ExistsIteratedDerivPresentationOfExpFactor.lean
  • FourExponentials.ExistsIteratedDerivPresentationOfExpFactor.exists_iteratedDeriv_presentation_of_exp_factor_sz_pres — LeanPool/FourExponentials/ExistsIteratedDerivPresentationOfExpFactor.lean
  • FourExponentials.Transcendence.ExpEOrExpESqTranscendental.exp_e_or_exp_e_sq_transcendental_mem_algOver_of_isAlgebraic — LeanPool/FourExponentials/ExpEOrExpESqTranscendental.lean
  • FourExponentials.Transcendence.ExpEOrExpESqTranscendental.exp_e_or_exp_e_sq_transcendental_not_algIndep_of_forall_mem_algOver — LeanPool/FourExponentials/ExpEOrExpESqTranscendental.lean
  • FourExponentials.Transcendence.ExpEOrExpESqTranscendental.exp_e_or_exp_e_sq_transcendental_self_mem_algOver — LeanPool/FourExponentials/ExpEOrExpESqTranscendental.lean
  • FourExponentials.norm_to_polynomial_alg — LeanPool/FourExponentials/NormToPolynomialAlg.lean
  • FourExponentials.norm_to_polynomial_alg_column — LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean
  • FourExponentials.rank_one_parametrization — LeanPool/FourExponentials/RankOneParametrization.lean
  • FourExponentials.small_irreducible_factor — LeanPool/FourExponentials/SmallIrreducibleFactor.lean
  • FourExponentials.small_polynomials_of_counterexample — LeanPool/FourExponentials/SmallPolynomialsOfCounterexample.lean
  • FourExponentials.zero_count_arith — LeanPool/FourExponentials/ZeroCountArith.lean

Also: 8 declarations added, 92 removed. A reorganization moves declarations between files, which shows up here as an add in one file and a remove in another.

➕ Declarations added (8)
  • FourExponentials.AuxLinearSystem.natAbs_coeff_le_length — LeanPool/FourExponentials/AuxLinearSystemColumn.lean
  • FourExponentials.ReducedPresentations — LeanPool/FourExponentials/ExistsIteratedDerivReducedPresentation.lean
  • FourExponentials.ReducedPresentations.mono — LeanPool/FourExponentials/ExistsIteratedDerivReducedPresentation.lean
  • FourExponentials.reduce_presentation — LeanPool/FourExponentials/ExistsIteratedDerivReducedPresentation.lean
  • FourExponentials.NormToPolynomialAlg.le_exp_mul — LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean
  • FourExponentials.NormToPolynomialAlg.length_C_C_mul_le — LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean
  • FourExponentials.NormToPolynomialAlg.natAbs_coeff_le — LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean
  • FourExponentials.NormToPolynomialAlg.norm_to_polynomial_alg_length_sum_le — LeanPool/FourExponentials/NormToPolynomialAlgColumn.lean
➖ Declarations removed (92)
  • FourExponentials.AuxLinearSystem.natAbs_coeff_le_length — LeanPool/FourExponentials/AuxLinearSystem.lean
  • FourExponentials.AuxLinearSystemColumn.aux_linear_system_column_natAbs_coeff_le_length — LeanPool/FourExponentials/AuxLinearSystemColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentation.Ppol — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.Sz — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.exists_iteratedDeriv_presentation_main — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.expPres — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.expPres_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.exp_split — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.fac — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.fac_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.iteratedDeriv_expPoly — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.len — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.len_CC — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.len_add — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.len_mul — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.len_sum — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.lin_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.norm_mul_le_pow — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.norm_pow_le_pow — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.phi_CC — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.pres — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.pres_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.succ_le_two_pow — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_CC — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_CN — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_add — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_exists — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_exists_fam — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_expPres — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_lin — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_mono — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_mul — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_one — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_pow — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_pres — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentation.sz_sum — LeanPool/FourExponentials/ExistsIteratedDerivPresentation.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.existsIteratedDerivPresentationColumnExpPres — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.existsIteratedDerivPresentationColumnFac — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.existsIteratedDerivPresentationColumnLen — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.existsIteratedDerivPresentationColumnSz — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_expPres_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_fac_eval — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_len_CC — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_CC — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_exists — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_exists_fam — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_expPres — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_mono — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_one — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • FourExponentials.ExistsIteratedDerivPresentationColumn.exists_iteratedDeriv_presentation_column_sz_pow — LeanPool/FourExponentials/ExistsIteratedDerivPresentationColumn.lean
  • … +42 more

Statements are compared textually against the merge base (comments and whitespace ignored; by proof terms embedded in a type are treated as proof-irrelevant), the same method as physlib's /check-golf. Anonymous instances and examples are not tracked.

Compile cost of modified files — base → head

Heartbeats: 781,231 → 740,225 (-41,006, -5.2%). Commands: 217 → 211.

Per-file wall sum: 94.9 s → 74.1 s (-21.9%). Wall clock is measured under parallel load and is noisy; heartbeats are deterministic and are the regression signal.

Files: 14 compared — 6 cheaper, 1 costlier, 7 within noise (threshold: |Δ heartbeats| ≥ 1,000 and ≥ 1%).

Both sides are elaborated against the merge-base build of the pool — sound when only proofs and definition bodies change; a file whose statements changed may fail there and is flagged ⚠. Heartbeats come from disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted to maxHeartbeats units. Failed measurements are not classified as cheaper or costlier. Δ lines counts added/deleted lines from this PR diff.

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 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 * a and 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

@Vilin97
Vilin97 added this pull request to the merge queue Nov 28, 2026
Merged via the queue into LeanPool:main with commit ff1967c Nov 28, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants