Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions LeanPool/LatticeDiracDerivation.lean
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ Authors: G. D. Partin

module

public import LeanPool.LatticeDiracDerivation.V2
public import LeanPool.LatticeDiracDerivation.V32CompleteFreeFermion

/-!
# Free Dirac dynamics and cubical spin from a reciprocal C19 lattice action

Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/61a4798b8b3ebfcffd24065079dc4db9d7b43f75
Source: url:https://github.com/gpartin/LeanDiracDerivation/tree/e2161e0936f181d4a5a9d49963a666f7cea42502
Authors: G. D. Partin
Status: verified
Main declarations: `LeanDirac.V2.complete_first_principles_free_dirac`,
`LeanDirac.V2.cubical_flavor_classification`,
`LeanDirac.V2.periodic_quantized_add_char_bijective`,
`LeanDirac.V2.periodic_integrated_positive_packet_current_bridge`,
`LeanDirac.V2.positive_packet_pointwise_bridge_is_false`,
`LeanDirac.V2.lorentz_spin_half_from_native_action`
Main declarations: `LeanDirac.V2.v32_complete_free_fermion`,
`LeanDirac.V2.v32_no_global_exact_local_oriented_root`, `LeanDirac.V2.c19_no_momentum_doublers`,
`LeanDirac.V2.v32_rest_spin_commutant_is_scalar`,
`LeanDirac.V2.v32_free_schrodinger_multiplier_with_exact_remainder`,
`LeanDirac.V2.v32_native_rest_mass`, `LeanDirac.V2.v32_absolute_energy_scale_not_selected`
Tags: mathematical-physics, dirac-operator, clifford-algebra, lattice, fourier-analysis
MSC: 81Q05, 15A66, 65M06, 81R20
-/
Expand Down
17 changes: 17 additions & 0 deletions LeanPool/LatticeDiracDerivation/Imports.lean
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,20 @@ public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumTangent
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletDispersion
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletStability
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletTime
public import LeanPool.LatticeDiracDerivation.V32BrillouinZoneAudit
public import LeanPool.LatticeDiracDerivation.V32CenteredStepTransport
public import LeanPool.LatticeDiracDerivation.V32CompleteFreeFermion
public import LeanPool.LatticeDiracDerivation.V32ContinuumOperatorConvergence
public import LeanPool.LatticeDiracDerivation.V32CopyClassification
public import LeanPool.LatticeDiracDerivation.V32DiscreteSymmetries
public import LeanPool.LatticeDiracDerivation.V32FiniteLorentz
public import LeanPool.LatticeDiracDerivation.V32FrameworkLock
public import LeanPool.LatticeDiracDerivation.V32GlobalSpectrum
public import LeanPool.LatticeDiracDerivation.V32IrreducibleParticle
public import LeanPool.LatticeDiracDerivation.V32LatticeArtifacts
public import LeanPool.LatticeDiracDerivation.V32NonrelativisticLimit
public import LeanPool.LatticeDiracDerivation.V32PacketBenchmarks
public import LeanPool.LatticeDiracDerivation.V32Robustness
public import LeanPool.LatticeDiracDerivation.V32ScaleIdentifiability
public import LeanPool.LatticeDiracDerivation.V32SpectralProjectors
public import LeanPool.LatticeDiracDerivation.V32TransportObservables
108 changes: 108 additions & 0 deletions LeanPool/LatticeDiracDerivation/V32BrillouinZoneAudit.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/-
Copyright (c) 2026 G. D. Partin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: G. D. Partin
-/

/-
Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

module

public import LeanPool.LatticeDiracDerivation.V32GlobalSpectrum

/-!
# V3.2 Stage 4: exact C19 zero audit

The massive branch is gapped, so momentum-space doublers can only arise from
additional zeros of the C19 transport symbol. This file proves directly from
the positive C19 bond sum that the only zero in the fundamental Brillouin box
is the origin.
-/

@[expose] public section



