openAI-math-dataset / lean /OAI /NumberTheory /DukePrimeDegree /Geometry /DiagonalCommutatorCurve.lean
roseking's picture
Add lean source and binary files (part 103)
a44267b verified
Raw History Blame Contribute Delete
7.48 kB
22
def diagonalCommutatorCurve {n : ℕ} (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0)
    (g : G n) (t : ℝ) : G n :=
body · 1 line
  diagonalOneParameter ell hsum t * g * diagonalOneParameter ell hsum (-t) * g⁻¹
26
lemma diagonalCommutatorCurve_zero {n : ℕ}
    (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (g : G n) :
    diagonalCommutatorCurve ell hsum g 0 = 1 := by
proof · 1 line
  simp [diagonalCommutatorCurve, diagonalOneParameter_zero]
31
lemma diagonalCommutatorCurve_entry {n : ℕ}
    (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (g : G n) (t : ℝ) (a b : Fin n) :
    (diagonalCommutatorCurve ell hsum g t).val a b =
      ∑ k, Real.exp ((ell a - ell k) * t) * g.val a k * g⁻¹.val k b := by
proof · 4 lines
  rw [diagonalCommutatorCurve, Matrix.SpecialLinearGroup.coe_mul, Matrix.mul_apply]
  apply Finset.sum_congr rfl
  intro k _
  rw [diagonal_conjugate_matrix_entry]

The actual velocity of the diagonal commutator curve.

41
def diagonalCommutatorVelocity {n : ℕ} (ell : Fin n → ℝ) (g : G n) :
    Matrix (Fin n) (Fin n) ℝ :=
body · 1 line
  fun a b => ∑ k, (ell a - ell k) * g.val a k * g⁻¹.val k b
45
lemma hasDerivAt_diagonalCommutatorCurve {n : ℕ}
    (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (g : G n) (a b : Fin n) :
    HasDerivAt (fun t => (diagonalCommutatorCurve ell hsum g t).val a b)
      (diagonalCommutatorVelocity ell g a b) 0 := by
proof · 11 lines
  simp_rw [diagonalCommutatorCurve_entry]
  have hd : ∀ k ∈ (Finset.univ : Finset (Fin n)),
      HasDerivAt (fun t : ℝ => Real.exp ((ell a - ell k) * t) * g.val a k * g⁻¹.val k b)
        ((ell a - ell k) * g.val a k * g⁻¹.val k b) 0 := by
    intro k _
    convert (((hasDerivAt_id (0 : ℝ)).const_mul (ell a - ell k)).exp.mul_const
      (g.val a k)).mul_const (g⁻¹.val k b) using 1 <;> simp
  convert HasDerivAt.sum hd using 1
  · funext t
    simp only [Finset.sum_apply]
  · rfl
61
lemma hasMatrixVelocity_diagonalCommutatorCurve {n : ℕ}
    (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (g : G n) :
    HasMatrixVelocity (diagonalCommutatorCurve ell hsum g) (diagonalCommutatorVelocity ell g) :=
proof · 2 lines
  hasMatrixVelocity_of_hasDerivAt _ (diagonalCommutatorCurve_zero ell hsum g) _
    (hasDerivAt_diagonalCommutatorCurve ell hsum g)

Integral zero-sum weights detecting the k-th coordinate projection.

68
def coordinateProjectionWeights {n : ℕ} (k a : Fin n) : ℝ :=
body · 1 line
  (n : ℝ) * (if a = k then 1 else 0) - 1
71
lemma coordinateProjectionWeights_sum {n : ℕ} (k : Fin n) :
    ∑ a, coordinateProjectionWeights k a = 0 := by
proof · 1 line
  simp [coordinateProjectionWeights, Finset.sum_sub_distrib]
75
lemma diagonalCommutatorVelocity_coordinate {n : ℕ} (k a b : Fin n)
    (hab : a ≠ b) (g : G n) :
    diagonalCommutatorVelocity (coordinateProjectionWeights k) g a b =
      -(n : ℝ) * (g.val a k * g⁻¹.val k b) := by
proof · 18 lines
  let P : Fin n → ℝ := fun l => g.val a l * g⁻¹.val l b
  have hP : ∑ l, P l = 0 := by
    change (g.val * g⁻¹.val) a b = 0
    rw [← Matrix.SpecialLinearGroup.coe_mul, mul_inv_cancel,
      Matrix.SpecialLinearGroup.coe_one, Matrix.one_apply_ne hab]
  have he (l : Fin n) :
      (coordinateProjectionWeights k a - coordinateProjectionWeights k l) *
        g.val a l * g⁻¹.val l b =
      ((n : ℝ) * (if a = k then 1 else 0)) * P l -
        (n : ℝ) * (if l = k then P l else 0) := by
    dsimp [coordinateProjectionWeights, P]
    split_ifs <;> ring
  change (∑ l, (coordinateProjectionWeights k a - coordinateProjectionWeights k l) *
    g.val a l * g⁻¹.val l b) = _
  simp_rw [he]
  rw [Finset.sum_sub_distrib, ← Finset.mul_sum, hP, mul_zero, zero_sub,
    ← Finset.mul_sum]
  simp [P]

If every nonzero root found in L belongs to r, conjugated coordinate projections have no entries between different r-blocks.

100
theorem projection_products_zero_of_maximal_roots {n : ℕ}
    (L : Subgroup (G n)) (hclosed : IsClosed (L : Set (G n)))
    (hnormal : ∀ (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (t : ℝ),
      ∀ g ∈ L, diagonalOneParameter ell hsum t * g * diagonalOneParameter ell hsum (-t) ∈ L)
    (r : Setoid (Fin n))
    (hmax : ∀ (a b : Fin n) (hab : a ≠ b) (c : ℝ), c ≠ 0 →
      Matrix.SpecialLinearGroup.transvection hab c ∈ L → r a b)
    (g : L) (a b : Fin n) (hab : ¬ r a b) (k : Fin n) :
    g.val.val a k * g.val⁻¹.val k b = 0 := by
proof · 19 lines
  have hne : a ≠ b := by
    intro he
    subst b
    exact hab (r.refl a)
  let ell := coordinateProjectionWeights k
  have hsum := coordinateProjectionWeights_sum k
  let γ := diagonalCommutatorCurve ell hsum g.val
  have hγ (t : ℝ) : γ t ∈ L :=
    L.mul_mem (hnormal ell hsum t g.val g.property) (L.inv_mem g.property)
  have hroot := root_mem_of_matrix_velocity L hclosed hnormal γ hγ
    (diagonalCommutatorVelocity ell g.val)
    (hasMatrixVelocity_diagonalCommutatorCurve ell hsum g.val) a b hne
  have hvzero : diagonalCommutatorVelocity ell g.val a b = 0 := by
    by_contra hv
    exact hab (hmax a b hne _ hv hroot)
  rw [diagonalCommutatorVelocity_coordinate k a b hne g.val] at hvzero
  have hn : (n : ℝ) ≠ 0 := by
    exact_mod_cast (Nat.ne_of_gt (Fin.pos a))
  exact (mul_eq_zero.mp hvzero).resolve_left (neg_ne_zero.mpr hn)

Root maximality makes the block-preserving subgroup open in the actual homogeneous orbit group L, including when L is disconnected.

131
theorem blockIntersection_isOpen_of_maximal_roots {n : ℕ}
    (L : Subgroup (G n)) (hclosed : IsClosed (L : Set (G n)))
    (hnormal : ∀ (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (t : ℝ),
      ∀ g ∈ L, diagonalOneParameter ell hsum t * g * diagonalOneParameter ell hsum (-t) ∈ L)
    (r : Setoid (Fin n))
    (hmax : ∀ (a b : Fin n) (hab : a ≠ b) (c : ℝ), c ≠ 0 →
      Matrix.SpecialLinearGroup.transvection hab c ∈ L → r a b) :
    IsOpen (((blockMatrixGroup r).comap L.subtype : Subgroup L) : Set L) :=
proof · 2 lines
  blockIntersection_isOpen_of_projection_products L r
    (projection_products_zero_of_maximal_roots L hclosed hnormal r hmax)

A connected, closed subgroup normalized by the split diagonal group preserves the partition given by its maximal root subgroups. This uses only the explicit commutator curves and connectedness.

145
theorem connected_subgroup_le_blocks_of_maximal_roots {n : ℕ}
    (L : Subgroup (G n)) [PreconnectedSpace L]
    (hclosed : IsClosed (L : Set (G n)))
    (hnormal : ∀ (ell : Fin n → ℝ) (hsum : ∑ a, ell a = 0) (t : ℝ),
      ∀ g ∈ L, diagonalOneParameter ell hsum t * g * diagonalOneParameter ell hsum (-t) ∈ L)
    (r : Setoid (Fin n))
    (hmax : ∀ (a b : Fin n) (hab : a ≠ b) (c : ℝ), c ≠ 0 →
      Matrix.SpecialLinearGroup.transvection hab c ∈ L → r a b) :
    L ≤ blockMatrixGroup r :=
proof · 2 lines
  connected_subgroup_le_blocks_of_projection_products L r
    (projection_products_zero_of_maximal_roots L hclosed hnormal r hmax)