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.NumberTheory.ArithmeticGroups.Lattices.Finite.Module |
| 2 | |
| 3 | /-! # Submodule Orbit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SubmoduleOrbit.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite-index stabilizers of submodules containing a congruence submodule. -/ |
| 10 | |
| 11 | open scoped Classical Pointwise |
| 12 | |
| 13 | @[instance_reducible] |
| 14 | def submoduleImageAction {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 15 | (ρ : G →* (M ≃ₗ[R] M)) : MulAction G (Submodule R M) where |
| 16 | smul g L := L.map (ρ g).toLinearMap |
| 17 | one_smul L := by |
| 18 | change L.map (ρ 1).toLinearMap = L |
| 19 | simp |
| 20 | mul_smul g h L := by |
| 21 | change L.map (ρ (g * h)).toLinearMap = (L.map (ρ h).toLinearMap).map (ρ g).toLinearMap |
| 22 | rw [map_mul] |
| 23 | exact Submodule.map_comp (ρ h).toLinearMap (ρ g).toLinearMap L |
| 24 | |
| 25 | def submoduleImageStabilizer {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 26 | (ρ : G →* (M ≃ₗ[R] M)) (L : Submodule R M) : Subgroup G := |
| 27 | @MulAction.stabilizer G (Submodule R M) _ (submoduleImageAction ρ) L |
| 28 | |
| 29 | theorem congruence_submodule_le_image |
| 30 | {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 31 | (L : Submodule R M) (d : R) (hL : d • (⊤ : Submodule R M) ≤ L) |
| 32 | (e : M ≃ₗ[R] M) : d • (⊤ : Submodule R M) ≤ L.map e.toLinearMap := by |
| 33 | intro y hy |
| 34 | obtain ⟨z, _, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists y d ⊤).mp hy |
| 35 | refine ⟨d • e.symm z, hL (Submodule.smul_mem_pointwise_smul _ _ _ (Submodule.mem_top)), ?_⟩ |
| 36 | simp |
| 37 | |
| 38 | theorem submoduleImageStabilizer_finiteIndex |
| 39 | {R M G : Type*} [CommRing R] [Ring.HasFiniteQuotients R] |
| 40 | [AddCommGroup M] [Module R M] [Module.Finite R M] [Group G] |
| 41 | (ρ : G →* (M ≃ₗ[R] M)) (L : Submodule R M) |
| 42 | (d : R) (hd : d ≠ 0) (hL : d • (⊤ : Submodule R M) ≤ L) : |
| 43 | (submoduleImageStabilizer ρ L).FiniteIndex := by |
| 44 | let : MulAction G (Submodule R M) := submoduleImageAction ρ |
| 45 | let N : Submodule R M := d • ⊤ |
| 46 | let : Finite (M ⧸ N) := Lattices.Finite.Module.Construction.finite_quotient_element_smul d hd |
| 47 | let : Finite (Set.Ici N) := |
| 48 | Finite.of_equiv (Submodule R (M ⧸ N)) N.comapMkQRelIso.toEquiv |
| 49 | let f : MulAction.orbit G L → Set.Ici N := fun S => ⟨S.val, by |
| 50 | obtain ⟨g, hg⟩ := S.property |
| 51 | rw [← hg] |
| 52 | exact congruence_submodule_le_image L d hL (ρ g)⟩ |
| 53 | let : Finite (MulAction.orbit G L) := Finite.of_injective f (fun x y h => by |
| 54 | have hval : (f x).val = (f y).val := congrArg Subtype.val h |
| 55 | exact Subtype.ext hval) |
| 56 | let : Finite (G ⧸ MulAction.stabilizer G L) := |
| 57 | Finite.of_equiv (MulAction.orbit G L) (MulAction.orbitEquivQuotientStabilizer G L) |
| 58 | change (MulAction.stabilizer G L).FiniteIndex |
| 59 | exact Subgroup.finiteIndex_of_finite_quotient |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SubmoduleOrbit.Construction |