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.Finite.SectionCup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normal.CupTargets |
| 4 | |
| 5 | /-! # Vector Step -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.VectorStep.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine finite cycle cup with a regular-section vector |
| 12 | reduces to its actual principal step cupped with the remaining vector. |
| 13 | All classes, equations, and intersection supports are literal. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.CycleSectionClass.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions.SupportedCupTargets OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Normal |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionChange.Constructions.Equation OAI.AlgebraicGeometry.CycleClass.Thom.Normal.CupTargets.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.CupDegrees.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.HeadTailCoordinates.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 28 | |
| 29 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 30 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 31 | |
| 32 | variable (p n : ℕ) (B : V.carrier.Opens) [Nonempty B] |
| 33 | (r : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (s : Fin n → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 34 | (U : Opens V.analyticSpace) |
| 35 | (hU : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 36 | {L K : Type} (u : L → U) (hu : IsOpen (Set.range u)ᶜ) (v : K → U) (hv : IsOpen (Set.range v)ᶜ) |
| 37 | (ht : Set.MapsTo (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) U hU n s) (Set.range v)ᶜ ({0}ᶜ)) |
| 38 | (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 39 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 40 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u) |
| 41 | (hne : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)) |
| 42 | (hr : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 43 | Affine.SectionFunction.Constructions.parentSectionFunction D B r ≠ 0) |
| 44 | |
| 45 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B |
| 46 | local notation "w" => OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hU r |
| 47 | local notation "hw" => OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hU) (OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) r) |
| 48 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) r) |
| 49 | local notation "S" => Set.range u ∩ Set.range w |
| 50 | local notation "G" => Set.range w ∩ Set.range v |
| 51 | local notation "F" => (Set.range u ∩ Set.range w) ∩ Set.range v |
| 52 | |
| 53 | include hu in |
| 54 | theorem step_openComplement : IsOpen Sᶜ := by |
| 55 | rw [← ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq u w] |
| 56 | exact hu.union hw |
| 57 | |
| 58 | include hv in |
| 59 | theorem vector_openComplement : IsOpen Gᶜ := by |
| 60 | rw [← ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq w v] |
| 61 | exact (hw).union hv |
| 62 | |
| 63 | theorem stepComplement_eq : Sᶜ ∪ (Set.range v)ᶜ = Fᶜ := by |
| 64 | ext x |
| 65 | exact not_and_or.symm |
| 66 | |
| 67 | theorem finalComplement_eq : (Set.range u)ᶜ ∪ Gᶜ = Fᶜ := by |
| 68 | ext x |
| 69 | simp only [Set.mem_union, Set.mem_compl_iff, Set.mem_inter_iff] |
| 70 | tauto |
| 71 | |
| 72 | include ht in |
| 73 | theorem vector_mapsTo : Set.MapsTo (BaseSectionVector.Constructions.baseSectionVector j U hU (n + 1) (Fin.cons r s)) Gᶜ ({0}ᶜ) := by |
| 74 | have h := BaseSectionVector.Constructions.baseSectionVector_mapsTo j U hU n r s (Set.range w)ᶜ (Set.range v)ᶜ |
| 75 | (BaseSectionChange.Constructions.Equation.baseSectionEquation_mapsTo j U hU r) ht |
| 76 | rwa [ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq w v] at h |
| 77 | |
| 78 | theorem head_tail_normalCup : |
| 79 | EvenIntersectionAssociativity.Constructions.SupportedCupTargets.cupTo (TopCat.of U) (Set.range w)ᶜ (Set.range v)ᶜ Gᶜ hw hv (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq w v) |
| 80 | 2 (2 * n) (2 * (n + 1)) (by omega) |
| 81 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionChange.Constructions.Equation.baseSectionEquation j U hU r) |
| 82 | (BaseSectionChange.Constructions.Equation.baseSectionEquation_mapsTo j U hU r) 2 (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1)) |
| 83 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) ht (2 * n) |
| 84 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n)) = |
| 85 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU (n + 1) (Fin.cons r s)) |
| 86 | (vector_mapsTo V n B r s U hU v ht) (2 * (n + 1)) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (n + 1)) := by |
| 87 | have hfg : Set.MapsTo (Normal.CupDegrees.Constructions.normalMapAt (BaseSectionChange.Constructions.Equation.baseSectionEquation j U hU r) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) |
| 88 | (HeadTailCoordinates.Constructions.headTailCoordinates n)) Gᶜ ({0}ᶜ) := by |
| 89 | rw [BaseSectionVector.Constructions.baseSectionVector_normalMapAt] |
| 90 | exact vector_mapsTo V n B r s U hU v ht |
| 91 | exact (Normal.CupTargets.Constructions.normalCupTo (Set.range w)ᶜ (Set.range v)ᶜ Gᶜ hw hv (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq w v) |
| 92 | 1 n (n + 1) (Nat.add_comm 1 n) (BaseSectionChange.Constructions.Equation.baseSectionEquation j U hU r) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) |
| 93 | (HeadTailCoordinates.Constructions.headTailCoordinates n) (BaseSectionChange.Constructions.Equation.baseSectionEquation_mapsTo j U hU r) ht hfg).trans |
| 94 | (ConcreteCategory.congr_hom (ThomOpenRestriction.Constructions.pairMap_congr (BaseSectionVector.Constructions.baseSectionVector_normalMapAt j U hU n r s) hfg |
| 95 | (vector_mapsTo V n B r s U hU v ht) (2 * (n + 1))) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (n + 1))) |
| 96 | |
| 97 | theorem cycle_vectorCup_eq_step_vectorCup : |
| 98 | EvenIntersectionAssociativity.Constructions.SupportedCupTargets.cupTo (TopCat.of U) (Set.range u)ᶜ Gᶜ Fᶜ hu (vector_openComplement V B r U hU v hv) |
| 99 | (finalComplement_eq V B r U hU u v) (2 * p) (2 * (n + 1)) (2 * ((p + 1) + n)) (by omega) |
| 100 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Open.SupportedLift.Constructions.restrictCycle V U (Set.range u) p c)) |
| 101 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU (n + 1) (Fin.cons r s)) |
| 102 | (vector_mapsTo V n B r s U hU v ht) (2 * (n + 1)) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (n + 1))) = |
| 103 | EvenIntersectionAssociativity.Constructions.SupportedCupTargets.cupTo (TopCat.of U) Sᶜ (Set.range v)ᶜ Fᶜ (step_openComplement V B r U hU u hu) hv |
| 104 | (stepComplement_eq V B r U hU u v) (2 * (p + 1)) (2 * n) (2 * ((p + 1) + n)) (Nat.mul_add 2 (p + 1) n).symm |
| 105 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) (Open.SupportedLift.Constructions.restrictCycle V U S (p + 1) (CycleSectionClass.Constructions.cycleSectionStep V p B r U u c hc hne hr))) |
| 106 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) ht (2 * n) |
| 107 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n)) := by |
| 108 | have h := EvenIntersectionAssociativity.Constructions.SupportedCupTargets.cupTo_associative (TopCat.of U) (Set.range u)ᶜ (Set.range w)ᶜ (Set.range v)ᶜ Sᶜ Gᶜ Fᶜ |
| 109 | hu hw hv (step_openComplement V B r U hU u hu) (vector_openComplement V B r U hU v hv) |
| 110 | (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq u w) (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq w v) |
| 111 | (stepComplement_eq V B r U hU u v) (finalComplement_eq V B r U hU u v) |
| 112 | (2 * p) 2 (2 * n) (2 * (p + 1)) (2 * (n + 1)) (2 * ((p + 1) + n)) |
| 113 | (by omega) (by omega) (by omega) (by omega) |
| 114 | (Open.SupportedLift.Constructions.Map.relativeClassMap V U (Set.range u) p (Open.SupportedLift.Constructions.restrictCycle V U (Set.range u) p c)) |
| 115 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionChange.Constructions.Equation.baseSectionEquation j U hU r) |
| 116 | (BaseSectionChange.Constructions.Equation.baseSectionEquation_mapsTo j U hU r) 2 (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1)) |
| 117 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) ht (2 * n) |
| 118 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n)) |
| 119 | rw [SectionCup.Constructions.cycle_sectionEquationCup_eq_step V p B r U hU u hu c hc hne hr, |
| 120 | head_tail_normalCup V n B r s U hU v hv ht] at h |
| 121 | exact h.symm |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.VectorStep.Constructions |