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.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationField |
| 2 | import Mathlib.RingTheory.Etale.Pi |
| 3 | |
| 4 | /-! # Evaluation Field -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.EvaluationField.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! One finite extension simultaneously evaluates any finite family of |
| 11 | finite etale algebras. This includes all three neighbor parameters and |
| 12 | the generic torsion algebra in the same construction. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem finiteSplit_of_surjective (k A B : Type u) [Field k] |
| 19 | [CommRing A] [CommRing B] [Algebra k A] [Algebra k B] |
| 20 | [Algebra.IsFiniteSplit k A] [Module.Finite k B] [Algebra.Etale k B] |
| 21 | (f : A →ₐ[k] B) (hf : Function.Surjective f) : Algebra.IsFiniteSplit k B := by |
| 22 | have : IsArtinianRing B := IsArtinianRing.of_finite k B |
| 23 | have : IsReduced B := Algebra.FormallyUnramified.isReduced_of_field k B |
| 24 | have hbij (m : MaximalSpectrum B) : Function.Bijective (algebraMap k (B ⧸ m.asIdeal)) := by |
| 25 | let g : A →ₐ[k] B ⧸ m.asIdeal := (Ideal.Quotient.mkₐ k m.asIdeal).comp f |
| 26 | have hg : Function.Surjective g := (Ideal.Quotient.mk_surjective).comp hf |
| 27 | let p := RingHom.ker g |
| 28 | have : p.IsPrime := RingHom.ker_isPrime g |
| 29 | let e : (A ⧸ p) ≃ₐ[k] B ⧸ m.asIdeal := Ideal.quotientKerAlgEquivOfSurjective hg |
| 30 | have ha := Algebra.IsFiniteSplit.bijective_algebraMap_quotient k p |
| 31 | refine ⟨(algebraMap k (B ⧸ m.asIdeal)).injective, ?_⟩ |
| 32 | intro b |
| 33 | obtain ⟨c, hc⟩ := ha.surjective (e.symm b) |
| 34 | exact ⟨c, (e.commutes c).symm.trans ((congrArg e hc).trans (e.apply_symm_apply b))⟩ |
| 35 | let e : B ≃ₐ[k] (MaximalSpectrum B → k) := |
| 36 | ((IsArtinianRing.equivPi B).restrictScalars k).trans |
| 37 | (AlgEquiv.piCongrRight fun m ↦ (AlgEquiv.ofBijective (Algebra.ofId k (B ⧸ m.asIdeal)) |
| 38 | (hbij m)).symm) |
| 39 | exact Algebra.IsFiniteSplit.of_algEquiv e.symm |
| 40 | |
| 41 | theorem exists_joint_finite_evaluation_field (K : Type u) [Field K] |
| 42 | {I : Type u} [Fintype I] (C : I → Type u) |
| 43 | [∀ i, CommRing (C i)] [∀ i, Algebra K (C i)] |
| 44 | [∀ i, Module.Finite K (C i)] [∀ i, Algebra.Etale K (C i)] : |
| 45 | ∃ (L : Type u) (_ : Field L) (_ : Algebra K L) (_ : Module.Finite K L), |
| 46 | ∀ i, Algebra.IsFiniteSplit L (L ⊗[K] C i) := by |
| 47 | classical |
| 48 | obtain ⟨L, _, _, _, h⟩ := EvaluationField.Lifts.exists_finite_evaluation_field K (∀ i, C i) |
| 49 | have : Algebra.IsFiniteSplit L (∀ i, L ⊗[K] C i) := |
| 50 | Algebra.IsFiniteSplit.of_algEquiv (Algebra.TensorProduct.piRight K L L C) |
| 51 | refine ⟨L, inferInstance, inferInstance, inferInstance, ?_⟩ |
| 52 | intro i |
| 53 | exact finiteSplit_of_surjective L (∀ j, L ⊗[K] C j) (L ⊗[K] C i) |
| 54 | (Pi.evalAlgHom L (fun j ↦ L ⊗[K] C j) i) (Function.surjective_eval _) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.EvaluationField.Lifts |