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 | import Mathlib.Algebra.Group.Pi.Lemmas |
| 3 | import Mathlib.Algebra.BigOperators.Group.Finset.Basic |
| 4 | |
| 5 | /-! # Orthogonal Projectors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OrthogonalProjectors.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | A complete orthogonal family of group endomorphisms gives a product |
| 13 | decomposition into its fixed subgroups. Idempotence is derived from |
| 14 | orthogonality and completeness, and the inverse is the product of the |
| 15 | included fixed components. |
| 16 | -/ |
| 17 | |
| 18 | open scoped BigOperators |
| 19 | |
| 20 | variable {I G : Type*} [Fintype I] [CommGroup G] |
| 21 | (p : I → (G →* G)) |
| 22 | (horth : ∀ i j, i ≠ j → ∀ x, p i (p j x) = 1) |
| 23 | (hcomplete : ∀ x, (∏ i, p i x) = x) |
| 24 | |
| 25 | include horth hcomplete in |
| 26 | theorem orthogonal_projector_idempotent (i : I) (x : G) : p i (p i x) = p i x := by |
| 27 | classical |
| 28 | have hp : (∏ j, p i (p j x)) = p i (p i x) := by |
| 29 | apply Finset.prod_eq_single i |
| 30 | · intro j _ hji |
| 31 | exact horth i j hji.symm x |
| 32 | · simp |
| 33 | rw [← hp, ← map_prod, hcomplete] |
| 34 | |
| 35 | def orthogonalProjectorEquiv : G ≃* (∀ i, (p i).eqLocus (MonoidHom.id G)) where |
| 36 | toFun x i := ⟨p i x, orthogonal_projector_idempotent p horth hcomplete i x⟩ |
| 37 | invFun x := ∏ i, (x i).val |
| 38 | left_inv := hcomplete |
| 39 | right_inv x := by |
| 40 | classical |
| 41 | funext i |
| 42 | apply Subtype.ext |
| 43 | change p i (∏ j, (x j).val) = (x i).val |
| 44 | rw [map_prod] |
| 45 | calc |
| 46 | (∏ j, p i (x j).val) = p i (x i).val := by |
| 47 | apply Finset.prod_eq_single i |
| 48 | · intro j _ hji |
| 49 | have hj : p j (x j).val = (x j).val := (x j).property |
| 50 | rw [← hj] |
| 51 | exact horth i j hji.symm (x j).val |
| 52 | · simp |
| 53 | _ = (x i).val := (x i).property |
| 54 | map_mul' x y := by |
| 55 | funext i |
| 56 | exact Subtype.ext ((p i).map_mul x y) |
| 57 | |
| 58 | theorem orthogonalProjectorEquiv_apply (x : G) (i : I) : |
| 59 | (orthogonalProjectorEquiv p horth hcomplete x i).val = p i x := rfl |
| 60 | |
| 61 | theorem orthogonalProjectorEquiv_symm_apply (x : ∀ i, (p i).eqLocus (MonoidHom.id G)) : |
| 62 | (orthogonalProjectorEquiv p horth hcomplete).symm x = ∏ i, (x i).val := rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OrthogonalProjectors.Construction |