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.Divisors.LineBundles.Open.CycleRestriction |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | |
| 4 | /-! # Cycle Open Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CycleOpenSquare.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient restriction commutes with an injective point pushforward in an actual cartesian scheme square. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem pointCycle_comap_map_of_isPullback {Z' Z X' X : Scheme.{0}} |
| 15 | (k : Z' ⟶ Z) (j' : Z' ⟶ X') (j : Z ⟶ X) (a : X' ⟶ X) |
| 16 | (h : IsPullback k j' j a) (hk : Function.Injective k) (hj' : Function.Injective j') |
| 17 | (hj : Function.Injective j) (ha : Function.Injective a) (z : Z →₀ ℚ) : |
| 18 | Finsupp.comapDomain a (Finsupp.mapDomain j z) ha.injOn = |
| 19 | Finsupp.mapDomain j' (Finsupp.comapDomain k z hk.injOn) := by |
| 20 | ext x |
| 21 | by_cases hx : x ∈ Set.range j' |
| 22 | · obtain ⟨y, rfl⟩ := hx |
| 23 | have he : a (j' y) = j (k y) := (congrArg (fun f => f y) h.w).symm |
| 24 | change Finsupp.mapDomain j z (a (j' y)) = _ |
| 25 | rw [he, Finsupp.mapDomain_apply_of_injective hj, Finsupp.mapDomain_apply_of_injective hj'] |
| 26 | rfl |
| 27 | · have hr : Set.range j' = a ⁻¹' Set.range j := by |
| 28 | have ht := Scheme.image_preimage_eq_of_isPullback h Set.univ |
| 29 | simpa only [Set.preimage_univ, Set.image_univ] using ht |
| 30 | have hx' : a x ∉ Set.range j := fun hm => hx ((congrArg (fun S => x ∈ S) hr).mpr hm) |
| 31 | change Finsupp.mapDomain j z (a x) = _ |
| 32 | rw [Finsupp.mapDomain_of_notMem_range _ _ hx', Finsupp.mapDomain_of_notMem_range _ _ hx] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CycleOpenSquare.BundleCycles |