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.DedekindExtension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.FiberFields |
| 3 | |
| 4 | /-! # Dedekind Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.DedekindExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A Dedekind model of the source function field extends into a proper |
| 11 | morphism over the generic point of its integral base. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FractionField |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem exists_extension {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 22 | [X.IsSeparated] [Y.IsSeparated] (f : X ⟶ Y) [IsProper f] |
| 23 | (hη : f (genericPoint X) = genericPoint Y) |
| 24 | (A : Type u) [CommRing A] [IsDedekindDomain A] |
| 25 | [Algebra Y.functionField A] [Algebra A X.functionField] [IsFractionRing A X.functionField] |
| 26 | (hscalar : (algebraMap A X.functionField).comp (algebraMap Y.functionField A) = |
| 27 | (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom) : |
| 28 | ∃ i : Spec (.of A) ⟶ X, |
| 29 | Spec.map (CommRingCat.ofHom (algebraMap A X.functionField)) ≫ i = Normalization.Scheme.genericMap X ∧ |
| 30 | i ≫ f = Spec.map (CommRingCat.ofHom (algebraMap Y.functionField A)) ≫ Normalization.Scheme.genericMap Y := by |
| 31 | let e := Affine.FractionField.fieldIso A X.functionField |
| 32 | let φ := Spec.map e.inv ≫ Normalization.Scheme.genericMap X |
| 33 | let sA := Spec.map (CommRingCat.ofHom (algebraMap Y.functionField A)) ≫ Normalization.Scheme.genericMap Y |
| 34 | have hc : φ ≫ f = Normalization.Scheme.genericMap (Spec (.of A)) ≫ sA := by |
| 35 | dsimp only [φ, sA] |
| 36 | rw [Category.assoc, ← Normalization.Functor.genericMap_square f hη, |
| 37 | ← Category.assoc, ← Spec.map_comp] |
| 38 | dsimp only [Normalization.Scheme.genericMap] |
| 39 | rw [Spec.fromSpecStalk_eq', ← Category.assoc, ← Spec.map_comp] |
| 40 | congr 2 |
| 41 | apply (cancel_mono e.hom).mp |
| 42 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id, Category.assoc, Affine.FractionField.toStalk_fieldIso] |
| 43 | exact congrArg CommRingCat.ofHom hscalar.symm |
| 44 | obtain ⟨i, hi, hf⟩ := ValuationExtension.exists_extension sA f φ hc |
| 45 | (DedekindExtension.stalk_valuation A) |
| 46 | refine ⟨i, ?_, hf⟩ |
| 47 | have hgeneric : Spec.map (CommRingCat.ofHom (algebraMap A X.functionField)) = |
| 48 | Spec.map e.hom ≫ Normalization.Scheme.genericMap (Spec (.of A)) := by |
| 49 | rw [Normalization.Scheme.genericMap, Spec.fromSpecStalk_eq', ← Spec.map_comp, Affine.FractionField.toStalk_fieldIso] |
| 50 | rw [hgeneric, Category.assoc, hi] |
| 51 | simp [φ, ← Spec.map_comp_assoc] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.DedekindExtension |