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.Foundations.Scheme.OpenFunctionField |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.GeneratedClosed |
| 3 | |
| 4 | /-! # Dominant Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Albanese.Construction.DominantDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {X Y : Scheme.{u}} [IrreducibleSpace X] [IrreducibleSpace Y] |
| 15 | |
| 16 | /-- A dominant morphism carries the generic point to the generic point. -/ |
| 17 | theorem dominant_genericPoint (i : X ⟶ Y) [IsDominant i] : |
| 18 | i (genericPoint X) = genericPoint Y := by |
| 19 | apply ((genericPoint_spec Y).eq _).symm |
| 20 | simpa only [Set.image_univ, i.denseRange.closure_eq] using |
| 21 | (genericPoint_spec X).image i.continuous |
| 22 | |
| 23 | /-- The homomorphism of actual function fields induced by a dominant morphism. -/ |
| 24 | def dominantFunctionFieldMap (i : X ⟶ Y) [IsDominant i] : |
| 25 | Y.functionField ⟶ X.functionField := |
| 26 | (Y.presheaf.stalkCongr (Inseparable.of_eq (dominant_genericPoint i).symm)).hom ≫ |
| 27 | i.stalkMap (genericPoint X) |
| 28 | |
| 29 | set_option backward.isDefEq.respectTransparency.types false in |
| 30 | theorem dominantFunctionFieldMap_germ (i : X ⟶ Y) [IsDominant i] : |
| 31 | Y.presheaf.germ ⊤ (genericPoint Y) (by trivial) ≫ dominantFunctionFieldMap i = |
| 32 | i.appTop ≫ X.presheaf.germ ⊤ (genericPoint X) (by trivial) := by |
| 33 | simp only [dominantFunctionFieldMap, TopCat.Presheaf.stalkCongr_hom, ← Category.assoc] |
| 34 | rw [TopCat.Presheaf.germ_stalkSpecializes] |
| 35 | exact i.germ_stalkMap ⊤ (genericPoint X) (by trivial) |
| 36 | |
| 37 | theorem dominantFunctionFieldMap_base {S : Scheme.{u}} |
| 38 | (i : X ⟶ Y) [IsDominant i] (f : Y ⟶ S) : |
| 39 | Betti.AffineDimension.Realization.functionFieldBaseMap f ≫ dominantFunctionFieldMap i = |
| 40 | Betti.AffineDimension.Realization.functionFieldBaseMap (i ≫ f) := by |
| 41 | simp only [Betti.AffineDimension.Realization.functionFieldBaseMap, Scheme.Hom.comp_appTop, Category.assoc] |
| 42 | rw [dominantFunctionFieldMap_germ] |
| 43 | |
| 44 | variable {K : Type u} [Field K] |
| 45 | |
| 46 | theorem dominantFunctionFieldMap_scalar (i : X ⟶ Y) [IsDominant i] |
| 47 | (f : Y ⟶ Spec (.of K)) : |
| 48 | (dominantFunctionFieldMap i).hom.comp (Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap f) = |
| 49 | Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap (i ≫ f) := |
| 50 | congrArg (fun g : Γ(Spec (.of K), ⊤) ⟶ X.functionField => |
| 51 | g.hom.comp (Scheme.ΓSpecIso (.of K)).inv.hom) (dominantFunctionFieldMap_base i f) |
| 52 | |
| 53 | /-- Dominant pullback respects the canonical scalar field structures. -/ |
| 54 | def dominantFunctionFieldAlgHom (i : X ⟶ Y) [IsDominant i] |
| 55 | (f : Y ⟶ Spec (.of K)) : |
| 56 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 57 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 58 | Y.functionField →ₐ[K] X.functionField := by |
| 59 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 60 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 61 | exact { (dominantFunctionFieldMap i).hom with |
| 62 | commutes' := fun c => DFunLike.congr_fun (dominantFunctionFieldMap_scalar i f) c } |
| 63 | |
| 64 | /-- A dominant morphism between integral finite-type schemes cannot increase |
| 65 | dimension from its source to its target. -/ |
| 66 | theorem dominant_dimension_le [IsIntegral X] [IsIntegral Y] |
| 67 | (i : X ⟶ Y) [IsDominant i] (f : Y ⟶ Spec (.of K)) |
| 68 | [LocallyOfFiniteType f] [LocallyOfFiniteType (i ≫ f)] : |
| 69 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) := by |
| 70 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 71 | let _ := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 72 | apply (Nat.cast_le (α := Cardinal)).mp |
| 73 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast f, Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast (i ≫ f)] |
| 74 | exact trdeg_le_of_injective (dominantFunctionFieldAlgHom i f) |
| 75 | (dominantFunctionFieldAlgHom i f).injective |
| 76 | |
| 77 | /-- Dimensions decrease along homomorphic refinements of generated targets. -/ |
| 78 | theorem refinement_dimension_le (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 79 | (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : V.toOver ⟶ A.toOver) (b : V.toOver ⟶ B.toOver) |
| 80 | (φ : A.toOver ⟶ B.toOver) [IsMonHom φ] (hφ : a ≫ φ = b) |
| 81 | (hb : GeneratedClosed.Generates V B b) : |
| 82 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.variety.structureMap ≤ |
| 83 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.variety.structureMap := by |
| 84 | have : IsIntegral A.toOver.left := inferInstanceAs (IsIntegral A.carrier) |
| 85 | have : IsIntegral B.toOver.left := inferInstanceAs (IsIntegral B.carrier) |
| 86 | have : Surjective φ.left := GeneratedClosed.refinement_surjective V A B a b φ hφ hb |
| 87 | have : IsDominant φ.left := ⟨φ.left.surjective.denseRange⟩ |
| 88 | have : LocallyOfFiniteType A.toOver.hom := |
| 89 | inferInstanceAs (LocallyOfFiniteType A.variety.structureMap) |
| 90 | have : LocallyOfFiniteType B.toOver.hom := |
| 91 | inferInstanceAs (LocallyOfFiniteType B.variety.structureMap) |
| 92 | have : LocallyOfFiniteType (φ.left ≫ B.toOver.hom) := by rw [φ.w]; infer_instance |
| 93 | have hd := dominant_dimension_le φ.left B.toOver.hom |
| 94 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.toOver.hom ≤ |
| 95 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.toOver.hom |
| 96 | simpa only [φ.w] using hd |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Albanese.Construction.DominantDimension |