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.GraphBaseRestriction |
| 2 | import Mathlib.SetTheory.Cardinal.NatCard |
| 3 | |
| 4 | /-! # Restricted Graph Fiber -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphFiber.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fibers of an actual graph restricted over a base open are the full fibers of its covering map when the intervening target map is injective. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |
| 13 | |
| 14 | variable {L T N F : Type*} |
| 15 | |
| 16 | def graphFiberEquiv (g : L → T) (j : T → N) (hj : Function.Injective j) (e : L → F) |
| 17 | (U : Set N) (u : U) (y : T) (hy : j y = u.val) : |
| 18 | {z : ((j ∘ g) ⁻¹' U) | (GraphBaseRestriction.Constructions.restrictedGraph (j ∘ g) e U z).1 = u} ≃ {s : L | g s = y} where |
| 19 | toFun z := ⟨z.val.val, hj ((congrArg Subtype.val z.property).trans hy.symm)⟩ |
| 20 | invFun s := ⟨⟨s.val, by |
| 21 | change j (g s.val) ∈ U |
| 22 | rw [s.property, hy] |
| 23 | exact u.property⟩, by |
| 24 | apply Subtype.ext |
| 25 | change j (g s.val) = u.val |
| 26 | rw [s.property, hy]⟩ |
| 27 | left_inv _ := rfl |
| 28 | right_inv _ := rfl |
| 29 | |
| 30 | theorem graphFiber_card (g : L → T) (j : T → N) (hj : Function.Injective j) (e : L → F) |
| 31 | (U : Set N) (u : U) (y : T) (hy : j y = u.val) : |
| 32 | Nat.card {z : ((j ∘ g) ⁻¹' U) | (GraphBaseRestriction.Constructions.restrictedGraph (j ∘ g) e U z).1 = u} = |
| 33 | Nat.card {s : L | g s = y} := Nat.card_congr (graphFiberEquiv g j hj e U u y hy) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphFiber.Constructions |