Repository navigation
Update lattice Dirac derivation to V3.2 - #1041
Conversation
Vilin97
left a comment
There was a problem hiding this comment.
Approved on source at 542c6342. Required Lean CI is running.
- Mathematics. The exact finite-C19 scalar symbol has a unique zero in the fundamental Brillouin box. The explicit π-axis witness separates that scalar spectrum from the square of the continuum-oriented Clifford operator and obstructs the stated odd, axis-periodic sum-of-squares class. V3.2 also adds a copy-mixing action, a two-coordinate rest-spin commutant calculation, and fourth-order isotropy and sixth-order anisotropy results. The cumulative certificate retains the V3.1 proofs. Spectrum · Brillouin-box theorem
- Card correction. The card now identifies the zero census as a scalar-symbol result and states the proved rest-energy formula with the conversion factor supplied as an input. The scale theorem exhibits two choices that give different energies. These are documentation changes, and the Lean code is unchanged. Scale theorem · Upstream scope
- Import and provenance. The C19 results extend the pool’s V3.1 development, and I found no equivalent headline in the pinned dependencies. The 17 added modules correspond to the pinned V3.2 release. The port retains the MIT permission text and author credit, records mixed provenance, and exposes the complete project through its generated import list. Several generated declaration docstrings split words and would benefit from semantic descriptions in a follow-up. Upstream release · Pinned license
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Medium impact] The PR expands one mathematical project’s public Lean interface with a cumulative V3.2 result. No blocking code issue was found; two proof-maintenance cleanups are recommended. FindingsSummaryUpdates the project entry and card to the cumulative V3.2 certificate.
External source fidelity, upstream completeness, and the pinned upstream license were not independently verified. Full Mathlib/Tau Ceti novelty comparison and compile-cost measurements were unavailable. No runtime or build verification was performed. Reviews (1) · Last reviewed commit: "State the lattice Dirac energy conversio..." · Reviewed by Greptile |
Proof profile (new / modified Lean files)
This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget. A base→head comparison was attempted but its measurements are unavailable (see the run log); modified files are omitted from the tables below. Statement changes✅ No statements changed — all 0 tracked declarations across 2 modified files kept their type; only proofs / definition bodies changed. Statements are compared textually against the merge base (comments and whitespace ignored; Total heartbeats: 1,095,006 maxHeartbeats units across 17 valid files (2,575 added LOC). Sum of Count-heartbeats wall-clock total: 130.12 s. Repeated import cost inside Heartbeat values sum disjoint root command traces with LOC counts added lines in the profiled Lean files from this PR diff.
Aggregate phase totals
Slowest changed modules (from
|
| Changed module | Lake time |
|---|---|
LeanPool.LatticeDiracDerivation.V32LatticeArtifacts |
13.00 s |
LeanPool.LatticeDiracDerivation.V32FrameworkLock |
5.10 s |
LeanPool.LatticeDiracDerivation.V32IrreducibleParticle |
5.10 s |
LeanPool.LatticeDiracDerivation.V32GlobalSpectrum |
4.80 s |
LeanPool.LatticeDiracDerivation.V32BrillouinZoneAudit |
4.40 s |
LeanPool.LatticeDiracDerivation.V32CopyClassification |
3.40 s |
LeanPool.LatticeDiracDerivation.V32DiscreteSymmetries |
3.20 s |
LeanPool.LatticeDiracDerivation.V32SpectralProjectors |
2.90 s |
LeanPool.LatticeDiracDerivation.V32FiniteLorentz |
2.60 s |
LeanPool.LatticeDiracDerivation.V32ScaleIdentifiability |
1.90 s |
LeanPool.LatticeDiracDerivation.V32ContinuumOperatorConvergence |
1.70 s |
LeanPool.LatticeDiracDerivation.V32Robustness |
1.70 s |
Per-file `lean --profile` output
LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean
import took 2.85s
simp took 740ms
simp took 394ms
simp took 421ms
cumulative profiling times:
attribute application 0.0544ms
blocked (unaccounted) 2.1s
compilation (IR) 0.363ms
compilation (LCNF base) 3.32ms
compilation (LCNF impure) 2.74ms
compilation (LCNF mono) 3.83ms
congr simp thm 2.43ms
declTypeLinter 2.12ms
elaboration 15ms
fix level params 0.391ms
import 2.85s
initialization 25.9ms
instantiate metavars 1.36ms
interpretation 373ms
let-to-have transformation 0.053ms
linting 10.6ms
module linting 0.0286ms
norm_num 1.34ms
parsing 3.53ms
process pre-definitions 5.03ms
ring 18.3ms
share common exprs 6.19ms
simp 1.73s
tactic execution 34.2ms
tacticAnalysis 2.1ms
type checking 51.7ms
typeclass inference 290ms
real 5.90
user 3.54
sys 1.03
LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean
import took 959ms
cumulative profiling times:
attribute application 0.0214ms
declTypeLinter 1.4ms
elaboration 10.3ms
fix level params 0.00621ms
import 959ms
initialization 31.4ms
instantiate metavars 0.00413ms
interpretation 155ms
let-to-have transformation 0.0139ms
linting 2.16ms
module linting 0.0188ms
parsing 1.58ms
process pre-definitions 0.122ms
share common exprs 0.0094ms
tacticAnalysis 1.4ms
type checking 2.39ms
typeclass inference 6.14ms
real 1.89
user 1.09
sys 0.90
LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean
import took 939ms
cumulative profiling times:
attribute application 0.014ms
declTypeLinter 1.43ms
elaboration 4.27ms
fix level params 0.00583ms
import 939ms
initialization 25.1ms
instantiate metavars 0.00204ms
interpretation 148ms
let-to-have transformation 0.013ms
linting 1.76ms
module linting 0.015ms
parsing 1.28ms
process pre-definitions 0.102ms
share common exprs 0.0138ms
tacticAnalysis 1.27ms
type checking 0.654ms
real 1.86
user 1.04
sys 0.90
LeanPool/LatticeDiracDerivation/V32ContinuumOperatorConvergence.lean
import took 908ms
cumulative profiling times:
attribute application 0.015ms
declTypeLinter 1.65ms
elaboration 12ms
fix level params 0.00568ms
import 908ms
initialization 32.5ms
instantiate metavars 0.00215ms
interpretation 150ms
let-to-have transformation 0.0114ms
linting 2.03ms
module linting 0.0251ms
parsing 1.64ms
process pre-definitions 0.104ms
share common exprs 0.00926ms
tacticAnalysis 1.4ms
type checking 2.57ms
typeclass inference 9.01ms
real 1.87
user 1.07
sys 0.89
LeanPool/LatticeDiracDerivation/V32CopyClassification.lean
import took 916ms
cumulative profiling times:
attribute application 0.146ms
blocked (unaccounted) 1.25s
compilation (IR) 0.923ms
compilation (LCNF base) 8.48ms
compilation (LCNF impure) 3.98ms
compilation (LCNF mono) 7.23ms
congr simp thm 2.41ms
declTypeLinter 4.11ms
elaboration 44.9ms
fix level params 2.23ms
import 916ms
initialization 25.1ms
instantiate metavars 11ms
interpretation 226ms
let-to-have transformation 0.0787ms
linting 8.24ms
module linting 0.0334ms
norm_num 4.75ms
parsing 4.69ms
process pre-definitions 24ms
ring 132ms
share common exprs 47ms
simp 1.02s
tactic execution 46.3ms
tacticAnalysis 3.09ms
type checking 109ms
typeclass inference 73.8ms
real 3.11
user 2.68
sys 0.90
LeanPool/LatticeDiracDerivation/V32DiscreteSymmetries.lean
import took 882ms
simp took 130ms
simp took 149ms
cumulative profiling times:
attribute application 0.136ms
blocked (unaccounted) 1.19s
compilation (IR) 0.629ms
compilation (LCNF base) 7.98ms
compilation (LCNF impure) 2.44ms
compilation (LCNF mono) 4.57ms
congr simp thm 10.8ms
declTypeLinter 4.76ms
elaboration 44.5ms
fix level params 2.8ms
import 882ms
initialization 25.2ms
instantiate metavars 17.2ms
interpretation 282ms
let-to-have transformation 0.115ms
linting 11.1ms
module linting 0.0154ms
norm_num 1.65ms
parsing 5.46ms
process pre-definitions 24.2ms
ring 52.4ms
share common exprs 26.6ms
simp 2.08s
tactic execution 90.8ms
tacticAnalysis 4.94ms
type checking 190ms
typeclass inference 540ms
real 3.02
user 4.21
sys 0.92
LeanPool/LatticeDiracDerivation/V32FiniteLorentz.lean
import took 898ms
cumulative profiling times:
attribute application 0.0514ms
blocked (unaccounted) 1.23s
compilation (IR) 0.123ms
compilation (LCNF base) 1.11ms
compilation (LCNF impure) 0.547ms
compilation (LCNF mono) 0.91ms
congr simp thm 4.15ms
declTypeLinter 2.46ms
elaboration 48.4ms
fix level params 1.9ms
import 898ms
initialization 30.4ms
instantiate metavars 20ms
interpretation 802ms
let-to-have transformation 0.0449ms
linting 5.3ms
module linting 0.0209ms
norm_num 23.2ms
parsing 3.56ms
process pre-definitions 25.8ms
ring 5.17ms
share common exprs 59.4ms
simp 290ms
tactic execution 35.4ms
tacticAnalysis 2.2ms
type checking 53.2ms
typeclass inference 68.1ms
real 3.00
user 2.29
sys 0.85
LeanPool/LatticeDiracDerivation/V32FrameworkLock.lean
import took 937ms
cumulative profiling times:
attribute application 0.0176ms
declTypeLinter 2.12ms
elaboration 7.19ms
fix level params 0.00719ms
import 937ms
initialization 26.6ms
instantiate metavars 0.00192ms
interpretation 154ms
let-to-have transformation 0.0135ms
linting 1.61ms
module linting 0.0228ms
parsing 1.29ms
process pre-definitions 0.106ms
share common exprs 0.0118ms
tacticAnalysis 1.42ms
type checking 1.24ms
typeclass inference 7.31ms
real 1.88
user 1.09
sys 0.87
LeanPool/LatticeDiracDerivation/V32GlobalSpectrum.lean
import took 913ms
simp took 2.84s
type checking took 121ms
simp took 332ms
simp took 291ms
cumulative profiling times:
attribute application 0.276ms
blocked (unaccounted) 3.51s
compilation (IR) 0.764ms
compilation (LCNF base) 7.96ms
compilation (LCNF impure) 5.2ms
compilation (LCNF mono) 7.14ms
congr simp thm 6.51ms
declTypeLinter 7.83ms
elaboration 85.4ms
fix level params 3.16ms
import 913ms
initialization 25.8ms
instantiate metavars 1.95ms
interpretation 337ms
let-to-have transformation 0.259ms
linting 20.8ms
module linting 0.0277ms
norm_num 8.6ms
parsing 12.3ms
process pre-definitions 26.9ms
ring 84.2ms
share common exprs 60.4ms
simp 3.72s
tactic execution 71.3ms
tacticAnalysis 5.55ms
type checking 216ms
typeclass inference 635ms
real 5.50
user 6.23
sys 0.98
LeanPool/LatticeDiracDerivation/V32IrreducibleParticle.lean
import took 935ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_NormNum_Core___elabRules_Mathlib_Tactic_normNum_1._boxed took 168ms
cumulative profiling times:
attribute application 0.114ms
blocked (unaccounted) 306ms
compilation (IR) 0.618ms
compilation (LCNF base) 6.99ms
compilation (LCNF impure) 2.57ms
compilation (LCNF mono) 4.45ms
congr simp thm 1.17ms
declTypeLinter 3.32ms
elaboration 24.2ms
fix level params 0.429ms
import 935ms
initialization 32.1ms
instantiate metavars 1.85ms
interpretation 387ms
let-to-have transformation 0.0649ms
linting 9.57ms
module linting 0.0242ms
norm_num 22.2ms
parsing 4.52ms
process pre-definitions 4.77ms
ring 2.9ms
share common exprs 3.6ms
simp 87ms
tactic execution 29.8ms
tacticAnalysis 2.1ms
type checking 35.9ms
typeclass inference 61.1ms
real 2.20
user 1.60
sys 0.91
LeanPool/LatticeDiracDerivation/V32LatticeArtifacts.lean
import took 909ms
simp took 3.02s
simp took 1.23s
simp took 2.69s
simp took 3.34s
simp took 3.26s
simp took 3.14s
simp took 2.81s
simp took 3.13s
simp took 3.27s
simp took 3.09s
simp took 2.78s
simp took 3.19s
simp took 3.29s
simp took 3.26s
simp took 3.35s
simp took 3.31s
simp took 3.37s
simp took 2.39s
simp took 1.06s
ring took 247ms
share common exprs took 194ms
type checking took 132ms
simp took 2.33s
type checking took 140ms
simp took 4.55s
type checking took 273ms
cumulative profiling times:
attribute application 0.344ms
blocked (unaccounted) 34.4s
compilation (IR) 10.8ms
compilation (LCNF base) 25.8ms
compilation (LCNF impure) 19.2ms
compilation (LCNF mono) 54.7ms
congr simp thm 48.5ms
declTypeLinter 10ms
elaboration 230ms
fix level params 24.6ms
import 909ms
initialization 30.5ms
instantiate metavars 17.6ms
interpretation 310ms
let-to-have transformation 0.449ms
linting 21.3ms
module linting 0.0161ms
norm_num 28.6ms
parsing 13.1ms
process pre-definitions 178ms
ring 356ms
share common exprs 320ms
simp 62.1s
tactic execution 75.6ms
tacticAnalysis 6.08ms
type checking 885ms
typeclass inference 1.65s
real 11.81
user 25.03
sys 1.02
LeanPool/LatticeDiracDerivation/V32NonrelativisticLimit.lean
import took 974ms
cumulative profiling times:
attribute application 0.0751ms
blocked (unaccounted) 142ms
compilation (IR) 0.086ms
compilation (LCNF base) 1.2ms
compilation (LCNF impure) 0.251ms
compilation (LCNF mono) 0.367ms
congr simp thm 0.852ms
declTypeLinter 2.72ms
elaboration 45.4ms
fix level params 0.674ms
import 974ms
initialization 27.2ms
instantiate metavars 3.18ms
interpretation 367ms
let-to-have transformation 0.101ms
linting 15.8ms
module linting 0.0174ms
norm_num 7.86ms
parsing 5.09ms
process pre-definitions 6.54ms
ring 32.7ms
share common exprs 11.8ms
simp 11.3ms
tactic execution 42.5ms
tacticAnalysis 2.16ms
type checking 48.7ms
typeclass inference 192ms
real 2.21
user 1.74
sys 0.93
LeanPool/LatticeDiracDerivation/V32PacketBenchmarks.lean
import took 975ms
cumulative profiling times:
attribute application 0.0149ms
declTypeLinter 1.22ms
elaboration 4.38ms
fix level params 0.00568ms
import 975ms
initialization 31.6ms
instantiate metavars 0.00218ms
interpretation 155ms
let-to-have transformation 0.0134ms
linting 1.4ms
module linting 0.0198ms
parsing 0.961ms
process pre-definitions 0.107ms
share common exprs 0.00799ms
tacticAnalysis 2.04ms
type checking 0.457ms
typeclass inference 0.155ms
real 1.95
user 1.11
sys 0.93
LeanPool/LatticeDiracDerivation/V32Robustness.lean
import took 983ms
cumulative profiling times:
attribute application 0.046ms
blocked (unaccounted) 417ms
compilation (IR) 0.271ms
compilation (LCNF base) 2.15ms
compilation (LCNF impure) 1.01ms
compilation (LCNF mono) 1.54ms
congr simp thm 1.22ms
declTypeLinter 2.47ms
elaboration 20.3ms
fix level params 0.319ms
import 983ms
initialization 29.7ms
instantiate metavars 0.735ms
interpretation 494ms
let-to-have transformation 0.0365ms
linting 3.91ms
module linting 0.0139ms
norm_num 35.9ms
parsing 3.47ms
process pre-definitions 2.92ms
share common exprs 2.79ms
simp 1.11ms
tactic execution 12.3ms
tacticAnalysis 1.45ms
type checking 16.3ms
typeclass inference 38.8ms
real 2.42
user 1.60
sys 0.95
LeanPool/LatticeDiracDerivation/V32ScaleIdentifiability.lean
import took 981ms
cumulative profiling times:
attribute application 0.127ms
blocked (unaccounted) 164ms
compilation (IR) 0.348ms
compilation (LCNF base) 3.73ms
compilation (LCNF impure) 1.44ms
compilation (LCNF mono) 2.48ms
congr simp thm 1.67ms
declTypeLinter 5.46ms
elaboration 33.9ms
fix level params 0.505ms
import 981ms
initialization 29.5ms
instantiate metavars 3.55ms
interpretation 337ms
let-to-have transformation 0.128ms
linting 7.96ms
module linting 0.0329ms
norm_num 31.5ms
parsing 5.59ms
process pre-definitions 6.36ms
ring 2.99ms
share common exprs 3.48ms
simp 152ms
tactic execution 18.6ms
tacticAnalysis 4.19ms
type checking 43.8ms
typeclass inference 61.1ms
real 2.14
user 1.64
sys 0.93
LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean
import took 956ms
simp took 124ms
simp took 121ms
simp took 111ms
simp took 145ms
simp took 121ms
simp took 129ms
simp took 120ms
simp took 155ms
simp took 107ms
cumulative profiling times:
attribute application 0.156ms
blocked (unaccounted) 1.12s
compilation (IR) 0.129ms
compilation (LCNF base) 0.916ms
compilation (LCNF impure) 0.459ms
compilation (LCNF mono) 0.862ms
congr simp thm 5.52ms
declTypeLinter 4.99ms
elaboration 138ms
fix level params 5.76ms
import 956ms
initialization 26.5ms
instantiate metavars 29.8ms
interpretation 374ms
let-to-have transformation 0.181ms
linting 150ms
module linting 0.0173ms
norm_num 23.8ms
parsing 13.4ms
process pre-definitions 67.8ms
ring 308ms
share common exprs 182ms
simp 1.48s
tactic execution 112ms
tacticAnalysis 3.92ms
type checking 259ms
typeclass inference 257ms
real 3.19
user 4.32
sys 0.96
LeanPool/LatticeDiracDerivation/V32TransportObservables.lean
import took 955ms
cumulative profiling times:
attribute application 0.176ms
blocked (unaccounted) 135ms
compilation (IR) 0.0605ms
compilation (LCNF base) 0.833ms
compilation (LCNF impure) 0.252ms
compilation (LCNF mono) 0.378ms
congr simp thm 1ms
declTypeLinter 3.51ms
elaboration 46.2ms
fix level params 0.506ms
import 955ms
initialization 26.4ms
instantiate metavars 1.44ms
interpretation 351ms
let-to-have transformation 0.0963ms
linting 14.8ms
module linting 0.0206ms
norm_num 3.56ms
parsing 4.99ms
process pre-definitions 5.49ms
ring 14.5ms
share common exprs 7.42ms
simp 124ms
tactic execution 19.1ms
tacticAnalysis 2.78ms
type checking 31ms
typeclass inference 195ms
real 2.17
user 1.72
sys 0.93
Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.
|
Approval stands at
The current proofs passed Lean CI. Keeping the upstream proof structure for this import also keeps the sources easier to compare with the cited release. |
|
Addressed both Greptile P2 comments in commit 1aa28b9:\n\n- consolidated the 18 repetitive C19 fourth-order helper lemmas into one bounded in_cases/normalization proof;\n- factored the repeated spectral-projector Hamiltonian calculation into one shared linearity lemma and reused it in idempotence, orthogonality, and eigenbranch proofs;\n- also repaired the generated projector docstrings.\n\nLocal verification passed for the cumulative V3.2 target (V32CompleteFreeFermion.lean) and the exact LeanPool targets. The current PR checks are passing or intentionally skipped. |
Source
Updates the existing
lattice-dirac-derivationproject from the accepted V3.1 snapshot to the cumulative V3.2 release:https://github.com/gpartin/LeanDiracDerivation/tree/e2161e0936f181d4a5a9d49963a666f7cea42502
The upstream V3.2 release was merged through gpartin/LeanDiracDerivation#74.
What V3.2 adds
The native reciprocal C19 action, vacuum, and V3.1 free-Dirac/Lorentz-spin chain are unchanged. This update adds machine-checked modules for:
The update deliberately retains the negative/scope results: it does not call the continuum Clifford operator a global exact finite-C19 square root, does not identify either internal copy as a physical electron, and does not infer 0.511 MeV from the native mass.
Provenance
The project card remains
provenance: mix: G. D. Partin directed and reviewed the mathematical development; AI agents assisted with implementation, porting, and auditing.Local verification
Run against current LeanPool
mainand Lean 4.36.0:lake build LeanPool.LatticeDiracDerivation.Importslake exe runLinter LeanPool.LatticeDiracDerivation.Importslake exe lint-style LeanPool.LatticeDiracDerivation.Importsscripts/project-indexes.py --module --checkpython -m lean_pool.quality --repo .. --static-onlyAll passed. The full quality declaration/axiom subprocess produced no finding; on this Windows host its shell wrapper remained open after the Python and Lean child processes exited, so CI remains the authoritative full-repository execution.