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.ClosedCycleOpenRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedClassPullbackGenerator |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedSupportedLift |
| 4 | |
| 5 | /-! # Closed Class Open Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedClassOpenPullback.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical common-support classes commute with actual open restriction of finite graded cycles. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 15 | |
| 16 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 17 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 18 | [IsIntegral Y.left] [Smooth Y.hom] |
| 19 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 20 | (i : X ⟶ Y) [IsOpenImmersion i.left] (F : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (d p : ℕ) |
| 21 | (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 22 | |
| 23 | theorem schemeClosedRelativeClassMap_openPullback (c : OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle Y F d) : |
| 24 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 25 | (ClosedClassPullbackGenerator.BundleCycles.schemeClosedPullback_mapsTo i F) (2 * p) (OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap Y F d p hd c) = |
| 26 | OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d p |
| 27 | (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hd) (ClosedCycleOpenRestriction.BundleCycles.schemeClosedCycleOpenRestriction i F d c) := by |
| 28 | classical |
| 29 | let L : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) Fᶜ (2 * p) →ₗ[ℚ] |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 31 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F)ᶜ (2 * p) := |
| 32 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 33 | (ClosedClassPullbackGenerator.BundleCycles.schemeClosedPullback_mapsTo i F) (2 * p)).hom |
| 34 | change L (OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap Y F d p hd c) = _ |
| 35 | induction c using Finsupp.induction_linear with |
| 36 | | zero => simp only [map_zero] |
| 37 | | add c e hc he => simp only [map_add, hc, he] |
| 38 | | single x r => |
| 39 | by_cases hx : x.val.val ∈ Set.range i.left |
| 40 | · obtain ⟨y, hy⟩ := hx |
| 41 | have hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) X.hom = d := by |
| 42 | have h := ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i.left Y.hom y |
| 43 | rw [i.w, hy] at h |
| 44 | exact h.symm.trans x.val.property |
| 45 | let y' : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d := ⟨y, hdim⟩ |
| 46 | have he : Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d y' = x.val := Subtype.ext hy |
| 47 | let z : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d := |
| 48 | ⟨y', ClosedCycleOpenRestriction.BundleCycles.schemeClosedOpenPoint_support i F d x y' he⟩ |
| 49 | have hz : Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d z.val = x.val := he |
| 50 | let : Nonempty (Open.SupportRestriction.BundleCycles.openSupportPullback i.left (irreducibleSetEquivPoints.symm x.val.val)) := |
| 51 | (Open.SupportGenericPoint.BundleCycles.openSupportPullback_nonempty_generic i.left _).mpr |
| 52 | (by simpa only [OrderIso.apply_symm_apply] using (show x.val.val ∈ Set.range i.left from ⟨y, hy⟩)) |
| 53 | have hZ : (irreducibleSetEquivPoints.symm z.val.val : Set X.left) = |
| 54 | i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val.val : Set Y.left) := by |
| 55 | change (irreducibleSetEquivPoints.symm y : Set X.left) = _ |
| 56 | rw [← hy, ← Open.SupportRestriction.BundleCycles.openRestrictedSupport_coe i.left, Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure] |
| 57 | rw [ClosedCycleOpenRestriction.BundleCycles.schemeClosedCycleOpenRestriction_single i F d x z hz r, |
| 58 | OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap_single, OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap_single, map_smul] |
| 59 | exact congrArg (fun a => r • a) (ClosedClassPullbackGenerator.BundleCycles.schemeClosedRelativeGenerator_pullback_support i F d p hd x z hZ) |
| 60 | · rw [ClosedCycleOpenRestriction.BundleCycles.schemeClosedCycleOpenRestriction_single_off i F d x hx r, |
| 61 | map_zero, OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap_single, map_smul] |
| 62 | let M : ModuleCat ℚ := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 63 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F)ᶜ (2 * p) |
| 64 | have hzero : r • (0 : M) = 0 := smul_zero r |
| 65 | exact (congrArg (fun a => r • a) |
| 66 | (ClosedClassPullbackGenerator.BundleCycles.schemeClosedRelativeGenerator_pullback_empty i F d p hd x hx)).trans hzero |
| 67 | |
| 68 | theorem schemeClosedRestrictedClass_openPullback (c : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint Y.hom d →₀ ℚ) |
| 69 | (hc : ∀ z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint Y.hom d, c z ≠ 0 → |
| 70 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y (irreducibleSetEquivPoints.symm z.val)) ⊆ F) : |
| 71 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 72 | (ClosedClassPullbackGenerator.BundleCycles.schemeClosedPullback_mapsTo i F) (2 * p) |
| 73 | (OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap Y F d p hd (OpenSupportedCycle.BundleCycles.schemeClosedRestrictCycle Y F d c)) = |
| 74 | OpenSupportedCycle.BundleCycles.schemeClosedRelativeClassMap X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d p |
| 75 | (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hd) |
| 76 | (OpenSupportedCycle.BundleCycles.schemeClosedRestrictCycle X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d c)) := by |
| 77 | rw [schemeClosedRelativeClassMap_openPullback, ClosedCycleOpenRestriction.BundleCycles.schemeClosedCycleOpenRestriction_apply, |
| 78 | ClosedSupportedLift.BundleCycles.schemeClosed_forget_restrictCycle Y F d c hc] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedClassOpenPullback.BundleCycles |