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.SheafCohomology.Projective.OrderedCechSupport |
| 2 | import Mathlib.Data.Fintype.Sort |
| 3 | import Mathlib.Order.Hom.Set |
| 4 | |
| 5 | /-! # Ordered Cech Top Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechTopSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full-support top Čech cochain is a single copy of the coefficient ring. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | universe u v |
| 15 | variable (R : Type u) [CommRing R] {ι : Type v} [LinearOrder ι] [Fintype ι] |
| 16 | |
| 17 | def orderedCechTopIndex (n : ℕ) (hn : Fintype.card ι = n + 1) : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n := |
| 18 | ⟨monoEquivOfFin ι hn, (monoEquivOfFin ι hn).strictMono⟩ |
| 19 | |
| 20 | theorem orderedCechTopIndex_surjective (n : ℕ) (hn : Fintype.card ι = n + 1) |
| 21 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n) : Function.Surjective a.val := |
| 22 | ((Fintype.bijective_iff_injective_and_card a.val).mpr |
| 23 | ⟨a.property.injective, by simpa using hn.symm⟩).2 |
| 24 | |
| 25 | theorem orderedCechTopIndex_unique (n : ℕ) (hn : Fintype.card ι = n + 1) |
| 26 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n) : a = orderedCechTopIndex n hn := by |
| 27 | apply Subtype.ext |
| 28 | apply (a.property.range_inj_of_wellFoundedLT (orderedCechTopIndex n hn).property).mp |
| 29 | rw [Set.range_eq_univ.mpr (orderedCechTopIndex_surjective n hn a), |
| 30 | Set.range_eq_univ.mpr (orderedCechTopIndex_surjective n hn (orderedCechTopIndex n hn))] |
| 31 | |
| 32 | def orderedCechFullSupportTopEquiv (n : ℕ) (hn : Fintype.card ι = n + 1) : |
| 33 | OrderedCechSupportContraction.OrderedCechSupportCochain R (Set.univ : Set ι) n ≃ₗ[R] R where |
| 34 | toFun s := s.val (orderedCechTopIndex n hn) |
| 35 | invFun r := ⟨fun _ => r, fun a ha => |
| 36 | (ha (fun x _ => orderedCechTopIndex_surjective n hn a x)).elim⟩ |
| 37 | left_inv s := by |
| 38 | apply Subtype.ext |
| 39 | funext a |
| 40 | change s.val (orderedCechTopIndex n hn) = s.val a |
| 41 | rw [orderedCechTopIndex_unique n hn a] |
| 42 | right_inv _ := rfl |
| 43 | map_add' _ _ := rfl |
| 44 | map_smul' _ _ := rfl |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedCechTopSupport |