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.IntersectionTheory.ProjectionFormula.AugmentedRegularJet |
| 2 | import Mathlib.RingTheory.Unramified.LocalRing |
| 3 | |
| 4 | /-! # Augmented Residue Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AugmentedResidueMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local algebra with a rational augmentation has its coefficient |
| 11 | field as residue field. Local maps between such algebras induce separable maps. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open IsLocalRing |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {K : Type u} {R : Type v} [Field K] [CommRing R] [Algebra K R] [IsLocalRing R] |
| 20 | (ε : R →ₐ[K] K) |
| 21 | |
| 22 | include ε |
| 23 | |
| 24 | theorem coefficients_surjective : Function.Surjective (algebraMap K (ResidueField R)) := by |
| 25 | intro z |
| 26 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 27 | refine ⟨ε r, ?_⟩ |
| 28 | change Ideal.Quotient.mk (maximalIdeal R) (algebraMap K R (ε r)) = Ideal.Quotient.mk (maximalIdeal R) r |
| 29 | apply Ideal.Quotient.eq.mpr |
| 30 | rw [← AugmentedRegularJet.ideal_eq ε] |
| 31 | change ε (algebraMap K R (ε r) - r) = 0 |
| 32 | simp |
| 33 | |
| 34 | variable {A : Type w} [CommRing A] [Algebra K A] [IsLocalRing A] |
| 35 | (g : A →ₐ[K] R) [IsLocalHom g.toRingHom] |
| 36 | |
| 37 | theorem map_surjective : Function.Surjective (ResidueField.map g.toRingHom) := by |
| 38 | intro z |
| 39 | obtain ⟨c, rfl⟩ := coefficients_surjective ε z |
| 40 | refine ⟨algebraMap K (ResidueField A) c, ?_⟩ |
| 41 | change ResidueField.map g.toRingHom (residue A (algebraMap K A c)) = residue R (algebraMap K R c) |
| 42 | rw [ResidueField.map_residue] |
| 43 | exact congrArg (residue R) (g.commutes c) |
| 44 | |
| 45 | theorem separable : |
| 46 | letI := g.toRingHom.toAlgebra |
| 47 | Algebra.IsSeparable (ResidueField A) (ResidueField R) := by |
| 48 | let := g.toRingHom.toAlgebra |
| 49 | constructor |
| 50 | intro r |
| 51 | obtain ⟨a, rfl⟩ := map_surjective ε g r |
| 52 | exact isSeparable_algebraMap a |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AugmentedResidueMap |