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.CharacteristicInvariant |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.IntegralAction |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantGap |
| 4 | |
| 5 | /-! # Characteristic Gap -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.CharacteristicGap.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Integral characteristic coefficients and anisotropy give a uniform |
| 12 | Minkowski norm bound for every conjugate of a nonzero integral Lie matrix. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 15 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 16 | |
| 17 | theorem characteristicInvariant_integral_minkowski_mem |
| 18 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 19 | (A : Matrix (Fin n) (Fin n) (𝓞 k)) : |
| 20 | CharacteristicInvariant.Construction.characteristicInvariant (A.map ((mixedEmbedding k).comp (algebraMap (𝓞 k) k))) ∈ |
| 21 | IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k (n + 1)).module := by |
| 22 | rw [Minkowski.IntegralAction.Construction.standard_vectorLatticeImage_eq_pi, CharacteristicInvariant.Construction.characteristicInvariant_map] |
| 23 | intro i _ |
| 24 | exact ⟨CharacteristicInvariant.Construction.characteristicInvariant A i, rfl⟩ |
| 25 | |
| 26 | theorem anisotropic_characteristicInvariant_minkowski_ne_zero |
| 27 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 28 | (haniso : Algebraic.IsAnisotropic G) (A : Matrix (Fin G.dimension) (Fin G.dimension) k) |
| 29 | (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G.matrixGroup) (hA0 : A ≠ 0) : |
| 30 | CharacteristicInvariant.Construction.characteristicInvariant (A.map (mixedEmbedding k)) ≠ 0 := by |
| 31 | intro h |
| 32 | apply CharacteristicInvariant.Construction.anisotropic_characteristicInvariant_ne_zero G haniso A hA hA0 |
| 33 | funext i |
| 34 | apply mixedEmbedding_injective k |
| 35 | have hi := congrFun h i |
| 36 | rw [CharacteristicInvariant.Construction.characteristicInvariant_map] at hi |
| 37 | simpa only [Pi.zero_apply, map_zero] using hi |
| 38 | |
| 39 | def integralLieMixedSet |
| 40 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) : |
| 41 | Set (Matrix (Fin G.dimension) (Fin G.dimension) (mixedSpace k)) := |
| 42 | {x | ∃ A : Matrix (Fin G.dimension) (Fin G.dimension) (𝓞 k), |
| 43 | A.map (algebraMap (𝓞 k) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G.matrixGroup ∧ |
| 44 | x = A.map ((mixedEmbedding k).comp (algebraMap (𝓞 k) k))} |
| 45 | |
| 46 | theorem characteristicInvariant_integralLie_values |
| 47 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 48 | (haniso : Algebraic.IsAnisotropic G) |
| 49 | (x : Matrix (Fin G.dimension) (Fin G.dimension) (mixedSpace k)) |
| 50 | (hx : x ∈ integralLieMixedSet G) (hx0 : x ≠ 0) : |
| 51 | CharacteristicInvariant.Construction.characteristicInvariant x ∈ IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k (G.dimension + 1)).module ∧ |
| 52 | CharacteristicInvariant.Construction.characteristicInvariant x ≠ 0 := by |
| 53 | obtain ⟨A, hA, rfl⟩ := hx |
| 54 | refine ⟨characteristicInvariant_integral_minkowski_mem A, ?_⟩ |
| 55 | have hne : A.map (algebraMap (𝓞 k) k) ≠ 0 := by |
| 56 | intro h |
| 57 | apply hx0 |
| 58 | change A.map ((mixedEmbedding k) ∘ (algebraMap (𝓞 k) k)) = 0 |
| 59 | rw [← Matrix.map_map, h] |
| 60 | exact Matrix.map_zero _ (map_zero _) |
| 61 | have h := anisotropic_characteristicInvariant_minkowski_ne_zero G haniso _ hA hne |
| 62 | simpa only [Matrix.map_map, RingHom.coe_comp] using h |
| 63 | |
| 64 | theorem anisotropic_integralLie_uniform_gap |
| 65 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 66 | (haniso : Algebraic.IsAnisotropic G) : |
| 67 | ∃ ε : ℝ, 0 < ε ∧ |
| 68 | ∀ g : Matrix.GeneralLinearGroup (Fin G.dimension) (mixedSpace k), |
| 69 | ∀ x ∈ integralLieMixedSet G, x ≠ 0 → ε ≤ ‖g.val * x * (g⁻¹).val‖ := by |
| 70 | let D := IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k (G.dimension + 1)).module |
| 71 | apply InvariantGap.Construction.uniform_gap_of_discrete_invariant |
| 72 | (E := Matrix (Fin G.dimension) (Fin G.dimension) (mixedSpace k)) |
| 73 | (F := Fin (G.dimension + 1) → mixedSpace k) |
| 74 | (fun (g : Matrix.GeneralLinearGroup (Fin G.dimension) (mixedSpace k)) x => g.val * x * (g⁻¹).val) |
| 75 | CharacteristicInvariant.Construction.characteristicInvariant CharacteristicInvariant.Construction.continuous_characteristicInvariant CharacteristicInvariant.Construction.characteristicInvariant_zero |
| 76 | (D : Set (Fin (G.dimension + 1) → mixedSpace k)) |
| 77 | (isDiscrete_iff_discreteTopology.mpr |
| 78 | (IntegralLattice.Construction.vectorLatticeImage_discrete _ (IntegralLattice.FullLattice.standard k (G.dimension + 1)).finite)) |
| 79 | D.zero_mem (integralLieMixedSet G) |
| 80 | (characteristicInvariant_integralLie_values G haniso) |
| 81 | exact fun g x _ => CharacteristicInvariant.Construction.characteristicInvariant_conjugate g x |
| 82 | |
| 83 | theorem integral_matrix_mixedEmbedding_injective |
| 84 | {k : Type} [Field k] [NumberField k] {n : ℕ} : |
| 85 | Function.Injective (fun A : Matrix (Fin n) (Fin n) (𝓞 k) => |
| 86 | A.map ((mixedEmbedding k).comp (algebraMap (𝓞 k) k))) := by |
| 87 | intro A B h |
| 88 | ext i j : 1 |
| 89 | apply Subtype.ext |
| 90 | apply mixedEmbedding_injective k |
| 91 | exact congrFun (congrFun h i) j |
| 92 | |
| 93 | theorem anisotropic_integral_lie_uniform_conjugation_gap |
| 94 | {k : Type} [Field k] [NumberField k] (G : Algebraic.ConnectedSemisimpleKGroup k) |
| 95 | (haniso : Algebraic.IsAnisotropic G) : |
| 96 | ∃ ε : ℝ, 0 < ε ∧ |
| 97 | ∀ g : Matrix.GeneralLinearGroup (Fin G.dimension) (mixedSpace k), |
| 98 | ∀ A : Matrix (Fin G.dimension) (Fin G.dimension) (𝓞 k), |
| 99 | A.map (algebraMap (𝓞 k) k) ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G.matrixGroup → A ≠ 0 → |
| 100 | ε ≤ ‖g.val * A.map ((mixedEmbedding k).comp (algebraMap (𝓞 k) k)) * (g⁻¹).val‖ := by |
| 101 | obtain ⟨ε, hε, hgap⟩ := anisotropic_integralLie_uniform_gap G haniso |
| 102 | refine ⟨ε, hε, fun g A hA hA0 => hgap g _ ⟨A, hA, rfl⟩ ?_⟩ |
| 103 | intro h |
| 104 | apply hA0 |
| 105 | apply integral_matrix_mixedEmbedding_injective (k := k) |
| 106 | exact h.trans (Matrix.map_zero _ (map_zero _)).symm |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.CharacteristicGap.Construction |