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.ProductSupportRetraction |
| 2 | |
| 3 | /-! # Elementary Equation Homotopy -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ElementaryEquationHomotopy.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An elementary head change is homotopic through maps of the actual |
| 10 | zero-complement pair. Its pullback on relative cohomology is unchanged. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable {X : TopCat} (n : ℕ) (f : X ⟶ TopCat.of (Fin (n + 1) → ℂ)) (a : X ⟶ TopCat.of ℂ) |
| 18 | |
| 19 | def adjustedEquation : X ⟶ TopCat.of (Fin (n + 1) → ℂ) := |
| 20 | TopCat.ofHom |
| 21 | ⟨fun x => Fin.cons (f x 0 + a x) (fun i => f x i.succ), by |
| 22 | apply continuous_pi |
| 23 | intro i |
| 24 | cases i using Fin.cases <;> fun_prop⟩ |
| 25 | |
| 26 | def headHomotopy : TopCat.Homotopy f (adjustedEquation n f a) where |
| 27 | toFun z := Fin.cons (f z.2 0 + (z.1.val : ℂ) * a z.2) (fun i => f z.2 i.succ) |
| 28 | continuous_toFun := by |
| 29 | apply continuous_pi |
| 30 | intro i |
| 31 | cases i using Fin.cases <;> fun_prop |
| 32 | map_zero_left x := by |
| 33 | ext i |
| 34 | cases i using Fin.cases <;> simp |
| 35 | map_one_left x := by |
| 36 | ext i |
| 37 | cases i using Fin.cases <;> simp [adjustedEquation] |
| 38 | |
| 39 | variable (ha : ∀ x : X, (∀ i : Fin n, f x i.succ = 0) → a x = 0) |
| 40 | |
| 41 | include ha in |
| 42 | theorem headHomotopy_zero_iff (t : unitInterval) (x : X) : headHomotopy n f a (t, x) = 0 ↔ f x = 0 := by |
| 43 | constructor |
| 44 | · intro hz |
| 45 | have htail (i : Fin n) : f x i.succ = 0 := congrFun hz i.succ |
| 46 | have ha0 := ha x htail |
| 47 | have hhead := congrFun hz 0 |
| 48 | change f x 0 + (t.val : ℂ) * a x = 0 at hhead |
| 49 | rw [ha0, mul_zero, add_zero] at hhead |
| 50 | ext i |
| 51 | cases i using Fin.cases with |
| 52 | | zero => exact hhead |
| 53 | | succ i => exact htail i |
| 54 | · intro hz |
| 55 | have ha0 : a x = 0 := ha x (fun i => congrFun hz i.succ) |
| 56 | ext i |
| 57 | cases i using Fin.cases with |
| 58 | | zero => |
| 59 | change f x 0 + (t.val : ℂ) * a x = 0 |
| 60 | rw [ha0, mul_zero, add_zero] |
| 61 | exact congrFun hz 0 |
| 62 | | succ i => exact congrFun hz i.succ |
| 63 | |
| 64 | variable (A : Set X) (hf : Set.MapsTo f A ({0} : Set (Fin (n + 1) → ℂ))ᶜ) |
| 65 | |
| 66 | include ha hf in |
| 67 | theorem adjustedEquation_mapsTo : Set.MapsTo (adjustedEquation n f a) A ({0} : Set (Fin (n + 1) → ℂ))ᶜ := by |
| 68 | intro x hx hz |
| 69 | apply hf hx |
| 70 | exact (headHomotopy_zero_iff n f a ha 1 x).mp ((headHomotopy n f a).map_one_left x |>.trans hz) |
| 71 | |
| 72 | theorem relativeCohomologyMap_head_adjustment (d : ℕ) : |
| 73 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf d = |
| 74 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (adjustedEquation n f a) |
| 75 | (adjustedEquation_mapsTo n f a ha A hf) d := by |
| 76 | apply Geometric.RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy (ModuleCat.of ℚ ℚ) hf |
| 77 | (adjustedEquation_mapsTo n f a ha A hf) (headHomotopy n f a) |
| 78 | intro t x hx hz |
| 79 | exact hf hx ((headHomotopy_zero_iff n f a ha t x).mp hz) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.CycleClass.Thom.ElementaryEquationHomotopy.Constructions |