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.AlgebraicTopology.Support.RelativeCohomologyOpenTransport |
| 2 | |
| 3 | /-! # Section On Open Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SectionOnOpenUnit |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! # The actual open-embedding transport preserves relative-cohomology sheafification units -/ |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.TopologicalSpace _root_.Topology Opposite OAI.AlgebraicTopology.Singular |
| 18 | |
| 19 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (hf : IsOpenEmbedding f) |
| 20 | (S : Set X) (B : Set Y) (hB : f ⁻¹' S = B) (n : ℕ) |
| 21 | |
| 22 | theorem relativeSheafOpenIso_unit : |
| 23 | AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf Y B n ≫ |
| 24 | (AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySheafOpenIso f hf S B hB n).hom.hom = |
| 25 | (AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologyPresheafOpenIso f hf S B hB n).inv ≫ |
| 26 | Functor.whiskerLeft hf.functor.op (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf X S n) := by |
| 27 | let : hf.functor.IsContinuous (Opens.grothendieckTopology Y) |
| 28 | (Opens.grothendieckTopology X) := hf.functor_isContinuous |
| 29 | let : hf.functor.IsCocontinuous (Opens.grothendieckTopology Y) |
| 30 | (Opens.grothendieckTopology X) := (AlgebraicTopology.Sheaf.OpenSheafification.Topology.IsOpenEmbedding.functor_isCocontinuous hf) |
| 31 | let e := AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologyPresheafOpenIso f hf S B hB n |
| 32 | have hu := hf.functor.toSheafify_pullbackSheafificationCompatibility |
| 33 | AddCommGrpCat (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X) |
| 34 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n) |
| 35 | have hn := toSheafify_naturality (Opens.grothendieckTopology Y) e.inv |
| 36 | change toSheafify (Opens.grothendieckTopology Y) _ ≫ |
| 37 | sheafifyMap (Opens.grothendieckTopology Y) e.inv ≫ |
| 38 | (AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportOpenEmbeddingSheafificationIso f hf |
| 39 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n)).hom.hom = _ |
| 40 | have hu' : toSheafify (Opens.grothendieckTopology Y) |
| 41 | (hf.functor.op ⋙ AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n) ≫ |
| 42 | (AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportOpenEmbeddingSheafificationIso f hf |
| 43 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n)).hom.hom = |
| 44 | Functor.whiskerLeft hf.functor.op (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf X S n) := by |
| 45 | simpa only [AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportOpenEmbeddingSheafificationIso, |
| 46 | AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf] using! hu |
| 47 | rw [← Category.assoc, ← hn, Category.assoc, hu'] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-! # Transport of actual relative classes preserves the actual sheafification unit -/ |
| 52 | |
| 53 | set_option backward.defeqAttrib.useBackward true |
| 54 | set_option backward.isDefEq.respectTransparency false |
| 55 | set_option backward.isDefEq.respectTransparency.types false |
| 56 | |
| 57 | open _root_.CategoryTheory Limits _root_.TopologicalSpace _root_.Topology Opposite OAI.AlgebraicTopology.Singular |
| 58 | |
| 59 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (hf : IsOpenEmbedding f) |
| 60 | (S : Set X) (B : Set Y) (hB : f ⁻¹' S = B) (n : ℕ) (U : Opens X) |
| 61 | (hU : hf.functor.obj ⊤ = U) |
| 62 | |
| 63 | /-- The actual pair-image inverse and the actual equality-of-opens restriction. -/ |
| 64 | def relativeClassOnOpen |
| 65 | (a : AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ (AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (Set.univ : Set Y) B) n) : |
| 66 | AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ (AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (U : Set X) S) n := |
| 67 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n).map (eqToHom hU.symm).op |
| 68 | ((AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologyPresheafOpenIso f hf S B hB n).inv.app (op ⊤) a) |
| 69 | |
| 70 | theorem relativeSectionOnOpen_unit |
| 71 | (a : AlgebraicTopology.Singular.Cohomology.RelativeCohomology ℚ (AlgebraicTopology.LocalHomology.FundamentalClass.Singular.neighborhoodSupportComplementPair (Set.univ : Set Y) B) n) : |
| 72 | AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySectionOnOpen f hf S B hB n U hU |
| 73 | ((AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf Y B n).app (op ⊤) a) = |
| 74 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf X S n).app (op U) |
| 75 | (relativeClassOnOpen f hf S B hB n U hU a) := by |
| 76 | have hc : (AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySheafOpenIso f hf S B hB n).hom.hom.app (op ⊤) |
| 77 | ((AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf Y B n).app (op ⊤) a) = |
| 78 | (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf X S n).app (op (hf.functor.obj ⊤)) |
| 79 | ((AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologyPresheafOpenIso f hf S B hB n).inv.app (op ⊤) a) := by |
| 80 | have h := congrArg (fun g => g.app (op ⊤)) (relativeSheafOpenIso_unit f hf S B hB n) |
| 81 | simpa only [NatTrans.comp_app, Functor.whiskerLeft_app, ConcreteCategory.comp_apply] |
| 82 | using! ConcreteCategory.congr_hom h a |
| 83 | have hn := ConcreteCategory.congr_hom |
| 84 | ((AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf X S n).naturality (eqToHom hU.symm).op) |
| 85 | ((AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologyPresheafOpenIso f hf S B hB n).inv.app (op ⊤) a) |
| 86 | unfold AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySectionOnOpen AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySectionOpenImage |
| 87 | relativeClassOnOpen |
| 88 | change (AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologySheaf X S n).presheaf.map (eqToHom hU.symm).op |
| 89 | ((AlgebraicTopology.Support.RelativeCohomologyOpenTransport.Singular.supportRelativeCohomologySheafOpenIso f hf S B hB n).hom.hom.app (op ⊤) |
| 90 | ((AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyToSheaf Y B n).app (op ⊤) a)) = _ |
| 91 | rw [hc] |
| 92 | exact hn.symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.ComplexMultiplication.SectionOnOpenUnit |