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 | |
| 3 | /-! # Open Embedding Pair Excision -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OpenEmbeddingPairExcision.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Excision for an actual open embedding written with the specified pair complements. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) (hf : Topology.IsOpenEmbedding f) |
| 16 | variable (A : Set X) (B : Set Y) (hB : IsOpen B) (hpre : f ⁻¹' B = A) |
| 17 | variable (hcover : Bᶜ ⊆ Set.range f) |
| 18 | |
| 19 | include hpre in |
| 20 | theorem openEmbeddingPair_support_eq : (f ⁻¹' Bᶜ)ᶜ = A := by |
| 21 | rw [Set.preimage_compl, compl_compl, hpre] |
| 22 | |
| 23 | include hpre in |
| 24 | theorem openEmbeddingPair_mapsTo : Set.MapsTo f A B := by |
| 25 | intro x hx |
| 26 | have hx' : x ∈ f ⁻¹' B := by rw [hpre]; exact hx |
| 27 | exact hx' |
| 28 | |
| 29 | def openEmbeddingPairCohomologyIso (n : ℕ) : |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B n ≅ |
| 31 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n := |
| 32 | eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y S n) |
| 33 | (compl_compl B).symm) ≪≫ |
| 34 | OpenEmbeddingExtension.Constructions.openEmbeddingSupportCohomologyIso f hf Bᶜ hB.isClosed_compl hcover n ≪≫ |
| 35 | eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) |
| 36 | (openEmbeddingPair_support_eq f A B hpre)) |
| 37 | |
| 38 | theorem relativeCohomologyMap_domainComplementCast {A : Set X} {B B' : Set Y} |
| 39 | (h : B = B') (hm : Set.MapsTo f A B) (hm' : Set.MapsTo f A B') (n : ℕ) : |
| 40 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y S n) h) ≫ |
| 41 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hm' n = |
| 42 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hm n := by |
| 43 | subst B' |
| 44 | exact Category.id_comp _ |
| 45 | |
| 46 | theorem openEmbeddingPairCohomologyIso_hom (n : ℕ) : |
| 47 | (openEmbeddingPairCohomologyIso f hf A B hB hpre hcover n).hom = |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 49 | (openEmbeddingPair_mapsTo f A B hpre) n := by |
| 50 | rw [openEmbeddingPairCohomologyIso, Iso.trans_hom, Iso.trans_hom, |
| 51 | OpenEmbeddingExtension.Constructions.openEmbeddingSupportCohomologyIso_hom] |
| 52 | have hm : Set.MapsTo f A Bᶜᶜ := by |
| 53 | simpa only [compl_compl] using openEmbeddingPair_mapsTo f A B hpre |
| 54 | have hcast := OpenEmbeddingExtension.Constructions.relativeCohomologyMap_codomainComplementCast f |
| 55 | (openEmbeddingPair_support_eq f A B hpre) (fun _ hx => hx) hm n |
| 56 | exact (congrArg |
| 57 | (fun u => eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y S n) |
| 58 | (compl_compl B).symm) ≫ u) hcast).trans |
| 59 | (relativeCohomologyMap_domainComplementCast f (compl_compl B).symm |
| 60 | (openEmbeddingPair_mapsTo f A B hpre) hm n) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OpenEmbeddingPairExcision.Constructions |