Exact Lean source
WernerDimensionIdentity
formalization/Cloning/WernerDimensionIdentity.lean
Source hash: 65cbed8b0bd684caf01b560fe6749d8f6a23cc97a42c12dfe18dbc3ae5977eb4
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.WernerNormalization
2
3/-! The exact symmetric-dimension normalization converting the physical
4Werner compression eigenvalue into the occupation law. -/
5namespace Cloning.Occupation
6
7theorem werner_dimension_identity (n m s z : ℕ) (hnm : n ≤ m) :
8 ((n + s).choose s : ℝ) / ((m + s).choose s : ℝ) *
9 ((z.choose n : ℝ) / (m.choose n : ℝ)) =
10 (z.choose n : ℝ) / ((m + s).choose (n + s) : ℝ) := by
11 have ha : ((m + s).choose s : ℝ) ≠ 0 := by
12 exact_mod_cast (Nat.choose_pos (Nat.le_add_left s m)).ne'
13 have hb : (m.choose n : ℝ) ≠ 0 := by exact_mod_cast (Nat.choose_pos hnm).ne'
14 have hc : ((m + s).choose (n + s) : ℝ) ≠ 0 := by
15 exact_mod_cast (Nat.choose_pos (Nat.add_le_add_right hnm s)).ne'
16 have hid : ((m + s).choose (n + s) : ℝ) * ((n + s).choose s : ℝ) =
17 ((m + s).choose s : ℝ) * (m.choose n : ℝ) := by
18 exact_mod_cast (by simpa using
19 (Nat.choose_mul (n := m + s) (k := n + s) (s := s) (Nat.le_add_left s n)))
20 field_simp
21 nlinarith [congrArg (fun x : ℝ => (z.choose n : ℝ) * x) hid]
22
23end Cloning.Occupation