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 |
| 2 | |
| 3 | /-! # Commuting Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommutingFactorization.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual homomorphism factors through an active group and the |
| 10 | range of its commuting remainder, with exact rational recovery. -/ |
| 11 | |
| 12 | variable {G A M : Type*} [Group G] [Group A] [Group M] |
| 13 | (a : G →* A) (active : A →* M) (rho : G →* M) |
| 14 | |
| 15 | def remainder (g : G) : M := (active (a g))⁻¹ * rho g |
| 16 | |
| 17 | theorem factorization (g : G) : active (a g) * remainder a active rho g = rho g := by |
| 18 | simp only [remainder, ← mul_assoc, mul_inv_cancel, one_mul] |
| 19 | |
| 20 | variable (hc : ∀ g u, Commute (remainder a active rho g) (active u)) |
| 21 | |
| 22 | include hc in |
| 23 | theorem remainder_mul (g h : G) : |
| 24 | remainder a active rho (g * h) = remainder a active rho g * remainder a active rho h := by |
| 25 | apply mul_left_cancel (a := active (a (g * h))) |
| 26 | rw [factorization, map_mul, map_mul, map_mul] |
| 27 | rw [← factorization a active rho g, ← factorization a active rho h] |
| 28 | exact (hc g (a h)).mul_mul_mul_comm _ _ |
| 29 | |
| 30 | def awayHom : G →* M where |
| 31 | toFun := remainder a active rho |
| 32 | map_one' := by simp [remainder] |
| 33 | map_mul' := remainder_mul a active rho hc |
| 34 | |
| 35 | abbrev Away := (awayHom a active rho hc).range |
| 36 | |
| 37 | def away : G →* Away a active rho hc := (awayHom a active rho hc).rangeRestrict |
| 38 | |
| 39 | theorem away_commutes (b : Away a active rho hc) (u : A) : Commute b.val (active u) := by |
| 40 | obtain ⟨g, hg⟩ := b.property |
| 41 | exact hg ▸ hc g u |
| 42 | |
| 43 | def splitting : A × Away a active rho hc →* M where |
| 44 | toFun p := active p.1 * p.2.val |
| 45 | map_one' := by change active 1 * 1 = 1; rw [map_one, one_mul] |
| 46 | map_mul' p q := by |
| 47 | change active (p.1 * q.1) * (p.2.val * q.2.val) = |
| 48 | (active p.1 * p.2.val) * (active q.1 * q.2.val) |
| 49 | rw [map_mul] |
| 50 | exact ((away_commutes a active rho hc p.2 q.1).mul_mul_mul_comm _ _).symm |
| 51 | |
| 52 | theorem rational_recovery (g : G) : |
| 53 | splitting a active rho hc (a g, away a active rho hc g) = rho g := |
| 54 | factorization a active rho g |
| 55 | |
| 56 | variable {B : Type*} [Group B] (b : G →* B) |
| 57 | |
| 58 | def coordinateHom : G →* B × M := b.prod (awayHom a active rho hc) |
| 59 | |
| 60 | abbrev AwayWithCoordinates := (coordinateHom a active rho hc b).range |
| 61 | |
| 62 | def awayWithCoordinates : G →* AwayWithCoordinates a active rho hc b := |
| 63 | (coordinateHom a active rho hc b).rangeRestrict |
| 64 | |
| 65 | theorem coordinate_commutes (v : AwayWithCoordinates a active rho hc b) (u : A) : |
| 66 | Commute v.val.2 (active u) := by |
| 67 | obtain ⟨g, hg⟩ := v.property |
| 68 | exact (congrArg Prod.snd hg) ▸ hc g u |
| 69 | |
| 70 | local instance coordinateMulOneClass : MulOneClass (AwayWithCoordinates a active rho hc b) := |
| 71 | (Subgroup.toGroup (AwayWithCoordinates a active rho hc b)).toMulOneClass |
| 72 | |
| 73 | def coordinateSplitting : A × AwayWithCoordinates a active rho hc b →* M where |
| 74 | toFun p := active p.1 * p.2.val.2 |
| 75 | map_one' := by change active 1 * 1 = 1; rw [map_one, one_mul] |
| 76 | map_mul' p q := by |
| 77 | change active (p.1 * q.1) * (p.2.val.2 * q.2.val.2) = |
| 78 | (active p.1 * p.2.val.2) * (active q.1 * q.2.val.2) |
| 79 | rw [map_mul] |
| 80 | exact ((coordinate_commutes a active rho hc b p.2 q.1).mul_mul_mul_comm _ _).symm |
| 81 | |
| 82 | theorem coordinate_recovery (g : G) : |
| 83 | coordinateSplitting a active rho hc b (a g, awayWithCoordinates a active rho hc b g) = rho g := |
| 84 | factorization a active rho g |
| 85 | |
| 86 | theorem away_coordinates (g : G) : (awayWithCoordinates a active rho hc b g).val.1 = b g := rfl |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CommutingFactorization.CM |