Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
1355d8b
perf: migrate Lean Pool files to the module system
Vilin97 Sep 11, 2026
f246e30
fix: adapt exposed definitions and tactics to module visibility
Vilin97 Sep 11, 2026
c2fe9d2
fix: resolve further module visibility and import dependencies
Vilin97 Sep 11, 2026
95e5b65
perf: minimize Feige imports and make implementation imports private
Vilin97 Sep 11, 2026
96eee44
perf: repair module visibility and tactic phase boundaries
Vilin97 Sep 11, 2026
fe76137
fix: complete module visibility and metaprogramming migration
Vilin97 Sep 11, 2026
857298e
perf: minimize pool imports with lake shake
Vilin97 Sep 11, 2026
7dbd370
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 11, 2026
0d50859
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 11, 2026
f248e0b
fix: preserve APIs and generated proofs after import minimization
Vilin97 Sep 11, 2026
f8fbbad
Merge upstream projects while preserving module exports
Vilin97 Sep 11, 2026
dd80c8e
Preserve project exports and validate generated Lentil proofs
Vilin97 Sep 11, 2026
c6c8b96
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 11, 2026
6fd4a9b
Merge remote-tracking branch 'origin/main' into HEAD
Vilin97 Sep 11, 2026
d0a8bb4
style: remove trailing blank line
Vilin97 Sep 12, 2026
2d9fc3e
Optimize Bollobas-Nikiforov module imports
Vilin97 Sep 12, 2026
c6d31ae
Reduce Lie solver interface and preserve standalone tactics
Vilin97 Sep 12, 2026
58c8237
Preserve module exports in regenerated pool index
Vilin97 Sep 12, 2026
a0821a7
Optimize Gardam certificates by combining formal-sum coefficients
Vilin97 Sep 12, 2026
ba17369
Reduce symplectic certificate checks to independent row pairings
Vilin97 Sep 12, 2026
d30b789
Evaluate octagon coverage certificates once in the kernel
Vilin97 Sep 12, 2026
92230c8
Simplify hypergraph certificate proofs and evaluate them in the kernel
Vilin97 Sep 12, 2026
77efad8
Speed up kernel-checked GKP finite-range certificates
Vilin97 Sep 12, 2026
51636a5
Reuse finite-support and algebra-equivalence constructions in Brauer …
Vilin97 Sep 12, 2026
f50676d
Evaluate compressed basis entries over nonzero coordinates
Vilin97 Sep 12, 2026
ea8374b
Reuse block nonexistence and tensor basis proofs in Monlib
Vilin97 Sep 12, 2026
d2ae90d
Avoid expanding subdivision homeomorphisms in fan center equality
Vilin97 Sep 12, 2026
8e17e69
Check Hadwiger symmetry tables directly in the kernel
Vilin97 Sep 12, 2026
9c07ca9
Keep weighted circle coordinate homeomorphisms folded
Vilin97 Sep 12, 2026
5dd1db3
Reuse finite-sum bounds in Monlib uniqueness proof
Vilin97 Sep 12, 2026
d865a72
Share Nesterov curvature estimates across state families
Vilin97 Sep 12, 2026
3b23eff
Simplify finite interpolation tree path proofs
Vilin97 Sep 12, 2026
be931aa
Reuse chart compatibility certificates and focus affine evaluation
Vilin97 Sep 12, 2026
091312b
Simplify cycle embeddings and Hamming distance bounds
Vilin97 Sep 12, 2026
e7237b9
Check Erdos97 finite row tables directly in the kernel
Vilin97 Sep 12, 2026
9b3d553
Share local mesh case analysis in subdivision proofs
Vilin97 Sep 12, 2026
4a42ef7
Apply existing analytic input lemmas without broad simplification
Vilin97 Sep 12, 2026
27e803d
Reuse analytic bounds in invariance of domain proofs
Vilin97 Sep 12, 2026
4ab6c65
Reuse boundary factorization and cutoff bounds in modular forms
Vilin97 Sep 12, 2026
f53caab
Reuse affine independence and focus plane geometry proofs
Vilin97 Sep 12, 2026
c19d599
Reuse coefficient and limit identities in Hermite basis proofs
Vilin97 Sep 12, 2026
3fd06f7
Reuse IdentDistrib.add in the PFR sum-distance proof
Vilin97 Sep 12, 2026
283bc6a
Reuse minterm identities and simplify Shannon circuit proof bounds
Vilin97 Sep 12, 2026
82cc72b
Share affine parameter bounds in graph polygonalization
Vilin97 Sep 12, 2026
775cc1b
Use direct order bounds in Burkholder monotonicity proofs
Vilin97 Sep 12, 2026
8c14a0a
Prepend fixed word prefixes directly
Vilin97 Sep 12, 2026
80a83b0
Simplify Schur product proofs using existing linear-map identities
Vilin97 Sep 12, 2026
f4f578a
Simplify LatticeTriangle arithmetic and sum proofs
Vilin97 Sep 12, 2026
ed8bf42
Use direct ideal and cardinality bounds in Krull domain proofs
Vilin97 Sep 12, 2026
efc4909
Apply tensor restriction identities directly
Vilin97 Sep 12, 2026
29af292
Reuse the small norm bound for radial projection
Vilin97 Sep 12, 2026
dad36e7
Infer rewrite words from their established hypotheses
Vilin97 Sep 12, 2026
881d7c6
Reuse prime transport and direct height bounds in transfinite constru…
Vilin97 Sep 12, 2026
6ee407a
Share ambient mesh injectivity in chart weld proofs
Vilin97 Sep 12, 2026
ec6fddb
Reuse finite-set and collision arguments in Scarf proofs
Vilin97 Sep 12, 2026
3d396ce
Share the N-subring union construction and its cardinality bounds
Vilin97 Sep 12, 2026
0e22609
Reuse scaled basis facts in the Brauer quotient proof
Vilin97 Sep 12, 2026
87fd891
Use dimension and union identities in polygon separation proofs
Vilin97 Sep 12, 2026
84e90f4
Use annihilator and polynomial identities in prime-adjoining proofs
Vilin97 Sep 12, 2026
5dbd6e6
Check template coordinate uniqueness through finite lists
Vilin97 Sep 12, 2026
9a96428
Reuse adaptive fan coordinate formulas in affine proofs
Vilin97 Sep 12, 2026
650f561
Reuse equivalences in double centralizer proofs
Vilin97 Sep 12, 2026
e3c4236
Use direct normalization and scaling identities in word closures
Vilin97 Sep 12, 2026
449f095
Separate opposite diamond triangles directly
Vilin97 Sep 12, 2026
7b0e933
Reuse the tensor factor centralizer theorem
Vilin97 Sep 12, 2026
d44fc24
Reuse adic completeness and simplify Noetherian filtration proofs
Vilin97 Sep 12, 2026
955257c
Use direct monotonicity and factorization proofs for ABC exceptions
Vilin97 Sep 12, 2026
0d237fe
Use explicit block coefficient identities in matrix proofs
Vilin97 Sep 12, 2026
109df9b
Reuse the adic completion evaluation kernel theorem
Vilin97 Sep 12, 2026
c0be201
Select geometry bounds directly in ABC estimates
Vilin97 Sep 13, 2026
c68c92d
Use polynomial translation identities in critical value positivity
Vilin97 Sep 13, 2026
9b644c6
Reuse algebra map facts in Frobenius proofs
Vilin97 Sep 13, 2026
3a7296e
Simplify two-generator close-up and prime ideal proofs
Vilin97 Sep 13, 2026
52aec04
Reuse height and cardinality facts in no-common-factor proofs
Vilin97 Sep 13, 2026
f88a5d7
Clear singular-point denominators with field_simp
Vilin97 Sep 13, 2026
f898cf7
Use direct evaluation and sign bounds in the Obreschkoff proof
Vilin97 Sep 13, 2026
833a072
Use explicit coefficient identities in Obreschkoff transport
Vilin97 Sep 13, 2026
985fc53
Share subring closure proofs in the height construction
Vilin97 Sep 13, 2026
2c3a891
Use recurrence and sign identities in Biswal proofs
Vilin97 Sep 13, 2026
b4d9697
Use direct cardinality and height facts in adjoining surjectivity
Vilin97 Sep 13, 2026
73874a5
Reuse continuity and finite-infimum bounds in root perturbation
Vilin97 Sep 13, 2026
21d4442
Merge main while preserving module import interfaces
Vilin97 Sep 13, 2026
93ac224
Share coefficient recurrence proofs in the hypergeometric equations
Vilin97 Sep 13, 2026
2b34f00
Use direct identities and bounds in Chudnovsky coefficient estimates
Vilin97 Sep 13, 2026
0207184
Share denominator clearing and remove unused UFD construction proofs
Vilin97 Sep 13, 2026
bc4d7c3
Prune the private discriminant search before enumerating multipliers
Vilin97 Sep 13, 2026
f2562d5
Reuse coefficient and cocycle identities in cross product algebra
Vilin97 Sep 13, 2026
d098780
Reuse the shared union construction in combined extension steps
Vilin97 Sep 13, 2026
e6124ad
Use focused bounds in the Chudnovsky truncation estimates
Vilin97 Sep 13, 2026
6d06681
Reuse direct summand identities in Azumaya tensor proofs
Vilin97 Sep 13, 2026
8c575ff
Use direct positivity in the winding-factor proof
Vilin97 Sep 13, 2026
22e7c4f
Reuse interval bounds and a common Cauchy product limit
Vilin97 Sep 13, 2026
7415f11
Use explicit positivity in the Kummer Wronskian proof
Vilin97 Sep 13, 2026
ed3d359
Reuse matrix and tensor equivalences in Brauer group proofs
Vilin97 Sep 13, 2026
cf57f60
Use direct order bounds in the modular j valence proofs
Vilin97 Sep 13, 2026
1069d2d
Reuse completion kernel and tensor range proofs in Anderson Main
Vilin97 Sep 13, 2026
ea82149
Share the coefficient decomposition in local power series proofs
Vilin97 Sep 13, 2026
19c22e6
Reuse integer periodicity in the sigma product formula
Vilin97 Sep 13, 2026
2eb5e38
perf: reuse separability and commuting-adjoin proofs
Vilin97 Sep 13, 2026
88d627d
Use direct integer bounds in the CM representative proofs
Vilin97 Sep 13, 2026
d1da4ef
Focus the maximum-modulus radius estimate
Vilin97 Sep 13, 2026
bcb73ed
Reuse Jensen theorems and lift generators through finite preimages
Vilin97 Sep 13, 2026
eeec700
perf: simplify matching and weighted sum proof elaboration
Vilin97 Sep 13, 2026
61a2410
Simplify the finite matrix checks for the S coset permutation
Vilin97 Sep 13, 2026
a8b5119
Share the quotient recurrence in the Anderson domain proof
Vilin97 Sep 13, 2026
f3881a0
perf: share matrix identities in Cartan existence proofs
Vilin97 Sep 13, 2026
623da04
Share the factorial recurrence in the Chudnovsky main theorem
Vilin97 Sep 13, 2026
6b502c1
Bound and check the Masser norm-form solutions directly
Vilin97 Sep 13, 2026
2fd55c0
Induct on cocycles and use direct linear-map laws in Cech multiplication
Vilin97 Sep 13, 2026
fbf4de3
Simplify finite generators and annihilator arguments in Heitmann prop…
Vilin97 Sep 13, 2026
28657c2
perf: derive global Vlasov flow bounds from local theorems
Vilin97 Sep 13, 2026
b3544c7
Reuse the lattice equivalence zero formula
Vilin97 Sep 13, 2026
7aa9f5b
Share the sigma-factor derivative and focus the norm bounds
Vilin97 Sep 13, 2026
7714e21
Reuse the completion equivalence in Jensen construction
Vilin97 Sep 13, 2026
2aa3219
Use direct power-series cancellation for the j expansion
Vilin97 Sep 13, 2026
780cc90
Use direct period and degree bounds for the modular polynomial
Vilin97 Sep 13, 2026
caa76ff
perf: derive generalized convergence bounds directly
Vilin97 Sep 13, 2026
369ff98
Use direct matrix and prime arguments for CM rationality
Vilin97 Sep 13, 2026
646f1da
Share cocycle induction across Cech inclusions and multiplication
Vilin97 Sep 13, 2026
4049b87
Simplify quadratic-form root and matrix cancellation proofs
Vilin97 Sep 13, 2026
a1c3b4e
perf: share entropy expansion in rho continuity proof
Vilin97 Sep 13, 2026
8b5d379
Share the factorial bound across the Chudnovsky normalization proofs
Vilin97 Sep 13, 2026
45c03ed
Reuse section restrictions and finite-support sums in Laurent-tail pr…
Vilin97 Sep 13, 2026
1312a6c
Reuse prime ideal and local ring facts in transcendental adjoining
Vilin97 Sep 13, 2026
7828ed9
perf: reuse weight monotonicity in H1 exchange proof
Vilin97 Sep 13, 2026
36f6f52
Use direct cancellation in the two-circle uniqueness proof
Vilin97 Sep 13, 2026
c60d965
Focus the metric dichotomy arithmetic and cancel positive factors
Vilin97 Sep 13, 2026
1d3989a
perf: share generic fibre polynomial evaluation proof
Vilin97 Sep 13, 2026
11e8834
Share the three-rank chain argument between cover proofs
Vilin97 Sep 13, 2026
4ec2f23
Use direct prepared facts and square-order bridges in terminal closure
Vilin97 Sep 13, 2026
12fd914
perf: reuse ZF function graph and product proofs
Vilin97 Sep 13, 2026
4a0315a
Normalize unordered-pair membership before finite distance checks
Vilin97 Sep 13, 2026
19eafc7
Use direct radial and positive-sum bounds in the diameter lens
Vilin97 Sep 13, 2026
1bd4f2b
Reuse cocycle induction and direct equalities in the six-term sequence
Vilin97 Sep 13, 2026
d8ae217
Use direct turn and positivity arguments in majorant arc nesting
Vilin97 Sep 13, 2026
92955cd
perf: reuse PFR endgame permutation bounds
Vilin97 Sep 13, 2026
0dcfb8c
Share the three-rank chain theorem with the cover reduction
Vilin97 Sep 13, 2026
7521e1e
Reuse coboundary linearity and global section gluing in skyscraper pr…
Vilin97 Sep 13, 2026
bf9733e
Share Mittag-Leffler refinement compatibility with both callers
Vilin97 Sep 13, 2026
8983fbf
Use explicit circle identities in the penultimate-point geometry
Vilin97 Sep 13, 2026
8cf5a0d
Reduce the exact rational regression certificates in the kernel
Vilin97 Sep 13, 2026
776692e
perf: simplify torsion PFR independence proofs
Vilin97 Sep 13, 2026
443a578
Use square-order lemmas in the maximal-gap tail geometry
Vilin97 Sep 13, 2026
fb0b72c
Use local offset facts directly in the global degree assembly
Vilin97 Sep 13, 2026
94149f5
Share gluing restrictions and use direct H0 cochain equalities
Vilin97 Sep 13, 2026
539d078
Reuse rank chains and square-order facts for coordinated majorants
Vilin97 Sep 13, 2026
104b1b8
Use square-order facts for the equal-third-rank diagonal argument
Vilin97 Sep 13, 2026
9ccd591
perf: kernel-check closed Runge-Kutta certificates
Vilin97 Sep 13, 2026
4a81267
Cancel the zero sum of squares in squared-distance positivity
Vilin97 Sep 13, 2026
0b9c446
Reduce finite enumeration completeness proofs in the kernel
Vilin97 Sep 13, 2026
bcb4945
Reuse matrix-unit identities in multiplication adjoint proof
Vilin97 Sep 13, 2026
1008e3a
Reuse cochain linearity and section bounds in the bounded trade
Vilin97 Sep 13, 2026
d2410e6
Use explicit winnability cases in the lifted strategy dichotomy
Vilin97 Sep 13, 2026
3a295bb
perf: reuse general Ext and zero-object proofs
Vilin97 Sep 13, 2026
b786acf
Restrict the lifted winning-condition projection simplification
Vilin97 Sep 13, 2026
587aaab
perf: apply the PFR chain rule without index transports
Vilin97 Sep 13, 2026
7d3139b
Expand matrix representation sums with the product identity
Vilin97 Sep 13, 2026
1b0dfe5
Use definitional equality in the short lifted-tree projection
Vilin97 Sep 13, 2026
2ebea77
Restrict the short strategy projection simplification
Vilin97 Sep 13, 2026
a2f464a
Reuse quotient and refinement identities in Dolbeault comparison
Vilin97 Sep 13, 2026
1fb1f9b
perf: share independent-copy distribution comparisons
Vilin97 Sep 13, 2026
63bca65
Apply zero criteria directly in the Abel Dolbeault bridge
Vilin97 Sep 13, 2026
f781c32
Use diagonal injectivity for scalar matrices
Vilin97 Sep 13, 2026
196cd52
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 13, 2026
0f49c22
Use list projection laws in the losing lift construction
Vilin97 Sep 13, 2026
7997b6b
Reuse chart and product identities in the Abel upgrade
Vilin97 Sep 13, 2026
01a8f1a
perf: simplify Ramanujan arithmetic proof bounds
Vilin97 Sep 13, 2026
08b3eb7
Use direct quotient and dimension identities for the Serre functional
Vilin97 Sep 13, 2026
052f2b7
Use explicit logical facts in the zero-player strategy proof
Vilin97 Sep 13, 2026
0f9dc52
Simplify the preimage calculations in Borel determinacy
Vilin97 Sep 13, 2026
26c1f1b
Reuse length preservation in the tree restriction functor
Vilin97 Sep 13, 2026
19851ee
Use prefix lemmas in the short-lift projection
Vilin97 Sep 13, 2026
aadad16
Merge upstream PR update and preserve module imports for matching pro…
Vilin97 Sep 13, 2026
c07200b
Merge commit 'aadad161fe4e93127377e6a4efc52c52136e4d30' into codex/mo…
Vilin97 Sep 13, 2026
18b161b
perf: share conjoined automaton edge witnesses
Vilin97 Sep 13, 2026
771f25a
Use player residual cancellation in the winning-prefix proof
Vilin97 Sep 13, 2026
f2b5f66
Reuse the limit-body projection theorem
Vilin97 Sep 13, 2026
c1ac397
Use direct membership facts in the closed-game proofs
Vilin97 Sep 13, 2026
a1aa4f4
Privatize matching implementation imports
Vilin97 Sep 13, 2026
aba13b9
perf: use direct bounds along automaton paths
Vilin97 Sep 13, 2026
10f4aa1
Simplify bounded cocycle kernel and restriction proofs
Vilin97 Sep 13, 2026
1eac46d
Use direct bounds in the matching potential estimate
Vilin97 Sep 13, 2026
e55f6bf
Remove an unused simp argument in the losing-prefix proof
Vilin97 Sep 13, 2026
ca7ceda
Use naturality directly in the system-lift correspondence proof
Vilin97 Sep 13, 2026
1df48b0
Compose the matching threshold bounds directly
Vilin97 Sep 13, 2026
63d1d7d
perf: use direct orbit and quotient cardinality proofs
Vilin97 Sep 13, 2026
54e9431
Use direct quotient equivalences in the adele filtration proofs
Vilin97 Sep 13, 2026
ede6e24
Share restriction calculations in Leray gluing proofs
Vilin97 Sep 13, 2026
e7b024e
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 13, 2026
b331104
Simplify finiteness and zero-quotient proofs for Riemann-Roch spaces
Vilin97 Sep 13, 2026
0a72656
Use direct restriction and quotient identities for Cech refinement
Vilin97 Sep 13, 2026
0a96125
perf: simplify Pebbling parameter budget estimates
Vilin97 Sep 13, 2026
b238c9c
Reuse modular lattice identities in the adele sandwich proofs
Vilin97 Sep 13, 2026
b6b3649
perf: share Rellich chartwise transport proofs
Vilin97 Sep 13, 2026
a339f5c
Share inclusion bounds in Cech differential proofs
Vilin97 Sep 13, 2026
28f6afc
Reconcile upstream projects with module headers; visibility repairs p…
Vilin97 Sep 13, 2026
3566aa3
Integrate upstream module conversion checkpoint
Vilin97 Sep 13, 2026
7708057
Share patch restriction identities in Cech injectivity
Vilin97 Sep 13, 2026
de6a313
Use quotient membership in window dimension proofs
Vilin97 Sep 13, 2026
e7ea4d0
Restore the generated module index header
Vilin97 Sep 13, 2026
ee3f81d
Share order bounds and compose Laurent-tail identities
Vilin97 Sep 13, 2026
e25b681
fix(QuantumParallelRepetition): complete module visibility
Vilin97 Sep 13, 2026
9b52a00
Reuse order bounds and interval sums in LatticeTriangle proofs
Vilin97 Sep 13, 2026
5b8fd52
perf(RellichKondrachov): simplify the chart range coercion proof
Vilin97 Sep 13, 2026
2411ec2
fix: complete MetricCodes module compatibility
Vilin97 Sep 13, 2026
6be8e3a
perf: guide residue-field torsion-free synthesis
Vilin97 Sep 13, 2026
119cefb
Compose existing bounds in LatticeTriangle estimates
Vilin97 Sep 13, 2026
c87169d
Simplify LatticeTriangle sum reindexing and telescoping proofs
Vilin97 Sep 13, 2026
0dc7314
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 13, 2026
71f616c
perf: simplify Weil differential finiteness proofs
Vilin97 Sep 13, 2026
b11edbc
Merge commit '0dc7314fec74a70a57dd63853d42d01c11c6e2e6' into codex/mo…
Vilin97 Sep 13, 2026
cca2b10
Merge commit '76d2444305cb934243f18108fe173b8a0fa0d718' into codex/mo…
Vilin97 Sep 13, 2026
3e8d4cd
Preserve module exports after the upstream index update
Vilin97 Sep 13, 2026
3854dd7
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 14, 2026
a6909d2
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 16, 2026
44cdb00
Merge main and preserve public module imports
Vilin97 Sep 17, 2026
9133881
Keep GapCVP on its validated legacy module boundaries
Vilin97 Sep 17, 2026
c9f9ae6
Retain a legacy root facade for independently imported projects
Vilin97 Sep 17, 2026
0343c20
Merge remote-tracking branch 'origin/main' into codex/module-import-o…
Vilin97 Sep 17, 2026
d2e24c6
Merge main and preserve removal of out-of-scope projects
Vilin97 Sep 17, 2026
75a8a90
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 17, 2026
137da92
Merge remote-tracking branch 'origin/main' into codex/module-import-o…
Vilin97 Sep 17, 2026
9115f3a
Merge Lean 4.34 main and reconcile module import conflicts
Vilin97 Sep 18, 2026
32d7ca9
Adapt optimized proofs to stable Mathlib import and adjoin APIs
Vilin97 Sep 18, 2026
6144b75
Restore explicit dependencies after Mathlib module splits
Vilin97 Sep 18, 2026
ef80c40
Import split countability and valuation APIs explicitly
Vilin97 Sep 18, 2026
1ddfa72
Merge remote-tracking branch 'origin/main' into pr-415
github-actions[bot] Sep 18, 2026
38e7308
Merge remote-tracking branch 'origin/codex/module-import-optimization…
Vilin97 Sep 18, 2026
ddc2a6a
Merge remote-tracking branch 'origin/main' into codex/module-import-o…
Vilin97 Sep 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions LeanPool.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6237,6 +6237,7 @@ import LeanPool.Sensitivity
import LeanPool.Sensitivity.Basic
import LeanPool.Sensitivity.Consequences
import LeanPool.Sensitivity.Defs
import LeanPool.Sensitivity.Huang
import LeanPool.Sensitivity.HuangBridge
import LeanPool.Sensitivity.Main
import LeanPool.Sensitivity.Multilinear
Expand All @@ -6250,6 +6251,8 @@ import LeanPool.SetTheory.Omega
import LeanPool.SetTheory.OrderTheory
import LeanPool.SetTheory.Ordinals
import LeanPool.SetTheory.Realize
import LeanPool.SetTheory.RealizeBuilders
import LeanPool.SetTheory.RealizeCore
import LeanPool.SetTheory.SimpAttr
import LeanPool.Shannon1948Formalization
import LeanPool.Shannon1948Formalization.Entropy
Expand Down
12 changes: 9 additions & 3 deletions LeanPool/ABCExceptions.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ Copyright (c) 2026 Bhavik Mehta, Arend Mellendijk. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Arend Mellendijk
-/
module

