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.Divisors.LineBundles.Scheme.GlobalSectionFormula |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.PrincipalImmersionPair |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ImageIntersectionRightSupport |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ImageIntersectionCupSwap |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.SupportedClassTransport |
| 6 | |
| 7 | /-! # Intersection Cup -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.IntersectionCup.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual fiber Thom class intersected with any parent cycle gives the canonical class of the full principal divisor, in the original common support. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.Class |
| 19 | |
| 20 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 21 | [IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] |
| 22 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 23 | (i : X ⟶ Y) [IsClosedImmersion i.left] (s : Γ(Y.left, ⊤)) (hs : s ≠ 0) |
| 24 | (hzero : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) = Set.range (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s)) |
| 25 | (hi : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + 1 = Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 26 | (hlocal : ∀ x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, ∃ (U : Y.left.Opens), IsAffineOpen U ∧ |
| 27 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x ∈ CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen Y U ∧ |
| 28 | RingHom.ker (i.left.app U).hom = Ideal.span {Y.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s}) |
| 29 | (W : IrreducibleCloseds Y.left) (p : ℕ) |
| 30 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension W Y.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 31 | |
| 32 | include hs hlocal in |
| 33 | theorem schemeSupportSectionCup_changeToFiber : |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 35 | (ImageIntersectionRightSupport.BundleCycles.imageIntersectionRightSupport_mapsTo (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) |
| 36 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) hzero) (2 * (p + 1)) (Scheme.SupportSectionCup.BundleCycles.schemeSupportSectionCup Y W s p hp) = |
| 37 | CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) |
| 38 | (Scheme.SupportSectionCup.BundleCycles.schemeSupport_openComplement Y W) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).closed.isClosed_range.isOpen_compl p 1 |
| 39 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y W p hp) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).regularThomClass := by |
| 40 | have h := ImageIntersectionRightSupport.BundleCycles.imageIntersectionCup_rightSupport (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) |
| 41 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) hzero (Scheme.SupportSectionCup.BundleCycles.schemeSupport_openComplement Y W) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement Y s) |
| 42 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).closed.isClosed_range.isOpen_compl p 1 |
| 43 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y W p hp) (Finite.GlobalSectionClassRestriction.BundleCycles.schemeSectionSupportedClass Y s) |
| 44 | exact h.trans (congrArg (CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) |
| 45 | (Scheme.SupportSectionCup.BundleCycles.schemeSupport_openComplement Y W) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).closed.isClosed_range.isOpen_compl p 1 |
| 46 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y W p hp)) |
| 47 | (Scheme.PrincipalImmersionPair.BundleCycles.schemePrincipalImmersion_sectionClass_eq_Thom i s hzero hs hi hlocal)) |
| 48 | |
| 49 | local instance principalIntersectionCupSupportTop : Nonempty (⊤ : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens) := |
| 50 | ⟨⟨genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W), Opens.mem_top _⟩⟩ |
| 51 | |
| 52 | include hs hzero hlocal in |
| 53 | theorem principalIntersectionCup_eq_principalClass (d : ℕ) |
| 54 | (hd : d + (1 + p) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 55 | (hW : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s) ≠ 0) : |
| 56 | CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W) |
| 57 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).closed.isClosed_range.isOpen_compl (Scheme.SupportSectionCup.BundleCycles.schemeSupport_openComplement Y W) 1 p |
| 58 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).regularThomClass (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y W p hp) = |
| 59 | Scheme.OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap Y (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) ∩ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W)) |
| 60 | d (1 + p) hd |
| 61 | (Scheme.OpenSupportedCycle.BundleCycles.schemeClosedRestrictCycle Y (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) ∩ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W)) d |
| 62 | (Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor Y.hom d W |
| 63 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s)))) := by |
| 64 | let u := CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y W |
| 65 | let v := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i |
| 66 | let F := Set.range u ∩ Set.range v |
| 67 | let G := Set.range v ∩ Set.range u |
| 68 | let hd' : d + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by omega |
| 69 | let c := Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor Y.hom d W |
| 70 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s)) |
| 71 | have hF : Scheme.SupportSectionCup.BundleCycles.schemeSupportSectionIntersection Y W s = F := congrArg (Set.inter (Set.range u)) hzero.symm |
| 72 | have hclass := Closed.SupportedClassTransport.BundleCycles.schemeClosedRestrictedClass_identityMap Y (Scheme.SupportSectionCup.BundleCycles.schemeSupportSectionIntersection Y W s) F hF |
| 73 | (ImageIntersectionRightSupport.BundleCycles.imageIntersectionRightSupport_mapsTo u (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) v hzero) d (p + 1) hd' c |
| 74 | have hformula := congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 75 | (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 76 | (ImageIntersectionRightSupport.BundleCycles.imageIntersectionRightSupport_mapsTo u (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) v hzero) (2 * (p + 1))) |
| 77 | (Scheme.GlobalSectionFormula.BundleCycles.schemeSupportSectionCup_eq_principalSupportedClass Y W s p hp d hd' hW) |
| 78 | have hcup := (schemeSupportSectionCup_changeToFiber i s hs hzero hi hlocal W p hp).symm.trans |
| 79 | (hformula.trans hclass) |
| 80 | have hswap := ImageIntersectionCupSwap.BundleCycles.imageIntersectionCup_swap u v (Scheme.SupportSectionCup.BundleCycles.schemeSupport_openComplement Y W) |
| 81 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).closed.isClosed_range.isOpen_compl p 1 |
| 82 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y W p hp) (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hi).regularThomClass |
| 83 | have htransport := congrArg (CycleClass.Thom.Supported.Transport.Constructions.Class.supportDegreeTransport (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 84 | (congrArg Set.compl (Set.inter_comm (Set.range u) (Set.range v))) |
| 85 | (congrArg (fun n => 2 * n) (Nat.add_comm p 1))) hcup |
| 86 | exact hswap.symm.trans (htransport.trans (Closed.SupportedClassTransport.BundleCycles.schemeClosedRestrictedClass_supportDegreeTransport Y F G |
| 87 | (Set.inter_comm _ _) d (p + 1) (1 + p) (Nat.add_comm p 1) hd' hd c)) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.IntersectionCup.BundleCycles |