Offline · exact source
Exact Lean source

YoungFlatMass

formalization/Cloning/YoungFlatMass.lean

Source hash: 14a1be014aefc3ad8c4ab0f50a2296dd9f15fa5ac6b4e5394f757b783b34a7af

Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.

The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.

Declarations in this module
1import Cloning.TensorFlatProjectorLaw
2import Cloning.YoungUniformLocalDensity
3import Cloning.YoungHookRatio
4import Mathlib.Order.Fin.Basic
5 
6/-! Exact physical flat Young masses, with a continuous positive-part Vandermonde correction. -/
7noncomputable section
8open scoped BigOperators Topology Classical
9open Filter
10namespace Cloning.YoungFlat
11open Cloning.TensorLie Cloning.YoungGeneral Cloning.YoungMultinomial Cloning.WeylCharacter
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14 
15/-- The ordinary flat hook-times-dimension correction. -/
16def flatCorrection {r : ℕ} (μ : Fin r → ℕ) : ℝ :=
17  ∏ a : PositiveRoot r,
18    (((μ a.val.1 : ℝ)-μ a.val.2+a.val.2.val-a.val.1.val)^2 /
19      (((μ a.val.1 : ℝ)+a.val.2.val-a.val.1.val)*((a.val.2.val : ℝ)-a.val.1.val)))
20 
21/-- Positive parts enforce the actual Young support, even before taking the limit. -/
22def positiveCorrection {r : ℕ} (μ : Fin r → ℕ) : ℝ :=
23  ∏ a : PositiveRoot r,
24    ((max ((μ a.val.1 : ℝ)-μ a.val.2+a.val.2.val-a.val.1.val) 0)^2 /
25      (((μ a.val.1 : ℝ)+a.val.2.val-a.val.1.val)*((a.val.2.val : ℝ)-a.val.1.val)))
26 
27theorem flatCorrection_eq_hook_dimension {r : ℕ} (μ : Fin r → ℕ) :
28    flatCorrection μ = tableauCorrection μ * dimensionProduct μ := by
29  rw [tableauCorrection_eq_pair_ratios, dimensionProduct_eq_pairProduct]
30  rw [← prod_positiveRoot (fun i j : Fin r ↦
31      ((μ i : ℝ)-μ j+j.val-i.val)/((μ i : ℝ)+j.val-i.val)),
32    ← prod_positiveRoot (fun i j : Fin r ↦
33      ((μ i : ℝ)-μ j+j.val-i.val)/((j.val : ℝ)-i.val)),
34    ← Finset.prod_mul_distrib]
35  apply Finset.prod_congr rfl
36  intro a _
37  rw [div_mul_div_comm, pow_two]
38 
39theorem positiveCorrection_eq_of_antitone {r : ℕ} (μ : Fin r → ℕ) (hμ : Antitone μ) :
40    positiveCorrection μ = flatCorrection μ := by
41  apply Finset.prod_congr rfl
42  intro a _
43  have hm : (μ a.val.2 : ℝ) ≤ μ a.val.1 := by exact_mod_cast hμ a.property.le
44  have hi : (a.val.1.val : ℝ) < a.val.2.val := by exact_mod_cast Fin.lt_def.mp a.property
45  rw [max_eq_left (by linarith)]
46 
47theorem positiveCorrection_eq_zero_of_not_antitone {d : ℕ} (μ : Fin (d+1) → ℕ)
48    (hμ : ¬ Antitone μ) : positiveCorrection μ = 0 := by
49  have hh : ∃ i : Fin d, μ i.castSucc < μ i.succ := by
50    simpa only [Fin.antitone_iff_succ_le, not_forall, not_le] using hμ
51  obtain ⟨i, hi⟩ := hh
52  let a : PositiveRoot (d+1) := ⟨(i.castSucc, i.succ), by simp⟩
53  apply Finset.prod_eq_zero (Finset.mem_univ a)
54  have hc : (μ i.castSucc : ℝ) + 1 ≤ μ i.succ := by exact_mod_cast hi
55  have he : (μ a.val.1 : ℝ)-μ a.val.2+a.val.2.val-a.val.1.val ≤ 0 := by
56    dsimp [a]
57    push_cast
58    linarith
59  simp only [max_eq_right he, zero_pow (by omega : 2 ≠ 0), zero_div]
60 
61/-- Exact flat mass on every actual finite shape, including all nonpartitions. -/
62theorem tensorFlatYoungPMF_eq_multinomial (d N : ℕ) (μ : Shape (d+1) N)
63    (hs : ∑ i, (μ i).val = N) :
64    (tensorFlatYoungPMF N (d+1) (by omega) μ).toReal =
65      multinomialMass N (flatSpectrum (d+1)) (fun i ↦ (μ i).val) *
66        positiveCorrection (fun i ↦ (μ i).val) := by
67  by_cases hμ : Antitone (fun i ↦ (μ i).val)
68  · rw [tensorFlatYoungPMF_weyl N (d+1) (by omega) μ hμ hs,
69      standardCount_eq_multinomial_correction _ hμ hs,
70      positiveCorrection_eq_of_antitone _ hμ, flatCorrection_eq_hook_dimension]
71    have hp : (∏ i : Fin (d+1), flatSpectrum (d+1) i ^ (μ i).val) =
72        (1/((d+1 : ℕ) : ℝ))^N := by
73      simp only [flatSpectrum, Finset.prod_pow_eq_pow_sum, hs]
74    unfold multinomialMass
75    rw [hp, one_div_pow, Finset.prod_inv_distrib]
76    ring
77  · rw [positiveCorrection_eq_zero_of_not_antitone _ hμ, mul_zero]
78    rw [tensorFlatYoungPMF, tensorYoungPMF_formula]
79    simp [physicalSectorCharacter, hμ]
80 
81end Cloning.YoungFlat