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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | This file has been modified. |
| 16 | -/ |
| 17 | import Mathlib.Algebra.Ring.Basic |
| 18 | |
| 19 | /-! # Basic -/ |
| 20 | |
| 21 | namespace OAI.Algebra.Ring.Basic.AddMonoidHom |
| 22 | |
| 23 | open _root_.AddMonoidHom |
| 24 | |
| 25 | /-! |
| 26 | # Left multiplication as an additive endomorphism |
| 27 | |
| 28 | Mathlib has `AddMonoidHom.mulLeft` and its `coe_mulLeft` simp lemma, and bundles the map |
| 29 | `a ↦ AddMonoidHom.mulLeft a` as `AddMonoidHom.mul`, but does not record how `mulLeft` interacts |
| 30 | with the ring structure of its argument. These four lemmas do, so that multiplication by a scalar |
| 31 | can be manipulated as an additive endomorphism. |
| 32 | -/ |
| 33 | |
| 34 | @[simp] lemma mulLeft_zero {R : Type*} [NonUnitalNonAssocSemiring R] : |
| 35 | mulLeft (0 : R) = 0 := by |
| 36 | ext |
| 37 | simp |
| 38 | |
| 39 | @[simp] lemma mulLeft_one {R : Type*} [NonAssocSemiring R] : |
| 40 | mulLeft (1 : R) = AddMonoidHom.id R := by |
| 41 | ext |
| 42 | simp |
| 43 | |
| 44 | @[simp] lemma mulLeft_add {R : Type*} [NonUnitalNonAssocSemiring R] (a b : R) : |
| 45 | mulLeft (a + b) = mulLeft a + mulLeft b := by |
| 46 | ext |
| 47 | simp [add_mul] |
| 48 | |
| 49 | @[simp] lemma mulLeft_mul {R : Type*} [NonUnitalSemiring R] (a b : R) : |
| 50 | mulLeft (a * b) = (mulLeft a).comp (mulLeft b) := by |
| 51 | ext |
| 52 | simp [mul_assoc] |
| 53 | |
| 54 | end OAI.Algebra.Ring.Basic.AddMonoidHom |