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.Product.PointSections |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo |
| 3 | |
| 4 | /-! # Smooth Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Product.SmoothPoints.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complex point of the genuine scheme product is smooth precisely when |
| 11 | both factor points are smooth. Necessity uses the actual product sections |
| 12 | and scalar-compatible local-ring retracts; sufficiency uses smooth open products. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Product.PointSections.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SmoothRetract.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.SmoothOpen OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.PresentationMap |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) (πX : Z ⟶ X) (πY : Z ⟶ Y) |
| 22 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 23 | [LocallyOfFinitePresentation X.hom] [LocallyOfFinitePresentation Y.hom] |
| 24 | [LocallyOfFinitePresentation Z.hom] |
| 25 | |
| 26 | include hprod |
| 27 | |
| 28 | omit [LocallyOfFinitePresentation Y.hom] in |
| 29 | theorem productPoint_smooth_fst (z : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z) |
| 30 | (hz : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ Z.hom.smoothLocus) : |
| 31 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πX) ∈ X.hom.smoothLocus := by |
| 32 | let i := PointSections.Constructions.productSectionLeft X Y Z πX πY hprod (z ≫ πY) |
| 33 | have hs : i.left ≫ πX.left = 𝟙 X.left := |
| 34 | congrArg Over.Hom.left (PointSections.Constructions.productSectionLeft_fst X Y Z πX πY hprod (z ≫ πY)) |
| 35 | have hx : i.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πX)) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z := |
| 36 | congrArg (fun p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying p) |
| 37 | (PointSections.Constructions.productSectionLeft_point X Y Z πX πY hprod z) |
| 38 | apply Scheme.SmoothRetract.Constructions.mem_smoothLocus_of_retract i.left πX.left hs X.hom Z.hom i.w πX.w |
| 39 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πX)) |
| 40 | rw [hx] |
| 41 | exact hz |
| 42 | |
| 43 | omit [LocallyOfFinitePresentation X.hom] in |
| 44 | theorem productPoint_smooth_snd (z : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z) |
| 45 | (hz : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ Z.hom.smoothLocus) : |
| 46 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πY) ∈ Y.hom.smoothLocus := by |
| 47 | let i := PointSections.Constructions.productSectionRight X Y Z πX πY hprod (z ≫ πX) |
| 48 | have hs : i.left ≫ πY.left = 𝟙 Y.left := |
| 49 | congrArg Over.Hom.left (PointSections.Constructions.productSectionRight_snd X Y Z πX πY hprod (z ≫ πX)) |
| 50 | have hx : i.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πY)) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z := |
| 51 | congrArg (fun p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying p) |
| 52 | (PointSections.Constructions.productSectionRight_point X Y Z πX πY hprod z) |
| 53 | apply Scheme.SmoothRetract.Constructions.mem_smoothLocus_of_retract i.left πY.left hs Y.hom Z.hom i.w πY.w |
| 54 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πY)) |
| 55 | rw [hx] |
| 56 | exact hz |
| 57 | |
| 58 | theorem productPoint_smooth_of_factors (z : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z) |
| 59 | (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πX) ∈ X.hom.smoothLocus) |
| 60 | (hy : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πY) ∈ Y.hom.smoothLocus) : |
| 61 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ Z.hom.smoothLocus := by |
| 62 | let U := Over.mk (Geometric.SmoothStratum.smoothStratumToBase X.hom) |
| 63 | let V := Over.mk (Geometric.SmoothStratum.smoothStratumToBase Y.hom) |
| 64 | let i : U ⟶ X := Over.homMk (Geometric.SmoothStratum.smoothStratumι X.hom) rfl |
| 65 | let j : V ⟶ Y := Over.homMk (Geometric.SmoothStratum.smoothStratumι Y.hom) rfl |
| 66 | let : Smooth U.hom := inferInstanceAs (Smooth (Geometric.SmoothStratum.smoothStratumToBase X.hom)) |
| 67 | let : Smooth V.hom := inferInstanceAs (Smooth (Geometric.SmoothStratum.smoothStratumToBase Y.hom)) |
| 68 | let : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion (Geometric.SmoothStratum.smoothStratumι X.hom)) |
| 69 | let : IsOpenImmersion j.left := inferInstanceAs (IsOpenImmersion (Geometric.SmoothStratum.smoothStratumι Y.hom)) |
| 70 | apply SupportTo.Constructions.SmoothOpen.productOpen_range_subset_smoothLocus X Y Z πX πY hprod U V i j |
| 71 | rw [SupportTo.Constructions.PresentationMap.productPresentationMap_range] |
| 72 | change πX.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z) ∈ Set.range (Geometric.SmoothStratum.smoothStratumι X.hom) ∧ |
| 73 | πY.left (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z) ∈ Set.range (Geometric.SmoothStratum.smoothStratumι Y.hom) |
| 74 | rw [Geometric.SmoothStratum.range_smoothStratumι, Geometric.SmoothStratum.range_smoothStratumι] |
| 75 | exact ⟨hx, hy⟩ |
| 76 | |
| 77 | theorem productPoint_smooth_iff (z : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z) : |
| 78 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ Z.hom.smoothLocus ↔ |
| 79 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πX) ∈ X.hom.smoothLocus ∧ |
| 80 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (z ≫ πY) ∈ Y.hom.smoothLocus := |
| 81 | ⟨fun hz => ⟨productPoint_smooth_fst X Y Z πX πY hprod z hz, |
| 82 | productPoint_smooth_snd X Y Z πX πY hprod z hz⟩, |
| 83 | fun h => productPoint_smooth_of_factors X Y Z πX πY hprod z h.1 h.2⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.CycleClass.Thom.Product.SmoothPoints.Constructions |