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.OpenSupportedCycle |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GradedOpenClass |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.PreimageSupport |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 5 | |
| 6 | /-! # Closed Class Pullback Generator -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedClassPullbackGenerator.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual open pullback of a supported generator, including the empty inverse-image case. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 21 | (i : X ⟶ Y) [IsOpenImmersion i.left] (F : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (d p : ℕ) |
| 22 | (hd : d + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 23 | |
| 24 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] [IsOpenImmersion (Over.Hom.left i)] in |
| 25 | theorem schemeClosedPullback_mapsTo : Set.MapsTo (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 26 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F)ᶜ Fᶜ := fun _ hx => hx |
| 27 | |
| 28 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [IsOpenImmersion (Over.Hom.left i)] in |
| 29 | theorem schemeClosedRelativeGenerator_pullback_expansion (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) : |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 31 | (schemeClosedPullback_mapsTo i F) (2 * p) (OpenSupportedCycle.BundleCycles.schemeClosedRelativeGenerator Y F d p hd x) = |
| 32 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 33 | ((OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x).comp (schemeClosedPullback_mapsTo i F)) (2 * p) |
| 34 | (SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y (irreducibleSetEquivPoints.symm x.val.val) p |
| 35 | ((congrArg (fun n => n + p) x.val.property).trans hd)) := by |
| 36 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 37 | (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) (schemeClosedPullback_mapsTo i F) |
| 38 | (OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x) (2 * p) |
| 39 | have he := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr |
| 40 | (Category.comp_id (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i)) |
| 41 | ((OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x).comp (schemeClosedPullback_mapsTo i F)) |
| 42 | ((OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x).comp (schemeClosedPullback_mapsTo i F)) (2 * p) |
| 43 | exact ConcreteCategory.congr_hom (h.trans he) _ |
| 44 | |
| 45 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 46 | theorem schemeClosedRelativeGenerator_pullback_empty (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) |
| 47 | (hx : x.val.val ∉ Set.range i.left) : |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 49 | (schemeClosedPullback_mapsTo i F) (2 * p) (OpenSupportedCycle.BundleCycles.schemeClosedRelativeGenerator Y F d p hd x) = 0 := by |
| 50 | rw [schemeClosedRelativeGenerator_pullback_expansion] |
| 51 | have he := SchemeCycle.EmptyPullback.BundleCycles.openSupport_preimage_empty_of_generic_not_mem i (irreducibleSetEquivPoints.symm x.val.val) |
| 52 | (by simpa only [OrderIso.apply_symm_apply] using hx) |
| 53 | have hm : ∀ z : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, |
| 54 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i z ∈ (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y (irreducibleSetEquivPoints.symm x.val.val)))ᶜ := by |
| 55 | intro z hz |
| 56 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range] at hz |
| 57 | have h : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z ∈ i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val.val : Set Y.left) := hz |
| 58 | rw [he] at h |
| 59 | exact h |
| 60 | have h := DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset (ModuleCat.of ℚ ℚ) |
| 61 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F)ᶜ |
| 62 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion Y (irreducibleSetEquivPoints.symm x.val.val)))ᶜ |
| 63 | ((OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x).comp (schemeClosedPullback_mapsTo i F)) hm (2 * p) |
| 64 | exact ConcreteCategory.congr_hom h _ |
| 65 | |
| 66 | theorem schemeClosedRelativeGenerator_pullback_support |
| 67 | (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) |
| 68 | [Nonempty (Open.SupportRestriction.BundleCycles.openSupportPullback i.left (irreducibleSetEquivPoints.symm x.val.val))] |
| 69 | (z : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d) |
| 70 | (hz : (irreducibleSetEquivPoints.symm z.val.val : Set X.left) = |
| 71 | i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val.val : Set Y.left)) : |
| 72 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) |
| 73 | (schemeClosedPullback_mapsTo i F) (2 * p) (OpenSupportedCycle.BundleCycles.schemeClosedRelativeGenerator Y F d p hd x) = |
| 74 | OpenSupportedCycle.BundleCycles.schemeClosedRelativeGenerator X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d p |
| 75 | (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hd) z := by |
| 76 | rw [schemeClosedRelativeGenerator_pullback_expansion] |
| 77 | have hc := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportedCycleClass_open_of_support i (irreducibleSetEquivPoints.symm x.val.val) |
| 78 | (irreducibleSetEquivPoints.symm z.val.val) hz p |
| 79 | ((congrArg (fun n => n + p) x.val.property).trans hd) |
| 80 | ((congrArg (fun n => n + p) z.val.property).trans (GradedOpenClass.BundleCycles.openOverGraded_codimension i d p hd)) |
| 81 | let hzi := OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d z |
| 82 | let hzj := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo i (irreducibleSetEquivPoints.symm x.val.val) |
| 83 | (irreducibleSetEquivPoints.symm z.val.val) hz |
| 84 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 85 | (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) hzi hzj (2 * p) |
| 86 | have he := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr |
| 87 | (Category.id_comp (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i)) (hzj.comp hzi) |
| 88 | ((OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint_mapsTo Y F d x).comp (schemeClosedPullback_mapsTo i F)) (2 * p) |
| 89 | have heval := ConcreteCategory.congr_hom (h.trans he) |
| 90 | (SupportedCycleClass.BundleCycles.schemeSupportedCycleClass Y (irreducibleSetEquivPoints.symm x.val.val) p |
| 91 | ((congrArg (fun n => n + p) x.val.property).trans hd)) |
| 92 | exact heval.symm.trans (congrArg |
| 93 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 94 | (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) hzi (2 * p)) hc) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedClassPullbackGenerator.BundleCycles |