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.SubmoduleOrbit |
| 2 | |
| 3 | /-! # Stabilizer Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.StabilizerRestriction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction of linear actions to invariant integral submodules. -/ |
| 10 | |
| 11 | open scoped Classical Pointwise |
| 12 | |
| 13 | theorem submoduleImageStabilizer_mem_iff |
| 14 | {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 15 | (ρ : G →* (M ≃ₗ[R] M)) (L : Submodule R M) (g : G) : |
| 16 | g ∈ SubmoduleOrbit.Construction.submoduleImageStabilizer ρ L ↔ ∀ x, ρ g x ∈ L ↔ x ∈ L := by |
| 17 | change L.map (ρ g).toLinearMap = L ↔ _ |
| 18 | constructor |
| 19 | · intro h x |
| 20 | constructor |
| 21 | · intro hx |
| 22 | rw [← h] at hx |
| 23 | obtain ⟨y, hy, he⟩ := hx |
| 24 | exact (ρ g).injective he ▸ hy |
| 25 | · intro hx |
| 26 | rw [← h] |
| 27 | exact ⟨x, hx, rfl⟩ |
| 28 | · intro h |
| 29 | apply le_antisymm |
| 30 | · rintro _ ⟨x, hx, rfl⟩ |
| 31 | exact (h x).mpr hx |
| 32 | · intro x hx |
| 33 | refine ⟨(ρ g).symm x, (h _).mp ?_, (ρ g).apply_symm_apply x⟩ |
| 34 | simpa only [LinearEquiv.apply_symm_apply] using hx |
| 35 | |
| 36 | def stabilizerRestriction |
| 37 | {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 38 | (ρ : G →* (M ≃ₗ[R] M)) (L : Submodule R M) : |
| 39 | SubmoduleOrbit.Construction.submoduleImageStabilizer ρ L →* (L ≃ₗ[R] L) where |
| 40 | toFun g := (ρ g.val).ofSubmodules L L g.property |
| 41 | map_one' := by |
| 42 | apply LinearEquiv.ext |
| 43 | intro x |
| 44 | apply Subtype.ext |
| 45 | change ρ 1 x.val = x.val |
| 46 | rw [map_one] |
| 47 | rfl |
| 48 | map_mul' g h := by |
| 49 | apply LinearEquiv.ext |
| 50 | intro x |
| 51 | apply Subtype.ext |
| 52 | change ρ (g.val * h.val) x.val = ρ g.val (ρ h.val x.val) |
| 53 | rw [map_mul] |
| 54 | rfl |
| 55 | |
| 56 | theorem stabilizerRestriction_apply |
| 57 | {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 58 | (ρ : G →* (M ≃ₗ[R] M)) (L : Submodule R M) |
| 59 | (g : SubmoduleOrbit.Construction.submoduleImageStabilizer ρ L) (x : L) : |
| 60 | (stabilizerRestriction ρ L g x).val = ρ g.val x.val := rfl |
| 61 | |
| 62 | theorem stabilizes_scalar_submodule_iff |
| 63 | {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 64 | (e : M ≃ₗ[R] M) (L : Submodule R M) (d : R) |
| 65 | (hd : Function.Injective (fun x : M => d • x)) : |
| 66 | (d • L).map e.toLinearMap = d • L ↔ L.map e.toLinearMap = L := by |
| 67 | let f : M →ₗ[R] M := DistribSMul.toLinearMap R M d |
| 68 | have hcomm : e.toLinearMap.comp f = f.comp e.toLinearMap := by |
| 69 | apply LinearMap.ext |
| 70 | intro x |
| 71 | exact e.map_smul d x |
| 72 | change (L.map f).map e.toLinearMap = L.map f ↔ _ |
| 73 | rw [← Submodule.map_comp, hcomm, Submodule.map_comp] |
| 74 | exact (Submodule.map_injective_of_injective hd).eq_iff |
| 75 | |
| 76 | theorem restriction_stabilizes_iff |
| 77 | {R M G : Type*} [CommRing R] [AddCommGroup M] [Module R M] [Group G] |
| 78 | (ρ : G →* (M ≃ₗ[R] M)) (Λ W : Submodule R M) (hW : W ≤ Λ) |
| 79 | (g : SubmoduleOrbit.Construction.submoduleImageStabilizer ρ Λ) : |
| 80 | (W.comap Λ.subtype).map (stabilizerRestriction ρ Λ g).toLinearMap = W.comap Λ.subtype ↔ |
| 81 | W.map (ρ g.val).toLinearMap = W := by |
| 82 | have hcomp : Λ.subtype.comp (stabilizerRestriction ρ Λ g).toLinearMap = |
| 83 | (ρ g.val).toLinearMap.comp Λ.subtype := by |
| 84 | apply LinearMap.ext |
| 85 | intro x |
| 86 | rfl |
| 87 | rw [← (Submodule.map_injective_of_injective Λ.injective_subtype).eq_iff, |
| 88 | ← Submodule.map_comp, hcomp, Submodule.map_comp, Submodule.map_comap_subtype, |
| 89 | inf_eq_right.mpr hW] |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.NumberTheory.ArithmeticGroups.Lattices.StabilizerRestriction.Construction |