chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
1,022 | leanexplore_declaration | leanexplore:377187 | leanexplore_sqlite | leanexplore_declarations | /-- FDT for finite canonical ensembles: C_V = Var(E) / (k_B T²). -/
theorem fluctuation_dissipation_theorem_finite
[MeasurableSingletonClass ι] [𝓒.IsFinite] (T : Temperature) (hT_pos : 0 < T.val) :
𝓒.heatCapacity T = 𝓒.energyVariance T / (kB * (T.val : ℝ)^2) := by
have hβ₀_pos : 0 < (T.β : ℝ) := beta_pos T... |
286 | leanexplore_declaration | leanexplore:377188 | leanexplore_sqlite | leanexplore_declarations | /-- An intermediate potential defined from the mathematical partition function. See
`helmholtzFreeEnergy` for the physical thermodynamic quantity. -/
noncomputable def mathematicalHelmholtzFreeEnergy (T : Temperature) : ℝ :=
- kB * T.val * Real.log (𝓒.mathematicalPartitionFunction T) |
825 | leanexplore_declaration | leanexplore:377189 | leanexplore_sqlite | leanexplore_declarations | /-- The relationship between the physical Helmholtz Free Energy and the Helmholtz Potential. -/
lemma helmholtzFreeEnergy_eq_helmholtzMathematicalFreeEnergy_add_correction (T : Temperature)
[IsFiniteMeasure (𝓒.μBolt T)] [NeZero 𝓒.μ] :
𝓒.helmholtzFreeEnergy T = 𝓒.mathematicalHelmholtzFreeEnergy T +
kB ... |
1,477 | leanexplore_declaration | leanexplore:377190 | leanexplore_sqlite | leanexplore_declarations | /-- General identity: S_diff = kB β ⟨E⟩ + kB log Z_math.
This connects the differential entropy to the mean energy and the mathematical partition function.
Integrability of `log (probability …)` follows from the pointwise formula. -/
lemma differentialEntropy_eq_kB_beta_meanEnergy_add_kB_log_mathZ
(T : Temperature)... |
446 | leanexplore_declaration | leanexplore:377191 | leanexplore_sqlite | leanexplore_declarations | /-- Pointwise logarithm of the Boltzmann probability. -/
lemma log_probability
(𝓒 : CanonicalEnsemble ι) (T : Temperature)
[IsFiniteMeasure (𝓒.μBolt T)] [NeZero 𝓒.μ] (i : ι) :
Real.log (𝓒.probability T i)
= - (β T) * 𝓒.energy i - Real.log (𝓒.mathematicalPartitionFunction T) := by
have hZpos :=... |
390 | leanexplore_declaration | leanexplore:377192 | leanexplore_sqlite | leanexplore_declarations | /-- Auxiliary identity: `kB · β = 1 / T`.
`β` is defined as `1 / (kB · T)` (see `Temperature.β`). -/
@[simp]
lemma kB_mul_beta (T : Temperature) (hT : 0 < T.val) :
(kB : ℝ) * (T.β : ℝ) = 1 / T.val := by
have hkB : (kB : ℝ) ≠ 0 := kB_ne_zero
have hT0 : (T.val : ℝ) ≠ 0 := by
exact_mod_cast (ne_of_gt hT)
sim... |
2,707 | leanexplore_declaration | leanexplore:377193 | leanexplore_sqlite | leanexplore_declarations | /-- Fundamental relation between thermodynamic and differential entropy:
`S_thermo = S_diff - kB * dof * log h`. -/
lemma thermodynamicEntropy_eq_differentialEntropy_sub_correction
(T : Temperature)
(hE : Integrable 𝓒.energy (𝓒.μProd T))
[IsFiniteMeasure (𝓒.μBolt T)] [NeZero 𝓒.μ] :
𝓒.thermodynamicE... |
414 | leanexplore_declaration | leanexplore:377194 | leanexplore_sqlite | leanexplore_declarations | /-- No semiclassical correction when `dof = 0`. -/
lemma thermodynamicEntropy_eq_differentialEntropy_of_dof_zero
(T : Temperature) (hE : Integrable 𝓒.energy (𝓒.μProd T))
(h0 : 𝓒.dof = 0)
[IsFiniteMeasure (𝓒.μBolt T)] [NeZero 𝓒.μ] :
𝓒.thermodynamicEntropy T = 𝓒.differentialEntropy T := by
have h... |
451 | leanexplore_declaration | leanexplore:377195 | leanexplore_sqlite | leanexplore_declarations | /-- No semiclassical correction when `phase_space_unit = 1`. -/
lemma thermodynamicEntropy_eq_differentialEntropy_of_phase_space_unit_one
(T : Temperature) (hE : Integrable 𝓒.energy (𝓒.μProd T))
(h1 : 𝓒.phaseSpaceunit = 1)
[IsFiniteMeasure (𝓒.μBolt T)] [NeZero 𝓒.μ] :
𝓒.thermodynamicEntropy T = 𝓒.... |
3,564 | leanexplore_declaration | leanexplore:377196 | leanexplore_sqlite | leanexplore_declarations | /-- The Helmholtz free energy `F` is related to the mean energy `U` and the absolute
thermodynamic entropy `S` by the identity `F = U - TS`. This theorem shows that the
statistically-defined quantities in this framework correctly satisfy this principle of
thermodynamics. -/
theorem helmholtzFreeEnergy_eq_meanEnergy_sub... |
3,550 | leanexplore_declaration | leanexplore:377197 | leanexplore_sqlite | leanexplore_declarations | /-- **Theorem: Helmholtz identity with semi–classical correction term**.
Physical identity (always true for `T > 0`) :
(U - F)/T = S_thermo
and:
S_thermo = S_diff - kB * dof * log h.
Hence:
S_diff = (U - F)/T + kB * dof * log h.
This theorem gives the correct relation for the (mathematical / differential) entropy... |
826 | leanexplore_declaration | leanexplore:377198 | leanexplore_sqlite | leanexplore_declarations | /-- Discrete / normalized specialization of the previous theorem.
If either `dof = 0` (no semiclassical correction) or `phaseSpaceUnit = 1`
(so `log h = 0`), the correction term vanishes and we recover the bare Helmholtz identity
for the (differential) entropy. -/
lemma differentialEntropy_eq_meanEnergy_sub_helmholtz_d... |
313 | leanexplore_declaration | leanexplore:377199 | leanexplore_sqlite | leanexplore_declarations | /-- Chain rule convenience lemma for `log ∘ f` on a set. -/
lemma hasDerivWithinAt_log_comp
{f : ℝ → ℝ} {f' : ℝ} {s : Set ℝ} {x : ℝ}
(hf : HasDerivWithinAt f f' s x) (hx : f x ≠ 0) :
HasDerivWithinAt (fun t => Real.log (f t)) ((f x)⁻¹ * f') s x :=
(Real.hasDerivAt_log hx).comp_hasDerivWithinAt x hf |
403 | leanexplore_declaration | leanexplore:377200 | leanexplore_sqlite | leanexplore_declarations | /-- A version rewriting the derivative value with `1 / f x`. -/
lemma hasDerivWithinAt_log_comp'
{f : ℝ → ℝ} {f' : ℝ} {s : Set ℝ} {x : ℝ}
(hf : HasDerivWithinAt f f' s x) (hx : f x ≠ 0) :
HasDerivWithinAt (fun t => Real.log (f t))
((1 / f x) * f') s x := by
simpa [one_div, mul_comm, mul_left_comm, m... |
935 | leanexplore_declaration | leanexplore:377201 | leanexplore_sqlite | leanexplore_declarations | lemma integral_bolt_eq_integral_mul_exp
{ι} [MeasurableSpace ι] (𝓒 : CanonicalEnsemble ι) (T : Temperature)
(φ : ι → ℝ) :
∫ x, φ x ∂ 𝓒.μBolt T
= ∫ x, φ x * Real.exp (-T.β * 𝓒.energy x) ∂ 𝓒.μ := by
unfold μBolt
set f : ι → ℝ≥0∞ := fun x => ENNReal.ofReal (Real.exp (-T.β * 𝓒.energy x))
have h... |
343 | leanexplore_declaration | leanexplore:377202 | leanexplore_sqlite | leanexplore_declarations | /-- A specialization of `integral_bolt_eq_integral_mul_exp`
to the energy observable. -/
lemma integral_energy_bolt
{ι} [MeasurableSpace ι] (𝓒 : CanonicalEnsemble ι) (T : Temperature) :
∫ x, 𝓒.energy x ∂ 𝓒.μBolt T
= ∫ x, 𝓒.energy x * Real.exp (-T.β * 𝓒.energy x) ∂ 𝓒.μ := by
exact integral_bolt_eq_... |
1,554 | leanexplore_declaration | leanexplore:377203 | leanexplore_sqlite | leanexplore_declarations | /-- The mean energy can be expressed as a ratio of integrals. -/
lemma meanEnergy_eq_ratio_of_integrals
(𝓒 : CanonicalEnsemble ι) (T : Temperature) :
𝓒.meanEnergy T =
(∫ i, 𝓒.energy i * Real.exp (- T.β * 𝓒.energy i) ∂ 𝓒.μ) /
(∫ i, Real.exp (- T.β * 𝓒.energy i) ∂ 𝓒.μ) := by
unfold meanEner... |
3,028 | leanexplore_declaration | leanexplore:377204 | leanexplore_sqlite | leanexplore_declarations | /-- The mean energy is the negative derivative of the logarithm of the
(mathematical) partition function with respect to β = 1/(kB T).
see: Tong (§1.3.2, §1.3.3), L&L (§31, implicitly, and §36)
Here the derivative is a `derivWithin` over `Set.Ioi 0`
since `β > 0`. -/
lemma meanEnergy_eq_neg_deriv_log_mathZ_of_beta
... |
2,627 | leanexplore_declaration | leanexplore:377205 | leanexplore_sqlite | leanexplore_declarations | /-- Helper: equality (on `Set.Ioi 0`) between the β–parametrized logarithm of the
physical partition function and the β–parametrized logarithm of the *mathematical*
partition function up to the (β–independent) semiclassical correction. This is used only
to identify derivatives (the correction drops).
We add the hypothe... |
1,835 | leanexplore_declaration | leanexplore:377206 | leanexplore_sqlite | leanexplore_declarations | /-- Derivative equality needed in `meanEnergy_eq_neg_deriv_log_Z_of_beta`.
Adds `h_fin` (finiteness of the Boltzmann measure for every β > 0). -/
lemma derivWithin_log_phys_eq_derivWithin_log_math
(𝓒 : CanonicalEnsemble ι) (T : Temperature)
(hT_pos : 0 < T.val) [NeZero 𝓒.μ]
(h_fin :
∀ β > 0,
... |
1,138 | leanexplore_declaration | leanexplore:377207 | leanexplore_sqlite | leanexplore_declarations | /-- The mean energy can also be expressed as the negative derivative of the logarithm of the
*physical* partition function with respect to β. This follows from the fact that the physical and
mathematical partition functions differ only by a constant factor, which vanishes upon
differentiation. -/
theorem meanEnergy_eq_... |
1,594 | leanexplore_declaration | leanexplore:377208 | leanexplore_sqlite | leanexplore_declarations | /-- The identity Var(E) = ⟨E²⟩ - ⟨E⟩². -/
theorem energyVariance_eq_meanSquareEnergy_sub_meanEnergy_sq
(𝓒 : CanonicalEnsemble ι) (T : Temperature) [IsProbabilityMeasure (𝓒.μProd T)]
(hE_int : Integrable 𝓒.energy (𝓒.μProd T))
(hE2_int : Integrable (fun i => (𝓒.energy i)^2) (𝓒.μProd T)) :
𝓒.energyV... |
198 | leanexplore_declaration | leanexplore:377209 | leanexplore_sqlite | leanexplore_declarations | /-- The mean energy as a function of the real-valued temperature t. -/
noncomputable def meanEnergy_T (𝓒 : CanonicalEnsemble ι) (t : ℝ) : ℝ :=
𝓒.meanEnergy (Temperature.ofNNReal (Real.toNNReal t)) |
203 | leanexplore_declaration | leanexplore:377210 | leanexplore_sqlite | leanexplore_declarations | /-- The mean energy as a function of the real-valued inverse temperature b. -/
noncomputable def meanEnergyBeta (𝓒 : CanonicalEnsemble ι) (b : ℝ) : ℝ :=
𝓒.meanEnergy (Temperature.ofβ (Real.toNNReal b)) |
223 | leanexplore_declaration | leanexplore:377211 | leanexplore_sqlite | leanexplore_declarations | /-- The heat capacity (at constant volume) C_V = ∂U/∂T (as a derivWithin on T > 0). -/
noncomputable def heatCapacity (𝓒 : CanonicalEnsemble ι) (T : Temperature) : ℝ :=
derivWithin (𝓒.meanEnergy_T) (Set.Ioi 0) (T.val : ℝ) |
1,061 | leanexplore_declaration | leanexplore:377212 | leanexplore_sqlite | leanexplore_declarations | /-- Relates C_V = dU/dT to dU/dβ. C_V = dU/dβ * (-1/(kB T²)). -/
lemma heatCapacity_eq_deriv_meanEnergyBeta
(𝓒 : CanonicalEnsemble ι) (T : Temperature) (hT_pos : 0 < T.val)
(hU_deriv :
HasDerivWithinAt (𝓒.meanEnergyBeta)
(derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ℝ))
(Set.Ioi 0)... |
817 | leanexplore_declaration | leanexplore:377213 | leanexplore_sqlite | leanexplore_declarations | /-- Parametric FDT: C_V = Var(E)/(kB T²), assuming Var(E) = - dU/dβ. -/
theorem fluctuation_dissipation_energy_parametric
(𝓒 : CanonicalEnsemble ι) (T : Temperature) (hT_pos : 0 < T.val)
(h_Var_eq_neg_dUdβ :
𝓒.energyVariance T = - derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ℝ))
(hU_deriv :
... |
304 | leanexplore_declaration | leanexplore:377214 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical ensemble corresponding to state system, with one state of energy
`E₀` and the other state of energy `E₁`. -/
noncomputable def twoState (E₀ E₁ : ℝ) : CanonicalEnsemble (Fin 2) where
energy := fun | 0 => E₀ | 1 => E₁
dof := 0
μ := Measure.count
energy_measurable := by fun_prop |
124 | leanexplore_declaration | leanexplore:377215 | leanexplore_sqlite | leanexplore_declarations | instance {E₀ E₁} : IsFinite (twoState E₀ E₁) where
μ_eq_count := rfl
dof_eq_zero := rfl
phase_space_unit_eq_one := rfl |
227 | leanexplore_declaration | leanexplore:377216 | leanexplore_sqlite | leanexplore_declarations | lemma twoState_partitionFunction_apply (E₀ E₁ : ℝ) (T : Temperature) :
(twoState E₀ E₁).partitionFunction T = exp (- β T * E₀) + exp (- β T * E₁) := by
rw [partitionFunction_of_fintype, twoState]
simp [Fin.sum_univ_two] |
302 | leanexplore_declaration | leanexplore:377217 | leanexplore_sqlite | leanexplore_declarations | lemma twoState_partitionFunction_apply_eq_cosh (E₀ E₁ : ℝ) (T : Temperature) :
(twoState E₀ E₁).partitionFunction T =
2 * exp (- β T * (E₀ + E₁) / 2) * cosh (β T * (E₁ - E₀) / 2) := by
rw [twoState_partitionFunction_apply, Real.cosh_eq]
field_simp
simp only [mul_add, ← exp_add]
ring_nf |
90 | leanexplore_declaration | leanexplore:377218 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma twoState_energy_fst (E₀ E₁ : ℝ) : (twoState E₀ E₁).energy 0 = E₀ := by
rfl |
90 | leanexplore_declaration | leanexplore:377219 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma twoState_energy_snd (E₀ E₁ : ℝ) : (twoState E₀ E₁).energy 1 = E₁ := by
rfl |
658 | leanexplore_declaration | leanexplore:377220 | leanexplore_sqlite | leanexplore_declarations | /-- Probability of the first state (energy `E₀`) in closed form. -/
lemma twoState_probability_fst (E₀ E₁ : ℝ) (T : Temperature) :
(twoState E₀ E₁).probability T 0 = 1 / 2 * (1 + Real.tanh (β T * (E₁ - E₀) / 2)) := by
set x := β T * (E₁ - E₀) / 2
set C := β T * (E₀ + E₁) / 2
have hE0 : - β T * E₀ = x - C := b... |
659 | leanexplore_declaration | leanexplore:377221 | leanexplore_sqlite | leanexplore_declarations | /-- Probability of the second state (energy `E₁`) in closed form. -/
lemma twoState_probability_snd (E₀ E₁ : ℝ) (T : Temperature) :
(twoState E₀ E₁).probability T 1 = 1 / 2 * (1 - Real.tanh (β T * (E₁ - E₀) / 2)) := by
set x := β T * (E₁ - E₀) / 2
set C := β T * (E₀ + E₁) / 2
have hE0 : - β T * E₀ = x - C := ... |
284 | leanexplore_declaration | leanexplore:377222 | leanexplore_sqlite | leanexplore_declarations | lemma twoState_meanEnergy_eq (E₀ E₁ : ℝ) (T : Temperature) :
(twoState E₀ E₁).meanEnergy T =
(E₀ + E₁) / 2 - (E₁ - E₀) / 2 * Real.tanh (β T * (E₁ - E₀) / 2) := by
rw [meanEnergy_of_fintype]
simp [Fin.sum_univ_two, twoState_probability_fst, twoState_probability_snd]
ring |
182 | leanexplore_declaration | leanexplore:377223 | leanexplore_sqlite | leanexplore_declarations | /-- A simplification of the `entropy` of the two-state canonical ensemble. -/
informal_lemma twoState_entropy_eq where
tag := "EVJJI"
deps := [``twoState, ``thermodynamicEntropy] |
182 | leanexplore_declaration | leanexplore:377224 | leanexplore_sqlite | leanexplore_declarations | /-- A simplification of the `helmholtzFreeEnergy` of the two-state canonical ensemble. -/
informal_lemma twoState_helmholtzFreeEnergy_eq where
tag := "EVMPR"
deps := [``twoState] |
298 | leanexplore_declaration | leanexplore:377225 | leanexplore_sqlite | leanexplore_declarations | /-- The condition on a collection of charges `c` that it extends to an anomaly free `Quanta`.
That anomaly free `Quanta` is not tracked by this proposition. -/
def IsAnomalyFree [DecidableEq 𝓩] [CommRing 𝓩] (c : ChargeSpectrum 𝓩) : Prop :=
∃ x ∈ Quanta.liftCharge c, x.LinearAnomalyCancellation |
128 | leanexplore_declaration | leanexplore:377226 | leanexplore_sqlite | leanexplore_declarations | instance [DecidableEq 𝓩] [CommRing 𝓩] {c : ChargeSpectrum 𝓩} : Decidable (IsAnomalyFree c) :=
Multiset.decidableExistsMultiset |
838 | leanexplore_declaration | leanexplore:377227 | leanexplore_sqlite | leanexplore_declarations | lemma isAnomalyFree_map (f : 𝓩 →+* 𝓩1) {c : ChargeSpectrum 𝓩}
(h : IsAnomalyFree c) : IsAnomalyFree (c.map (f.toAddMonoidHom)) := by
obtain ⟨Q, h1, h2⟩ := h
match Q with
| ⟨qHd, qHu, F5, F10⟩ =>
let QM : Quanta 𝓩1 := ⟨Option.map f qHd, Option.map f qHu, F5.map fun y => (f y.1, y.2),
F10.map fun y =>... |
632 | leanexplore_declaration | leanexplore:377228 | leanexplore_sqlite | leanexplore_declarations | /-- The viable charges which are anomaly free. -/
lemma viable_anomalyFree (I : CodimensionOneConfig) :
(viableCharges I).filter IsAnomalyFree =
(match I with
| .same => {⟨some 2, some (-2), {-3, -1}, {-1}⟩,
⟨some 2, some (-2), {-1, 1}, {-1}⟩,
⟨some (-2), some 2, {-1, 1}, {1}⟩,
⟨some (-2),... |
695 | leanexplore_declaration | leanexplore:377229 | leanexplore_sqlite | leanexplore_declarations | /-- The distinct codimension one configurations of the
zero-section (`σ₀`) relativity to the additional rational section (`σ₁`s). -/
inductive CodimensionOneConfig
/-- `σ₀` and `σ₁` intersect the same `ℙ¹` of the `I₅` Kodaira fiber.
This is sometimes denoted `I₅^{(01)}` -/
| same : CodimensionOneConfig
/-- ... |
145 | leanexplore_declaration | leanexplore:377230 | leanexplore_sqlite | leanexplore_declarations | /-- `σ₀` and `σ₁` intersect the same `ℙ¹` of the `I₅` Kodaira fiber.
This is sometimes denoted `I₅^{(01)}` -/
| same : CodimensionOneConfig |
170 | leanexplore_declaration | leanexplore:377231 | leanexplore_sqlite | leanexplore_declarations | /-- `σ₀` and `σ₁` intersect the nearest neighbor `ℙ¹`s of the `I₅` Kodaira fiber.
This is sometimes denoted `I₅^{(0|1)}` -/
| nearestNeighbor : CodimensionOneConfig |
185 | leanexplore_declaration | leanexplore:377232 | leanexplore_sqlite | leanexplore_declarations | /-- `σ₀` and `σ₁` intersect the next to nearest neighbor `ℙ¹`s of the `I₅` Kodaira fiber.
This is sometimes denoted `I₅^{(0||1)}` -/
| nextToNearestNeighbor : CodimensionOneConfig |
155 | leanexplore_declaration | leanexplore:377234 | leanexplore_sqlite | leanexplore_declarations | instance : Fintype CodimensionOneConfig where
elems := {same, nearestNeighbor, nextToNearestNeighbor}
complete := by
intro I
cases I <;> decide |
313 | leanexplore_declaration | leanexplore:377235 | leanexplore_sqlite | leanexplore_declarations | /-- The allowed `U(1)`-charges of matter in the 5-bar representation of `SU(5)`
given a `CodimensionOneConfig`. -/
def allowedBarFiveCharges : CodimensionOneConfig → Finset ℤ
| same => {-3, -2, -1, 0, 1, 2, 3}
| nearestNeighbor => {-14, -9, -4, 1, 6, 11}
| nextToNearestNeighbor => {-13, -8, -3, 2, 7, 12} |
302 | leanexplore_declaration | leanexplore:377236 | leanexplore_sqlite | leanexplore_declarations | /-- The allowed `U(1)`-charges of matter in the 10d representation of `SU(5)`
given a `CodimensionOneConfig`. -/
def allowedTenCharges : CodimensionOneConfig → Finset ℤ
| same => {-3, -2, -1, 0, 1, 2, 3}
| nearestNeighbor => {-12, -7, -2, 3, 8, 13}
| nextToNearestNeighbor => {-9, -4, 1, 6, 11} |
177 | leanexplore_declaration | leanexplore:377237 | leanexplore_sqlite | leanexplore_declarations | instance : (I : CodimensionOneConfig) → Fintype I.allowedBarFiveCharges
| same => inferInstance
| nearestNeighbor => inferInstance
| nextToNearestNeighbor => inferInstance |
173 | leanexplore_declaration | leanexplore:377238 | leanexplore_sqlite | leanexplore_declarations | instance : (I : CodimensionOneConfig) → Fintype I.allowedTenCharges
| same => inferInstance
| nearestNeighbor => inferInstance
| nextToNearestNeighbor => inferInstance |
6,681 | leanexplore_declaration | leanexplore:377239 | leanexplore_sqlite | leanexplore_declarations | /--
The multiset of charges which are completions of charges which minimally allow the top Yukawa,
which are not phenomenologically constrained, and do not regenerate dangerous couplings.
This can be constructed via
`#eval completeMinSubset same.allowedBarFiveCharges same.allowedTenCharges`
-/
def viableCompletions... |
184 | leanexplore_declaration | leanexplore:377240 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_card (I : CodimensionOneConfig) :
(viableCompletions I).card = if I = same then 70 else
if I = nearestNeighbor then 48 else 37 := by
cases I <;> rfl |
125 | leanexplore_declaration | leanexplore:377241 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_nodup (I : CodimensionOneConfig) :
(viableCompletions I).Nodup := by
cases I <;> decide +kernel |
160 | leanexplore_declaration | leanexplore:377242 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_isPhenoConstrained (I : CodimensionOneConfig) :
∀ x ∈ viableCompletions I, ¬ IsPhenoConstrained x := by
cases I <;> decide +kernel |
192 | leanexplore_declaration | leanexplore:377243 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_yukawaGeneratesDangerousAtLevel_one (I : CodimensionOneConfig) :
∀ x ∈ viableCompletions I, ¬ YukawaGeneratesDangerousAtLevel x 1 := by
cases I <;> decide +kernel |
241 | leanexplore_declaration | leanexplore:377244 | leanexplore_sqlite | leanexplore_declarations | lemma containsPhenoCompletionsOfMinimallyAllows_viableCompletions :
(I : CodimensionOneConfig) →
ContainsPhenoCompletionsOfMinimallyAllows I.allowedBarFiveCharges
I.allowedTenCharges (viableCompletions I) := by
decide +kernel |
3,347 | leanexplore_declaration | leanexplore:377245 | leanexplore_sqlite | leanexplore_declarations | /-- The charges in addition to `viableCompletions` which which permit a top Yukawa coupling,
are not phenomenologically constrained,
and do not regenerate dangerous couplings with one insertion of a Yukawa coupling.
These can be found with e.g.
- #eval (viableChargesMultiset same.allowedBarFiveCharges same.all... |
137 | leanexplore_declaration | leanexplore:377246 | leanexplore_sqlite | leanexplore_declarations | lemma viableChargesAdditional_nodup (I : CodimensionOneConfig) :
(viableChargesAdditional I).Nodup := by
cases I <;> decide +kernel |
185 | leanexplore_declaration | leanexplore:377247 | leanexplore_sqlite | leanexplore_declarations | lemma not_isPhenoConstrained_of_mem_viableChargesAdditional (I : CodimensionOneConfig) :
∀ x ∈ (viableChargesAdditional I), ¬ IsPhenoConstrained x := by
cases I <;> decide +kernel |
217 | leanexplore_declaration | leanexplore:377248 | leanexplore_sqlite | leanexplore_declarations | lemma yukawaGeneratesDangerousAtLevel_one_of_mem_viableChargesAdditional
(I : CodimensionOneConfig) :
∀ x ∈ (viableChargesAdditional I), ¬ YukawaGeneratesDangerousAtLevel x 1 := by
cases I <;> decide +kernel |
236 | leanexplore_declaration | leanexplore:377249 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_disjiont_viableChargesAdditional (I : CodimensionOneConfig) :
Disjoint (viableCompletions I) (viableChargesAdditional I) := by
refine Multiset.inter_eq_zero_iff_disjoint.mp ?_
cases I
<;> decide +kernel |
439 | leanexplore_declaration | leanexplore:377250 | leanexplore_sqlite | leanexplore_declarations | /-- All charges, for a given `CodimensionOneConfig`, `I`,
which permit a top Yukawa coupling, are not phenomenologically constrained,
and do not regenerate dangerous couplings with one insertion of a Yukawa coupling.
These trees can be found with e.g.
`#eval viableChargesExt nextToNearestNeighbor`. -/
def viab... |
235 | leanexplore_declaration | leanexplore:377251 | leanexplore_sqlite | leanexplore_declarations | lemma viableCharges_nodup (I : CodimensionOneConfig) :
(viableCharges I).Nodup := (Multiset.Nodup.add_iff (viableCompletions_nodup I)
(viableChargesAdditional_nodup I)).mpr (viableCompletions_disjiont_viableChargesAdditional I) |
180 | leanexplore_declaration | leanexplore:377252 | leanexplore_sqlite | leanexplore_declarations | lemma viableCharges_card (I : CodimensionOneConfig) :
(viableCharges I).card =
if I = .same then 102 else
if I = .nearestNeighbor then 71 else 51 := by
decide +revert |
207 | leanexplore_declaration | leanexplore:377253 | leanexplore_sqlite | leanexplore_declarations | lemma viableCharges_mem_ofFinset (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), x ∈ ofFinset I.allowedBarFiveCharges I.allowedTenCharges := by
revert I
simp [mem_ofFinset_iff]
decide +kernel |
134 | leanexplore_declaration | leanexplore:377254 | leanexplore_sqlite | leanexplore_declarations | lemma isComplete_of_mem_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), IsComplete x := by
revert I
decide |
154 | leanexplore_declaration | leanexplore:377255 | leanexplore_sqlite | leanexplore_declarations | lemma allowsTerm_topYukawa_of_mem_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), x.AllowsTerm topYukawa := by
revert I
decide |
333 | leanexplore_declaration | leanexplore:377256 | leanexplore_sqlite | leanexplore_declarations | lemma not_isPhenoConstrained_of_mem_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), ¬ IsPhenoConstrained x := by
rw [viableCharges]
intro x hs
simp at hs
rcases hs with hs | hs
· exact viableCompletions_isPhenoConstrained I x hs
· exact not_isPhenoConstrained_of_mem_viableChargesAddi... |
399 | leanexplore_declaration | leanexplore:377257 | leanexplore_sqlite | leanexplore_declarations | lemma not_yukawaGeneratesDangerousAtLevel_one_of_mem_viableCharges
(I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), ¬ YukawaGeneratesDangerousAtLevel x 1 := by
rw [viableCharges]
intro x hs
simp at hs
rcases hs with hs | hs
· exact viableCompletions_yukawaGeneratesDangerousAtLevel_one I x hs
· ... |
141 | leanexplore_declaration | leanexplore:377258 | leanexplore_sqlite | leanexplore_declarations | lemma card_five_bar_le_of_mem_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), x.Q5.card ≤ 2 := by
revert I
decide |
137 | leanexplore_declaration | leanexplore:377259 | leanexplore_sqlite | leanexplore_declarations | lemma card_ten_le_of_mem_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCharges I), x.Q10.card ≤ 2 := by
revert I
decide |
462 | leanexplore_declaration | leanexplore:377260 | leanexplore_sqlite | leanexplore_declarations | /-- Inserting a `q5` charge into an element of `viableCharges I` either
1. produces another element of `viableCharges I`, or
2. produce a charge which is phenomenologically constrained or regenerates dangerous couplings
with the Yukawas. -/
lemma isPhenoClosedQ5_viableCharges : (I : CodimensionOneConfig) →
IsPhen... |
463 | leanexplore_declaration | leanexplore:377261 | leanexplore_sqlite | leanexplore_declarations | /-- Inserting a `q10` charge into an element of `viableCharges I` either
1. produces another element of `viableCharges I`, or
2. produce a charge which is phenomenologically constrained or regenerates dangerous couplings
with the Yukawas. -/
lemma isPhenoClosedQ10_viableCharges : (I : CodimensionOneConfig) →
IsPh... |
215 | leanexplore_declaration | leanexplore:377262 | leanexplore_sqlite | leanexplore_declarations | lemma viableCompletions_subset_viableCharges (I : CodimensionOneConfig) :
∀ x ∈ (viableCompletions I), x ∈ viableCharges I := by
rw [viableCharges]
intro x hx
simp only [Multiset.mem_add]
left
exact hx |
785 | leanexplore_declaration | leanexplore:377263 | leanexplore_sqlite | leanexplore_declarations | lemma mem_viableCharges_iff {I} {x : ChargeSpectrum}
(hsub : x ∈ ofFinset I.allowedBarFiveCharges I.allowedTenCharges) :
x ∈ viableCharges I ↔ AllowsTerm x topYukawa ∧
¬ IsPhenoConstrained x ∧ ¬ YukawaGeneratesDangerousAtLevel x 1 ∧ IsComplete x :=
completeness_of_isPhenoClosedQ5_isPhenoClosedQ10
(all... |
531 | leanexplore_declaration | leanexplore:377264 | leanexplore_sqlite | leanexplore_declarations | lemma mem_viableCharges_iff' {I} {x : ChargeSpectrum} :
x ∈ viableCharges I ↔
x ∈ ofFinset I.allowedBarFiveCharges I.allowedTenCharges ∧
AllowsTerm x topYukawa ∧
¬ IsPhenoConstrained x ∧ ¬ YukawaGeneratesDangerousAtLevel x 1 ∧ IsComplete x := by
constructor
· intro h
have h1 : x ∈ ofFinset I.all... |
176 | leanexplore_declaration | leanexplore:377265 | leanexplore_sqlite | leanexplore_declarations | /-- The data of the fluxes carried by a matter field. -/
structure Fluxes where
/-- The chirality flux. -/
M : ℤ
/-- The hypercharge flux. -/
N : ℤ
deriving DecidableEq |
89 | leanexplore_declaration | leanexplore:377268 | leanexplore_sqlite | leanexplore_declarations | instance : Repr Fluxes where
reprPrec x _ := "⟨" ++ repr x.M ++ ", " ++ repr x.N ++ "⟩" |
101 | leanexplore_declaration | leanexplore:377269 | leanexplore_sqlite | leanexplore_declarations | lemma ext_iff {f1 f2 : Fluxes} : f1 = f2 ↔ f1.M = f2.M ∧ f1.N = f2.N := by
cases f1; cases f2; simp |
48 | leanexplore_declaration | leanexplore:377271 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma zero_M : (0 : Fluxes).M = 0 := rfl |
48 | leanexplore_declaration | leanexplore:377272 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma zero_N : (0 : Fluxes).N = 0 := rfl |
69 | leanexplore_declaration | leanexplore:377273 | leanexplore_sqlite | leanexplore_declarations | instance : Add Fluxes where
add f1 f2 := ⟨f1.M + f2.M, f1.N + f2.N⟩ |
71 | leanexplore_declaration | leanexplore:377274 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma add_M (f1 f2 : Fluxes) : (f1 + f2).M = f1.M + f2.M := rfl |
71 | leanexplore_declaration | leanexplore:377275 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma add_N (f1 f2 : Fluxes) : (f1 + f2).N = f1.N + f2.N := rfl |
502 | leanexplore_declaration | leanexplore:377276 | leanexplore_sqlite | leanexplore_declarations | instance : AddCommMonoid Fluxes where
add_assoc f1 f2 f3 := Fluxes.ext_iff.mpr <| by simp only [add_M, add_N]; ring_nf; simp
zero_add f := Fluxes.ext_iff.mpr <| by simp
add_zero f := Fluxes.ext_iff.mpr <| by simp
add_comm f1 f2 := Fluxes.ext_iff.mpr <| by simp only [add_M, add_N]; ring_nf; simp
nsmul n f := ⟨... |
110 | leanexplore_declaration | leanexplore:377277 | leanexplore_sqlite | leanexplore_declarations | /-- The fluxes `(M, N)` of the 5-bar matter curves of a theory. -/
abbrev FluxesFive : Type := Multiset Fluxes |
86 | leanexplore_declaration | leanexplore:377278 | leanexplore_sqlite | leanexplore_declarations | instance : DecidableEq FluxesFive :=
inferInstanceAs (DecidableEq (Multiset Fluxes)) |
181 | leanexplore_declaration | leanexplore:377279 | leanexplore_sqlite | leanexplore_declarations | /-- The proposition on `FluxesFive` such that `(0, 0)` is not in `F`
and as such each component in `F` leads to chiral matter. -/
abbrev HasNoZero (F : FluxesFive) : Prop := 0 ∉ F |
202 | leanexplore_declaration | leanexplore:377280 | leanexplore_sqlite | leanexplore_declarations | /-- The multiset of chiral indices of the representation `D = (bar 3,1)_{1/3}`
arising from the matter 5d representations. -/
def chiralIndicesOfD (F : FluxesFive) : Multiset ℤ := F.map (fun f => f.M) |
191 | leanexplore_declaration | leanexplore:377281 | leanexplore_sqlite | leanexplore_declarations | /-- The total number of chiral `D` representations arising from the matter 5d
representations. -/
def numChiralD (F : FluxesFive) : ℤ :=
((chiralIndicesOfD F).filter (fun x => 0 ≤ x)).sum |
200 | leanexplore_declaration | leanexplore:377282 | leanexplore_sqlite | leanexplore_declarations | /-- The total number of anti-chiral `D` representations arising from the matter 5d
representations. -/
def numAntiChiralD (F : FluxesFive) : ℤ :=
((chiralIndicesOfD F).filter (fun x => x < 0)).sum |
419 | leanexplore_declaration | leanexplore:377283 | leanexplore_sqlite | leanexplore_declarations | lemma numChiralD_eq_sum_sub_numAntiChiralD (F : FluxesFive) :
F.numChiralD = (chiralIndicesOfD F).sum - F.numAntiChiralD := by
have h1 : (chiralIndicesOfD F) =
(chiralIndicesOfD F).filter (fun x => 0 ≤ x) +
(chiralIndicesOfD F).filter (fun x => ¬ 0 ≤ x) := by
exact Eq.symm (Multiset.filter_add_not (... |
205 | leanexplore_declaration | leanexplore:377284 | leanexplore_sqlite | leanexplore_declarations | /-- The multiset of chiral indices of the representation `L = (1,2)_{-1/2}`
arising from the matter 5d representations. -/
def chiralIndicesOfL (F : FluxesFive) : Multiset ℤ := F.map (fun f => f.M + f.N) |
191 | leanexplore_declaration | leanexplore:377285 | leanexplore_sqlite | leanexplore_declarations | /-- The total number of chiral `L` representations arising from the matter 5d
representations. -/
def numChiralL (F : FluxesFive) : ℤ :=
((chiralIndicesOfL F).filter (fun x => 0 ≤ x)).sum |
200 | leanexplore_declaration | leanexplore:377286 | leanexplore_sqlite | leanexplore_declarations | /-- The total number of anti-chiral `L` representations arising from the matter 5d
representations. -/
def numAntiChiralL (F : FluxesFive) : ℤ :=
((chiralIndicesOfL F).filter (fun x => x < 0)).sum |
419 | leanexplore_declaration | leanexplore:377287 | leanexplore_sqlite | leanexplore_declarations | lemma numChiralL_eq_sum_sub_numAntiChiralL (F : FluxesFive) :
F.numChiralL = (chiralIndicesOfL F).sum - F.numAntiChiralL := by
have h1 : (chiralIndicesOfL F) =
(chiralIndicesOfL F).filter (fun x => 0 ≤ x) +
(chiralIndicesOfL F).filter (fun x => ¬ 0 ≤ x) := by
exact Eq.symm (Multiset.filter_add_not (... |
443 | leanexplore_declaration | leanexplore:377288 | leanexplore_sqlite | leanexplore_declarations | /-- The condition that the 5d-matter representations do not lead to exotic chiral matter in the
MSSM spectrum. This corresponds to the conditions that:
- There are 3 chiral `L` representations and no anti-chiral `L` representations.
- There are 3 chiral `D` representations and no anti-chiral `D` representations.
-/
d... |
73 | leanexplore_declaration | leanexplore:377289 | leanexplore_sqlite | leanexplore_declarations | instance (F : FluxesFive) : Decidable (F.NoExotics) :=
instDecidableAnd |
107 | leanexplore_declaration | leanexplore:377290 | leanexplore_sqlite | leanexplore_declarations | /-- The fluxes `(M, N)` of the 10d matter curves of a theory. -/
abbrev FluxesTen : Type := Multiset Fluxes |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.