import LeanPool.ABCExceptions.ForMathlib
import LeanPool.ABCExceptions.Section2
import LeanPool.ABCExceptions.Section4
public import LeanPool.ABCExceptions.ForMathlib
public import LeanPool.ABCExceptions.Section2
public import LeanPool.ABCExceptions.Section4
import Mathlib.Algebra.Order.Floor.Semifield
import Mathlib.Analysis.SpecialFunctions.Pow.NNReal
import Mathlib.RingTheory.Radical.NatInt

/-!
# Exceptional Set in the abc Conjecture
Expand All @@ -19,6 +23,8 @@ Tags: number-theory, analytic-number-theory, abc-conjecture
MSC: 11D75, 11N37
-/

@[expose] public section

/-!
## Mathematical overview

Expand Down
8 changes: 6 additions & 2 deletions LeanPool/ABCExceptions/ForMathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ Copyright (c) 2026 Bhavik Mehta, Arend Mellendijk. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Arend Mellendijk
-/
module

import LeanPool.ABCExceptions.ForMathlib.Misc
import LeanPool.ABCExceptions.ForMathlib.RingTheory
public import LeanPool.ABCExceptions.ForMathlib.Misc
public import LeanPool.ABCExceptions.ForMathlib.RingTheory
import Mathlib.RingTheory.Radical.NatInt

