Repository navigation
Update lattice Dirac derivation to V3.4 - #1045
Conversation
|
Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict. [Medium impact] No blocking issue was found in the revised card or the full-PR rule check. SummaryThe PR extends the lattice Dirac project through V3.4 with covariant spinors, spin sums, helicity projectors, the nonforward Gordon identity, and the free resolvent decomposition.
Reviews (2) · Last reviewed commit: "Specify the outer products in the covari..." · 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✅ No statements changed — all 19 tracked declarations across 3 modified files kept their type; only proofs / definition bodies changed. Also: 1 declaration added, 0 removed. A reorganization moves declarations between files, which shows up here as an add in one file and a remove in another. ➕ Declarations added (1)
Statements are compared textually against the merge base (comments and whitespace ignored; Compile cost of modified files — base → headHeartbeats: 73,764 → 32,766 (-40,998, -55.6%). Commands: 25 → 26. Per-file wall sum: 13.3 s → 12.5 s (-6.0%). Wall clock is measured under parallel load and is noisy; heartbeats are deterministic and are the regression signal. Files: 1 compared — 1 cheaper, 0 costlier, 0 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
New files — absolute profileTotal heartbeats: 714,410 maxHeartbeats units across 17 valid files (2,212 added LOC). Sum of Count-heartbeats wall-clock total: 97.39 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.V34NonforwardGordon |
8.20 s |
LeanPool.LatticeDiracDerivation.V34CovariantSpinSums |
5.40 s |
LeanPool.LatticeDiracDerivation.V32SpectralProjectors |
5.20 s |
LeanPool.LatticeDiracDerivation.V34SpinorSectorBasis |
3.40 s |
LeanPool.LatticeDiracDerivation.V34PropagatorResidues |
2.70 s |
LeanPool.LatticeDiracDerivation.V34MomentumHelicity |
2.50 s |
LeanPool.LatticeDiracDerivation.V33FreePropagator |
2.10 s |
LeanPool.LatticeDiracDerivation.V34CovariantSpinors |
1.80 s |
LeanPool.LatticeDiracDerivation.V33BilinearObservables |
1.50 s |
LeanPool.LatticeDiracDerivation.V33SpinorBasis |
1.30 s |
LeanPool.LatticeDiracDerivation.V33Helicity |
1.20 s |
LeanPool.LatticeDiracDerivation.V33SpinSums |
1.10 s |
Per-file `lean --profile` output
LeanPool/LatticeDiracDerivation/V33BilinearObservables.lean
import took 2.6s
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 190ms
cumulative profiling times:
attribute application 0.0433ms
blocked (unaccounted) 353ms
compilation (IR) 0.128ms
compilation (LCNF base) 1.68ms
compilation (LCNF impure) 0.501ms
compilation (LCNF mono) 0.955ms
congr simp thm 0.896ms
declTypeLinter 2.16ms
elaboration 42ms
fix level params 0.618ms
import 2.6s
initialization 25.8ms
instantiate metavars 1.24ms
interpretation 402ms
let-to-have transformation 0.0492ms
linting 19.9ms
module linting 0.0178ms
norm_num 18.3ms
parsing 3.34ms
process pre-definitions 5.72ms
ring 43ms
share common exprs 14.4ms
simp 75.9ms
tactic execution 13ms
tacticAnalysis 1.85ms
type checking 33.8ms
typeclass inference 180ms
real 3.88
user 1.62
sys 0.95
LeanPool/LatticeDiracDerivation/V33CompleteFreeSpinor.lean
import took 782ms
cumulative profiling times:
attribute application 0.0149ms
declTypeLinter 1.23ms
elaboration 3.34ms
fix level params 0.00606ms
import 782ms
initialization 30.7ms
instantiate metavars 0.00292ms
interpretation 135ms
let-to-have transformation 0.0128ms
linting 1.24ms
module linting 0.0165ms
parsing 0.837ms
process pre-definitions 0.089ms
share common exprs 0.0113ms
tacticAnalysis 1.1ms
type checking 0.474ms
real 1.58
user 0.87
sys 0.78
LeanPool/LatticeDiracDerivation/V33FrameworkLock.lean
import took 783ms
cumulative profiling times:
attribute application 0.0138ms
declTypeLinter 1.38ms
elaboration 3.23ms
fix level params 0.00512ms
import 783ms
initialization 31ms
instantiate metavars 0.00196ms
interpretation 133ms
let-to-have transformation 0.0119ms
linting 1.14ms
module linting 0.0173ms
parsing 0.627ms
process pre-definitions 0.0879ms
share common exprs 0.00839ms
tacticAnalysis 0.623ms
type checking 0.851ms
typeclass inference 0.875ms
real 1.57
user 0.88
sys 0.77
LeanPool/LatticeDiracDerivation/V33FreePropagator.lean
import took 806ms
cumulative profiling times:
attribute application 0.0499ms
blocked (unaccounted) 778ms
compilation (IR) 0.193ms
compilation (LCNF base) 2.04ms
compilation (LCNF impure) 0.84ms
compilation (LCNF mono) 1.49ms
congr simp thm 1.83ms
declTypeLinter 1.96ms
elaboration 69.2ms
fix level params 2.94ms
import 806ms
initialization 30.5ms
instantiate metavars 18.9ms
interpretation 773ms
let-to-have transformation 0.0478ms
linting 83.7ms
module linting 0.0316ms
norm_num 41.7ms
parsing 2.04ms
process pre-definitions 35.3ms
ring 19.1ms
share common exprs 78.5ms
simp 390ms
tactic execution 14.2ms
tacticAnalysis 1.76ms
type checking 128ms
typeclass inference 119ms
real 2.51
user 2.52
sys 0.81
LeanPool/LatticeDiracDerivation/V33GordonIdentity.lean
import took 785ms
cumulative profiling times:
attribute application 0.0364ms
declTypeLinter 1.51ms
elaboration 18.1ms
fix level params 0.0808ms
import 785ms
initialization 25.6ms
instantiate metavars 0.0373ms
interpretation 142ms
let-to-have transformation 0.0608ms
linting 3.4ms
module linting 0.0178ms
norm_num 0.222ms
parsing 1.73ms
process pre-definitions 0.639ms
ring 4.69ms
share common exprs 0.813ms
tactic execution 3.18ms
tacticAnalysis 1.33ms
type checking 3.97ms
typeclass inference 43.9ms
real 1.63
user 0.93
sys 0.81
LeanPool/LatticeDiracDerivation/V33Helicity.lean
import took 796ms
cumulative profiling times:
attribute application 0.0732ms
blocked (unaccounted) 186ms
compilation (IR) 1.39ms
compilation (LCNF base) 3.29ms
compilation (LCNF impure) 1.34ms
compilation (LCNF mono) 2.34ms
congr simp thm 1.23ms
declTypeLinter 2.04ms
elaboration 20.8ms
fix level params 0.516ms
import 796ms
initialization 30.9ms
instantiate metavars 1.97ms
interpretation 217ms
let-to-have transformation 0.101ms
linting 4.17ms
module linting 0.016ms
norm_num 12.7ms
parsing 2.88ms
process pre-definitions 4.87ms
share common exprs 4.48ms
simp 160ms
tactic execution 20.7ms
tacticAnalysis 1.54ms
type checking 30ms
typeclass inference 38.5ms
real 1.79
user 1.24
sys 0.82
LeanPool/LatticeDiracDerivation/V33ProjectedSpinors.lean
import took 785ms
cumulative profiling times:
attribute application 0.048ms
declTypeLinter 1.91ms
elaboration 13.8ms
fix level params 0.0433ms
import 785ms
initialization 25.1ms
instantiate metavars 0.026ms
interpretation 151ms
let-to-have transformation 0.0474ms
linting 4.01ms
module linting 0.0206ms
parsing 2.43ms
process pre-definitions 0.691ms
share common exprs 0.153ms
tactic execution 2.24ms
tacticAnalysis 1.33ms
type checking 2.22ms
typeclass inference 6.78ms
real 1.60
user 0.91
sys 0.78
LeanPool/LatticeDiracDerivation/V33ScopeAudit.lean
import took 838ms
cumulative profiling times:
attribute application 0.019ms
declTypeLinter 1.64ms
elaboration 3.67ms
fix level params 0.00684ms
import 838ms
initialization 25.6ms
instantiate metavars 0.00264ms
interpretation 139ms
let-to-have transformation 0.0139ms
linting 1.16ms
module linting 0.0196ms
parsing 0.742ms
process pre-definitions 0.0948ms
share common exprs 0.0099ms
tacticAnalysis 0.763ms
type checking 0.93ms
typeclass inference 0.959ms
real 1.64
user 0.90
sys 0.82
LeanPool/LatticeDiracDerivation/V33SpinSums.lean
import took 797ms
cumulative profiling times:
attribute application 0.0509ms
blocked (unaccounted) 92.4ms
compilation (IR) 0.199ms
compilation (LCNF base) 1.58ms
compilation (LCNF impure) 0.761ms
compilation (LCNF mono) 1.13ms
congr simp thm 0.59ms
declTypeLinter 1.97ms
elaboration 11.3ms
fix level params 0.124ms
import 797ms
initialization 33.7ms
instantiate metavars 0.793ms
interpretation 166ms
let-to-have transformation 0.0381ms
linting 3.54ms
module linting 0.0159ms
parsing 1.99ms
process pre-definitions 1.67ms
share common exprs 0.734ms
simp 63.3ms
tactic execution 2.99ms
tacticAnalysis 2ms
type checking 6.29ms
typeclass inference 22.3ms
real 1.74
user 1.02
sys 0.83
LeanPool/LatticeDiracDerivation/V33SpinorBasis.lean
import took 851ms
cumulative profiling times:
attribute application 0.0357ms
blocked (unaccounted) 242ms
congr simp thm 1.42ms
declTypeLinter 1.86ms
elaboration 11.6ms
fix level params 0.343ms
import 851ms
initialization 27.1ms
instantiate metavars 3.43ms
interpretation 181ms
let-to-have transformation 0.0433ms
linting 2.54ms
module linting 0.0193ms
parsing 1.69ms
process pre-definitions 4.33ms
share common exprs 2.7ms
simp 207ms
tactic execution 5.57ms
tacticAnalysis 1.98ms
type checking 16ms
typeclass inference 38.7ms
real 1.91
user 1.24
sys 0.82
LeanPool/LatticeDiracDerivation/V34CompleteCovariantFreeSpinor.lean
import took 799ms
cumulative profiling times:
attribute application 0.0146ms
declTypeLinter 1.05ms
elaboration 3.21ms
fix level params 0.00518ms
import 799ms
initialization 25.1ms
instantiate metavars 0.00227ms
interpretation 133ms
let-to-have transformation 0.0121ms
linting 1.23ms
module linting 0.0175ms
parsing 0.779ms
process pre-definitions 0.16ms
share common exprs 0.011ms
tacticAnalysis 0.736ms
type checking 0.403ms
real 1.58
user 0.87
sys 0.78
LeanPool/LatticeDiracDerivation/V34CovariantSpinSums.lean
import took 837ms
interpretation of Mathlib.Tactic._aux_Mathlib_Tactic_Linarith_Frontend___elabRules_Mathlib_Tactic_nlinarith_1._boxed took 133ms
simp took 104ms
simp took 101ms
simp took 107ms
simp took 109ms
simp took 120ms
simp took 104ms
simp took 109ms
simp took 131ms
simp took 135ms
simp took 129ms
simp took 105ms
simp took 103ms
simp took 104ms
simp took 105ms
simp took 111ms
simp took 119ms
simp took 120ms
type checking took 105ms
cumulative profiling times:
attribute application 0.121ms
blocked (unaccounted) 2.9s
compilation (IR) 0.608ms
compilation (LCNF base) 5.14ms
compilation (LCNF impure) 2.77ms
compilation (LCNF mono) 4.19ms
congr simp thm 14.8ms
declTypeLinter 5.18ms
elaboration 106ms
fix level params 4.94ms
import 837ms
initialization 31.4ms
instantiate metavars 34.5ms
interpretation 1.31s
let-to-have transformation 0.132ms
linting 85.5ms
module linting 0.0213ms
norm_num 34.7ms
parsing 8.27ms
process pre-definitions 60.9ms
ring 222ms
share common exprs 96.1ms
simp 3.24s
tactic execution 232ms
tacticAnalysis 6.4ms
type checking 241ms
typeclass inference 573ms
real 4.75
user 7.08
sys 0.82
LeanPool/LatticeDiracDerivation/V34CovariantSpinors.lean
import took 796ms
cumulative profiling times:
attribute application 0.149ms
blocked (unaccounted) 602ms
compilation (IR) 0.661ms
compilation (LCNF base) 7.65ms
compilation (LCNF impure) 2.88ms
compilation (LCNF mono) 5.03ms
congr simp thm 2.3ms
declTypeLinter 3.23ms
elaboration 41.7ms
fix level params 1.02ms
import 796ms
initialization 31.1ms
instantiate metavars 8.29ms
interpretation 293ms
let-to-have transformation 0.113ms
linting 15.4ms
module linting 0.0187ms
norm_num 1.21ms
parsing 5.37ms
process pre-definitions 9.54ms
ring 37.5ms
share common exprs 13.7ms
simp 690ms
tactic execution 49ms
tacticAnalysis 3.05ms
type checking 60.8ms
typeclass inference 166ms
real 2.32
user 2.16
sys 0.80
LeanPool/LatticeDiracDerivation/V34MomentumHelicity.lean
import took 781ms
cumulative profiling times:
attribute application 0.093ms
blocked (unaccounted) 172ms
compilation (IR) 0.205ms
compilation (LCNF base) 2.22ms
compilation (LCNF impure) 0.828ms
compilation (LCNF mono) 1.44ms
congr simp thm 2.45ms
declTypeLinter 2.96ms
elaboration 53.4ms
fix level params 1.44ms
import 781ms
initialization 31ms
instantiate metavars 5.58ms
interpretation 254ms
let-to-have transformation 0.125ms
linting 21.5ms
module linting 0.0314ms
norm_num 4.91ms
parsing 5.92ms
process pre-definitions 10.3ms
ring 53.3ms
share common exprs 25.7ms
simp 216ms
tactic execution 200ms
tacticAnalysis 2.97ms
type checking 64.1ms
typeclass inference 160ms
real 1.88
user 1.78
sys 0.81
LeanPool/LatticeDiracDerivation/V34NonforwardGordon.lean
import took 787ms
simp took 217ms
simp took 147ms
simp took 157ms
simp took 170ms
simp took 153ms
simp took 152ms
simp took 155ms
simp took 165ms
simp took 169ms
simp took 160ms
simp took 159ms
simp took 172ms
simp took 161ms
simp took 175ms
simp took 165ms
simp took 190ms
share common exprs took 100ms
type checking took 159ms
simp took 439ms
simp took 106ms
cumulative profiling times:
attribute application 0.0918ms
blocked (unaccounted) 4.24s
compilation (IR) 0.241ms
compilation (LCNF base) 2.18ms
compilation (LCNF impure) 1.07ms
compilation (LCNF mono) 1.97ms
congr simp thm 7.51ms
declTypeLinter 3.35ms
elaboration 139ms
fix level params 5.44ms
import 787ms
initialization 29.2ms
instantiate metavars 33.7ms
interpretation 1.14s
let-to-have transformation 0.129ms
linting 30.4ms
module linting 0.0148ms
norm_num 109ms
parsing 8.1ms
process pre-definitions 66.7ms
ring 170ms
share common exprs 119ms
simp 3.62s
tactic execution 98.9ms
tacticAnalysis 2.66ms
type checking 238ms
typeclass inference 362ms
real 6.05
user 6.74
sys 0.81
LeanPool/LatticeDiracDerivation/V34PropagatorResidues.lean
import took 787ms
cumulative profiling times:
attribute application 0.254ms
blocked (unaccounted) 1.47s
compilation (IR) 0.191ms
compilation (LCNF base) 1.73ms
compilation (LCNF impure) 0.824ms
compilation (LCNF mono) 1.5ms
congr simp thm 2.66ms
declTypeLinter 2.61ms
elaboration 30.2ms
fix level params 1.18ms
import 787ms
initialization 25.8ms
instantiate metavars 6.84ms
interpretation 294ms
let-to-have transformation 0.0621ms
linting 20.7ms
module linting 0.0168ms
norm_num 9.68ms
parsing 3.45ms
process pre-definitions 9.99ms
ring 7.57ms
share common exprs 16.4ms
simp 1.2s
tactic execution 36.8ms
tacticAnalysis 2.09ms
type checking 80.2ms
typeclass inference 108ms
real 3.10
user 2.57
sys 0.79
LeanPool/LatticeDiracDerivation/V34SpinorSectorBasis.lean
import took 786ms
simp took 168ms
simp took 136ms
cumulative profiling times:
attribute application 0.0817ms
blocked (unaccounted) 463ms
compilation (IR) 0.195ms
compilation (LCNF base) 1.67ms
compilation (LCNF impure) 0.85ms
compilation (LCNF mono) 1.56ms
congr simp thm 6.11ms
declTypeLinter 3.17ms
elaboration 63.2ms
fix level params 2.29ms
import 786ms
initialization 25.4ms
instantiate metavars 7.92ms
interpretation 327ms
let-to-have transformation 0.101ms
linting 33.2ms
module linting 0.0288ms
norm_num 3.96ms
parsing 5.21ms
process pre-definitions 16.9ms
ring 68.2ms
share common exprs 36.4ms
simp 891ms
tactic execution 44ms
tacticAnalysis 4.1ms
type checking 111ms
typeclass inference 385ms
real 2.18
user 2.74
sys 0.77
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 on source review at 6aa70452, pending required checks on the card repair.
- The V3.4 extension adds covariant spin sums, momentum helicity, a non-forward Gordon identity, and the off-pole resolvent decomposition. The sector-coordinate theorem packages the existing extraction and reconstruction maps as a unique-existence result. Mathlib and Tau Ceti provide relevant algebraic ingredients. The native C19 conclusions and their spinor identities are specific to this development.
- The V3.2 spectral-projector refactor shares the Hamiltonian-linearity argument and preserves the existing public statements. All 18 changed proof modules match the pinned upstream declarations, with the project’s MIT attribution retained. Pinned V3.4 release
- I corrected the card to state the mass-shell hypotheses and the energy factor in the positive spin-sum relation. It now distinguishes the two-pole decomposition from that separate positive-branch identity, describes the inherited free transport scope, and uses the release’s UTC date. The repair changes only YAML. Original card finding
Vilin97
left a comment
There was a problem hiding this comment.
Approved on source review at b81569bc, pending required checks.
The final wording specifies the sum of outer products with Dirac adjoints. I verified that this revision changes only that card sentence and retains the eight declaration names. The source, provenance, and scope findings from the preceding review apply to this head. Detailed review
This is a cumulative update of the accepted lattice Dirac project from V3.2 to V3.4.
Upstream provenance
What changes
Claim boundary
This remains a free linearized result. It does not claim an interacting or localized physical electron, electromagnetic coupling, transport, charge quantization, g = 2, or a derived absolute MeV scale. The exact finite-C19 scalar spectrum remains explicitly distinguished from the continuum Clifford factorization.
Local verification
The imported certificates use no sorry, admit, new axioms, unsafe declarations, partial declarations, diagnostic commands, or linter suppressions.