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.Open.PullbackImmersion |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportNeighborhoodDetection |
| 3 | |
| 4 | /-! # Image Cohomology Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ImageCohomologyDetection.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality after pullback to an open embedding detects equality on |
| 11 | its actual image. The proof uses the constructed inverse homeomorphism |
| 12 | and ordinary relative-cohomology functoriality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | variable {N T : Type} [TopologicalSpace N] [TopologicalSpace T] |
| 17 | (f : N → T) (hf : Topology.IsOpenEmbedding f) (S : Set T) |
| 18 | |
| 19 | local notation "U" => OAI.AlgebraicGeometry.Divisors.LineBundles.HolomorphicOpenImage.BundleCycles.holomorphicOpenImage f hf |
| 20 | local notation "e" => OAI.AlgebraicGeometry.Divisors.LineBundles.HolomorphicOpenImage.BundleCycles.holomorphicOpenImageHomeomorph f hf |
| 21 | |
| 22 | def openImageInverseMap : TopCat.of U ⟶ TopCat.of N := |
| 23 | TopCat.ofHom ⟨(e).symm, (e).symm.continuous⟩ |
| 24 | |
| 25 | theorem openImageInverseMap_comp : |
| 26 | openImageInverseMap f hf ≫ PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf = |
| 27 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of T) (U : Set T) := by |
| 28 | ext y |
| 29 | exact congrArg Subtype.val ((e).apply_symm_apply y) |
| 30 | |
| 31 | theorem openImageInverseMap_mapsTo : Set.MapsTo (openImageInverseMap f hf) |
| 32 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of T) S U) (f ⁻¹' S) := by |
| 33 | intro y hy |
| 34 | change f ((e).symm y) ∈ S |
| 35 | have h := congrArg Subtype.val ((e).apply_symm_apply y) |
| 36 | change f ((e).symm y) = y.val at h |
| 37 | exact h.symm ▸ hy |
| 38 | |
| 39 | theorem openImageRestriction_eq_of_pullback_eq (n : ℕ) |
| 40 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of T) S n) |
| 41 | (hab : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf) |
| 42 | (A := f ⁻¹' S) (B := S) (fun _ hy => hy) n a = |
| 43 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf) |
| 44 | (A := f ⁻¹' S) (B := S) (fun _ hy => hy) n b) : |
| 45 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of T) S U n a = |
| 46 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of T) S U n b := by |
| 47 | let g := openImageInverseMap f hf |
| 48 | have hg := openImageInverseMap_mapsTo f hf S |
| 49 | have hcomp := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) g (PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf) |
| 50 | hg (show Set.MapsTo (PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf) (f ⁻¹' S) S from fun _ hy => hy) n |
| 51 | have hm := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr (openImageInverseMap_comp f hf) |
| 52 | (show Set.MapsTo (g ≫ PullbackImmersion.BundleCycles.openPullbackAmbientMap f hf) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of T) S U) S |
| 53 | from fun _ hy => hg hy) (fun _ hy => hy) n |
| 54 | have ha := ConcreteCategory.congr_hom (hcomp.trans hm) a |
| 55 | have hb := ConcreteCategory.congr_hom (hcomp.trans hm) b |
| 56 | exact ha.symm.trans ((congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hg n) hab).trans hb) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ImageCohomologyDetection.BundleCycles |