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.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections |
| 2 | import Mathlib.Algebra.Module.Submodule.Basic |
| 3 | import Mathlib.Algebra.Module.Pi |
| 4 | |
| 5 | /-! # Exhaustive Linear Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveLinearSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: coefficient-linear reconstruction from all bounded section groups |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustivePresheafSections |
| 18 | |
| 19 | universe u v w z t |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 22 | [Preadditive D] (R : Type t) [CommRing R] [Linear R D] |
| 23 | (P : ℕ → ObjectProperty C) (hP : Monotone P) (hC : ∀ U, ∃ n, P n U) |
| 24 | (M : D) (F : Cᵒᵖ ⥤ D) |
| 25 | |
| 26 | def compatibleSubmodule : Submodule R (∀ n, ExhaustivePresheafSections.Stage P M F n) where |
| 27 | carrier := ExhaustivePresheafSections.Compatible P hP M F |
| 28 | zero_mem' := by |
| 29 | intro n m hnm |
| 30 | apply NatTrans.ext |
| 31 | funext U |
| 32 | rfl |
| 33 | add_mem' {a b} ha hb := by |
| 34 | intro n m hnm |
| 35 | exact congrArg₂ (· + ·) (ha n m hnm) (hb n m hnm) |
| 36 | smul_mem' r a ha := by |
| 37 | intro n m hnm |
| 38 | exact congrArg (fun t => r • t) (ha n m hnm) |
| 39 | |
| 40 | def linearEquiv : ((Functor.const Cᵒᵖ).obj M ⟶ F) ≃ₗ[R] compatibleSubmodule R P hP M F where |
| 41 | toFun a := ⟨ExhaustivePresheafSections.restrictGlobal P M F a, ExhaustivePresheafSections.restrictGlobal_compatible P hP M F a⟩ |
| 42 | invFun a := ExhaustivePresheafSections.assemble P hP hC M F a.val a.property |
| 43 | left_inv := ExhaustivePresheafSections.assemble_restrictGlobal P hP hC M F |
| 44 | right_inv a := Subtype.ext (funext (ExhaustivePresheafSections.restrictGlobal_assemble P hP hC M F a.val a.property)) |
| 45 | map_add' _ _ := Subtype.ext (funext (fun _ => rfl)) |
| 46 | map_smul' _ _ := Subtype.ext (funext (fun _ => rfl)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveLinearSections |