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.CycleClass.Thom.Regular.ProductOver |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Product.SmoothPoints |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImmersionPointIso |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeImmersionPointTopology |
| 5 | |
| 6 | /-! # Product Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.ProductIso.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The regular stratum of a genuine complex product is the actual product |
| 13 | of the regular strata. The canonical open immersion is surjective on complex |
| 14 | points and hence is an isomorphism of schemes over the complex base. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Regular.ProductOver.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SmoothPoints.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.PresentationMap |
| 19 | Product.SupportTo.Constructions.SmoothOpen Open.ImmersionPointIso.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) (πX : Z ⟶ X) (πY : Z ⟶ Y) |
| 25 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 26 | [LocallyOfFinitePresentation X.hom] [LocallyOfFinitePresentation Y.hom] |
| 27 | [LocallyOfFinitePresentation Z.hom] |
| 28 | |
| 29 | def regularProductToAmbient : ProductOver.Constructions.regularProductOver X Y ⟶ Z := |
| 30 | Over.homMk (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 31 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) |
| 32 | (Product.SupportTo.Constructions.PresentationMap.productPresentationMap_base X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 33 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) |
| 34 | |
| 35 | instance regularProductToAmbient_open : |
| 36 | IsOpenImmersion (regularProductToAmbient X Y Z πX πY hprod).left := |
| 37 | inferInstanceAs (IsOpenImmersion (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 38 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y))) |
| 39 | |
| 40 | def regularProductToRegular : ProductOver.Constructions.regularProductOver X Y ⟶ ProductOver.Constructions.regularOver Z := |
| 41 | Over.homMk |
| 42 | (Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift |
| 43 | (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 44 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) Z.hom) |
| 45 | (by |
| 46 | change _ ≫ (Geometric.SmoothStratum.smoothStratumι Z.hom ≫ Z.hom) = _ |
| 47 | rw [Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift_inclusion_assoc] |
| 48 | exact Product.SupportTo.Constructions.PresentationMap.productPresentationMap_base X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 49 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) |
| 50 | |
| 51 | instance regularProductToRegular_open : |
| 52 | IsOpenImmersion (regularProductToRegular X Y Z πX πY hprod).left := |
| 53 | inferInstanceAs (IsOpenImmersion (Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift |
| 54 | (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 55 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) Z.hom)) |
| 56 | |
| 57 | @[reassoc] |
| 58 | theorem regularProductToRegular_inclusion : |
| 59 | regularProductToRegular X Y Z πX πY hprod ≫ ProductOver.Constructions.regularOverInclusion Z = |
| 60 | regularProductToAmbient X Y Z πX πY hprod := by |
| 61 | apply Over.OverMorphism.ext |
| 62 | exact Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift_inclusion _ _ |
| 63 | |
| 64 | theorem regularProductToRegular_pointSurjective : |
| 65 | Function.Surjective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularProductToRegular X Y Z πX πY hprod)) := by |
| 66 | intro z |
| 67 | let w := z ≫ ProductOver.Constructions.regularOverInclusion Z |
| 68 | have hz : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w ∈ Z.hom.smoothLocus := by |
| 69 | have h : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w ∈ Set.range (Geometric.SmoothStratum.smoothStratumι Z.hom) := |
| 70 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z, rfl⟩ |
| 71 | rw [Geometric.SmoothStratum.range_smoothStratumι] at h |
| 72 | exact h |
| 73 | have hs := (Product.SmoothPoints.Constructions.productPoint_smooth_iff X Y Z πX πY hprod w).mp hz |
| 74 | let b := regularProductToAmbient X Y Z πX πY hprod |
| 75 | have hr : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w ∈ Set.range b.left := by |
| 76 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w ∈ Set.range |
| 77 | (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X Y Z πX πY hprod (ProductOver.Constructions.regularOver X) (ProductOver.Constructions.regularOver Y) |
| 78 | (ProductOver.Constructions.regularOverInclusion X) (ProductOver.Constructions.regularOverInclusion Y)) |
| 79 | rw [Product.SupportTo.Constructions.PresentationMap.productPresentationMap_range] |
| 80 | change πX.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w) ∈ Set.range (Geometric.SmoothStratum.smoothStratumι X.hom) ∧ |
| 81 | πY.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying w) ∈ Set.range (Geometric.SmoothStratum.smoothStratumι Y.hom) |
| 82 | rw [Geometric.SmoothStratum.range_smoothStratumι, Geometric.SmoothStratum.range_smoothStratumι] |
| 83 | exact hs |
| 84 | have hw : w ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map b) := by |
| 85 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion] |
| 86 | exact hr |
| 87 | obtain ⟨q, hq⟩ := hw |
| 88 | refine ⟨q, ?_⟩ |
| 89 | apply (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion (ProductOver.Constructions.regularOverInclusion Z)).injective |
| 90 | change (q ≫ regularProductToRegular X Y Z πX πY hprod) ≫ ProductOver.Constructions.regularOverInclusion Z = |
| 91 | z ≫ ProductOver.Constructions.regularOverInclusion Z |
| 92 | rw [Category.assoc, regularProductToRegular_inclusion] |
| 93 | exact hq |
| 94 | |
| 95 | instance regularProductToRegular_isIso : |
| 96 | IsIso (regularProductToRegular X Y Z πX πY hprod).left := |
| 97 | Open.ImmersionPointIso.Constructions.openImmersion_isIso_of_pointSurjective (regularProductToRegular X Y Z πX πY hprod) |
| 98 | (regularProductToRegular_pointSurjective X Y Z πX πY hprod) |
| 99 | |
| 100 | def regularProductOverIso : ProductOver.Constructions.regularProductOver X Y ≅ ProductOver.Constructions.regularOver Z := |
| 101 | Over.isoMk (asIso (regularProductToRegular X Y Z πX πY hprod).left) |
| 102 | (regularProductToRegular X Y Z πX πY hprod).w |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.ProductIso.Constructions |