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.CycleClass.Thom.ImageIntersectionTo |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 3 | |
| 4 | /-! # Pulled Back Support Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PulledBackSupportSquare.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual commuting square identifies the literal pulled-back image |
| 11 | supports and the corresponding supported cohomology pullbacks. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {X Y Z T : TopCat.{0}} (f : X ⟶ Y) (g : Y ⟶ Z) (h : X ⟶ T) (k : T ⟶ Z) |
| 21 | (hs : f ≫ g = h ≫ k) |
| 22 | |
| 23 | include hs in |
| 24 | theorem pulledBackImage_square_range {L : Type} (v : L → Z) : |
| 25 | Set.range (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage f (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage g v)) = |
| 26 | Set.range (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage h (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage k v)) := by |
| 27 | simp only [ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_range] |
| 28 | ext x |
| 29 | change g (f x) ∈ Set.range v ↔ k (h x) ∈ Set.range v |
| 30 | exact Iff.of_eq (congrArg (fun y => y ∈ Set.range v) (ConcreteCategory.congr_hom hs x)) |
| 31 | |
| 32 | include hs in |
| 33 | theorem relativePullback_square {A : Set X} {B : Set Y} {C : Set T} {D : Set Z} |
| 34 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g B D) |
| 35 | (hh : Set.MapsTo h A C) (hk : Set.MapsTo k C D) (n : ℕ) |
| 36 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Z D n) : |
| 37 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf n |
| 38 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hg n a) = |
| 39 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) h hh n |
| 40 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) k hk n a) := by |
| 41 | have hfg := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) f g hf hg n |
| 42 | have hhk := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) h k hh hk n |
| 43 | have hc := ThomOpenRestriction.Constructions.pairMap_congr hs (fun _ hx => hg (hf hx)) (fun _ hx => hk (hh hx)) n |
| 44 | exact ConcreteCategory.congr_hom (hfg.trans (hc.trans hhk.symm)) a |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.CycleClass.Thom.PulledBackSupportSquare.Constructions |