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.RepresentationTheory.Theta.Geometric.Finite.LatticeCongruence |
| 2 | |
| 3 | /-! # Lattice Restriction Action -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.LatticeRestrictionAction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A group preserving an actual additive lattice acts on that lattice |
| 10 | and on its finite quotients by literal restriction of its original maps. -/ |
| 11 | |
| 12 | variable {G V : Type*} [Group G] [AddCommGroup V] |
| 13 | (ρ : G →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) |
| 14 | (hL : ∀ (g : G) (v : V), ρ g v ∈ L ↔ v ∈ L) |
| 15 | |
| 16 | def latticeRestrictionEquiv (g : G) : L ≃ₗ[ℤ] L where |
| 17 | toFun x := ⟨ρ g x.val, (hL g x.val).mpr x.property⟩ |
| 18 | invFun x := ⟨(ρ g).symm x.val, (hL g _).mp (by |
| 19 | simpa only [LinearEquiv.apply_symm_apply] using x.property)⟩ |
| 20 | left_inv x := Subtype.ext ((ρ g).symm_apply_apply x.val) |
| 21 | right_inv x := Subtype.ext ((ρ g).apply_symm_apply x.val) |
| 22 | map_add' x y := Subtype.ext ((ρ g).map_add x.val y.val) |
| 23 | map_smul' n x := Subtype.ext ((ρ g).map_smul n x.val) |
| 24 | |
| 25 | def latticeRestrictionAction : G →* (L ≃ₗ[ℤ] L) where |
| 26 | toFun := latticeRestrictionEquiv ρ L hL |
| 27 | map_one' := by |
| 28 | apply LinearEquiv.ext |
| 29 | intro x |
| 30 | apply Subtype.ext |
| 31 | change ρ 1 x.val = x.val |
| 32 | rw [map_one] |
| 33 | rfl |
| 34 | map_mul' g h := by |
| 35 | apply LinearEquiv.ext |
| 36 | intro x |
| 37 | apply Subtype.ext |
| 38 | change ρ (g * h) x.val = ρ g (ρ h x.val) |
| 39 | rw [map_mul] |
| 40 | rfl |
| 41 | |
| 42 | theorem latticeRestrictionAction_apply (g : G) (x : L) : |
| 43 | (latticeRestrictionAction ρ L hL g x).val = ρ g x.val := rfl |
| 44 | |
| 45 | theorem latticeRestrictionAction_congruence (N : ℕ) (g : G) : |
| 46 | g ∈ (Finite.LatticeCongruence.latticeModNAction N (latticeRestrictionAction ρ L hL)).ker ↔ |
| 47 | ∀ x ∈ L, ∃ y ∈ L, ρ g x - x = N • y := by |
| 48 | rw [Finite.LatticeCongruence.latticeModNAction_ker] |
| 49 | constructor |
| 50 | · intro h x hx |
| 51 | obtain ⟨y, hy⟩ := h ⟨x, hx⟩ |
| 52 | exact ⟨y.val, y.property, congrArg Subtype.val hy⟩ |
| 53 | · intro h x |
| 54 | obtain ⟨y, hy, he⟩ := h x.val x.property |
| 55 | exact ⟨⟨y, hy⟩, Subtype.ext he⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.RepresentationTheory.Theta.Geometric.LatticeRestrictionAction |