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.Albanese.Construction.DominantDimension |
| 2 | |
| 3 | /-! # Generic Finite -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Albanese.Construction.GenericFinite |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {K : Type u} [Field K] {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 14 | |
| 15 | /-- Canonical pullback makes the function fields of a dominant morphism an |
| 16 | algebra tower over the ground field. -/ |
| 17 | theorem dominantFunctionField_isScalarTower (i : X ⟶ Y) [IsDominant i] |
| 18 | (f : Y ⟶ Spec (.of K)) : |
| 19 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 20 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 21 | letI := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 22 | IsScalarTower K Y.functionField X.functionField := by |
| 23 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 24 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 25 | let _ := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 26 | exact IsScalarTower.of_algebraMap_eq' (DominantDimension.dominantFunctionFieldMap_scalar i f).symm |
| 27 | |
| 28 | /-- Equality of dimensions for a dominant map makes its function-field |
| 29 | extension algebraic. Finiteness of the ground-field transcendence degrees is |
| 30 | used before cancelling cardinal addition. -/ |
| 31 | theorem dominantFunctionField_isAlgebraic_of_dimension_eq |
| 32 | (i : X ⟶ Y) [IsDominant i] (f : Y ⟶ Spec (.of K)) |
| 33 | [LocallyOfFiniteType f] [LocallyOfFiniteType (i ≫ f)] |
| 34 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f) : |
| 35 | letI := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 36 | Algebra.IsAlgebraic Y.functionField X.functionField := by |
| 37 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 38 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 39 | let _ := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 40 | have := dominantFunctionField_isScalarTower i f |
| 41 | have heq := trdeg_add_eq K Y.functionField (A := X.functionField) |
| 42 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast f, |
| 43 | ← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast (i ≫ f), hd] at heq |
| 44 | apply trdeg_eq_zero_iff.mp |
| 45 | rcases Cardinal.add_eq_left_iff.mp heq with h | h |
| 46 | · exact False.elim (Cardinal.natCast_lt_aleph0.not_ge ((le_max_left _ _).trans h)) |
| 47 | · exact h |
| 48 | |
| 49 | /-- The algebraic extension in the equal-dimension case is actually finite: |
| 50 | finite type over the ground field supplies essential finite type over the |
| 51 | intermediate function field. -/ |
| 52 | theorem dominantFunctionField_finite_of_dimension_eq |
| 53 | (i : X ⟶ Y) [IsDominant i] (f : Y ⟶ Spec (.of K)) |
| 54 | [LocallyOfFiniteType f] [LocallyOfFiniteType (i ≫ f)] |
| 55 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f) : |
| 56 | letI := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 57 | Module.Finite Y.functionField X.functionField := by |
| 58 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 59 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 60 | let _ := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 61 | have := dominantFunctionField_isScalarTower i f |
| 62 | have := Foundations.Scheme.FunctionFieldFiniteType.functionFieldScalar_essFiniteType (i ≫ f) |
| 63 | have := Algebra.EssFiniteType.of_comp K Y.functionField X.functionField |
| 64 | have := dominantFunctionField_isAlgebraic_of_dimension_eq i f hd |
| 65 | exact Algebra.finite_of_essFiniteType_of_isAlgebraic |
| 66 | |
| 67 | /-- In characteristic zero the generic finite extension is separable, so its |
| 68 | map of function fields is formally unramified. -/ |
| 69 | theorem dominantFunctionField_formallyUnramified_of_dimension_eq [CharZero K] |
| 70 | (i : X ⟶ Y) [IsDominant i] (f : Y ⟶ Spec (.of K)) |
| 71 | [LocallyOfFiniteType f] [LocallyOfFiniteType (i ≫ f)] |
| 72 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f) : |
| 73 | (DominantDimension.dominantFunctionFieldMap i).hom.FormallyUnramified := by |
| 74 | have : CharZero Y.functionField := |
| 75 | charZero_of_injective_ringHom (Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap f).injective |
| 76 | let _ := (DominantDimension.dominantFunctionFieldMap i).hom.toAlgebra |
| 77 | have := dominantFunctionField_isAlgebraic_of_dimension_eq i f hd |
| 78 | have : Algebra.IsSeparable Y.functionField X.functionField := inferInstance |
| 79 | have := Algebra.FormallyEtale.of_isSeparable Y.functionField X.functionField |
| 80 | exact inferInstanceAs (Algebra.FormallyUnramified Y.functionField X.functionField) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Albanese.Construction.GenericFinite |