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.Infinitesimal.CentralizerEquations |
| 2 | |
| 3 | /-! # Adjoint Kernel Field Finite -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.AdjointKernelFieldFinite.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The adjoint kernel is finite over every extension of the base field. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | theorem finite_geometric_infinitesimalCentralizer_locus |
| 15 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 16 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 17 | (hsemi : G.IsSemisimple) : |
| 18 | (zeroLocus (AlgebraicClosure k) (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizerIdeal G)).Finite := by |
| 19 | let K := AlgebraicClosure k |
| 20 | let Z := zeroLocus K (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizerIdeal G) |
| 21 | let q : Z → G.GeometricPoints := fun x => |
| 22 | (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizer_zeroLocus_point G x.property).choose |
| 23 | have hq (x : Z) : (∀ i j, (q x).val i j = x.val (i, j)) ∧ |
| 24 | ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, |
| 25 | ((q x).val : Matrix (Fin n) (Fin n) K) * A.map (algebraMap k K) = |
| 26 | A.map (algebraMap k K) * ((q x).val : Matrix (Fin n) (Fin n) K) := |
| 27 | (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizer_zeroLocus_point G x.property).choose_spec |
| 28 | let S := {g : G.GeometricPoints | |
| 29 | ∀ A : Infinitesimal.Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)), |
| 30 | (g.val : Matrix (Fin n) (Fin n) K) * A.val * |
| 31 | ((g.val⁻¹ : Algebraic.SL n K) : Matrix (Fin n) (Fin n) K) = A.val} |
| 32 | let : Finite S := (AdjointKernelCenter.Construction.semisimple_geometric_adjoint_kernel_finite G hG hsemi).to_subtype |
| 33 | let f : Z → S := fun x => ⟨q x, by |
| 34 | intro A |
| 35 | have he := Infinitesimal.CentralizerEquations.Construction.commutes_infinitesimal_extension_of_commutes_base G hG |
| 36 | ((q x).val : Matrix (Fin n) (Fin n) K) (hq x).2 A.property |
| 37 | rw [he, Matrix.mul_assoc, ← Matrix.SpecialLinearGroup.coe_mul, |
| 38 | mul_inv_cancel, Matrix.SpecialLinearGroup.coe_one, Matrix.mul_one]⟩ |
| 39 | have hf : Function.Injective f := by |
| 40 | intro x y he |
| 41 | apply Subtype.ext |
| 42 | funext ij |
| 43 | have hv := congrArg (fun z : S => z.val.val ij.1 ij.2) he |
| 44 | rw [(hq x).1, (hq y).1] at hv |
| 45 | exact hv |
| 46 | let : Finite Z := Finite.of_injective f hf |
| 47 | exact Set.toFinite _ |
| 48 | |
| 49 | theorem finite_infinitesimalCentralizer_locus |
| 50 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 51 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 52 | (hsemi : G.IsSemisimple) : |
| 53 | (zeroLocus K (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizerIdeal G)).Finite := |
| 54 | AlgebraicLocusBaseChange.Construction.finite_zeroLocus_of_finite_algClosure (Infinitesimal.CentralizerEquations.Construction.infinitesimalCentralizerIdeal G) |
| 55 | (finite_geometric_infinitesimalCentralizer_locus G hG hsemi) |
| 56 | |
| 57 | theorem semisimple_adjoint_kernel_field_finite |
| 58 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 59 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 60 | (hsemi : G.IsSemisimple) : |
| 61 | Set.Finite {g : G.Points (algebraMap k K) | |
| 62 | ∀ A : Infinitesimal.Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)), |
| 63 | (g.val : Matrix (Fin n) (Fin n) K) * A.val * |
| 64 | ((g.val⁻¹ : Algebraic.SL n K) : Matrix (Fin n) (Fin n) K) = A.val} := by |
| 65 | let f : G.Points (algebraMap k K) → ((Fin n × Fin n) → K) := fun g ij => g.val ij.1 ij.2 |
| 66 | have hf : Function.Injective f := by |
| 67 | intro g h he |
| 68 | apply Subtype.ext |
| 69 | apply Matrix.SpecialLinearGroup.ext |
| 70 | intro i j |
| 71 | exact congrFun he (i, j) |
| 72 | apply Set.Finite.of_finite_image (f := f) |
| 73 | ((finite_infinitesimalCentralizer_locus (K := K) G hG hsemi).subset ?_) hf.injOn |
| 74 | rintro _ ⟨g, hg, rfl⟩ |
| 75 | apply Infinitesimal.CentralizerEquations.Construction.point_mem_infinitesimalCentralizer_zeroLocus G g |
| 76 | intro A hA |
| 77 | have he := hg ⟨A.map (algebraMap k K), CharZeroTangent.Construction.infinitesimalStabilizer_coefficient_map G hG hA⟩ |
| 78 | have hm := congrArg (fun M : Matrix (Fin n) (Fin n) K => |
| 79 | M * (g.val : Matrix (Fin n) (Fin n) K)) he |
| 80 | simpa only [Matrix.mul_assoc, ← Matrix.SpecialLinearGroup.coe_mul, |
| 81 | inv_mul_cancel, Matrix.SpecialLinearGroup.coe_one, Matrix.mul_one] using hm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.ArithmeticGroups.Lattices.AdjointKernelFieldFinite.Construction |