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.HodgeConjecture.DegreeTwo.OpenEmbeddingExtension |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactPointNaturality |
| 3 | |
| 4 | /-! # Open Extension Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OpenExtensionComposition.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition and homeomorphism laws for actual compact-support open extension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {X Y Z : TopCat.{0}} [T2Space Y] [T2Space Z] |
| 17 | |
| 18 | theorem embeddingCompactImage_comp (f : X ⟶ Y) (g : Y ⟶ Z) (K : Compacts X) : |
| 19 | OpenEmbeddingExtension.Constructions.embeddingCompactImage g (OpenEmbeddingExtension.Constructions.embeddingCompactImage f K) = OpenEmbeddingExtension.Constructions.embeddingCompactImage (f ≫ g) K := by |
| 20 | let _ := (inferInstance : T2Space Y) |
| 21 | let _ := (inferInstance : T2Space Z) |
| 22 | apply Compacts.ext |
| 23 | exact Set.image_image g f (K : Set X) |
| 24 | |
| 25 | theorem openEmbeddingCompactExtension_comp (f : X ⟶ Y) (g : Y ⟶ Z) |
| 26 | (hf : Topology.IsOpenEmbedding f) (hg : Topology.IsOpenEmbedding g) (n : ℕ) : |
| 27 | OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension f hf n ≫ OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension g hg n = |
| 28 | OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension (f ≫ g) (hg.comp hf) n := by |
| 29 | apply AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_hom_ext (ModuleCat.of ℚ ℚ) X n |
| 30 | intro K |
| 31 | apply (cancel_epi (OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso (f ≫ g) (hg.comp hf) K n).hom).mp |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro b |
| 35 | let L := OpenEmbeddingExtension.Constructions.embeddingCompactImage f K |
| 36 | let T := OpenEmbeddingExtension.Constructions.embeddingCompactImage (f ≫ g) K |
| 37 | have hLT : g '' (L : Set Y) = (T : Set Z) := Set.image_image g f (K : Set X) |
| 38 | have hgT : Set.MapsTo g (L : Set Y)ᶜ (T : Set Z)ᶜ := by |
| 39 | intro y hy h |
| 40 | obtain ⟨x,hx,hxy⟩ := h |
| 41 | exact hy ⟨x,hx,hg.injective hxy⟩ |
| 42 | have hcomp := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) f g |
| 43 | (OpenEmbeddingExtension.Constructions.openEmbedding_mapsTo_image_complement f hf K) hgT n |
| 44 | have hpb : (OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso (f ≫ g) (hg.comp hf) K n).hom b = |
| 45 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 46 | (OpenEmbeddingExtension.Constructions.openEmbedding_mapsTo_image_complement f hf K) n |
| 47 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hgT n b) := by |
| 48 | rw [OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso_hom] |
| 49 | exact (ConcreteCategory.congr_hom hcomp b).symm |
| 50 | change OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension g hg n |
| 51 | (OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension f hf n |
| 52 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K n |
| 53 | ((OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso (f ≫ g) (hg.comp hf) K n).hom b))) = |
| 54 | OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension (f ≫ g) (hg.comp hf) n |
| 55 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K n |
| 56 | ((OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso (f ≫ g) (hg.comp hf) K n).hom b)) |
| 57 | have hF := OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension_pullback f hf K L rfl |
| 58 | (OpenEmbeddingExtension.Constructions.openEmbedding_mapsTo_image_complement f hf K) n |
| 59 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hgT n b) |
| 60 | have hG := OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension_pullback g hg L T hLT hgT n b |
| 61 | have hFG := OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension_pullback (f ≫ g) (hg.comp hf) K T rfl |
| 62 | (OpenEmbeddingExtension.Constructions.openEmbedding_mapsTo_image_complement (f ≫ g) (hg.comp hf) K) n b |
| 63 | rw [← OpenEmbeddingExtension.Constructions.openEmbeddingCompactStageIso_hom (f ≫ g) (hg.comp hf) K n] at hFG |
| 64 | exact (congrArg (fun a => OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension g hg n |
| 65 | (OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension f hf n |
| 66 | (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) X K n a))) hpb).trans |
| 67 | ((congrArg (OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension g hg n) hF).trans (hG.trans hFG.symm)) |
| 68 | |
| 69 | theorem openEmbeddingCompactExtension_homeomorph (e : X ≃ₜ Y) (n : ℕ) : |
| 70 | OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension (TopCat.isoOfHomeo (X := X) (Y := Y) e).hom |
| 71 | e.isOpenEmbedding n = |
| 72 | (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) e n).inv := by |
| 73 | apply (cancel_epi (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) e n).hom).mp |
| 74 | rw [Iso.hom_inv_id] |
| 75 | apply AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_hom_ext (ModuleCat.of ℚ ℚ) Y n |
| 76 | intro L |
| 77 | obtain ⟨K,rfl⟩ := (Compacts.equiv e).surjective L |
| 78 | rw [← Category.assoc, AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso_ι, Category.assoc] |
| 79 | apply ModuleCat.hom_ext |
| 80 | apply LinearMap.ext |
| 81 | intro b |
| 82 | exact OpenEmbeddingExtension.Constructions.openEmbeddingCompactExtension_pullback |
| 83 | (TopCat.isoOfHomeo (X := X) (Y := Y) e).hom e.isOpenEmbedding K |
| 84 | (Compacts.equiv e K) rfl |
| 85 | (fun x hx => (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactHomeomorph_complement_iff e K x).mp hx) n b |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OpenExtensionComposition.Constructions |