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.AbelianScheme.IsogenyQuotient.OrthogonalProjectors |
| 2 | import Mathlib.Data.Fintype.Sum |
| 3 | import Mathlib.Algebra.BigOperators.Group.Finset.Lemmas |
| 4 | import Mathlib.Algebra.BigOperators.Fin |
| 5 | import Mathlib.Algebra.Group.Hom.Defs |
| 6 | import Mathlib.Algebra.BigOperators.Group.Finset.Basic |
| 7 | |
| 8 | /-! # Split Pairing Formula -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SplitPairingFormula.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | Recover an alternating pairing from conjugate-adjoint projectors. The |
| 16 | formula follows from completeness, idempotence and adjointness; it is not |
| 17 | an extra compatibility assumption in the kernel construction. |
| 18 | -/ |
| 19 | |
| 20 | open scoped BigOperators |
| 21 | |
| 22 | variable {I G W : Type*} [Fintype I] [CommGroup G] [CommGroup W] |
| 23 | (b : G →* (G →* W)) (p : I ⊕ I → (G →* G)) |
| 24 | (horth : ∀ i j, i ≠ j → ∀ x, p i (p j x) = 1) |
| 25 | (hcomplete : ∀ x, (∏ i, p i x) = x) |
| 26 | (hadjoint : ∀ i x y, b (p i x) y = b x (p (Sum.swap i) y)) |
| 27 | |
| 28 | include horth hcomplete hadjoint in |
| 29 | theorem pairing_projector_restrict (i : I ⊕ I) (x y : G) : |
| 30 | b (p i x) y = b (p i x) (p (Sum.swap i) y) := by |
| 31 | calc |
| 32 | _ = b (p i (p i x)) y := congrArg (fun z => b z y) |
| 33 | (OrthogonalProjectors.Construction.orthogonal_projector_idempotent p horth hcomplete i x).symm |
| 34 | _ = _ := hadjoint i (p i x) y |
| 35 | |
| 36 | include horth hcomplete hadjoint in |
| 37 | theorem pairing_projector_product (x y : G) : |
| 38 | b x y = ∏ i, b (p i x) (p (Sum.swap i) y) := by |
| 39 | calc |
| 40 | b x y = b (∏ i, p i x) y := congrArg (fun z => b z y) (hcomplete x).symm |
| 41 | _ = ∏ i, b (p i x) y := by simp only [map_prod, MonoidHom.finsetProd_apply] |
| 42 | _ = _ := Finset.prod_congr rfl (fun i _ => pairing_projector_restrict b p horth hcomplete hadjoint i x y) |
| 43 | |
| 44 | include horth hcomplete hadjoint in |
| 45 | theorem pairing_split_projector_formula |
| 46 | (hskew : ∀ x y, b y x = (b x y)⁻¹) (x y : G) : |
| 47 | b x y = ∏ i, b (p (Sum.inl i) x) (p (Sum.inr i) y) / |
| 48 | b (p (Sum.inl i) y) (p (Sum.inr i) x) := by |
| 49 | rw [pairing_projector_product b p horth hcomplete hadjoint, Fintype.prod_sum_type] |
| 50 | simp only [Sum.swap_inl, Sum.swap_inr] |
| 51 | calc |
| 52 | _ = (∏ i, b (p (Sum.inl i) x) (p (Sum.inr i) y)) * |
| 53 | ∏ i, (b (p (Sum.inl i) y) (p (Sum.inr i) x))⁻¹ := by |
| 54 | congr 1 |
| 55 | exact Finset.prod_congr rfl (fun i _ => hskew _ _) |
| 56 | _ = _ := by simp only [div_eq_mul_inv, Finset.prod_mul_distrib] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SplitPairingFormula.Construction |