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
115
leanexplore_declaration
leanexplore:377392
leanexplore_sqlite
leanexplore_declarations
lemma reduce_toCharges (x : FiveQuanta 𝓩) : x.reduce.toCharges = x.toCharges.dedup := by simp [reduce, toCharges]
320
leanexplore_declaration
leanexplore:377393
leanexplore_sqlite
leanexplore_declarations
lemma mem_reduce_iff (x : FiveQuanta 𝓩) (p : 𝓩 × Fluxes) : p ∈ x.reduce ↔ p.1 ∈ x.toCharges ∧ p.2 = ((x.filter (fun f => f.1 = p.1)).map (fun y => y.2)).sum := by simp [reduce] constructor · intro h obtain ⟨q, h1, rfl⟩ := h simp_all · simp intro h1 h2 use p.1 simp_all rw [← h...
697
leanexplore_declaration
leanexplore:377394
leanexplore_sqlite
leanexplore_declarations
lemma reduce_filter (x : FiveQuanta 𝓩) (q : 𝓩) (h : q ∈ x.toCharges) : x.reduce.filter (fun f => f.1 = q) = {(q, ((x.filter (fun f => f.1 = q)).map (fun y => y.2)).sum)} := by simp [reduce] rw [Multiset.filter_map] simp only [Function.comp_apply] have hx : (Multiset.filter (fun x => x = q) x.toCharges...
531
leanexplore_declaration
leanexplore:377395
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma reduce_reduce (x : FiveQuanta 𝓩) : x.reduce.reduce = x.reduce := by refine Multiset.Nodup.toFinset_inj ?_ ?_ ?_ · exact reduce_nodup x.reduce · exact reduce_nodup x ext p simp only [Multiset.mem_toFinset] rw [mem_reduce_iff, reduce_toCharges, mem_reduce_iff] simp only [Multiset.mem_dedu...
2,313
leanexplore_declaration
leanexplore:377396
leanexplore_sqlite
leanexplore_declarations
lemma reduce_sum_eq_sum_toCharges {M} [AddCommMonoid M] (x : FiveQuanta 𝓩) (f : 𝓩 → Fluxes →+ M) : (x.reduce.map fun (q5, x) => f q5 x).sum = (x.map fun (q5, x) => f q5 x).sum := by calc _ _ = ∑ q5 ∈ x.toCharges.toFinset, f q5 ((x.filter (fun f => f.1 = q5)).map (fun y => y.2)).sum := by ...
820
leanexplore_declaration
leanexplore:377397
leanexplore_sqlite
leanexplore_declarations
lemma reduce_eq_self_of_ofCharges_nodup (x : FiveQuanta 𝓩) (h : x.toCharges.Nodup) : x.reduce = x := by rw [reduce, Multiset.Nodup.dedup h] simp [toCharges] conv_rhs => rw [← Multiset.map_id x] apply Multiset.map_congr rfl intro p hp simp only [id_eq] have x_noDup : x.Nodup := Multiset.Nodup.of_map P...
357
leanexplore_declaration
leanexplore:377398
leanexplore_sqlite
leanexplore_declarations
lemma reduce_toChargeMap_eq (x : FiveQuanta 𝓩) : x.reduce.toChargeMap = x.toChargeMap := by funext q by_cases h : q ∈ x.toCharges · rw [toChargeMap, reduce_filter] · simp rfl · exact h · rw [toChargeMap_of_not_mem, toChargeMap_of_not_mem] · exact h · rw [reduce_toCharges] simp o...
583
leanexplore_declaration
leanexplore:377399
leanexplore_sqlite
leanexplore_declarations
lemma mem_powerset_sum_of_mem_reduce_toFluxesFive {F : FiveQuanta 𝓩} {f : Fluxes} (hf : f ∈ F.reduce.toFluxesFive) : f ∈ (Multiset.powerset F.toFluxesFive).map fun s => s.sum := by rw [toFluxesFive, Multiset.mem_map] at hf obtain ⟨⟨q, f⟩, hp, rfl⟩ := hf rw [mem_reduce_iff] at hp simp at hp obtain ⟨hq...
873
leanexplore_declaration
leanexplore:377400
leanexplore_sqlite
leanexplore_declarations
lemma mem_powerset_sum_of_mem_reduce_toFluxesFive_filter {F : FiveQuanta 𝓩} {f : Fluxes} (hf : f ∈ F.reduce.toFluxesFive) : f ∈ (F.toFluxesFive.powerset.filter fun s => s ≠ ∅).map fun s => s.sum := by rw [toFluxesFive, Multiset.mem_map] at hf obtain ⟨⟨q, f⟩, hp, rfl⟩ := hf rw [mem_reduce_iff] at hp sim...
1,329
leanexplore_declaration
leanexplore:377401
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numChiralL_of_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive.numChiralL = 3 := by have hE : F.toFluxesFive.NoExotics := by rw [← FluxesFive.noExotics_iff_mem_elemsNoExotics] at hx exact hx.1 rw [← hE.1, FluxesFive.numChir...
624
leanexplore_declaration
leanexplore:377402
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numAntiChiralL_of_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive.numAntiChiralL = 0 := by rw [FluxesFive.numAntiChiralL, FluxesFive.chiralIndicesOfL] have hx : (Multiset.filter (fun x => x < 0) (F.reduce.toFluxesFive.map (fun f =...
1,296
leanexplore_declaration
leanexplore:377403
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numChiralD_of_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive.numChiralD = 3 := by have hE : F.toFluxesFive.NoExotics := by rw [← FluxesFive.noExotics_iff_mem_elemsNoExotics] at hx exact hx.1 rw [← hE.2.2.1, FluxesFive.num...
618
leanexplore_declaration
leanexplore:377404
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numAntiChiralD_of_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive.numAntiChiralD = 0 := by rw [FluxesFive.numAntiChiralD, FluxesFive.chiralIndicesOfD] have hx : (Multiset.filter (fun x => x < 0) (F.reduce.toFluxesFive.map (fun f =...
390
leanexplore_declaration
leanexplore:377405
leanexplore_sqlite
leanexplore_declarations
lemma reduce_noExotics_of_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive.NoExotics := by rw [FluxesFive.NoExotics] rw [reduce_numChiralL_of_mem_elemsNoExotics hx, reduce_numAntiChiralL_of_mem_elemsNoExotics hx, reduce_numChiralD_of_mem_el...
434
leanexplore_declaration
leanexplore:377406
leanexplore_sqlite
leanexplore_declarations
lemma reduce_mem_elemsNoExotics {F : FiveQuanta 𝓩} (hx : F.toFluxesFive ∈ FluxesFive.elemsNoExotics) : F.reduce.toFluxesFive ∈ FluxesFive.elemsNoExotics := by rw [← FluxesFive.noExotics_iff_mem_elemsNoExotics] apply And.intro · exact reduce_noExotics_of_mem_elemsNoExotics hx · intro h replace h := ...
218
leanexplore_declaration
leanexplore:377407
leanexplore_sqlite
leanexplore_declarations
/-- The decomposition of a flux into `⟨1, -1⟩` and `⟨0, 1⟩`. -/ def decomposeFluxes (f : Fluxes) : Multiset Fluxes := Multiset.replicate (Int.natAbs f.M) ⟨1, -1⟩ + Multiset.replicate (Int.natAbs (f.M + f.N)) ⟨0, 1⟩
196
leanexplore_declaration
leanexplore:377408
leanexplore_sqlite
leanexplore_declarations
lemma decomposeFluxes_sum_of_noExotics (f : Fluxes) (hf : ∃ F ∈ FluxesFive.elemsNoExotics, f ∈ F) : (decomposeFluxes f).sum = f := by obtain ⟨F, hF, hfF⟩ := hf revert f revert F decide
247
leanexplore_declaration
leanexplore:377409
leanexplore_sqlite
leanexplore_declarations
/-- The decomposition of a `FiveQuanta` into a `FiveQuanta` which has the same `reduce` by has fluxes `⟨1, -1⟩` and `⟨0,1⟩` only. -/ def decompose (x : FiveQuanta 𝓩) : FiveQuanta 𝓩 := x.bind fun p => (decomposeFluxes p.2).map fun f => (p.1, f)
117
leanexplore_declaration
leanexplore:377410
leanexplore_sqlite
leanexplore_declarations
lemma decompose_add (x y : FiveQuanta 𝓩) : (x + y).decompose = x.decompose + y.decompose := by simp [decompose]
816
leanexplore_declaration
leanexplore:377411
leanexplore_sqlite
leanexplore_declarations
lemma decompose_filter_charge [DecidableEq 𝓩] (x : FiveQuanta 𝓩) (q : 𝓩) : (x.decompose).filter (fun p => p.1 = q) = decompose (x.filter (fun p => p.1 = q)) := by rw [decompose] revert x apply Multiset.induction · simp [decompose] · intro a x ih simp only [Multiset.cons_bind, Multiset.filter_ad...
541
leanexplore_declaration
leanexplore:377412
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toChargeMap [DecidableEq 𝓩] (x : FiveQuanta 𝓩) (hx : x.toFluxesFive ∈ FluxesFive.elemsNoExotics) : x.decompose.toChargeMap = x.toChargeMap := by ext q rw [toChargeMap, decompose_filter_charge] simp [decompose] rw [Multiset.map_bind] simp only [Multiset.map_map, Function.comp_apply, M...
674
leanexplore_declaration
leanexplore:377413
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toCharges_dedup [DecidableEq 𝓩] (x : FiveQuanta 𝓩) (hx : x.toFluxesFive ∈ FluxesFive.elemsNoExotics) : x.decompose.toCharges.dedup = x.toCharges.dedup := by refine Multiset.dedup_ext.mpr ?_ intro q simp [decompose, toCharges, -existsAndEq] constructor · rintro ⟨a, b, c, h1, h2, rfl⟩ ...
389
leanexplore_declaration
leanexplore:377414
leanexplore_sqlite
leanexplore_declarations
lemma decompose_reduce (x : FiveQuanta 𝓩) [DecidableEq 𝓩] (hx : x.toFluxesFive ∈ FluxesFive.elemsNoExotics) : x.decompose.reduce = x.reduce := by rw [reduce, reduce] apply Multiset.map_congr · rw [decompose_toCharges_dedup x hx] · intro q hx' simp only [Prod.mk.injEq, true_and] change x.decomp...
532
leanexplore_declaration
leanexplore:377415
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toFluxesFive (x : FiveQuanta 𝓩) (hx : x.toFluxesFive ∈ FluxesFive.elemsNoExotics) : x.decompose.toFluxesFive = {⟨1, -1⟩, ⟨1, -1⟩, ⟨1, -1⟩, ⟨0, 1⟩, ⟨0, 1⟩, ⟨0, 1⟩} := by rw [toFluxesFive, decompose] rw [Multiset.map_bind] simp only [Multiset.map_map, Function.comp_apply, Multiset.map_id', ...
732
leanexplore_declaration
leanexplore:377416
leanexplore_sqlite
leanexplore_declarations
/-- Given a finite set of charges `c` the `FiveQuanta` which do not have exotics, duplicate charges or zero fluxes, which map down to `c`. -/ def liftCharge (c : Finset 𝓩) : Multiset (FiveQuanta 𝓩) := /- The multisets of cardinality 3 containing 3 elements of `c`. -/ let S53 : Multiset (Multiset 𝓩) := toMultis...
743
leanexplore_declaration
leanexplore:377417
leanexplore_sqlite
leanexplore_declarations
lemma toCharges_toFinset_of_mem_liftCharge (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h : x ∈ liftCharge c) : x.toCharges.toFinset = c := by simp [liftCharge] at h obtain ⟨s1, s2, ⟨⟨⟨s1_subset, s1_card⟩, ⟨s2_subset, s2_card⟩⟩, hsum⟩, rfl⟩ := h rw [← Multiset.toFinset_dedup, reduce_toCharges] simp only [Int.reduce...
258
leanexplore_declaration
leanexplore:377418
leanexplore_sqlite
leanexplore_declarations
lemma toCharges_nodup_of_mem_liftCharge (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h : x ∈ liftCharge c) : x.toCharges.Nodup := by rw [liftCharge, Multiset.mem_map] at h obtain ⟨x, h, rfl⟩ := h rw [reduce_toCharges] exact Multiset.nodup_dedup x.toCharges
713
leanexplore_declaration
leanexplore:377419
leanexplore_sqlite
leanexplore_declarations
lemma exists_toCharges_toFluxesFive_of_mem_liftCharge (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h : x ∈ liftCharge c) : ∃ a : FiveQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ a.toFluxesFive = {⟨1, -1⟩, ⟨1, -1⟩, ⟨1, -1⟩, ⟨0, 1⟩, ⟨0, 1⟩, ⟨0, 1⟩} := by have h' := h rw [liftCharge, Multiset.mem_map] at...
2,496
leanexplore_declaration
leanexplore:377420
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_of_exists_toCharges_toFluxesFive (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h : ∃ a : FiveQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ a.toFluxesFive = {⟨1, -1⟩, ⟨1, -1⟩, ⟨1, -1⟩, ⟨0, 1⟩, ⟨0, 1⟩, ⟨0, 1⟩}) : x ∈ liftCharge c := by obtain ⟨x, rfl, h, h2⟩ := h rw [liftCharge, Multi...
345
leanexplore_declaration
leanexplore:377421
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_iff_exists (c : Finset 𝓩) {x : FiveQuanta 𝓩} : x ∈ liftCharge c ↔ ∃ a : FiveQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ a.toFluxesFive = {⟨1, -1⟩, ⟨1, -1⟩, ⟨1, -1⟩, ⟨0, 1⟩, ⟨0, 1⟩, ⟨0, 1⟩} := ⟨exists_toCharges_toFluxesFive_of_mem_liftCharge c, mem_liftCharge_of_exis...
311
leanexplore_declaration
leanexplore:377422
leanexplore_sqlite
leanexplore_declarations
lemma hasNoZero_of_mem_liftCharge (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h : x ∈ liftCharge c) : x.toFluxesFive.HasNoZero := by rw [mem_liftCharge_iff_exists] at h obtain ⟨x, rfl, h1, h2⟩ := h intro hf have hx := mem_powerset_sum_of_mem_reduce_toFluxesFive_filter hf rw [h2] at hx revert hx decide
266
leanexplore_declaration
leanexplore:377423
leanexplore_sqlite
leanexplore_declarations
lemma noExotics_of_mem_liftCharge (c : Finset 𝓩) (F : FiveQuanta 𝓩) (h : F ∈ liftCharge c) : F.toFluxesFive.NoExotics := by rw [mem_liftCharge_iff_exists] at h obtain ⟨x, rfl, h1, h2⟩ := h apply reduce_noExotics_of_mem_elemsNoExotics rw [h2] decide
710
leanexplore_declaration
leanexplore:377424
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_of_mem_noExotics_hasNoZero (c : Finset 𝓩) {x : FiveQuanta 𝓩} (h1 : x.toFluxesFive.NoExotics) (h2 : x.toFluxesFive.HasNoZero) (h3 : x.toCharges.toFinset = c) (h4 : x.toCharges.Nodup) : x ∈ liftCharge c := by have hf : x.toFluxesFive ∈ FluxesFive.elemsNoExotics := by rw [← FluxesF...
665
leanexplore_declaration
leanexplore:377425
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_iff (c : Finset 𝓩) (x : FiveQuanta 𝓩) : x ∈ liftCharge c ↔ x.toFluxesFive ∈ FluxesFive.elemsNoExotics ∧ x.toCharges.toFinset = c ∧ x.toCharges.Nodup := by constructor · intro h refine ⟨?_, ?_, ?_⟩ · rw [← FluxesFive.noExotics_iff_mem_elemsNoExotics] refine ⟨?_, ?_⟩ ...
589
leanexplore_declaration
leanexplore:377426
leanexplore_sqlite
leanexplore_declarations
lemma map_liftCharge {𝓩 𝓩1 : Type}[DecidableEq 𝓩] [DecidableEq 𝓩1] [CommRing 𝓩] [CommRing 𝓩1] (f : 𝓩 →+* 𝓩1) (c : Finset 𝓩) (F : FiveQuanta 𝓩) (h : F ∈ liftCharge c) : FiveQuanta.reduce (F.map fun y => (f y.1, y.2)) ∈ liftCharge (c.image f) := by rw [mem_liftCharge_iff] at h ⊢ refine ⟨?_, ?_, ?_⟩ ...
444
leanexplore_declaration
leanexplore:377427
leanexplore_sqlite
leanexplore_declarations
/-- The anomaly coefficient of a `FiveQuanta` is given by the pair of integers: `(∑ᵢ qᵢ Nᵢ, ∑ᵢ qᵢ² Nᵢ)`. The first components is for the mixed U(1)-MSSM, see equation (22) of arXiv:1401.5084. The second component is for the mixed U(1)Y-U(1)-U(1) gauge anomaly, see equation (23) of arXiv:1401.5084. -/ def ano...
322
leanexplore_declaration
leanexplore:377428
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma anomalyCoefficient_of_map {𝓩 𝓩1 : Type} [CommRing 𝓩] [CommRing 𝓩1] (f : 𝓩 →+* 𝓩1) (F : FiveQuanta 𝓩) : FiveQuanta.anomalyCoefficient (F.map fun y => (f y.1, y.2) : FiveQuanta 𝓩1) = (f.prodMap f) F.anomalyCoefficient := by simp [FiveQuanta.anomalyCoefficient, map_multiset_sum, Multise...
621
leanexplore_declaration
leanexplore:377429
leanexplore_sqlite
leanexplore_declarations
lemma anomalyCoefficient_of_reduce (F : FiveQuanta 𝓩) [DecidableEq 𝓩] : F.reduce.anomalyCoefficient = F.anomalyCoefficient := by simp [anomalyCoefficient] constructor · let f : 𝓩 → Fluxes →+ 𝓩 := fun q5 => { toFun := fun x => x.2 • q5 map_zero' := by simp map_add' := by intros x ...
1,964
leanexplore_declaration
leanexplore:377430
leanexplore_sqlite
leanexplore_declarations
/-- For a given `I : CodimensionOneConfig` the condition on a `Quanta` for it to be phenomenologically viable. -/ structure IsViable (x : Quanta) : Prop where /-- There is a `Hd`, `Hu`, 5-bar matter and 10d matter. -/ has_all_charges : x.toCharges.IsComplete /-- The charges do not lead to any phenomenologically...
808
leanexplore_declaration
leanexplore:377431
leanexplore_sqlite
leanexplore_declarations
lemma isViable_iff_def (x : Quanta) : IsViable x ↔ x.toCharges.IsComplete ∧ ¬ x.toCharges.IsPhenoConstrained ∧ ¬ x.toCharges.YukawaGeneratesDangerousAtLevel 1 ∧ (∃ I : CodimensionOneConfig, x.toCharges ∈ ofFinset I.allowedBarFiveCharges I.allowedTenCharges) ∧ x.F.toCharges.Nodup ∧ x.T.toCh...
624
leanexplore_declaration
leanexplore:377432
leanexplore_sqlite
leanexplore_declarations
lemma isViable_iff_charges_mem_viableCharges (x : Quanta) : IsViable x ↔ /- 1. Conditions just on the charges. -/ (∃ I, x.toCharges ∈ viableCharges I) ∧ x.F.toCharges.Nodup ∧ x.T.toCharges.Nodup ∧ /- 2. Conditions just on the fluxes -/ x.F.toFluxesFive.NoExotics ∧ ...
502
leanexplore_declaration
leanexplore:377433
leanexplore_sqlite
leanexplore_declarations
lemma isViable_iff_charges_mem_viableCharges_mem_liftCharges (x : Quanta) : IsViable x ↔ (∃ I, x.toCharges ∈ viableCharges I) ∧ x ∈ Quanta.liftCharge x.toCharges ∧ x.LinearAnomalyCancellation := by rw [Quanta.mem_liftCharge_iff] simp [toCharges_qHd, toCharges_qHu] rw [FiveQuanta.mem_liftCharge_iff...
294
leanexplore_declaration
leanexplore:377434
leanexplore_sqlite
leanexplore_declarations
lemma isViable_iff_filter (x : Quanta) : IsViable x ↔ (∃ I, x.toCharges ∈ (viableCharges I).filter IsAnomalyFree) ∧ x ∈ Quanta.liftCharge x.toCharges ∧ x.LinearAnomalyCancellation := by rw [isViable_iff_charges_mem_viableCharges_mem_liftCharges] simp [IsAnomalyFree] aesop
2,624
leanexplore_declaration
leanexplore:377435
leanexplore_sqlite
leanexplore_declarations
/-- Given a `CodimensionOneConfig` the `Quanta` which satisfy the condition `IsViable`. -/ def viableElems : Multiset Quanta := {⟨some 2, some (-2), {(-1, ⟨3, -2⟩), (-3, ⟨0, 2⟩)}, {(-1, ⟨3, 0⟩)}⟩, ⟨some 2, some (-2), {(-1, ⟨3, -2⟩), (-3, ⟨0, 2⟩)}, {(-1, ⟨3, 0⟩)}⟩, ⟨some 2, some (-2), {(-1, ⟨2, -2⟩), (-3, ⟨1, 2⟩)}...
173
leanexplore_declaration
leanexplore:377436
leanexplore_sqlite
leanexplore_declarations
lemma isViable_of_mem_viableElems (x : Quanta) (h : x ∈ viableElems) : IsViable x := by rw [isViable_iff_charges_mem_viableCharges_mem_liftCharges] revert x decide
356
leanexplore_declaration
leanexplore:377437
leanexplore_sqlite
leanexplore_declarations
lemma isViable_iff_mem_viableElems (x : Quanta) : x.IsViable ↔ x ∈ viableElems := by constructor · intro h rw [isViable_iff_filter] at h obtain ⟨⟨I, hc⟩, hl, ha⟩ := h generalize x.toCharges = c at * revert ha revert x rw [viable_anomalyFree] at hc revert c revert I decide ·...
323
leanexplore_declaration
leanexplore:377438
leanexplore_sqlite
leanexplore_declarations
/-- Every viable Quanta regenerates a dangerous coupling at two insertions of the Yukawa singlets. -/ lemma yukawaSingletsRegenerateDangerousInsertion_two_of_isViable (x : Quanta) (h : IsViable x) : (toCharges x).YukawaGeneratesDangerousAtLevel 2 := by rw [isViable_iff_mem_viableElems] at h revert x dec...
635
leanexplore_declaration
leanexplore:377439
leanexplore_sqlite
leanexplore_declarations
lemma quarticAnomalyCancellation_iff_mem_of_isViable (x : Quanta) (h : IsViable x) : x.QuarticAnomalyCancellation ↔ x ∈ ({⟨some 2, some (-2), {(-1, ⟨1, 2⟩), (1, ⟨2, -2⟩)}, {(-1, ⟨3, 0⟩)}⟩, ⟨some 2, some (-2), {(-1, ⟨0, 2⟩), (1, ⟨3, -2⟩)}, {(-1, ⟨3, 0⟩)}⟩, ⟨some (-2), some 2, {(-1, ⟨2, -2⟩), (1, ⟨1, 2⟩)}...
310
leanexplore_declaration
leanexplore:377440
leanexplore_sqlite
leanexplore_declarations
lemma map_to_Z2_of_isViable (x : Quanta ℤ) (h : IsViable x) : x.toCharges.map (Int.castAddHom (ZMod 2)) ∈ ({⟨some 0, some 0, {1}, {1}⟩, ⟨some 0, some 0, {0,1}, {1}⟩, ⟨some 0, some 0, {0,1}, {0}⟩} : Finset (ChargeSpectrum (ZMod 2))) := by rw [isViable_iff_mem_viableElems] at h revert x decide
218
leanexplore_declaration
leanexplore:377441
leanexplore_sqlite
leanexplore_declarations
/-- The quanta of w0d representations corresponding to a multiset of `(q, M, N)` for each particle. `(M, N)` are defined in the `FluxesFive` module. -/ abbrev TenQuanta (𝓩 : Type := ℤ) : Type := Multiset (𝓩 × Fluxes)
117
leanexplore_declaration
leanexplore:377442
leanexplore_sqlite
leanexplore_declarations
/-- The underlying `FluxesTen` from a `TenQuanta`. -/ def toFluxesTen (x : TenQuanta 𝓩) : FluxesTen := x.map Prod.snd
121
leanexplore_declaration
leanexplore:377443
leanexplore_sqlite
leanexplore_declarations
/-- The underlying Multiset charges from a `TenQuanta`. -/ def toCharges (x : TenQuanta 𝓩) : Multiset 𝓩 := x.map Prod.fst
217
leanexplore_declaration
leanexplore:377444
leanexplore_sqlite
leanexplore_declarations
/-- The map which takes a charge to the overall flux it corresponds to in a `TenQuanta`. -/ def toChargeMap [DecidableEq 𝓩] (x : TenQuanta 𝓩) : 𝓩 → Fluxes := fun z => ((x.filter fun p => p.1 = z).map Prod.snd).sum
363
leanexplore_declaration
leanexplore:377445
leanexplore_sqlite
leanexplore_declarations
lemma toChargeMap_of_not_mem [DecidableEq 𝓩] (x : TenQuanta 𝓩) {z : 𝓩} (h : z ∉ x.toCharges) : x.toChargeMap z = 0 := by simp [toChargeMap] have hl : (Multiset.filter (fun p => p.1 = z) x) = 0 := by simp only [Multiset.filter_eq_nil, Prod.forall] intro a b f by_contra hn subst hn simp [to...
293
leanexplore_declaration
leanexplore:377446
leanexplore_sqlite
leanexplore_declarations
/-- The `reduce` of `TenQuanta` is a new `TenQuanta` with all the fluxes corresponding to the same charge (i.e. representation) added together. -/ def reduce (x : TenQuanta 𝓩) : TenQuanta 𝓩 := x.toCharges.dedup.map fun q10 => (q10, ((x.filter (fun f => f.1 = q10)).map (fun y => y.2)).sum)
223
leanexplore_declaration
leanexplore:377447
leanexplore_sqlite
leanexplore_declarations
lemma reduce_nodup (x : TenQuanta 𝓩) : x.reduce.Nodup := by simp [reduce, toCharges] refine Multiset.Nodup.map ?_ ?_ · intro q1 q2 h simp at h exact h.1 · exact Multiset.nodup_dedup (Multiset.map Prod.fst x)
113
leanexplore_declaration
leanexplore:377448
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma reduce_dedup (x : TenQuanta 𝓩) : x.reduce.dedup = x.reduce := Multiset.Nodup.dedup x.reduce_nodup
114
leanexplore_declaration
leanexplore:377449
leanexplore_sqlite
leanexplore_declarations
lemma reduce_toCharges (x : TenQuanta 𝓩) : x.reduce.toCharges = x.toCharges.dedup := by simp [reduce, toCharges]
334
leanexplore_declaration
leanexplore:377450
leanexplore_sqlite
leanexplore_declarations
lemma mem_reduce_iff (x : TenQuanta 𝓩) (p : 𝓩 × Fluxes) : p ∈ x.reduce ↔ p.1 ∈ x.toCharges ∧ p.2 = ((x.filter (fun f => f.1 = p.1)).map (fun y => y.2)).sum := by simp [reduce] constructor · intro h obtain ⟨q, h1, rfl⟩ := h simp_all · simp only [and_imp] intro h1 h2 use p.1 simp_a...
696
leanexplore_declaration
leanexplore:377451
leanexplore_sqlite
leanexplore_declarations
lemma reduce_filter (x : TenQuanta 𝓩) (q : 𝓩) (h : q ∈ x.toCharges) : x.reduce.filter (fun f => f.1 = q) = {(q, ((x.filter (fun f => f.1 = q)).map (fun y => y.2)).sum)} := by simp [reduce] rw [Multiset.filter_map] simp only [Function.comp_apply] have hx : (Multiset.filter (fun x => x = q) x.toCharges....
530
leanexplore_declaration
leanexplore:377452
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma reduce_reduce (x : TenQuanta 𝓩) : x.reduce.reduce = x.reduce := by refine Multiset.Nodup.toFinset_inj ?_ ?_ ?_ · exact reduce_nodup x.reduce · exact reduce_nodup x ext p simp only [Multiset.mem_toFinset] rw [mem_reduce_iff, reduce_toCharges, mem_reduce_iff] simp only [Multiset.mem_dedup...
2,296
leanexplore_declaration
leanexplore:377453
leanexplore_sqlite
leanexplore_declarations
lemma reduce_sum_eq_sum_toCharges {M} [AddCommMonoid M] (x : TenQuanta 𝓩) (f : 𝓩 → Fluxes →+ M) : (x.reduce.map fun (q, x) => f q x).sum = (x.map fun (q, x) => f q x).sum := by calc _ _ = ∑ q ∈ x.toCharges.toFinset, f q ((x.filter (fun f => f.1 = q)).map (fun y => y.2)).sum := by rw [red...
825
leanexplore_declaration
leanexplore:377454
leanexplore_sqlite
leanexplore_declarations
lemma reduce_eq_self_of_ofCharges_nodup (x : TenQuanta 𝓩) (h : x.toCharges.Nodup) : x.reduce = x := by rw [reduce] rw [Multiset.Nodup.dedup h] simp [toCharges] conv_rhs => rw [← Multiset.map_id x] apply Multiset.map_congr rfl intro p hp simp only [id_eq] have x_noDup : x.Nodup := Multiset.Nodup.of_...
356
leanexplore_declaration
leanexplore:377455
leanexplore_sqlite
leanexplore_declarations
lemma reduce_toChargeMap_eq (x : TenQuanta 𝓩) : x.reduce.toChargeMap = x.toChargeMap := by funext q by_cases h : q ∈ x.toCharges · rw [toChargeMap, reduce_filter] · simp rfl · exact h · rw [toChargeMap_of_not_mem, toChargeMap_of_not_mem] · exact h · rw [reduce_toCharges] simp on...
577
leanexplore_declaration
leanexplore:377456
leanexplore_sqlite
leanexplore_declarations
lemma mem_powerset_sum_of_mem_reduce_toFluxesTen {F : TenQuanta 𝓩} {f : Fluxes} (hf : f ∈ F.reduce.toFluxesTen) : f ∈ (Multiset.powerset F.toFluxesTen).map fun s => s.sum := by rw [toFluxesTen, Multiset.mem_map] at hf obtain ⟨⟨q, f⟩, hp, rfl⟩ := hf rw [mem_reduce_iff] at hp simp at hp obtain ⟨hq, rfl...
766
leanexplore_declaration
leanexplore:377457
leanexplore_sqlite
leanexplore_declarations
lemma mem_powerset_sum_of_mem_reduce_toFluxesTen_filter {F : TenQuanta 𝓩} {f : Fluxes} (hf : f ∈ F.reduce.toFluxesTen) : f ∈ (F.toFluxesTen.powerset.filter fun s => s ≠ 0).map fun s => s.sum := by rw [toFluxesTen, Multiset.mem_map] at hf obtain ⟨⟨q, f⟩, hp, rfl⟩ := hf rw [mem_reduce_iff] at hp simp at ...
1,302
leanexplore_declaration
leanexplore:377458
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numChiralU_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numChiralU = 3 := by have hE : F.toFluxesTen.NoExotics := by rw [← FluxesTen.noExotics_iff_mem_elemsNoExotics] at hx exact hx.1 rw [← hE.2.2.1, FluxesTen.numChiralU...
615
leanexplore_declaration
leanexplore:377459
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numAntiChiralU_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numAntiChiralU = 0 := by rw [FluxesTen.numAntiChiralU, FluxesTen.chiralIndicesOfU] have hx : (Multiset.filter (fun x => x < 0) (F.reduce.toFluxesTen.map (fun f => f.M -...
1,274
leanexplore_declaration
leanexplore:377460
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numChiralQ_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numChiralQ = 3 := by have hE : F.toFluxesTen.NoExotics := by rw [← FluxesTen.noExotics_iff_mem_elemsNoExotics] at hx exact hx.1 rw [← hE.1, FluxesTen.numChiralQ, Fl...
609
leanexplore_declaration
leanexplore:377461
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numAntiChiralQ_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numAntiChiralQ = 0 := by rw [FluxesTen.numAntiChiralQ, FluxesTen.chiralIndicesOfQ] have hx : (Multiset.filter (fun x => x < 0) (F.reduce.toFluxesTen.map (fun f => f.M))...
1,306
leanexplore_declaration
leanexplore:377462
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numChiralE_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numChiralE = 3 := by have hE : F.toFluxesTen.NoExotics := by rw [← FluxesTen.noExotics_iff_mem_elemsNoExotics] at hx exact hx.1 rw [← hE.2.2.2.2.1, FluxesTen.numChi...
615
leanexplore_declaration
leanexplore:377463
leanexplore_sqlite
leanexplore_declarations
lemma reduce_numAntiChiralE_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.numAntiChiralE = 0 := by rw [FluxesTen.numAntiChiralE, FluxesTen.chiralIndicesOfE] have hx : (Multiset.filter (fun x => x < 0) (F.reduce.toFluxesTen.map (fun f => f.M +...
481
leanexplore_declaration
leanexplore:377464
leanexplore_sqlite
leanexplore_declarations
lemma reduce_noExotics_of_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen.NoExotics := by rw [FluxesTen.NoExotics] rw [reduce_numChiralU_of_mem_elemsNoExotics hx, reduce_numAntiChiralU_of_mem_elemsNoExotics hx, reduce_numChiralQ_of_mem_elemsNo...
426
leanexplore_declaration
leanexplore:377465
leanexplore_sqlite
leanexplore_declarations
lemma reduce_mem_elemsNoExotics {F : TenQuanta 𝓩} (hx : F.toFluxesTen ∈ FluxesTen.elemsNoExotics) : F.reduce.toFluxesTen ∈ FluxesTen.elemsNoExotics := by rw [← FluxesTen.noExotics_iff_mem_elemsNoExotics] apply And.intro · exact reduce_noExotics_of_mem_elemsNoExotics hx · intro h replace h := mem_po...
432
leanexplore_declaration
leanexplore:377466
leanexplore_sqlite
leanexplore_declarations
/-- The decomposition of a relevant flux into `⟨1, 0⟩`, `⟨1, 1⟩` and `⟨1, -1⟩` . -/ def decomposeFluxes (f : Fluxes) : Multiset Fluxes := if f = ⟨1, 0⟩ then {⟨1, 0⟩} else if f = ⟨1, 1⟩ then {⟨1, 1⟩} else if f = ⟨1, -1⟩ then {⟨1, -1⟩} else if f = ⟨2, 1⟩ then {⟨1, 1⟩, ⟨1, 0⟩} else if f = ⟨2, -1⟩ then {⟨1, -1⟩, ...
195
leanexplore_declaration
leanexplore:377467
leanexplore_sqlite
leanexplore_declarations
lemma decomposeFluxes_sum_of_noExotics (f : Fluxes) (hf : ∃ F ∈ FluxesTen.elemsNoExotics, f ∈ F) : (decomposeFluxes f).sum = f := by obtain ⟨F, hF, hfF⟩ := hf revert f revert F decide
341
leanexplore_declaration
leanexplore:377468
leanexplore_sqlite
leanexplore_declarations
/-- The decomposition of a `TenQuanta` into a `TenQuanta` which has the same `reduce` by has fluxes `{⟨1, 0⟩, ⟨1, 0⟩, ⟨1, 0⟩}` or `{⟨1, 1⟩, ⟨1, -1⟩, ⟨1, 0⟩}` only. This only works for fluxes which have no exotics or zeros. -/ def decompose (x : TenQuanta 𝓩) : TenQuanta 𝓩 := x.bind fun p => (decomposeFluxes p.2...
116
leanexplore_declaration
leanexplore:377469
leanexplore_sqlite
leanexplore_declarations
lemma decompose_add (x y : TenQuanta 𝓩) : (x + y).decompose = x.decompose + y.decompose := by simp [decompose]
542
leanexplore_declaration
leanexplore:377470
leanexplore_sqlite
leanexplore_declarations
lemma decompose_filter_charge [DecidableEq 𝓩] (x : TenQuanta 𝓩) (q : 𝓩) : (x.decompose).filter (fun p => p.1 = q) = decompose (x.filter (fun p => p.1 = q)) := by rw [decompose] revert x apply Multiset.induction · simp [decompose] · intro a x ih simp only [Multiset.cons_bind, Multiset.filter_add...
536
leanexplore_declaration
leanexplore:377471
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toChargeMap [DecidableEq 𝓩] (x : TenQuanta 𝓩) (hx : x.toFluxesTen ∈ FluxesTen.elemsNoExotics) : x.decompose.toChargeMap = x.toChargeMap := by ext q rw [toChargeMap, decompose_filter_charge] simp [decompose] rw [Multiset.map_bind] simp only [Multiset.map_map, Function.comp_apply, Mult...
668
leanexplore_declaration
leanexplore:377472
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toCharges_dedup [DecidableEq 𝓩] (x : TenQuanta 𝓩) (hx : x.toFluxesTen ∈ FluxesTen.elemsNoExotics) : x.decompose.toCharges.dedup = x.toCharges.dedup := by refine Multiset.dedup_ext.mpr ?_ intro q simp [decompose, toCharges, -existsAndEq] constructor · rintro ⟨a, b, c, h1, h2, rfl⟩ ...
386
leanexplore_declaration
leanexplore:377473
leanexplore_sqlite
leanexplore_declarations
lemma decompose_reduce (x : TenQuanta 𝓩) [DecidableEq 𝓩] (hx : x.toFluxesTen ∈ FluxesTen.elemsNoExotics) : x.decompose.reduce = x.reduce := by rw [reduce, reduce] apply Multiset.map_congr · rw [decompose_toCharges_dedup x hx] · intro q hx' simp only [Prod.mk.injEq, true_and] change x.decompose...
634
leanexplore_declaration
leanexplore:377474
leanexplore_sqlite
leanexplore_declarations
lemma decompose_toFluxesTen (x : TenQuanta 𝓩) (hx : x.toFluxesTen ∈ FluxesTen.elemsNoExotics) : x.decompose.toFluxesTen = {⟨1, 0⟩, ⟨1, 0⟩, ⟨1, 0⟩} ∨ x.decompose.toFluxesTen = {⟨1, 1⟩, ⟨1, -1⟩, ⟨1, 0⟩} := by rw [toFluxesTen, decompose] rw [Multiset.map_bind] simp only [Multiset.map_map, Function.comp_...
811
leanexplore_declaration
leanexplore:377475
leanexplore_sqlite
leanexplore_declarations
/-- Given a finite set of charges `c` the `TenQuanta` which do not have exotics, duplicate charges or zero fluxes, which map down to `c`. This is defined to be as efficient as possible. -/ def liftCharge (c : Finset 𝓩) : Multiset (TenQuanta 𝓩) := /- The {(1, 0), (1, 0), (1, 0)} case. -/ /- The multisets of ca...
835
leanexplore_declaration
leanexplore:377476
leanexplore_sqlite
leanexplore_declarations
lemma toCharge_toFinset_of_mem_liftCharge (c : Finset 𝓩) {x : TenQuanta 𝓩} (h : x ∈ liftCharge c) : x.toCharges.toFinset = c := by rw [liftCharge, Multiset.mem_map] at h obtain ⟨a, h, rfl⟩ := h rw [reduce_toCharges] simp at h rcases h with h | h · obtain ⟨⟨s, h, rfl⟩, h'⟩ := h simp_all [toChar...
257
leanexplore_declaration
leanexplore:377477
leanexplore_sqlite
leanexplore_declarations
lemma toCharges_nodup_of_mem_liftCharge (c : Finset 𝓩) {x : TenQuanta 𝓩} (h : x ∈ liftCharge c) : x.toCharges.Nodup := by rw [liftCharge, Multiset.mem_map] at h obtain ⟨x, h, rfl⟩ := h rw [reduce_toCharges] exact Multiset.nodup_dedup x.toCharges
720
leanexplore_declaration
leanexplore:377478
leanexplore_sqlite
leanexplore_declarations
lemma exists_toCharges_toFluxesTen_of_mem_liftCharge (c : Finset 𝓩) {x : TenQuanta 𝓩} (h : x ∈ liftCharge c) : ∃ a : TenQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ (a.toFluxesTen = {⟨1, 0⟩, ⟨1, 0⟩, ⟨1, 0⟩} ∨ a.toFluxesTen = {⟨1, 1⟩, ⟨1, -1⟩, ⟨1, 0⟩}) := by have h' := h rw [liftCharge, Mul...
2,853
leanexplore_declaration
leanexplore:377479
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_of_exists_toCharges_toFluxesTen (c : Finset 𝓩) {x : TenQuanta 𝓩} (h :∃ a : TenQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ (a.toFluxesTen = {⟨1, 0⟩, ⟨1, 0⟩, ⟨1, 0⟩} ∨ a.toFluxesTen = {⟨1, 1⟩, ⟨1, -1⟩, ⟨1, 0⟩})) : x ∈ liftCharge c := by obtain ⟨x, rfl, h, h2⟩ := h rw [l...
387
leanexplore_declaration
leanexplore:377480
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_iff_exists (c : Finset 𝓩) {x : TenQuanta 𝓩} : x ∈ liftCharge c ↔ ∃ a : TenQuanta 𝓩, a.reduce = x ∧ a.toCharges.toFinset = c ∧ (a.toFluxesTen = {⟨1, 0⟩, ⟨1, 0⟩, ⟨1, 0⟩} ∨ a.toFluxesTen = {⟨1, 1⟩, ⟨1, -1⟩, ⟨1, 0⟩}) := by constructor · exact exists_toCharges_toFluxesTen_of_mem_l...
351
leanexplore_declaration
leanexplore:377481
leanexplore_sqlite
leanexplore_declarations
lemma hasNoZero_of_mem_liftCharge (c : Finset 𝓩) {x : TenQuanta 𝓩} (h : x ∈ liftCharge c) : x.toFluxesTen.HasNoZero := by rw [mem_liftCharge_iff_exists] at h obtain ⟨x, rfl, h1, h2⟩ := h intro hf have hx := mem_powerset_sum_of_mem_reduce_toFluxesTen_filter hf rcases h2 with h2 | h2 all_goals rw [h...
305
leanexplore_declaration
leanexplore:377482
leanexplore_sqlite
leanexplore_declarations
lemma noExotics_of_mem_liftCharge (c : Finset 𝓩) (F : TenQuanta 𝓩) (h : F ∈ liftCharge c) : F.toFluxesTen.NoExotics := by rw [mem_liftCharge_iff_exists] at h obtain ⟨x, rfl, h1, h2⟩ := h apply reduce_noExotics_of_mem_elemsNoExotics rcases h2 with h2 | h2 all_goals rw [h2] decide
704
leanexplore_declaration
leanexplore:377483
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_of_mem_noExotics_hasNoZero (c : Finset 𝓩) {x : TenQuanta 𝓩} (h1 : x.toFluxesTen.NoExotics) (h2 : x.toFluxesTen.HasNoZero) (h3 : x.toCharges.toFinset = c) (h4 : x.toCharges.Nodup) : x ∈ liftCharge c := by have hf : x.toFluxesTen ∈ FluxesTen.elemsNoExotics := by rw [← FluxesTen.no...
659
leanexplore_declaration
leanexplore:377484
leanexplore_sqlite
leanexplore_declarations
lemma mem_liftCharge_iff (c : Finset 𝓩) (x : TenQuanta 𝓩) : x ∈ liftCharge c ↔ x.toFluxesTen ∈ FluxesTen.elemsNoExotics ∧ x.toCharges.toFinset = c ∧ x.toCharges.Nodup := by constructor · intro h refine ⟨?_, ?_, ?_⟩ · rw [← FluxesTen.noExotics_iff_mem_elemsNoExotics] refine ⟨?_, ?_⟩ ·...
586
leanexplore_declaration
leanexplore:377485
leanexplore_sqlite
leanexplore_declarations
lemma map_liftCharge {𝓩 𝓩1 : Type}[DecidableEq 𝓩] [DecidableEq 𝓩1] [CommRing 𝓩] [CommRing 𝓩1] (f : 𝓩 →+* 𝓩1) (c : Finset 𝓩) (F : TenQuanta 𝓩) (h : F ∈ liftCharge c) : TenQuanta.reduce (F.map fun y => (f y.1, y.2)) ∈ liftCharge (c.image f) := by rw [mem_liftCharge_iff] at h ⊢ refine ⟨?_, ?_, ?_⟩ ...
452
leanexplore_declaration
leanexplore:377486
leanexplore_sqlite
leanexplore_declarations
/-- The anomaly coefficient of a `TenQuanta` is given by the pair of integers: `(∑ᵢ qᵢ Nᵢ, 3 * ∑ᵢ qᵢ² Nᵢ)`. The first components is for the mixed U(1)-MSSM, see equation (22) of arXiv:1401.5084. The second component is for the mixed U(1)Y-U(1)-U(1) gauge anomaly, see equation (23) of arXiv:1401.5084. -/ de...
329
leanexplore_declaration
leanexplore:377487
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma anomalyCoefficient_of_map {𝓩 𝓩1 : Type} [CommRing 𝓩] [CommRing 𝓩1] (f : 𝓩 →+* 𝓩1) (F : TenQuanta 𝓩) : TenQuanta.anomalyCoefficient (F.map fun y => (f y.1, y.2) : TenQuanta 𝓩1) = (f.prodMap f) F.anomalyCoefficient := by simp [TenQuanta.anomalyCoefficient, map_multiset_sum, Multiset.ma...
639
leanexplore_declaration
leanexplore:377488
leanexplore_sqlite
leanexplore_declarations
lemma anomalyCoefficient_of_reduce [DecidableEq 𝓩] (F : TenQuanta 𝓩) : F.reduce.anomalyCoefficient = F.anomalyCoefficient := by simp [anomalyCoefficient] constructor · let f : 𝓩 → Fluxes →+ 𝓩 := fun q5 => { toFun := fun x => x.2 • q5 map_zero' := by simp map_add' := by intros x y...
272
leanexplore_declaration
leanexplore:377489
leanexplore_sqlite
leanexplore_declarations
/-- Entropy of a monophase ideal gas: S(U,V,N) = N s0 + N R (c log(U/U0) + log(V/V0) - (c+1) log(N/N0)). -/ def entropy (c R s0 U0 V0 N0 : ℝ) (U V N : ℝ) : ℝ := N * s0 + N * R * (c * log (U / U0) + log (V / V0) - (c + 1) * log (N / N0))
4,205
leanexplore_declaration
leanexplore:377490
leanexplore_sqlite
leanexplore_declarations
/-- Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0. -/ theorem adiabatic_relation_log {s0 U0 V0 N0 c R : ℝ} {Ua Ub Va Vb N : ℝ} (hUa : 0 < Ua) (hUb : 0 < Ub) (hVa : 0 < Va) (hVb : 0 < Vb) (hN : 0 < N) (hU0 : 0 < U0)...
1,576
leanexplore_declaration
leanexplore:377491
leanexplore_sqlite
leanexplore_declarations
/-- Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1. -/ theorem adiabatic_relation_UaUbVaVb {s0 U0 V0 N0 c R : ℝ} {Ua Ub Va Vb N : ℝ} (hUa : 0 < Ua) (hUb : 0 < Ub) (hVa : 0 < Va) (hVb : 0 < Vb) (hN : 0 < N) (hU0 : 0 < U0) (hV0 : ...