/-! # Stabilizer dimension and orbit rank at Pi_0 Integer linear algebra only. Core Lean 4, no Mathlib, `decide +kernel`. Matrices are lists of rows; an 8x8 matrix X is read as the 64-vector of its entries, row by row. Let k = { X in M_8 : X^T eta + eta X = 0 and X^T Chat + Chat X = 0 }, with the carrier of `RootCarrier.lean` (eta = G (+) I_6, Chat = C (+) C (+) C (+) C). `Emat` is a sparse-row representation of the 128x64 integer matrix of the linear map X |-> (the 64 entries of X^T eta + eta X, then the 64 entries of X^T Chat + Chat X). `Emat_constraint_columns` checks each of its 64 columns against the constraint vector of the matrix unit E_ab computed from the definition. Basis of k (10 elements, so(1,1) (+) u(3)): 1 generator of so(1,1) on the root block; 2 diagonal generators C on transverse blocks 1 and 2; 6 off-diagonal generators (two for each pair of the three transverse blocks); 1 diagonal generator C on transverse block 3, which is the witness Xw = 0_6 (+) C fixing Pi_0 (last element). Certificates 1. basis_in_k every basis element satisfies both constraints (so dim k >= 10 once independence is read off) 2. independent W Nmat = 30 I_10 (the 10 basis vectors are independent) 3. upper_bound Nmat W + A Emat = 30 I_64, with integer W, A, using direct sparse matrix multiplication for A Emat. Hence for any x with Emat x = 0, 30 x = Nmat (W x): every element of k is a combination of the basis, so dim k <= 10. 4. orbit_zero Xw Pi_0 = 0 5. orbit_indep the images X_i Pi_0 (i = 1..9) are independent (W2 R = I_9), so the orbit map X |-> X Pi_0 on k has rank exactly 9. Reading the matrix identities as statements about kernels uses only that X |-> constraint(X) is linear (so Emat represents it) and ordinary linear algebra; neither is formalized here. No physical claim. -/ set_option autoImplicit false namespace StabilizerDim def col (A : List (List Int)) (j : Nat) : List Int := A.map (fun r => r.getD j 0) def dot (u v : List Int) : Int := (List.zipWith (fun (x y : Int) => x * y) u v).foldl (fun (s x : Int) => s + x) 0 def tr (A : List (List Int)) (n : Nat) : List (List Int) := (List.range n).map (fun j => col A j) def mmul (A B : List (List Int)) (n : Nat) : List (List Int) := A.map (fun r => (List.range n).map (fun j => dot r (col B j))) def madd (A B : List (List Int)) : List (List Int) := List.zipWith (List.zipWith (fun (x y : Int) => x + y)) A B def mscale (k : Int) (A : List (List Int)) : List (List Int) := A.map (fun r => r.map (fun x => k * x)) def idMat (n : Nat) : List (List Int) := (List.range n).map (fun i => (List.range n).map (fun j => if i = j then (1 : Int) else 0)) def zerosMat (r c : Nat) : List (List Int) := List.replicate r (List.replicate c 0) def blk (A B : List (List Int)) (na nb : Nat) : List (List Int) := (A.map (fun r => r ++ List.replicate nb 0)) ++ (B.map (fun r => List.replicate na 0 ++ r)) def G2 : List (List Int) := [[-2, 1], [1, 2]] def C2 : List (List Int) := [[0, -1], [1, 0]] def eta : List (List Int) := blk G2 (idMat 6) 2 6 def Chat : List (List Int) := blk C2 (blk C2 (blk C2 C2 2 2) 2 4) 2 6 def Pi0 : List (List Int) := [[1, 0, 0, 0], [0, 1, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]] def flat (X : List (List Int)) : List Int := X.flatten def unitMat (ab : Nat) : List (List Int) := (List.range 8).map (fun i => (List.range 8).map (fun j => if i = ab / 8 ∧ j = ab % 8 then (1 : Int) else 0)) def constraint (X : List (List Int)) : List Int := flat (madd (mmul (tr X 8) eta 8) (mmul eta X 8)) ++ flat (madd (mmul (tr X 8) Chat 8) (mmul Chat X 8)) abbrev SparseRow := List (Nat × Int) def sparseEntry (row : SparseRow) (j : Nat) : Int := match row.find? (fun entry => entry.1 == j) with | some entry => entry.2 | none => 0 def sparseMmul (A B : List SparseRow) (n : Nat) : List (List Int) := A.map (fun row => (List.range n).map (fun j => row.foldl (fun total entry => total + entry.2 * sparseEntry (B.getD entry.1 []) j) 0)) def sparseColumn (A : List SparseRow) (j : Nat) : List Int := A.map (fun row => sparseEntry row j) def Emat : List SparseRow := [ [(0, -4), (8, 2)], [(0, 1), (1, -2), (8, 2), (9, 1)], [(2, -2), (10, 1), (16, 1)], [(3, -2), (11, 1), (24, 1)], [(4, -2), (12, 1), (32, 1)], [(5, -2), (13, 1), (40, 1)], [(6, -2), (14, 1), (48, 1)], [(7, -2), (15, 1), (56, 1)], [(0, 1), (1, -2), (8, 2), (9, 1)], [(1, 2), (9, 4)], [(2, 1), (10, 2), (17, 1)], [(3, 1), (11, 2), (25, 1)], [(4, 1), (12, 2), (33, 1)], [(5, 1), (13, 2), (41, 1)], [(6, 1), (14, 2), (49, 1)], [(7, 1), (15, 2), (57, 1)], [(2, -2), (10, 1), (16, 1)], [(2, 1), (10, 2), (17, 1)], [(18, 2)], [(19, 1), (26, 1)], [(20, 1), (34, 1)], [(21, 1), (42, 1)], [(22, 1), (50, 1)], [(23, 1), (58, 1)], [(3, -2), (11, 1), (24, 1)], [(3, 1), (11, 2), (25, 1)], [(19, 1), (26, 1)], [(27, 2)], [(28, 1), (35, 1)], [(29, 1), (43, 1)], [(30, 1), (51, 1)], [(31, 1), (59, 1)], [(4, -2), (12, 1), (32, 1)], [(4, 1), (12, 2), (33, 1)], [(20, 1), (34, 1)], [(28, 1), (35, 1)], [(36, 2)], [(37, 1), (44, 1)], [(38, 1), (52, 1)], [(39, 1), (60, 1)], [(5, -2), (13, 1), (40, 1)], [(5, 1), (13, 2), (41, 1)], [(21, 1), (42, 1)], [(29, 1), (43, 1)], [(37, 1), (44, 1)], [(45, 2)], [(46, 1), (53, 1)], [(47, 1), (61, 1)], [(6, -2), (14, 1), (48, 1)], [(6, 1), (14, 2), (49, 1)], [(22, 1), (50, 1)], [(30, 1), (51, 1)], [(38, 1), (52, 1)], [(46, 1), (53, 1)], [(54, 2)], [(55, 1), (62, 1)], [(7, -2), (15, 1), (56, 1)], [(7, 1), (15, 2), (57, 1)], [(23, 1), (58, 1)], [(31, 1), (59, 1)], [(39, 1), (60, 1)], [(47, 1), (61, 1)], [(55, 1), (62, 1)], [(63, 2)], [], [(0, -1), (9, -1)], [(10, -1), (24, 1)], [(11, -1), (16, -1)], [(12, -1), (40, 1)], [(13, -1), (32, -1)], [(14, -1), (56, 1)], [(15, -1), (48, -1)], [(0, 1), (9, 1)], [], [(2, 1), (25, 1)], [(3, 1), (17, -1)], [(4, 1), (41, 1)], [(5, 1), (33, -1)], [(6, 1), (57, 1)], [(7, 1), (49, -1)], [(10, 1), (24, -1)], [(2, -1), (25, -1)], [], [(18, -1), (27, -1)], [(28, -1), (42, 1)], [(29, -1), (34, -1)], [(30, -1), (58, 1)], [(31, -1), (50, -1)], [(11, 1), (16, 1)], [(3, -1), (17, 1)], [(18, 1), (27, 1)], [], [(20, 1), (43, 1)], [(21, 1), (35, -1)], [(22, 1), (59, 1)], [(23, 1), (51, -1)], [(12, 1), (40, -1)], [(4, -1), (41, -1)], [(28, 1), (42, -1)], [(20, -1), (43, -1)], [], [(36, -1), (45, -1)], [(46, -1), (60, 1)], [(47, -1), (52, -1)], [(13, 1), (32, 1)], [(5, -1), (33, 1)], [(29, 1), (34, 1)], [(21, -1), (35, 1)], [(36, 1), (45, 1)], [], [(38, 1), (61, 1)], [(39, 1), (53, -1)], [(14, 1), (56, -1)], [(6, -1), (57, -1)], [(30, 1), (58, -1)], [(22, -1), (59, -1)], [(46, 1), (60, -1)], [(38, -1), (61, -1)], [], [(54, -1), (63, -1)], [(15, 1), (48, 1)], [(7, -1), (49, 1)], [(31, 1), (50, 1)], [(23, -1), (51, 1)], [(47, 1), (52, 1)], [(39, -1), (53, 1)], [(54, 1), (63, 1)], [], ] theorem Emat_constraint_columns : (List.range 64).map (fun j => sparseColumn Emat j) = (List.range 64).map (fun j => constraint (unitMat j)) := by decide +kernel def Xw : List (List Int) := blk (zerosMat 6 6) C2 6 2 def basis : List (List (List Int)) := [ [[-1, -2, 0, 0, 0, 0, 0, 0], [-2, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 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, 0, 0], [0, 0, 0, 0, 0, 0, 0, -1], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, -1, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0]], [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, -1, 0, 0, 0], [0, 0, 0, 0, 0, -1, 0, 0]], [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, -1], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, -1, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0]], [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, -1], [0, 0, 0, 0, 0, 0, 1, 0]] ] def Nmat : List (List Int) := tr (basis.map flat) 64 def Wm : List (List Int) := [[-30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -30, 0, 0, 0, 0, 0, 0, 0, 0]] def Am : List SparseRow := [ [], [(0, 12), (1, -12), (9, 3)], [(2, -10), (10, 5), (11, -5), (67, -10), (74, 5), (75, 5)], [(3, -10), (10, 5), (11, 5), (66, 10), (74, -5), (75, 5)], [(4, -10), (12, 5), (13, -5), (69, -10), (76, 5), (77, 5)], [(5, -10), (12, 5), (13, 5), (68, 10), (76, -5), (77, 5)], [(6, -10), (14, 5), (15, -5), (71, -10), (78, 5), (79, 5)], [(7, -10), (14, 5), (15, 5), (70, 10), (78, -5), (79, 5)], [(0, 15)], [(0, -6), (1, 6), (9, 6)], [(2, 5), (3, 5), (10, 10), (66, -5), (67, 5), (75, 10)], [(2, -5), (3, 5), (11, 10), (66, -5), (67, -5), (74, -10)], [(4, 5), (5, 5), (12, 10), (68, -5), (69, 5), (77, 10)], [(4, -5), (5, 5), (13, 10), (68, -5), (69, -5), (76, -10)], [(6, 5), (7, 5), (14, 10), (70, -5), (71, 5), (79, 10)], [(6, -5), (7, 5), (15, 10), (70, -5), (71, -5), (78, -10)], [(2, 5), (3, -5), (11, -10), (66, 5), (67, -25), (74, 10)], [(3, -10), (10, 5), (11, 5), (66, 10), (74, -5), (75, -25)], [(18, 15)], [], [], [], [], [], [(2, 5), (3, 5), (10, 10), (66, 25), (67, 5), (75, 10)], [(2, 10), (10, -5), (11, 5), (67, 10), (74, 25), (75, -5)], [(19, 30)], [(27, 15)], [(21, 30), (84, -30)], [(20, -30), (85, -30)], [(23, 30), (86, -30)], [(22, -30), (87, -30)], [(4, 5), (5, -5), (13, -10), (68, 5), (69, -25), (76, 10)], [(5, -10), (12, 5), (13, 5), (68, 10), (76, -5), (77, -25)], [(20, 30)], [(21, -30), (28, 30), (84, 30)], [(36, 15)], [], [], [], [(4, 5), (5, 5), (12, 10), (68, 25), (69, 5), (77, 10)], [(4, 10), (12, -5), (13, 5), (69, 10), (76, 25), (77, -5)], [(21, 30)], [(20, 30), (29, 30), (85, 30)], [(37, 30)], [(45, 15)], [(39, 30), (102, -30)], [(38, -30), (103, -30)], [(6, 5), (7, -5), (15, -10), (70, 5), (71, -25), (78, 10)], [(7, -10), (14, 5), (15, 5), (70, 10), (78, -5), (79, -25)], [(22, 30)], [(23, -30), (30, 30), (86, 30)], [(38, 30)], [(39, -30), (46, 30), (102, 30)], [(54, 15)], [], [(6, 5), (7, 5), (14, 10), (70, 25), (71, 5), (79, 10)], [(6, 10), (14, -5), (15, 5), (71, 10), (78, 25), (79, -5)], [(23, 30)], [(22, 30), (31, 30), (87, 30)], [(39, 30)], [(38, 30), (47, 30), (103, 30)], [(55, 30)], [(63, 15)], ] def W2m : List (List Int) := [[-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]] /-! ## Lower bound: ten independent elements of k -/ theorem basis_in_k : basis.map constraint = List.replicate 10 (List.replicate 128 0) := by decide +kernel theorem last_basis_is_Xw : basis.getD 9 [] = Xw := by decide +kernel theorem independent : mmul Wm Nmat 10 = mscale 30 (idMat 10) := by decide +kernel /-! ## Upper bound: every element of k lies in the span of the basis -/ theorem upper_bound : madd (mmul Nmat Wm 64) (sparseMmul Am Emat 64) = mscale 30 (idMat 64) := by decide +kernel /-! ## Orbit rank at Pi_0 is exactly 9 -/ def images : List (List Int) := basis.map (fun X => flat (mmul X Pi0 4)) theorem orbit_zero : images.getD 9 [] = List.replicate 32 0 := by decide +kernel theorem orbit_independent : mmul W2m (tr (images.take 9) 32) 9 = mscale 1 (idMat 9) := by decide +kernel end StabilizerDim #print axioms StabilizerDim.basis_in_k #print axioms StabilizerDim.Emat_constraint_columns #print axioms StabilizerDim.independent #print axioms StabilizerDim.upper_bound #print axioms StabilizerDim.orbit_independent