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.AlgebraicGeometry.AbelianScheme.TateComparison.CountableResidueFields |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 3 | import Mathlib.Algebra.CharZero.AddMonoidHom |
| 4 | |
| 5 | /-! # Geometric Field Model -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricFieldModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every geometric point over a countable characteristic-zero base has |
| 12 | a countable algebraically closed field of definition that also embeds |
| 13 | in ℂ. This does not require the original geometric field to be countable. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | structure CountableGeometricModel {k : Type} [Field k] {X : Scheme} |
| 18 | (x : Spec (.of k) ⟶ X) where |
| 19 | field : Type |
| 20 | [fieldStructure : Field field] |
| 21 | [countable : Countable field] |
| 22 | [charZero : CharZero field] |
| 23 | [isAlgClosed : IsAlgClosed field] |
| 24 | toOriginal : field →+* k |
| 25 | toComplex : field →+* ℂ |
| 26 | point : Spec (.of field) ⟶ X |
| 27 | factor : Spec.map (CommRingCat.ofHom toOriginal) ≫ point = x |
| 28 | |
| 29 | attribute [instance] CountableGeometricModel.fieldStructure |
| 30 | CountableGeometricModel.countable CountableGeometricModel.charZero |
| 31 | CountableGeometricModel.isAlgClosed |
| 32 | |
| 33 | theorem geometricPoint_has_countable_model |
| 34 | (K : Type) [Field K] [CharZero K] [Countable K] |
| 35 | {X : Scheme} (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 36 | {k : Type} [Field k] [IsAlgClosed k] (x : Spec (.of k) ⟶ X) : |
| 37 | Nonempty (CountableGeometricModel x) := by |
| 38 | let z := Scheme.SpecToEquivOfField k X x |
| 39 | let R := X.residueField z.1 |
| 40 | let : Algebra R k := z.2.hom.toAlgebra |
| 41 | have : Countable R := CountableResidueFields.countable_scheme_residueField K f z.1 |
| 42 | let j : K →+* R := (Spec.preimage (X.fromSpecResidueField z.1 ≫ f)).hom |
| 43 | have : CharZero R := CharZero.of_addMonoidHom j.toAddMonoidHom j.map_one j.injective |
| 44 | let L := AlgebraicClosure R |
| 45 | have : Countable L := Cardinal.mk_le_aleph0_iff.mp |
| 46 | ((Algebra.IsAlgebraic.cardinalMk_le_max R L).trans |
| 47 | (max_le Cardinal.mk_le_aleph0 le_rfl)) |
| 48 | let ι : L →ₐ[R] k := IsAlgClosed.lift |
| 49 | obtain ⟨κ⟩ := CountableComplexEmbedding.countable_field_has_complex_embedding L |
| 50 | refine ⟨{ |
| 51 | field := L |
| 52 | toOriginal := ι.toRingHom |
| 53 | toComplex := κ |
| 54 | point := Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ X.fromSpecResidueField z.1 |
| 55 | factor := ?_ }⟩ |
| 56 | rw [← Spec.map_comp_assoc] |
| 57 | have hι : CommRingCat.ofHom (algebraMap R L) ≫ CommRingCat.ofHom ι.toRingHom = z.2 := by |
| 58 | apply CommRingCat.hom_ext |
| 59 | exact ι.comp_algebraMap |
| 60 | rw [hι] |
| 61 | exact (Scheme.SpecToEquivOfField k X).symm_apply_apply x |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricFieldModel |