Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.AdjointOperator |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.BracketStabilizer |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.CharacteristicInvariant |
| 4 | import OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantGap |
| 5 | |
| 6 | /-! # Lie Bracket Uniform Gap -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.LieBracketUniformGap.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Integral matrix coordinates and conjugation covariance of the |
| 15 | intrinsic adjoint operators on the Minkowski Lie space. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 18 | open _root_.NumberField _root_.NumberField.mixedEmbedding _root_.Module |
| 19 | |
| 20 | def lieMixedAdjointMatrix |
| 21 | {k : Type} [Field k] [NumberField k] {n m : ℕ} |
| 22 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 23 | (b : Basis (Fin m) ℝ (Lie.MixedLattice.Construction.lieMixedSpan G)) : |
| 24 | Lie.MixedLattice.Construction.lieMixedSpan G →ₗ[ℝ] Matrix (Fin m) (Fin m) ℝ := |
| 25 | (LinearMap.toMatrix b b).toLinearMap.comp (AdjointOperator.Construction.lieMixedAdjointLinear G hG) |
| 26 | |
| 27 | theorem lieMixedAdjointMatrix_integral |
| 28 | {k : Type} [Field k] [NumberField k] {n m : ℕ} |
| 29 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 30 | (b : Basis (Fin m) ℝ (Lie.MixedLattice.Construction.lieMixedSpan G)) |
| 31 | (hb : Submodule.span ℤ (Set.range b) = Lie.MixedLattice.Construction.lieMixedLatticeInSpan G) |
| 32 | (A : Lie.MixedLattice.Construction.lieMixedSpan G) (hA : A ∈ Lie.MixedLattice.Construction.lieMixedLatticeInSpan G) : |
| 33 | ∃ M : Matrix (Fin m) (Fin m) ℤ, M.map (Int.castRingHom ℝ) = lieMixedAdjointMatrix G hG b A := by |
| 34 | have hc (i j : Fin m) : ∃ z : ℤ, algebraMap ℤ ℝ z = b.repr (AdjointOperator.Construction.lieMixedAdjoint G hG A (b j)) i := by |
| 35 | apply (b.mem_span_iff_repr_mem ℤ _).mp |
| 36 | rw [hb] |
| 37 | apply LieBracket.Construction.lieMixedBracket_integral G hG A (b j) hA |
| 38 | rw [← hb] |
| 39 | exact Submodule.subset_span (Set.mem_range_self j) |
| 40 | choose M hM using hc |
| 41 | refine ⟨Matrix.of M, ?_⟩ |
| 42 | ext i j : 1 |
| 43 | change (M i j : ℝ) = LinearMap.toMatrix b b (AdjointOperator.Construction.lieMixedAdjoint G hG A) i j |
| 44 | rw [LinearMap.toMatrix_apply'] |
| 45 | exact hM i j |
| 46 | |
| 47 | theorem nilpotent_of_lieMixedAdjointMatrix_nilpotent |
| 48 | {k : Type} [Field k] [NumberField k] {n m : ℕ} |
| 49 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 50 | (b : Basis (Fin m) ℝ (Lie.MixedLattice.Construction.lieMixedSpan G)) (A : Lie.MixedLattice.Construction.lieMixedSpan G) |
| 51 | (hA : IsNilpotent (lieMixedAdjointMatrix G hG b A)) : IsNilpotent (AdjointOperator.Construction.lieMixedAdjoint G hG A) := by |
| 52 | have h := hA.map (Matrix.toLinAlgEquiv b) |
| 53 | change IsNilpotent (Matrix.toLin b b (LinearMap.toMatrix b b (AdjointOperator.Construction.lieMixedAdjoint G hG A))) at h |
| 54 | rwa [Matrix.toLin_toMatrix] at h |
| 55 | |
| 56 | theorem matrixFrameAction_toMatrix |
| 57 | {E ι : Type*} [AddCommGroup E] [Module ℝ E] [Fintype ι] [DecidableEq ι] |
| 58 | (b : Basis ι ℝ E) (g : Matrix.GeneralLinearGroup ι ℝ) : |
| 59 | LinearMap.toMatrix b b (LatticeFrameAction.Construction.matrixFrameAction b g).toLinearMap = g.val := by |
| 60 | rw [LatticeFrameAction.Construction.matrixFrameAction_toLinearMap, LinearMap.toMatrix_toLin] |
| 61 | |
| 62 | theorem lieMixedAdjointMatrix_conjugate |
| 63 | {k : Type} [Field k] [NumberField k] {n m : ℕ} |
| 64 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 65 | (b : Basis (Fin m) ℝ (Lie.MixedLattice.Construction.lieMixedSpan G)) |
| 66 | (g : Matrix.GeneralLinearGroup (Fin m) ℝ) (hg : g ∈ Lie.BracketStabilizer.Construction.lieBracketMatrixGroup G hG b) |
| 67 | (A : Lie.MixedLattice.Construction.lieMixedSpan G) : |
| 68 | lieMixedAdjointMatrix G hG b (LatticeFrameAction.Construction.matrixFrameAction b g A) = |
| 69 | g.val * lieMixedAdjointMatrix G hG b A * (g⁻¹).val := by |
| 70 | have hpres := (Integral.TensorStabilizer.Construction.mem_multilinearOperationStabilizer_iff b 2 (LieBracket.Construction.lieMixedBracketForm G hG) g).mp hg |
| 71 | have he : (LatticeFrameAction.Construction.matrixFrameAction b g).toLinearMap * AdjointOperator.Construction.lieMixedAdjoint G hG A = |
| 72 | AdjointOperator.Construction.lieMixedAdjoint G hG (LatticeFrameAction.Construction.matrixFrameAction b g A) * (LatticeFrameAction.Construction.matrixFrameAction b g).toLinearMap := by |
| 73 | apply LinearMap.ext |
| 74 | intro B |
| 75 | exact hpres ![A, B] |
| 76 | have hm := congrArg (LinearMap.toMatrix b b) he |
| 77 | rw [LinearMap.toMatrix_mul, LinearMap.toMatrix_mul, matrixFrameAction_toMatrix] at hm |
| 78 | have hmi := congrArg (fun M : Matrix (Fin m) (Fin m) ℝ => M * (g⁻¹).val) hm |
| 79 | have hi : g.val * (g⁻¹).val = 1 := congrArg Units.val (mul_inv_cancel g) |
| 80 | rw [Matrix.mul_assoc _ g.val, hi, Matrix.mul_one] at hmi |
| 81 | exact hmi.symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! Intrinsic adjoint characteristic coefficients give a uniform |
| 86 | vector gap for all automorphisms of the anisotropic Minkowski Lie bracket. -/ |
| 87 | |
| 88 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 89 | open _root_.NumberField _root_.NumberField.mixedEmbedding _root_.Module |
| 90 | |
| 91 | theorem integer_vector_range_discrete (m : ℕ) : |
| 92 | IsDiscrete (Set.range (fun z : Fin m → ℤ => fun i => (z i : ℝ))) := by |
| 93 | have he : Topology.IsEmbedding (fun z : Fin m → ℤ => fun i => (z i : ℝ)) := |
| 94 | Topology.IsEmbedding.piMap (fun _ => Int.isClosedEmbedding_coe_real.isEmbedding) |
| 95 | exact he.isDiscrete_range |
| 96 | |
| 97 | theorem anisotropic_bracket_group_uniform_gap |
| 98 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 99 | (haniso : Algebraic.IsAnisotropic G) {m : ℕ} |
| 100 | (b : Basis (Fin m) ℝ (Lie.MixedLattice.Construction.lieMixedSpan G.matrixGroup)) |
| 101 | (hb : Submodule.span ℤ (Set.range b) = Lie.MixedLattice.Construction.lieMixedLatticeInSpan G.matrixGroup) : |
| 102 | ∃ ε : ℝ, 0 < ε ∧ ∀ g : Lie.BracketStabilizer.Construction.lieBracketMatrixGroup G.matrixGroup G.connected b, |
| 103 | ∀ x ∈ Lie.MixedLattice.Construction.lieMixedLatticeInSpan G.matrixGroup, x ≠ 0 → ε ≤ ‖LatticeFrameAction.Construction.matrixFrameAction b g.val x‖ := by |
| 104 | let P : Lie.MixedLattice.Construction.lieMixedSpan G.matrixGroup → (Fin (m + 1) → ℝ) := |
| 105 | fun x => CharacteristicInvariant.Construction.characteristicInvariant (lieMixedAdjointMatrix G.matrixGroup G.connected b x) |
| 106 | let D := Set.range (fun z : Fin (m + 1) → ℤ => fun i => (z i : ℝ)) |
| 107 | have hP : Continuous P := CharacteristicInvariant.Construction.continuous_characteristicInvariant.comp |
| 108 | (lieMixedAdjointMatrix G.matrixGroup G.connected b).continuous_of_finiteDimensional |
| 109 | have hP0 : P 0 = 0 := by |
| 110 | change CharacteristicInvariant.Construction.characteristicInvariant (lieMixedAdjointMatrix G.matrixGroup G.connected b 0) = 0 |
| 111 | rw [map_zero, CharacteristicInvariant.Construction.characteristicInvariant_zero] |
| 112 | have hD0 : (0 : Fin (m + 1) → ℝ) ∈ D := ⟨0, by ext; simp⟩ |
| 113 | have hvalues (x : Lie.MixedLattice.Construction.lieMixedSpan G.matrixGroup) (hx : x ∈ Lie.MixedLattice.Construction.lieMixedLatticeInSpan G.matrixGroup) |
| 114 | (hx0 : x ≠ 0) : P x ∈ D ∧ P x ≠ 0 := by |
| 115 | obtain ⟨M, hM⟩ := lieMixedAdjointMatrix_integral G.matrixGroup G.connected b hb x hx |
| 116 | refine ⟨?_, ?_⟩ |
| 117 | · change CharacteristicInvariant.Construction.characteristicInvariant (lieMixedAdjointMatrix G.matrixGroup G.connected b x) ∈ D |
| 118 | rw [← hM, CharacteristicInvariant.Construction.characteristicInvariant_map] |
| 119 | exact ⟨CharacteristicInvariant.Construction.characteristicInvariant M, rfl⟩ |
| 120 | · intro hz |
| 121 | have hnil := CharacteristicInvariant.Construction.nilpotent_of_characteristicInvariant_eq_zero |
| 122 | (lieMixedAdjointMatrix G.matrixGroup G.connected b x) hz |
| 123 | exact hx0 (AdjointOperator.Construction.anisotropic_lieMixedAdjoint_nilpotent_lattice_eq_zero G haniso x hx |
| 124 | (nilpotent_of_lieMixedAdjointMatrix_nilpotent G.matrixGroup G.connected b x hnil)) |
| 125 | apply InvariantGap.Construction.uniform_gap_of_discrete_invariant |
| 126 | (fun g : Lie.BracketStabilizer.Construction.lieBracketMatrixGroup G.matrixGroup G.connected b => LatticeFrameAction.Construction.matrixFrameAction b g.val) |
| 127 | P hP hP0 D (integer_vector_range_discrete (m + 1)) hD0 |
| 128 | (Lie.MixedLattice.Construction.lieMixedLatticeInSpan G.matrixGroup) hvalues |
| 129 | intro g x _ |
| 130 | change CharacteristicInvariant.Construction.characteristicInvariant (lieMixedAdjointMatrix G.matrixGroup G.connected b |
| 131 | (LatticeFrameAction.Construction.matrixFrameAction b g.val x)) = _ |
| 132 | rw [lieMixedAdjointMatrix_conjugate G.matrixGroup G.connected b g.val g.property, |
| 133 | CharacteristicInvariant.Construction.characteristicInvariant_conjugate] |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.LieBracketUniformGap.Construction |