namespace LeanDirac.V2

noncomputable section
open BigOperators Complex

theorem c19_zero_forces_every_bond_character
(momentum : LatticeMomentum)
(hzero : c19TransportSymbol momentum = 0) :
∀ direction, c19Character momentum direction = 1 := by
intro direction
have hall := (Finset.sum_eq_zero_iff_of_nonneg
(fun d (_ : d ∈ Finset.univ) =>
mul_nonneg (le_of_lt (c19_weight_positive d))
(Complex.normSq_nonneg _))).mp hzero
have hterm := hall direction (Finset.mem_univ direction)
have hnorm : Complex.normSq (1 - c19Character momentum direction) = 0 := by
rcases mul_eq_zero.mp hterm with hw | hn
· exact False.elim ((ne_of_gt (c19_weight_positive direction)) hw)
· exact hn
have hsub : 1 - c19Character momentum direction = 0 :=
Complex.normSq_eq_zero.mp hnorm
exact (sub_eq_zero.mp hsub).symm

theorem c19_zero_forces_axis_cosines
(momentum : LatticeMomentum)
(hzero : c19TransportSymbol momentum = 0) :
Real.cos (momentum 0) = 1 ∧
Real.cos (momentum 1) = 1 ∧
Real.cos (momentum 2) = 1 := by
have hbond (direction : C19Neighbor) :
Complex.normSq (1 - c19Character momentum direction) = 0 := by
rw [c19_zero_forces_every_bond_character momentum hzero direction]
simp
have hx := hbond ⟨0, by omega⟩
have hy := hbond ⟨2, by omega⟩
have hz := hbond ⟨4, by omega⟩
rw [c19Character, normSq_one_sub_exp_I] at hx hy hz
simp [c19PhaseAngle, c19Coord, Fin.sum_univ_succ] at hx hy hz
constructor
· nlinarith
· constructor <;> nlinarith

/-- The V3.2 I nF un da me nt al Br il lo ui nB ox definition used by this stage. -/
def InFundamentalBrillouinBox (momentum : LatticeMomentum) : Prop :=
∀ axis, -(Real.pi) ≤ momentum axis ∧ momentum axis < Real.pi

