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.AbelianModuli.HilbertConstruction.CharacterAlgebraBasis |
| 2 | |
| 3 | /-! # Character Lines -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterLines |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Each character eigenspace of the regular function representation is canonically a free module of rank one over every coefficient algebra. -/ |
| 10 | universe u v w |
| 11 | variable (K : Type u) [Field K] (G : Type v) [CommGroup G] |
| 12 | (R : Type w) [CommRing R] [Algebra K R] |
| 13 | |
| 14 | def regularCharacterLine (χ : G →* Kˣ) : Submodule R (G → R) where |
| 15 | carrier := {v | ∀ a b : G, v (b * a) = algebraMap K R (χ a : K) * v b} |
| 16 | zero_mem' := by intro a b; simp |
| 17 | add_mem' := by |
| 18 | intro v w hv hw a b |
| 19 | exact (congrArg₂ (fun x y : R => x + y) (hv a b) (hw a b)).trans (mul_add _ _ _).symm |
| 20 | smul_mem' := by |
| 21 | intro r v hv a b |
| 22 | change r * v (b * a) = algebraMap K R (χ a : K) * (r * v b) |
| 23 | rw [hv a b, mul_left_comm] |
| 24 | |
| 25 | def regularCharacterLineEquiv (χ : G →* Kˣ) : regularCharacterLine K G R χ ≃ₗ[R] R where |
| 26 | toFun v := v.val 1 |
| 27 | invFun r := ⟨fun g => algebraMap K R (χ g : K) * r, by |
| 28 | intro a b |
| 29 | simp only [map_mul, Units.val_mul] |
| 30 | ring⟩ |
| 31 | left_inv v := by |
| 32 | apply Subtype.ext |
| 33 | funext g |
| 34 | exact (v.property g 1).symm.trans (congrArg v.val (one_mul g)) |
| 35 | right_inv r := by simp |
| 36 | map_add' _ _ := rfl |
| 37 | map_smul' _ _ := rfl |
| 38 | |
| 39 | @[simp] |
| 40 | theorem regularCharacterLineEquiv_apply (χ : G →* Kˣ) (v : regularCharacterLine K G R χ) : |
| 41 | regularCharacterLineEquiv K G R χ v = v.val 1 := rfl |
| 42 | |
| 43 | @[simp] |
| 44 | theorem regularCharacterLineEquiv_symm_apply (χ : G →* Kˣ) (r : R) (g : G) : |
| 45 | ((regularCharacterLineEquiv K G R χ).symm r).val g = algebraMap K R (χ g : K) * r := rfl |
| 46 | |
| 47 | theorem regularCharacterLine_finite_free (χ : G →* Kˣ) : |
| 48 | Module.Finite R (regularCharacterLine K G R χ) ∧ Module.Free R (regularCharacterLine K G R χ) := |
| 49 | ⟨Module.Finite.equiv (regularCharacterLineEquiv K G R χ).symm, |
| 50 | Module.Free.of_equiv (regularCharacterLineEquiv K G R χ).symm⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterLines |