def
definition
half
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 67.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
pleasure_symmetric -
cross_cousin_count -
kinshipGraphCohomologyCert -
styleGap -
AgreesAtHalfRung -
planetaryFormationCert -
two_rung_gap_eq_phi_squared -
cesium_low_en -
IsStokesMildTraj -
half_period_dim_eq -
reduced_configs_2 -
balance_from_conservation -
config_space_complete -
chirality_product_equals_gap_minus_one -
peak_exceeds_single_gap -
peak_fits_double_gap -
tenfold_times_D -
per_turn_at_kappa_one -
fundamentalFrequency -
laws_polynomial_implies_continuous -
jcost_unit_curvature -
fermions_eq_D_times_V -
fermion_rotation_phase_neg_one -
mwcSize_eq -
S_radiation_le_S_BH -
p_steepness_pos -
mass_lt_implies_temp_gt -
C_competing_gt_C_kernel -
C_kernel_band -
C_kernel_pos -
half_rung_budget_doubled -
half_rung_components_band -
ilgSpatialKernelCert -
three_channel_factorization -
normalizedRatio_le_sqrt_siteCount -
ancientDecay_implies_A2_integrable -
integrableOn_Ioi_of_rpow_decay -
rm2u_closed_for_ancient_element -
SobolevH1HalfLineDecay -
DefectSensor
formal source
64def zero : Spin := ofInt 0
65
66/-- Spin 1/2 (electron, quarks). -/
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