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