def
definition
one
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.QFT.SpinStatistics on GitHub at line 70.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
costRateEL_implies_const_one -
geodesicEquationHolds -
actionJ_convex_on_interp -
actionJ_local_min_is_global -
actionJ_minimum_unique_value -
no_eighth_plot -
Jcost_anti_mono_on_unit_interval -
symmetryGroupPreferenceCert -
canonicalRecognitionCostSystem_cost_inv -
shiftedCompose_val -
windowSums -
PhiInt -
PhiInt -
phiInt_sq -
phi_ring_certificate -
canonicalPhiRingObj -
initial_morphism_exists -
phiRing_comp -
PhiRingHom -
PhiRingObj -
trivial -
eV_to_J_pos -
rs_pattern -
ml_nucleosynthesis_eq_phi -
NuclearTier -
r_orbit_adjacent_ratio_band -
bimodal_ratio_lt_phi_nine -
ml_is_phi_power -
fr_valence_one -
essentialSymmetry -
noble_gas_ea_zero -
normalizedEA -
predictedI1_eV -
ForcingDominatedConvergenceAt -
galerkin_duhamelKernel_identity -
coeffSign -
encodeIndex -
DecodedSimulationHypothesis -
decodeGalerkin2D -
SimulationHypothesis
formal source
67def half : Spin := halfInt 1
68
69/-- Spin 1 (photon, W/Z, gluon). -/
70def one : Spin := ofInt 1
71
72/-- Spin 3/2 (hypothetical gravitino). -/
73def threeHalves : Spin := halfInt 3
74
75/-- Spin 2 (graviton). -/
76def two : Spin := ofInt 2
77
78/-- The actual spin value as a real number. -/
79noncomputable def value (s : Spin) : ℝ := s.twice / 2
80
81/-- Is this a half-integer spin (fermion)? -/
82def isHalfInteger (s : Spin) : Prop := s.twice % 2 = 1
83
84/-- Is this an integer spin (boson)? -/
85def isInteger (s : Spin) : Prop := s.twice % 2 = 0
86
87/-- Decidable instance for half-integer check. -/
88instance : DecidablePred isHalfInteger := fun s =>
89 if h : s.twice % 2 = 1 then isTrue h else isFalse h
90
91/-- Decidable instance for integer check. -/
92instance : DecidablePred isInteger := fun s =>
93 if h : s.twice % 2 = 0 then isTrue h else isFalse h
94
95/-- Spin is either integer or half-integer. -/
96theorem int_or_half (s : Spin) : s.isInteger ∨ s.isHalfInteger := by
97 unfold isInteger isHalfInteger
98 omega
99
100/-- Integer and half-integer are mutually exclusive. -/