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.Archimedean.Quotient |
| 2 | |
| 3 | /-! # Scalar Linear Preserver -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ScalarLinearPreserver.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A real linear automorphism commuting with the coefficient algebra |
| 10 | lifts uniquely to an automorphism linear over that algebra. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | def scalarLinearEquivOfCommutes |
| 15 | {R S V : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | [AddCommGroup V] [Module S V] [Module R V] [IsScalarTower R S V] |
| 17 | (f : V ≃ₗ[R] V) (hf : ∀ (a : S) (x : V), f (a • x) = a • f x) : V ≃ₗ[S] V where |
| 18 | toFun := f |
| 19 | invFun := f.symm |
| 20 | left_inv := f.left_inv |
| 21 | right_inv := f.right_inv |
| 22 | map_add' := f.map_add |
| 23 | map_smul' := hf |
| 24 | |
| 25 | theorem scalarLinearEquivOfCommutes_restrictScalars |
| 26 | {R S V : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 27 | [AddCommGroup V] [Module S V] [Module R V] [IsScalarTower R S V] |
| 28 | (f : V ≃ₗ[R] V) (hf : ∀ (a : S) (x : V), f (a • x) = a • f x) : |
| 29 | (scalarLinearEquivOfCommutes f hf).restrictScalars R = f := by |
| 30 | ext x |
| 31 | rfl |
| 32 | |
| 33 | theorem commutes_scalar_of_basis |
| 34 | {R S V I : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 35 | [AddCommGroup V] [Module S V] [Module R V] [IsScalarTower R S V] |
| 36 | (b : Module.Basis I R S) (f : V →ₗ[R] V) |
| 37 | (hf : ∀ i x, f (b i • x) = b i • f x) : |
| 38 | ∀ (a : S) (x : V), f (a • x) = a • f x := by |
| 39 | intro a x |
| 40 | have hspan : ∀ a ∈ Submodule.span R (Set.range b), f (a • x) = a • f x := by |
| 41 | intro a ha |
| 42 | induction ha using Submodule.span_induction with |
| 43 | | mem a ha => obtain ⟨i, rfl⟩ := ha; exact hf i x |
| 44 | | zero => simp |
| 45 | | add a c _ _ ha hc => simp only [add_smul, map_add, ha, hc] |
| 46 | | smul c a _ ha => |
| 47 | rw [smul_assoc, map_smul, ha, smul_assoc] |
| 48 | exact hspan a (b.span_eq.symm ▸ Submodule.mem_top) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ScalarLinearPreserver.Construction |