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.Group.Basic |
| 2 | |
| 3 | /-! # Cocycle Square Symmetry -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CocycleSquareSymmetry |
| 6 | |
| 7 | /-! The square of a normalized scalar two-cocycle is symmetric on |
| 8 | elements of order dividing two. This is the scalar obstruction needed |
| 9 | for descending a squared line bundle through two-torsion. -/ |
| 10 | |
| 11 | theorem cocycle_square_symmetric_of_involution |
| 12 | {G U : Type*} [CommMonoid G] [CancelCommMonoid U] |
| 13 | (c : G → G → U) (hleft : ∀ a, c 1 a = 1) (hright : ∀ a, c a 1 = 1) |
| 14 | (hc : ∀ a b d, c (a * b) d * c a b = c a (b * d) * c b d) |
| 15 | (a b : G) (ha : a * a = 1) : c a b ^ 2 = c b a ^ 2 := by |
| 16 | have h₁ : c a (a * b) * c a b = c a a := by |
| 17 | simpa only [ha, hleft b, one_mul] using (hc a a b).symm |
| 18 | have h₂ : c (a * b) a * c a b = c a (a * b) * c b a := by |
| 19 | simpa only [mul_comm b a] using hc a b a |
| 20 | have h₃ : c (a * b) a * c b a = c a a := by |
| 21 | simpa only [mul_comm b a, ha, hright b, one_mul] using hc b a a |
| 22 | apply mul_left_cancel (a := c (a * b) a) |
| 23 | calc |
| 24 | c (a * b) a * c a b ^ 2 = (c (a * b) a * c a b) * c a b := by |
| 25 | rw [pow_two, mul_assoc] |
| 26 | _ = (c a (a * b) * c b a) * c a b := congrArg (fun z => z * c a b) h₂ |
| 27 | _ = (c a (a * b) * c a b) * c b a := by ac_rfl |
| 28 | _ = c a a * c b a := congrArg (fun z => z * c b a) h₁ |
| 29 | _ = (c (a * b) a * c b a) * c b a := congrArg (fun z => z * c b a) h₃.symm |
| 30 | _ = c (a * b) a * c b a ^ 2 := by rw [pow_two, mul_assoc] |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CocycleSquareSymmetry |