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.RingTheory.Algebraic.LinearIndependent |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.Basic |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 5 | import Mathlib.RingTheory.TensorProduct.Basic |
| 6 | |
| 7 | /-! # Rank Points -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.RankPoints.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Countable vector-space dimension over an uncountable algebraically |
| 14 | closed field forces every maximal residue field to be the base field. |
| 15 | This applies to scalar extensions of countable coefficient fields. -/ |
| 16 | |
| 17 | open scoped Cardinal TensorProduct |
| 18 | |
| 19 | theorem field_isAlgebraic_of_countable_rank |
| 20 | {C L : Type} [Field C] [Uncountable C] [Field L] [Algebra C L] |
| 21 | (h : Module.rank C L ≤ Cardinal.aleph0) : Algebra.IsAlgebraic C L := by |
| 22 | constructor |
| 23 | intro x |
| 24 | by_contra hx |
| 25 | have hc : Cardinal.mk C ≤ Module.rank C L := by |
| 26 | simpa only [Cardinal.lift_id] using |
| 27 | (show Transcendental C x from hx).linearIndependent_sub_inv.cardinal_lift_le_rank |
| 28 | exact (not_le_of_gt (Cardinal.aleph0_lt_mk (α := C))) (hc.trans h) |
| 29 | |
| 30 | set_option backward.isDefEq.respectTransparency false in |
| 31 | theorem algHom_to_base_of_countable_rank |
| 32 | (C R : Type) [Field C] [Uncountable C] [IsAlgClosed C] |
| 33 | [CommRing R] [Nontrivial R] [Algebra C R] |
| 34 | (h : Module.rank C R ≤ Cardinal.aleph0) : Nonempty (R →ₐ[C] C) := by |
| 35 | obtain ⟨I, hI⟩ := Ideal.exists_maximal R |
| 36 | let : I.IsMaximal := hI |
| 37 | let L := R ⧸ I |
| 38 | let : Field L := Ideal.Quotient.field I |
| 39 | have hr : Module.rank C L ≤ Module.rank C R := |
| 40 | (Ideal.Quotient.mkₐ C I).toLinearMap.rank_le_of_surjective (Ideal.Quotient.mk_surjective) |
| 41 | have : Algebra.IsAlgebraic C L := field_isAlgebraic_of_countable_rank (C := C) (L := L) (hr.trans h) |
| 42 | let e : C ≃ₐ[C] L := AlgEquiv.ofBijective (Algebra.ofId C L) |
| 43 | (IsAlgClosed.algebraMap_bijective_of_isIntegral (k := C)) |
| 44 | exact ⟨e.symm.toAlgHom.comp (Ideal.Quotient.mkₐ C I)⟩ |
| 45 | |
| 46 | theorem scalarExtension_rank_countable |
| 47 | (K C F : Type) [Field K] [Field C] [Algebra K C] |
| 48 | [AddCommGroup F] [Module K F] [Countable F] : |
| 49 | Module.rank C (C ⊗[K] F) ≤ Cardinal.aleph0 := by |
| 50 | let b := Module.Free.chooseBasis K F |
| 51 | rw [← (b.baseChange C).mk_eq_rank'', b.mk_eq_rank''] |
| 52 | exact (rank_le_card K F).trans Cardinal.mk_le_aleph0 |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.RankPoints.Construction |