/-!
# Support lemmas for ABC exceptions

Import-only index for Mathlib-adjacent support files used by the ABC exceptions
development.
-/

@[expose] public section
11 changes: 8 additions & 3 deletions LeanPool/ABCExceptions/ForMathlib/Misc.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@ Copyright (c) 2026 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
module

public import Mathlib.Order.Interval.Finset.Nat
public import Mathlib.Algebra.BigOperators.Group.Finset.Defs
public import Mathlib.Algebra.Order.SuccPred
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.Order.Ring.Nat
import Mathlib.Order.Interval.Finset.Nat
import Mathlib.Algebra.Order.Interval.Finset.SuccPred
import Mathlib.Data.Nat.SuccPred
import Mathlib.Algebra.Order.Ring.Nat
import Mathlib.Data.Finset.Powerset
import Mathlib.Data.Nat.SuccPred

/-!
# LeanPool.ABCExceptions.ForMathlib.Misc
-/

@[expose] public section

noncomputable section

open Set
Expand Down
6 changes: 5 additions & 1 deletion LeanPool/ABCExceptions/ForMathlib/RingTheory.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ Copyright (c) 2026 Bhavik Mehta, Arend Mellendijk. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Arend Mellendijk
-/
module

import LeanPool.ABCExceptions.ForMathlib.RingTheory.Radical
public import LeanPool.ABCExceptions.ForMathlib.RingTheory.Radical
import Mathlib.RingTheory.Radical.NatInt

