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.Subgroup.Ker |
| 2 | |
| 3 | /-! # Split Group Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitGroupPoints.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A split homomorphism of commutative groups gives an explicit product |
| 10 | of its kernel and its target. This will be applied to every test object |
| 11 | of the constructed finite group-scheme retraction. -/ |
| 12 | |
| 13 | variable {A B : Type*} [CommGroup A] [CommGroup B] |
| 14 | (r : A →* B) (s : B →* A) (hrs : ∀ b, r (s b) = b) |
| 15 | |
| 16 | def kernelCoordinate (a : A) : r.ker := |
| 17 | ⟨a * (s (r a))⁻¹, by |
| 18 | change r (a * (s (r a))⁻¹) = 1 |
| 19 | rw [map_mul, map_inv, hrs, mul_inv_cancel]⟩ |
| 20 | |
| 21 | def productEquiv : r.ker × B ≃* A where |
| 22 | toFun x := x.1.val * s x.2 |
| 23 | invFun a := (kernelCoordinate r s hrs a, r a) |
| 24 | left_inv x := by |
| 25 | apply Prod.ext |
| 26 | · apply Subtype.ext |
| 27 | change x.1.val * s x.2 * (s (r (x.1.val * s x.2)))⁻¹ = x.1.val |
| 28 | have hk : r x.1.val = 1 := x.1.property |
| 29 | rw [map_mul, hk, hrs, one_mul, mul_inv_cancel_right] |
| 30 | · change r (x.1.val * s x.2) = x.2 |
| 31 | have hk : r x.1.val = 1 := x.1.property |
| 32 | rw [map_mul, hk, hrs, one_mul] |
| 33 | right_inv a := by |
| 34 | change a * (s (r a))⁻¹ * s (r a) = a |
| 35 | exact inv_mul_cancel_right a (s (r a)) |
| 36 | map_mul' x y := by |
| 37 | change (x.1.val * y.1.val) * s (x.2 * y.2) = |
| 38 | (x.1.val * s x.2) * (y.1.val * s y.2) |
| 39 | rw [map_mul, mul_mul_mul_comm] |
| 40 | |
| 41 | theorem productEquiv_apply (x : r.ker) (b : B) : |
| 42 | productEquiv r s hrs (x, b) = x.val * s b := rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitGroupPoints.CM |