theorem c19_no_momentum_doublers
(momentum : LatticeMomentum)
(hbox : InFundamentalBrillouinBox momentum)
(hzero : c19TransportSymbol momentum = 0) :
momentum = fun _ => 0 := by
have hcos := c19_zero_forces_axis_cosines momentum hzero
funext axis
fin_cases axis
· exact (Real.cos_eq_one_iff_of_lt_of_lt
(by have h := (hbox 0).1; simp at h ⊢; nlinarith [Real.pi_pos])
(by have h := (hbox 0).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.1
· exact (Real.cos_eq_one_iff_of_lt_of_lt
(by have h := (hbox 1).1; simp at h ⊢; nlinarith [Real.pi_pos])
(by have h := (hbox 1).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.2.1
· exact (Real.cos_eq_one_iff_of_lt_of_lt
(by have h := (hbox 2).1; simp at h ⊢; nlinarith [Real.pi_pos])
(by have h := (hbox 2).2; simp at h ⊢; nlinarith [Real.pi_pos])).mp hcos.2.2

/-- The bundled V3.2 B ri ll ou in Zo ne Ce rt if ic at e. -/
structure V32BrillouinZoneCertificate : Prop where
symbolNonnegative : ∀ momentum, 0 ≤ c19TransportSymbol momentum
originIsZero : c19TransportSymbol (fun _ => 0) = 0
originIsOnlyZero : ∀ momentum,
InFundamentalBrillouinBox momentum →
c19TransportSymbol momentum = 0 → momentum = fun _ => 0

theorem v32_brillouin_zone_audit : V32BrillouinZoneCertificate where
symbolNonnegative := c19_transport_symbol_nonnegative
originIsZero := c19_transport_symbol_zero
originIsOnlyZero := c19_no_momentum_doublers


end
end LeanDirac.V2
65 changes: 65 additions & 0 deletions LeanPool/LatticeDiracDerivation/V32CenteredStepTransport.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/-
Copyright (c) 2026 G. D. Partin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: G. D. Partin
-/

/-
Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

module

public import LeanPool.LatticeDiracDerivation.V32TransportObservables
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletDispersion
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletStability

/-! # V3.2 Stage 15: exact centered-step spectrum -/

@[expose] public section



namespace LeanDirac.V2

noncomputable section
open Filter Topology

/-- The bundled V3.2 C en te re dS te pT ra ns po rt Ce rt if ic at e. -/
structure V32CenteredStepTransportCertificate : Prop where
exactDispersion : ∀ r dt momentum,
uniformVerletStable r dt momentum →
Real.cos (dt * uniformVerletAngularFrequency r dt momentum) =
1 - uniformVerletStabilityParameter r dt momentum / 2
rootHasUnitNorm : ∀ r dt momentum,
‖uniformVerletCharacteristicRoot r dt momentum‖ = 1
rootSolvesRecurrence : ∀ r dt momentum,
uniformVerletStable r dt momentum →
uniformVerletCharacteristicRoot r dt momentum ^ 2 -
((2 - uniformVerletStabilityParameter r dt momentum : ℝ) : ℂ) *
uniformVerletCharacteristicRoot r dt momentum + 1 = 0
modifiedEnergyInvariant : ∀ r dt momentum phase,
uniformVerletModifiedEnergy r dt momentum
(uniformVerletPhaseStep r dt momentum phase) =
uniformVerletModifiedEnergy r dt momentum phase
numericalFrequencyConverges : ∀ r momentum,
Tendsto (fun dt : ℝ => uniformVerletAngularFrequency r dt momentum)
(nhds 0) (nhds (uniformVacuumModalFrequency r momentum))
exactStepAngle : ∀ r dt momentum,
dt * uniformVerletAngularFrequency r dt momentum =
2 * Real.arcsin
(dt * uniformVacuumModalFrequency r momentum / 2)

theorem v32_centered_step_transport : V32CenteredStepTransportCertificate where
exactDispersion := uniform_verlet_exact_dispersion
rootHasUnitNorm := uniform_verlet_characteristic_root_norm
rootSolvesRecurrence := uniform_verlet_characteristic_root_equation
modifiedEnergyInvariant := uniform_verlet_modified_energy_invariant
numericalFrequencyConverges :=
uniform_verlet_angular_frequency_tends_to_native
exactStepAngle := uniform_verlet_step_angle


end
end LeanDirac.V2
71 changes: 71 additions & 0 deletions LeanPool/LatticeDiracDerivation/V32CompleteFreeFermion.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/-
Copyright (c) 2026 G. D. Partin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: G. D. Partin
-/

/-
Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

module

public import LeanPool.LatticeDiracDerivation.V32DiscreteSymmetries
public import LeanPool.LatticeDiracDerivation.V32PacketBenchmarks

/-!
# V3.2 Stage 17: cumulative machine-checked certificate

This certificate assembles the V3.2 modules. Release status is controlled by
the separate hostile claim audit; compilation alone does not widen any claim.
-/

@[expose] public section



namespace LeanDirac.V2

noncomputable section

/-- The bundled V3.2 C om pl et eF re eF er mi on Ce rt if ic at e. -/
structure V32CompleteFreeFermionCertificate : Prop where
framework : V32FrameworkLockCertificate
spectrum : V32GlobalSpectrumCertificate
projectors : V32SpectralProjectorCertificate
brillouin : V32BrillouinZoneCertificate
copies : V32CopyClassificationCertificate
particleSector : V32IrreducibleParticleCertificate
finiteLorentz : V32FiniteLorentzCertificate
discreteSymmetries : V32DiscreteSymmetryCertificate
nonrelativistic : V32NonrelativisticLimitCertificate
continuum : V32ContinuumOperatorConvergenceCertificate
artifacts : V32LatticeArtifactCertificate
restMass : NativeRestMassCertificate
robustness : V32RobustnessCertificate
transport : V32TransportObservableCertificate
centeredStep : V32CenteredStepTransportCertificate
packets : V32PacketBenchmarkCertificate

theorem v32_complete_free_fermion : V32CompleteFreeFermionCertificate where
framework := v32_framework_lock
spectrum := v32_global_spectrum
projectors := v32_spectral_projectors
brillouin := v32_brillouin_zone_audit
copies := v32_copy_classification
particleSector := v32_irreducible_particle_sector
finiteLorentz := v32_finite_lorentz
discreteSymmetries := v32_discrete_symmetries
nonrelativistic := v32_nonrelativistic_limit
continuum := v32_continuum_operator_convergence
artifacts := v32_lattice_artifacts
restMass := v32_native_rest_mass
robustness := v32_robustness
transport := v32_transport_observables
centeredStep := v32_centered_step_transport
packets := v32_packet_benchmarks


end
end LeanDirac.V2
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/-
Copyright (c) 2026 G. D. Partin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: G. D. Partin
-/

/-
Adapted from gpartin/LeanDiracDerivation at commit e2161e0936f181d4a5a9d49963a666f7cea42502.
Upstream source is dual-licensed under MIT or CC0 1.0; used here under MIT.
-/

module

public import LeanPool.LatticeDiracDerivation.V32NonrelativisticLimit
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumDiscreteTime
public import LeanPool.LatticeDiracDerivation.V2.UniformVacuumVerletTime

/-! # V3.2 Stage 10: separated spatial and centered-time defects -/

@[expose] public section



namespace LeanDirac.V2

noncomputable section
open Filter Topology

/-- The bundled V3.2 C on ti nu um Op er at or Co nv er ge nc eC er ti fi ca te. -/
structure V32ContinuumOperatorConvergenceCertificate : Prop where
exactSpatialSplit : ∀ momentum,
c19TransportSymbol momentum =
c19QuadraticSymbol momentum + c19SpatialRemainder momentum
spatialFourthOrderBound : ∀ momentum radius,
0 ≤ radius → (∀ axis, |momentum axis| ≤ radius) →
2 * radius ≤ 1 →
|c19SpatialRemainder momentum| ≤ 40 * radius ^ 4
centeredTimeDefectVanishes : ∀ r momentum phase component,
Tendsto
(fun dt : ℝ =>
uniformActionToStandardDirac r momentum
(uniformCenteredTemporalDefect r dt momentum phase) component)
(nhds 0) (nhds 0)
verletLocalErrorIsSecondOrder : ∀ r momentum phase component,
Tendsto
(fun dt : ℝ =>
if dt = 0 then 0 else
uniformActionToStandardDirac r momentum
(uniformVerletLocalDefect r dt momentum phase) component /
((dt ^ 2 : ℝ) : ℂ))
(nhds 0) (nhds 0)
finiteC19CurrentRemainderVanishes : ∀
(momentum : LatticeMomentum) (axis : Fin 3) (q : UniformCell2),
Tendsto
(fun scale : ℝ =>
finiteC19CurrentRemainder
(fun coordinate => scale * momentum coordinate) axis q)
(nhds 0) (nhds 0)

theorem v32_continuum_operator_convergence :
V32ContinuumOperatorConvergenceCertificate where
exactSpatialSplit := c19_symbol_exact_quadratic_plus_remainder
spatialFourthOrderBound := c19_spatial_remainder_bound
centeredTimeDefectVanishes :=
uniform_centered_temporal_defect_readout_tends_to_zero
verletLocalErrorIsSecondOrder := uniform_verlet_local_defect_is_little_o_dt_sq
finiteC19CurrentRemainderVanishes :=
finite_c19_current_remainder_tends_to_zero


end
end LeanDirac.V2
Loading
Loading