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 Mathlib.Algebra.Module.Equiv.Basic |
| 2 | |
| 3 | /-! # Frame Ratios -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.FrameRatios |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ratios between actual linear frames of a rank-one free module, with their unit and cocycle identities. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 14 | |
| 15 | def linearFrameRatio (e f : R ≃ₗ[R] M) : R := e.symm (f 1) |
| 16 | |
| 17 | theorem linearFrameRatio_frame (e f : R ≃ₗ[R] M) (r : R) : |
| 18 | e (linearFrameRatio e f * r) = f r := by |
| 19 | have he := e.map_smul r (linearFrameRatio e f) |
| 20 | have hf := f.map_smul r (1 : R) |
| 21 | exact (congrArg e (mul_comm _ _)).trans (he.trans |
| 22 | ((congrArg (fun x : M => r • x) (e.apply_symm_apply (f 1))).trans |
| 23 | (hf.symm.trans (congrArg f (mul_one r))))) |
| 24 | |
| 25 | theorem linearFrameRatio_self (e : R ≃ₗ[R] M) : linearFrameRatio e e = 1 := e.symm_apply_apply 1 |
| 26 | |
| 27 | theorem linearFrameRatio_comp (e f g : R ≃ₗ[R] M) : |
| 28 | linearFrameRatio e f * linearFrameRatio f g = linearFrameRatio e g := by |
| 29 | apply e.injective |
| 30 | exact (linearFrameRatio_frame e f (linearFrameRatio f g)).trans |
| 31 | ((f.apply_symm_apply (g 1)).trans (e.apply_symm_apply (g 1)).symm) |
| 32 | |
| 33 | def linearFrameRatioUnit (e f : R ≃ₗ[R] M) : Rˣ where |
| 34 | val := linearFrameRatio e f |
| 35 | inv := linearFrameRatio f e |
| 36 | val_inv := (linearFrameRatio_comp e f e).trans (linearFrameRatio_self e) |
| 37 | inv_val := (linearFrameRatio_comp f e f).trans (linearFrameRatio_self f) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.FrameRatios |