Skip to content

Update lattice Dirac derivation to V3.2 - #1041

Merged
Vilin97 merged 2 commits into
LeanPool:mainfrom
gpartin:gpartin/update-lattice-dirac-v3-2
Nov 27, 2026
Merged

Vilin97 merged 2 commits into
LeanPool:mainfrom
gpartin:gpartin/update-lattice-dirac-v3-2

Conversation

@gpartin

@gpartin gpartin commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Source

Updates the existing lattice-dirac-derivation project 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:

  • exact scalar C19 spectrum and the explicit boundary between that spectrum and the continuum Clifford factorization
  • continuum spectral projectors and their branch properties
  • absence of transport-symbol zeros away from the origin in the fundamental Brillouin box
  • classification of the two cubical four-component copies
  • a scoped rest-spin commutant/irreducibility result
  • finite boosts and discrete P, C, T, and CPT identities
  • the free nonrelativistic multiplier with its exact relativistic remainder
  • separated spatial and centered-time convergence defects
  • explicit finite-C19 isotropy/anisotropy artifacts
  • native rest mass 19, together with the theorem that no absolute SI/MeV energy unit is selected
  • theorem-backed transport and centered-step packet contracts for downstream work

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 main and Lean 4.36.0:

  • lake build LeanPool.LatticeDiracDerivation.Imports
  • lake exe runLinter LeanPool.LatticeDiracDerivation.Imports
  • lake exe lint-style LeanPool.LatticeDiracDerivation.Imports
  • scripts/project-indexes.py --module --check
  • python -m lean_pool.quality --repo .. --static-only

All 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.

@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 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

@greptile-apps

greptile-apps Bot commented Nov 27, 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 found; two proof-maintenance cleanups are recommended.RetriggerView in Greptile

[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.

Findings

  1. P2 One proof repeats 18 times ▶
  2. P2 Linearity proofs repeat component formulas ▶

Summary

Updates the project entry and card to the cumulative V3.2 certificate.

  • The C19 spectrum stays distinct from the continuum Dirac result.
  • Continuum energy projectors separate the positive and negative branches.
  • The two cubical copies and the rest-spin result have explicit bounds.
  • Finite boosts and discrete symmetries get explicit transformation rules.
  • The low-energy limit and finite-lattice differences get exact bounds.
  • The native rest mass is 19, while physical energy needs a supplied unit.
  • Transport and centered-step results provide contracts for later work.
  • The project entry point now exposes 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

@github-actions

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 62.56 s (= 1.04 min) — user 72.61 s, sys 10.56 s.

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; 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.

Total heartbeats: 1,095,006 maxHeartbeats units across 17 valid files (2,575 added LOC).

Sum of lean --profile: 153199.4 ms (= 153.20 s) across 17 valid files. Import-excluded time: 135329.4 ms (= 135.33 s).

Count-heartbeats wall-clock total: 130.12 s. Repeated import cost inside lean --profile: 17870.0 ms (= 17.87 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/LatticeDiracDerivation/V32LatticeArtifacts.lean 299 582,273 34.73 101.73 100.82 0.91 40 0
LeanPool/LatticeDiracDerivation/V32GlobalSpectrum.lean 394 130,918 17.33 9.77 8.86 0.91 43 0
LeanPool/LatticeDiracDerivation/V32DiscreteSymmetries.lean 183 84,430 10.97 5.50 4.62 0.88 23 0
LeanPool/LatticeDiracDerivation/V32SpectralProjectors.lean 317 73,764 9.22 5.52 4.56 0.96 25 0
LeanPool/LatticeDiracDerivation/V32CopyClassification.lean 153 54,704 5.88 3.98 3.06 0.92 20 0
LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean 108 54,614 11.55 7.53 4.68 2.85 14 0
LeanPool/LatticeDiracDerivation/V32FiniteLorentz.lean 117 42,282 6.28 3.61 2.71 0.90 13 0
LeanPool/LatticeDiracDerivation/V32TransportObservables.lean 126 20,000 4.92 1.94 0.99 0.95 17 0
LeanPool/LatticeDiracDerivation/V32Robustness.lean 124 13,578 4.26 2.07 1.09 0.98 13 0
LeanPool/LatticeDiracDerivation/V32IrreducibleParticle.lean 140 13,529 3.90 1.97 1.03 0.94 18 0
LeanPool/LatticeDiracDerivation/V32NonrelativisticLimit.lean 150 13,141 4.12 1.94 0.97 0.97 14 0
LeanPool/LatticeDiracDerivation/V32ScaleIdentifiability.lean 141 9,708 3.59 1.90 0.92 0.98 22 0
LeanPool/LatticeDiracDerivation/V32ContinuumOperatorConvergence.lean 72 780 2.61 1.12 0.21 0.91 10 0
LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean 65 589 2.73 1.17 0.21 0.96 10 0
LeanPool/LatticeDiracDerivation/V32FrameworkLock.lean 49 589 2.71 1.14 0.20 0.94 7 0
LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean 71 65 2.69 1.12 0.18 0.94 9 0
LeanPool/LatticeDiracDerivation/V32PacketBenchmarks.lean 42 41 2.63 1.17 0.20 0.97 9 0
LeanPool/LatticeDiracDerivation.lean 7 — — — — — 0 1
LeanPool/LatticeDiracDerivation/Imports.lean 17 — — — — — 0 1
Total 2,575 1,095,006 130.12 153.20 135.33 17.87 307 2

Aggregate phase totals

Phase Time
simp 72795.4 ms (= 72.80 s)
blocked (unaccounted) 45964.0 ms (= 45.96 s)
import 17870.0 ms (= 17.87 s)
interpretation 5402.0 ms (= 5.40 s)
typeclass inference 4084.5 ms (= 4.08 s)
type checking 1946.9 ms (= 1.95 s)
ring 1009.2 ms (= 1.01 s)
elaboration 814.3 ms (= 0.81 s)
share common exprs 730.7 ms (= 0.73 s)
tactic execution 587.9 ms (= 0.59 s)
initialization 481.5 ms (= 0.48 s)
process pre-definitions 378.4 ms (= 0.38 s)

Slowest changed modules (from lake build)

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.

@Vilin97

Vilin97 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Approval stands at 542c6342. Both suggestions are follow-up proof refactors.

  • The C19 expansion proves all 18 direction cases and uses them in the quartic isotropy theorem. A shared tactic could shorten the proof.
  • The spectral projector proofs establish linearity by expanding the Hamiltonian in each argument. A shared lemma using the existing addition and scaling results could reduce duplication.

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.

@Vilin97
Vilin97 added this pull request to the merge queue Nov 27, 2026
Merged via the queue into LeanPool:main with commit a1462da Nov 27, 2026
27 checks passed
@gpartin

gpartin commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

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.

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.

2 participants