/-!
# Ring theory support for ABC exceptions

Import-only index for ring-theoretic support files used by the ABC exceptions
development.
-/

@[expose] public section
14 changes: 8 additions & 6 deletions LeanPool/ABCExceptions/ForMathlib/RingTheory/Radical.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ Copyright (c) 2026 Bhavik Mehta, Arend Mellendijk. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Arend Mellendijk
-/
module

import Mathlib.Algebra.GCDMonoid.Nat
import Mathlib.Algebra.Squarefree.Basic
import Mathlib.Data.Nat.PrimeFin
import Mathlib.RingTheory.Coprime.Lemmas
public import Mathlib.RingTheory.Radical.Basic

public meta import Aesop.BuiltinRules
public import Mathlib.Tactic.Positivity.Core
import Mathlib.RingTheory.Radical.NatInt
import Mathlib.RingTheory.UniqueFactorizationDomain.Nat

/-!
# LeanPool.ABCExceptions.ForMathlib.RingTheory.Radical
-/

@[expose] public section

namespace UniqueFactorizationMonoid

open Qq Lean Mathlib.Meta Finset
Expand All @@ -25,7 +27,7 @@ open Positivity
attribute [local instance] monadLiftOptionMetaM in
/-- Positivity extension for radical. Proves radicals are nonzero. -/
@[positivity UniqueFactorizationMonoid.radical _]
def evalRadical : PositivityExt where eval {u α} _ _ e := do
meta def evalRadical : PositivityExt where eval {u α} _ _ e := do
match e with
| ~q(@radical _ $inst $inst' $inst'' $n) =>
have _ := ← synthInstanceQ q(Nontrivial $α)
Expand Down
39 changes: 22 additions & 17 deletions LeanPool/ABCExceptions/Section2.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,26 @@ Copyright (c) 2026 Bhavik Mehta, Arend Mellendijk. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Arend Mellendijk
-/
module

import Mathlib.Analysis.SpecialFunctions.Log.Base
import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics
import Mathlib.Algebra.Order.Floor.Semifield
import Mathlib.Data.Nat.GCD.BigOperators
import Mathlib.Data.Nat.Squarefree
import Mathlib.Algebra.Order.Star.Real
import Mathlib.Order.CompletePartialOrder
public import Mathlib.Analysis.SpecialFunctions.Log.Base
public import Mathlib.Order.CompletePartialOrder

public import Mathlib.RingTheory.Radical.Basic
public import Mathlib.RingTheory.UniqueFactorizationDomain.Nat
import LeanPool.ABCExceptions.ForMathlib.RingTheory.Radical
import Mathlib.Algebra.Order.Floor.Semifield
import Mathlib.Algebra.Order.Star.Real
import Mathlib.Analysis.SpecialFunctions.Pow.Asymptotics
import Mathlib.Data.Nat.GCD.BigOperators
import Mathlib.RingTheory.Radical.NatInt

/-!
# LeanPool.ABCExceptions.Section2
-/

@[expose] public section

open Finset UniqueFactorizationMonoid

section
Expand Down Expand Up @@ -52,9 +57,8 @@ theorem Finset.mem_abcExceptionsBelow (ε : ℝ) (X : ℕ) (a b c : ℕ) :
@[gcongr]
lemma Finset.abcExceptionsBelow_mono_right {ε : ℝ} {X Y : ℕ} (hXY : X ≤ Y) :
abcExceptionsBelow ε X ⊆ abcExceptionsBelow ε Y := by
rintro ⟨a, b, c⟩
simp +contextual
omega
exact Finset.filter_subset_filter _
(Finset.Icc_subset_Icc le_rfl ⟨hXY, hXY, hXY⟩)

@[gcongr]
lemma Finset.abcExceptionsBelow_mono_left {ε₁ ε₂ : ℝ} {X : ℕ} (hε : ε₁ ≤ ε₂) :
Expand Down Expand Up @@ -344,7 +348,7 @@ This is $$S^*_{α,β,γ}(X)$$ in the paper and blueprint.
noncomputable def refinedCountTriplesStar (α β γ : ℝ) (X : ℕ) : ℕ := #(dyadicPoints α β γ X)

/-- The set over which we take the supremum in lemma 2.2. -/
private noncomputable def indexSet (ε : ℝ) (X : ℕ) : Finset (ℕ × ℕ × ℕ × ℕ) :=
noncomputable def indexSet (ε : ℝ) (X : ℕ) : Finset (ℕ × ℕ × ℕ × ℕ) :=
(Finset.Icc 0 (Nat.log 2 X)) ×ˢ (Finset.Icc 0 (Nat.log 2 X)) ×ˢ
(Finset.Icc 0 (Nat.log 2 X)) ×ˢ (Finset.Icc 1 (Nat.log 2 X+1)) |>.filter fun ⟨i, j, k, n⟩ ↦
i + j + k ≤ (1 - ε) * n
Expand Down Expand Up @@ -711,7 +715,7 @@ private theorem hd_pos : 0 < d := by
rw [hd, Nat.floor_pos]
nlinarith only [two_lt_eps_inv]

private instance hd_ne_zero : NeZero d := by
instance hd_ne_zero : NeZero d := by
simp_rw [neZero_iff]
apply ne_of_gt hd_pos

Expand Down Expand Up @@ -907,7 +911,8 @@ private theorem c_le_X_pow : c ≤ (X : ℝ) ^ ε := calc
· norm_cast
linarith

private noncomputable def KIndex : Fin d := Fin.ofNat d (K - 1)
/-- The distinguished index `K - 1`, viewed in `Fin d`. -/
noncomputable def KIndex : Fin d := Fin.ofNat d (K - 1)

@[simp]
private theorem KIndex_val_add_one : KIndex.val + 1 = K := by
Expand Down Expand Up @@ -1177,12 +1182,12 @@ theorem exists_nice_factorization'
· exact c_le_pow
gcongr
· norm_cast
· linarith [sq_nonneg ε]
· linarith only [sq_nonneg ε]
· rw [Nat.le_floor_iff]
· apply c_le_pow.trans
gcongr _ ^ ?_
· norm_cast
· nlinarith
· nlinarith only [hε, hε_pos]
positivity
· rw [sub_eq_add_neg, Real.rpow_add, Real.rpow_neg, mul_inv_le_iff₀]
· apply hsim.1.trans (rad_n_le.trans _)
Expand Down Expand Up @@ -1359,7 +1364,7 @@ theorem B_to_triple_surjOn {α β γ : ℝ} (x : ℕ) (ε : ℝ)
· simp only [Real.rpow_one]
trans 2 * (c₂ *(∏ i, (w i : ℝ) ^ (i.val + 1)))
· norm_cast
simp_all
rwa [← c_eq_c_mul_prod]
· rw [← mul_assoc, mul_comm 2, mul_assoc]
gcongr
· apply Real.rpow_pos_of_pos
Expand Down Expand Up @@ -1405,7 +1410,7 @@ theorem B_to_triple_surjOn {α β γ : ℝ} (x : ℕ) (ε : ℝ)
· apply fun i ↦ (similar_pow_log (hu_pos i))
· apply fun i ↦ (similar_pow_log (hv_pos i))
· apply fun i ↦ (similar_pow_log (hw_pos i))
· simp_all
· rwa [← a_eq_c_mul_prod, ← b_eq_c_mul_prod, ← c_eq_c_mul_prod]
· apply coprime_mul_prod_aux _ _ (a_eq_c_mul_prod ▸ b_eq_c_mul_prod ▸ hab) <;> omega
· apply coprime_mul_prod_aux _ _ (a_eq_c_mul_prod ▸ c_eq_c_mul_prod ▸ hac) <;> omega
· apply coprime_mul_prod_aux _ _ (b_eq_c_mul_prod ▸ c_eq_c_mul_prod ▸ hbc) <;> omega
Expand Down
26 changes: 19 additions & 7 deletions LeanPool/ABCExceptions/Section4.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ Copyright (c) 2026 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
module

import Mathlib.Analysis.RCLike.Basic
public import Mathlib.Algebra.BigOperators.Group.Finset.Defs
public import Mathlib.Algebra.Order.Archimedean.Real.Basic
public import Mathlib.Order.Interval.Finset.Nat
meta import Lean.Meta.Tactic.NormCast
import LeanPool.ABCExceptions.ForMathlib.Misc
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Algebra.CharP.Defs
import Mathlib.Algebra.Order.BigOperators.Expect
import Mathlib.Algebra.Order.Star.Real
import Mathlib.Analysis.Normed.Group.Basic
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.NormNum.BigOperators
import LeanPool.ABCExceptions.ForMathlib.Misc

/-!
# Section 4
Expand All @@ -18,6 +27,8 @@ parts of the paper.

-/

@[expose] public section

noncomputable section

open Finset
Expand Down Expand Up @@ -1010,7 +1021,7 @@ lemma bound_4_point_24 (hd : 6 ≤ d) (hba : b 3 ≤ a 3) :
have h4 : 0 ≤ min (a 4) (b 4) := le_min (ha.nonneg _) (hb.nonneg _)
have h5 : 0 ≤ min (a 5) (b 5) := le_min (ha.nonneg _) (hb.nonneg _)
have h6 : 0 ≤ min (a 6) (b 6) := le_min (ha.nonneg _) (hb.nonneg _)
norm_num [- min_add_max, ha.zero, hb.zero, hba]
simp [-min_add_max, ha.zero, hb.zero, hba]
linear_combination 2 * h4 + 3 * h5 + 4 * h6

include ha hb h44 htab hg in
Expand Down Expand Up @@ -1118,7 +1129,8 @@ lemma GeometryBound.s21_application_basic
have h₁₂₃ : {1, 2, 3} ⊆ Finset.Icc 1 d := by simp [Finset.insert_subset_iff]; omega
have h₁₂₄ : {1, 2, 4} ⊆ Finset.Icc 1 d := by simp [Finset.insert_subset_iff]; omega
have h₁₂₃₄ : {1, 2, 3, 4} ⊆ Finset.Icc 1 d := by simp [Finset.insert_subset_iff]; omega
have : ν < ε + a 3 + b 3 + c 4 + ∑ i ∈ Icc 5 d, (b i + c i) + 0 ⊔ (∑ x ∈ Icc 1 d, x * a x +
have hbounds :
ν < ε + a 3 + b 3 + c 4 + ∑ i ∈ Icc 5 d, (b i + c i) + 0 ⊔ (∑ x ∈ Icc 1 d, x * a x +
(b 1 + c 1) + 2 * (b 2 + c 2) - 3 * (a 3 - c 3) + (4 * b 4) - 1) ∧
ν < ε + a 3 + b 3 + b 4 + ∑ i ∈ Icc 5 d, (b i + c i) + 0 ⊔ (∑ x ∈ Icc 1 d, x * a x +
(b 1 + c 1) + 2 * (b 2 + c 2) - 3 * (a 3 - c 3) + (4 * c 4) - 1) := by
Expand All @@ -1136,10 +1148,10 @@ lemma GeometryBound.s21_application_basic
simp only [Finset.sum_add_distrib]
simp [sum_range, Fin.sum_univ_five, hb.zero, hc.zero] at h₁ h₂
ring_nf at h₁ h₂ ⊢
simp_all
exact ⟨h₁, h₂⟩
obtain h4 | h4 := le_total (b 4) (c 4)
· simp_all
· simp_all
· simpa only [min_eq_left h4, max_eq_right h4] using hbounds.2
· simpa only [min_eq_right h4, max_eq_left h4] using hbounds.1

lemma min_le_half_add {x y : ℝ} : min x y ≤ (x + y) / 2 := by
linarith [min_le_left x y, min_le_right x y]
Expand Down
10 changes: 8 additions & 2 deletions LeanPool/AFormalizationOfBorelDeterminacyInLean.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ Copyright (c) 2026 Sven Manthe. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sven Manthe
-/
module

import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Game.Undetermined
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Proof.BorelDeterminacy

public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Game.Undetermined
import Mathlib.CategoryTheory.Category.Init

/-!
# A formalization of Borel determinacy in Lean
Expand All @@ -18,6 +22,8 @@ Tags: descriptive-set-theory, game-theory, determinacy
MSC: 03E15, 54H05, 91A44
-/

@[expose] public section

/-!
## Mathematical overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ Copyright (c) 2026 Sven Manthe. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sven Manthe
-/
module

import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Choquet
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.General
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Meager
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.RegularOpen
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Choquet
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.General
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Meager
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.RegularOpen
import Mathlib.CategoryTheory.Category.Init

/-!
# Applications index

Import-only index for the application modules in the Borel determinacy
formalization.
-/

@[expose] public section
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,25 @@ Copyright (c) 2026 Sven Manthe. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sven Manthe
-/
module

import LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Meager
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Proof.BorelDeterminacy
public import LeanPool.AFormalizationOfBorelDeterminacyInLean.Game.Games
import LeanPool.AFormalizationOfBorelDeterminacyInLean.Basic.Meta
import Mathlib.Algebra.Order.Module.Field
import Mathlib.CategoryTheory.Category.Init
import Mathlib.Data.EReal.Inv
import Mathlib.Tactic.Measurability.Init
import Mathlib.Topology.Algebra.InfiniteSum.Order
import Mathlib.Topology.MetricSpace.Bounded

/-!
# LeanPool.AFormalizationOfBorelDeterminacyInLean.Applications.Choquet

Auxiliary declarations for the Borel determinacy formalization.
-/

@[expose] public section


open GaleStewartGame
open Descriptive
Expand Down
Loading
Loading