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 OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Cover |
| 2 | import Mathlib.Algebra.Group.TypeTags.Hom |
| 3 | import Mathlib.Tactic |
| 4 | |
| 5 | /-! # Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.Frames.LevelCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The nonvanishing relation equations used by the frame scheme are |
| 12 | exactly the injectivity condition for a basis of the finite torsion group. -/ |
| 13 | |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | variable {G : Type*} [CommGroup G] {N r : ℕ} |
| 17 | |
| 18 | def coefficientHom (a : G) (ha : a ^ N = 1) : ZMod N →+ Additive G := |
| 19 | ZMod.lift N ⟨zmultiplesHom (Additive G) (Additive.ofMul a), by |
| 20 | change Additive.ofMul (a ^ (N : ℤ)) = 0 |
| 21 | simpa using congrArg Additive.ofMul ha⟩ |
| 22 | |
| 23 | theorem coefficientHom_val [NeZero N] (a : G) (ha : a ^ N = 1) (c : ZMod N) : |
| 24 | coefficientHom a ha c = Additive.ofMul (a ^ c.val) := by |
| 25 | have hc : ((c.val : ℤ) : ZMod N) = c := by simp |
| 26 | calc |
| 27 | coefficientHom a ha c = coefficientHom a ha ((c.val : ℤ) : ZMod N) := |
| 28 | congrArg (coefficientHom a ha) hc.symm |
| 29 | _ = (zmultiplesHom (Additive G) (Additive.ofMul a)) (c.val : ℤ) := |
| 30 | ZMod.lift_coe N _ _ |
| 31 | _ = Additive.ofMul (a ^ c.val) := by |
| 32 | change Additive.ofMul (a ^ (c.val : ℤ)) = _ |
| 33 | simp only [zpow_natCast] |
| 34 | |
| 35 | def frameHom (a : Fin r → G) (ha : ∀ i, a i ^ N = 1) : |
| 36 | Multiplicative (Fin r → ZMod N) →* G := |
| 37 | AddMonoidHom.toMultiplicativeLeft |
| 38 | (∑ i : Fin r, (coefficientHom (a i) (ha i)).comp |
| 39 | (Pi.evalAddMonoidHom (fun _ : Fin r => ZMod N) i)) |
| 40 | |
| 41 | theorem frameHom_apply [NeZero N] (a : Fin r → G) (ha : ∀ i, a i ^ N = 1) |
| 42 | (c : Fin r → ZMod N) : |
| 43 | frameHom a ha (Multiplicative.ofAdd c) = ∏ i, a i ^ (c i).val := by |
| 44 | simp [frameHom, AddMonoidHom.toMultiplicativeLeft, coefficientHom_val] |
| 45 | |
| 46 | /-- The frame equations assert precisely that this homomorphism has |
| 47 | trivial kernel, hence is injective. -/ |
| 48 | theorem frameHom_injective [NeZero N] (a : Fin r → G) (ha : ∀ i, a i ^ N = 1) |
| 49 | (hind : ∀ c : Fin r → ZMod N, c ≠ 0 → (∏ i, a i ^ (c i).val) ≠ 1) : |
| 50 | Function.Injective (frameHom a ha) := by |
| 51 | apply (MonoidHom.ker_eq_bot_iff (frameHom a ha)).mp |
| 52 | apply le_antisymm ?_ bot_le |
| 53 | intro c hc |
| 54 | change frameHom a ha c = 1 at hc |
| 55 | change c = 1 |
| 56 | apply Multiplicative.toAdd.injective |
| 57 | by_contra hne |
| 58 | exact hind c.toAdd hne ((frameHom_apply a ha c.toAdd).symm.trans hc) |
| 59 | |
| 60 | /-- Equal finite cardinality turns the explicitly constructed independent |
| 61 | frame into the full level isomorphism on the torsion group. -/ |
| 62 | def fullFrame [NeZero N] [Fintype G] |
| 63 | (a : Fin r → G) (ha : ∀ i, a i ^ N = 1) |
| 64 | (hind : ∀ c : Fin r → ZMod N, c ≠ 0 → (∏ i, a i ^ (c i).val) ≠ 1) |
| 65 | (hcard : Fintype.card G = N ^ r) : |
| 66 | Multiplicative (Fin r → ZMod N) ≃* G := |
| 67 | MulEquiv.ofBijective (frameHom a ha) (by |
| 68 | apply (Fintype.bijective_iff_injective_and_card _).mpr |
| 69 | refine ⟨frameHom_injective a ha hind, ?_⟩ |
| 70 | simpa using hcard.symm) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.Frames.LevelCover |