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.Submodule.Equiv |
| 2 | import Mathlib.Algebra.Module.Equiv.Basic |
| 3 | |
| 4 | /-! # Conjugate Ranges -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.ConjugateRanges |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Conjugating an actual linear endomorphism transports its range by the same linear equivalence. -/ |
| 11 | universe u v w |
| 12 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 13 | {V : Type w} [AddCommGroup V] [Module R V] |
| 14 | |
| 15 | def linearConjugateRangeEquiv (e : M ≃ₗ[R] V) (p : Module.End R V) : |
| 16 | (e.symm.conjRingEquiv p).range ≃ₗ[R] p.range where |
| 17 | toFun x := ⟨e x.val, by |
| 18 | obtain ⟨y, hy⟩ := x.property |
| 19 | refine ⟨e y, ?_⟩ |
| 20 | exact (e.apply_symm_apply (p (e y))).symm.trans (congrArg e hy)⟩ |
| 21 | invFun x := ⟨e.symm x.val, by |
| 22 | obtain ⟨y, hy⟩ := x.property |
| 23 | refine ⟨e.symm y, ?_⟩ |
| 24 | change e.symm (p (e (e.symm y))) = e.symm x.val |
| 25 | rw [e.apply_symm_apply, hy]⟩ |
| 26 | left_inv x := Subtype.ext (e.symm_apply_apply x.val) |
| 27 | right_inv x := Subtype.ext (e.apply_symm_apply x.val) |
| 28 | map_add' x y := Subtype.ext (e.map_add x.val y.val) |
| 29 | map_smul' r x := Subtype.ext (e.map_smul r x.val) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.ConjugateRanges |