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.BirationalValuationComp |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationFunctorTo |
| 3 | |
| 4 | /-! # Generic Fiber Ess -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFiberEss.BundleCycles.GenericFiberFields |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Above the generic point of the base, its function field maps into |
| 11 | the actual source stalk. These scalar maps agree with the morphism's |
| 12 | native generic-stalk field embedding. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Divisors.LineBundles.BirationalValuationComp.BundleCycles.BirationalValuationSection |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 21 | (f : X ⟶ Y) (hη : f (genericPoint X) = genericPoint Y) |
| 22 | |
| 23 | abbrev fieldAlgebra : Algebra Y.functionField X.functionField := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.toAlgebra |
| 24 | |
| 25 | abbrev stalkAlgebra (x : X) (hx : f x = genericPoint Y) : |
| 26 | Algebra Y.functionField (X.presheaf.stalk x) := |
| 27 | (BirationalValuationComp.BundleCycles.BirationalValuationSection.pointStalkMap f (genericPoint Y) x hx).hom.toAlgebra |
| 28 | |
| 29 | theorem stalkTower (x : X) (hx : f x = genericPoint Y) : |
| 30 | letI := fieldAlgebra f hη |
| 31 | letI := stalkAlgebra f x hx |
| 32 | IsScalarTower Y.functionField (X.presheaf.stalk x) X.functionField := by |
| 33 | let := fieldAlgebra f hη |
| 34 | let := stalkAlgebra f x hx |
| 35 | apply IsScalarTower.of_algebraMap_eq' |
| 36 | have h := BirationalValuationComp.BundleCycles.BirationalValuationSection.pointStalkMap_functionField f hη (genericPoint Y) x hx |
| 37 | change BirationalValuationComp.BundleCycles.BirationalValuationSection.pointStalkMap f (genericPoint Y) x hx ≫ |
| 38 | CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) X.functionField) = |
| 39 | Y.presheaf.stalkSpecializes ((genericPoint_spec Y).specializes trivial) ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη at h |
| 40 | rw [TopCat.Presheaf.stalkSpecializes_refl, Category.id_comp] at h |
| 41 | exact (congrArg CommRingCat.Hom.hom h).symm |
| 42 | |
| 43 | theorem field_trdeg_one {K : Type u} [Field K] |
| 44 | (g : Y ⟶ Spec (.of K)) [LocallyOfFiniteType g] [LocallyOfFiniteType (f ≫ g)] |
| 45 | (hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ g)) : |
| 46 | letI := fieldAlgebra f hη |
| 47 | Algebra.trdeg Y.functionField X.functionField = 1 := by |
| 48 | let := fieldAlgebra f hη |
| 49 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra g |
| 50 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (f ≫ g) |
| 51 | let : IsScalarTower K Y.functionField X.functionField := |
| 52 | IsScalarTower.of_algHom (Cycles.Functoriality.FunctionFields.Construction.genericFieldAlgHom f hη g) |
| 53 | let := Foundations.Scheme.FunctionFieldFiniteType.functionFieldScalar_finTrdeg g |
| 54 | let := Foundations.Scheme.FunctionFieldFiniteType.functionFieldScalar_essFiniteType (f ≫ g) |
| 55 | have h := trdeg_add_eq K Y.functionField (A := X.functionField) |
| 56 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast g, ← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast (f ≫ g), |
| 57 | ← hdim, Nat.cast_add, Nat.cast_one] at h |
| 58 | rw [add_comm ((Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g : ℕ) : Cardinal), |
| 59 | add_comm ((Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g : ℕ) : Cardinal)] at h |
| 60 | exact (Cardinal.add_right_inj_of_lt_aleph0 Cardinal.natCast_lt_aleph0).mp h |
| 61 | |
| 62 | theorem field_essFiniteType {K : Type u} [Field K] |
| 63 | (g : Y ⟶ Spec (.of K)) [LocallyOfFiniteType (f ≫ g)] : |
| 64 | letI := fieldAlgebra f hη |
| 65 | Algebra.EssFiniteType Y.functionField X.functionField := by |
| 66 | let := fieldAlgebra f hη |
| 67 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra g |
| 68 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (f ≫ g) |
| 69 | let : IsScalarTower K Y.functionField X.functionField := |
| 70 | IsScalarTower.of_algHom (Cycles.Functoriality.FunctionFields.Construction.genericFieldAlgHom f hη g) |
| 71 | let := Foundations.Scheme.FunctionFieldFiniteType.functionFieldScalar_essFiniteType (f ≫ g) |
| 72 | exact Algebra.EssFiniteType.of_comp K Y.functionField X.functionField |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFiberEss.BundleCycles.GenericFiberFields |