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.AlgebraicClosure |
| 3 | import Mathlib.RingTheory.Localization.FractionRing |
| 4 | import Mathlib.NumberTheory.NumberField.Basic |
| 5 | import Mathlib.Algebra.Algebra.Hom.Rat |
| 6 | |
| 7 | /-! # Coefficient Fields -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.CoefficientFields.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Finite rational coefficients lie in an actual countable algebraically |
| 14 | closed subfield of the original geometric field. Such a subfield also |
| 15 | contains the image of every number field in the original field. -/ |
| 16 | |
| 17 | variable {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 18 | |
| 19 | theorem countable_algebraicallyClosed_subfield_of_coefficients |
| 20 | (R : Subalgebra ℚ k) [Countable R] : |
| 21 | ∃ F : Subfield k, Countable F ∧ IsAlgClosed F ∧ ∀ r : R, (r : k) ∈ F := by |
| 22 | let Q := FractionRing R |
| 23 | let j : Q →+* k := IsFractionRing.lift (K := Q) |
| 24 | (g := R.val.toRingHom) Subtype.val_injective |
| 25 | let : Algebra Q k := j.toAlgebra |
| 26 | let F := algebraicClosure Q k |
| 27 | have : Countable Q := TateComparison.CountableResidueFields.countable_localization R Q (nonZeroDivisors R) |
| 28 | have hcount : Countable F := Cardinal.mk_le_aleph0_iff.mp |
| 29 | ((Algebra.IsAlgebraic.cardinalMk_le_max Q F).trans |
| 30 | (max_le Cardinal.mk_le_aleph0 le_rfl)) |
| 31 | have hclosed : IsAlgClosed (algebraicClosure Q k) := IsAlgClosure.isAlgClosed Q |
| 32 | refine ⟨F.toSubfield, hcount, hclosed, ?_⟩ |
| 33 | intro r |
| 34 | have hj : algebraMap Q k (algebraMap R Q r) = (r : k) := |
| 35 | IsFractionRing.lift_algebraMap Subtype.val_injective r |
| 36 | change (r : k) ∈ F |
| 37 | rw [← hj] |
| 38 | exact F.algebraMap_mem _ |
| 39 | |
| 40 | theorem finite_coefficients_in_countable_algebraicallyClosed_subfield (s : Finset k) : |
| 41 | ∃ F : Subfield k, Countable F ∧ IsAlgClosed F ∧ (s : Set k) ⊆ F := by |
| 42 | let R := Algebra.adjoin ℚ (s : Set k) |
| 43 | have : Algebra.FiniteType ℚ R := Algebra.FiniteType.adjoin_of_finite s.finite_toSet |
| 44 | have : Countable R := TateComparison.CountableResidueFields.countable_finiteType ℚ R |
| 45 | obtain ⟨F, hF, ha, hRF⟩ := countable_algebraicallyClosed_subfield_of_coefficients R |
| 46 | refine ⟨F, hF, ha, ?_⟩ |
| 47 | intro x hx |
| 48 | exact hRF ⟨x, Algebra.subset_adjoin hx⟩ |
| 49 | |
| 50 | set_option backward.isDefEq.respectTransparency false in |
| 51 | theorem countable_subfield_finite_enlargement (F : Subfield k) [Countable F] |
| 52 | (s : Finset k) : |
| 53 | ∃ G : Subfield k, Countable G ∧ IsAlgClosed G ∧ F ≤ G ∧ (s : Set k) ⊆ G := by |
| 54 | let R := Algebra.adjoin F (s : Set k) |
| 55 | have : Algebra.FiniteType F R := Algebra.FiniteType.adjoin_of_finite s.finite_toSet |
| 56 | have : Countable R := TateComparison.CountableResidueFields.countable_finiteType F R |
| 57 | have : Countable (R.restrictScalars ℚ) := inferInstanceAs (Countable R) |
| 58 | obtain ⟨G, hG, ha, hRG⟩ := |
| 59 | countable_algebraicallyClosed_subfield_of_coefficients (R.restrictScalars ℚ) |
| 60 | change ∀ r : R, (r : k) ∈ G at hRG |
| 61 | refine ⟨G, hG, ha, ?_, ?_⟩ |
| 62 | · intro x hx |
| 63 | exact hRG (algebraMap F R ⟨x, hx⟩) |
| 64 | · intro x hx |
| 65 | exact hRG (⟨x, Algebra.subset_adjoin hx⟩ : R) |
| 66 | |
| 67 | theorem algebraicallyClosed_subfield_contains_numberField |
| 68 | (F : Subfield k) [IsAlgClosed F] {K : Type} [Field K] [NumberField K] |
| 69 | (j : K →+* k) (x : K) : j x ∈ F := by |
| 70 | have hx : IsAlgebraic ℚ (j x) := |
| 71 | (isAlgebraic_algHom_iff j.toRatAlgHom j.injective).mpr |
| 72 | (Algebra.IsAlgebraic.isAlgebraic x) |
| 73 | have hF : IsAlgebraic F (j x) := IsAlgebraic.tower_top (L := F) hx |
| 74 | have hb : algebraicClosure F k = ⊥ := |
| 75 | (IsAlgClosed.algebraicClosure_eq_bot_iff F k).mpr inferInstance |
| 76 | have hm : j x ∈ (⊥ : IntermediateField F k) := |
| 77 | hb ▸ (mem_algebraicClosure_iff.mpr hF) |
| 78 | obtain ⟨y, hy⟩ := IntermediateField.mem_bot.mp hm |
| 79 | exact hy ▸ y.property |
| 80 | |
| 81 | def numberFieldToAlgebraicallyClosedSubfield |
| 82 | (F : Subfield k) [IsAlgClosed F] {K : Type} [Field K] [NumberField K] |
| 83 | (j : K →+* k) : K →+* F := |
| 84 | j.codRestrict F (algebraicallyClosed_subfield_contains_numberField F j) |
| 85 | |
| 86 | theorem numberFieldToAlgebraicallyClosedSubfield_comp |
| 87 | (F : Subfield k) [IsAlgClosed F] {K : Type} [Field K] [NumberField K] |
| 88 | (j : K →+* k) : |
| 89 | F.subtype.comp (numberFieldToAlgebraicallyClosedSubfield F j) = j := rfl |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.CoefficientFields.Construction |