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.NormalSupportRelative |
| 2 | |
| 3 | /-! # Retraction Support -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.RetractionSupport.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A genuine retraction splits pullback on the original relative |
| 10 | groups, with the exact image of an arbitrary closed source support. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {X Y : TopCat.{0}} (i : X ⟶ Y) (r : Y ⟶ X) (hr : i ≫ r = 𝟙 X) (O : Set X) |
| 19 | |
| 20 | include hr |
| 21 | |
| 22 | theorem source_preimage : i ⁻¹' (r ⁻¹' O) = O := by |
| 23 | change (i ≫ r) ⁻¹' O = O |
| 24 | rw [hr] |
| 25 | rfl |
| 26 | |
| 27 | theorem image_complement : (Set.range i)ᶜ ∪ r ⁻¹' O = (i '' Oᶜ)ᶜ := by |
| 28 | ext y |
| 29 | constructor |
| 30 | · rintro (hy | hy) ⟨x, hx, hxy⟩ |
| 31 | · exact hy ⟨x, hxy⟩ |
| 32 | · have he : r (i x) = x := ConcreteCategory.congr_hom hr x |
| 33 | change r y ∈ O at hy |
| 34 | rw [← hxy, he] at hy |
| 35 | exact hx hy |
| 36 | · intro hy |
| 37 | by_cases hiy : y ∈ Set.range i |
| 38 | · obtain ⟨x, rfl⟩ := hiy |
| 39 | right |
| 40 | have he : r (i x) = x := ConcreteCategory.congr_hom hr x |
| 41 | change r (i x) ∈ O |
| 42 | rw [he] |
| 43 | by_contra hx |
| 44 | exact hy ⟨x, hx, rfl⟩ |
| 45 | · exact Or.inl hiy |
| 46 | |
| 47 | theorem inclusion_mapsTo : Set.MapsTo i O (r ⁻¹' O) := by |
| 48 | intro x hx |
| 49 | change r (i x) ∈ O |
| 50 | rw [show r (i x) = x from ConcreteCategory.congr_hom hr x] |
| 51 | exact hx |
| 52 | |
| 53 | theorem relativePullback_split (q : ℕ) : |
| 54 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) r |
| 55 | (A := r ⁻¹' O) (B := O) (fun _ hx => hx) q ≫ |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) i |
| 57 | (inclusion_mapsTo i r hr O) q = 𝟙 _ := by |
| 58 | change HomologicalComplex.homologyMap _ q ≫ HomologicalComplex.homologyMap _ q = 𝟙 _ |
| 59 | rw [← HomologicalComplex.homologyMap_comp, |
| 60 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id (ModuleCat.of ℚ ℚ) i r |
| 61 | (inclusion_mapsTo i r hr O) (fun _ hx => hx) hr, HomologicalComplex.homologyMap_id] |
| 62 | |
| 63 | theorem relativePullback_split_raw (q : ℕ) : |
| 64 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) r |
| 65 | (A := r ⁻¹' O) (B := O) (fun _ hx => hx) q ≫ |
| 66 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) i |
| 67 | (A := i ⁻¹' (r ⁻¹' O)) (B := r ⁻¹' O) (fun _ hx => hx) q ≫ |
| 68 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S q) |
| 69 | (source_preimage i r hr O)) = 𝟙 _ := by |
| 70 | have he := HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.relativePairMap_supportEquality i (source_preimage i r hr O) |
| 71 | (rfl : r ⁻¹' O = _) (fun _ hx => hx) (inclusion_mapsTo i r hr O) q |
| 72 | simp only [eqToIso_refl, Iso.refl_hom, Category.id_comp] at he |
| 73 | exact (congrArg (fun k => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) r |
| 74 | (A := r ⁻¹' O) (B := O) (fun _ hx => hx) q ≫ k) he).trans |
| 75 | (relativePullback_split i r hr O q) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.CycleClass.Thom.RetractionSupport.Constructions |