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.IsogenyQuotient.Countable.CoefficientFields |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.AbelianModel |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.BaseChangeComparisons |
| 4 | |
| 5 | /-! # Models -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.Models.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finitely many projectively presented geometric abelian schemes |
| 12 | have full group models over one countable algebraically closed subfield |
| 13 | of the original field, with their actual base-change isomorphisms. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.AbelianModel |
| 19 | |
| 20 | structure CountableAbelianFamilyModel |
| 21 | {k : Type} [Field k] {I : Type} (g : I → ℕ) |
| 22 | (A : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (g i) (Spec (.of k))) where |
| 23 | field : Subfield k |
| 24 | [countable : Countable field] |
| 25 | [algebraicallyClosed : IsAlgClosed field] |
| 26 | family : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (g i) (Spec (.of field)) |
| 27 | recovery : ∀ i, (A i).scheme ≅ |
| 28 | ((family i).pullback (Spec.map (CommRingCat.ofHom field.subtype))).scheme |
| 29 | recovery_group : ∀ i, IsMonHom (recovery i).hom |
| 30 | |
| 31 | attribute [instance] CountableAbelianFamilyModel.countable |
| 32 | CountableAbelianFamilyModel.algebraicallyClosed CountableAbelianFamilyModel.recovery_group |
| 33 | |
| 34 | set_option backward.isDefEq.respectTransparency false in |
| 35 | theorem countable_abelian_family_model_exists |
| 36 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 37 | {I : Type} [Finite I] (g : I → ℕ) |
| 38 | (A : ∀ i, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (g i) (Spec (.of k))) (n : I → ℕ) |
| 39 | (D : ∀ i, AbelianModuli.ReferenceFamily.Geometric.GroupModel.GeometricGroupModel (A i).scheme (n i)) : |
| 40 | Nonempty (CountableAbelianFamilyModel g A) := by |
| 41 | classical |
| 42 | let : Fintype I := Fintype.ofFinite I |
| 43 | let s := Finset.univ.biUnion (fun i => (D i).data.toModel.coefficients) |
| 44 | let R := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing ℚ k s |
| 45 | have : Algebra.FiniteType ℚ R := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing_finiteType ℚ k s |
| 46 | have : Countable R := TateComparison.CountableResidueFields.countable_finiteType ℚ R |
| 47 | obtain ⟨F, hF, ha, hRF⟩ := CoefficientFields.Construction.countable_algebraicallyClosed_subfield_of_coefficients R |
| 48 | let : Countable F := hF |
| 49 | let : IsAlgClosed F := ha |
| 50 | let b := Spec.map (CommRingCat.ofHom F.subtype) |
| 51 | have hi (i : I) : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing ℚ k (D i).data.toModel.coefficients ≤ R := |
| 52 | Algebra.adjoin_mono (Finset.coe_subset.mpr |
| 53 | (Finset.subset_biUnion_of_mem (fun i => (D i).data.toModel.coefficients) (Finset.mem_univ i))) |
| 54 | let j (i : I) : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing ℚ k (D i).data.toModel.coefficients →+* F := |
| 55 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing ℚ k (D i).data.toModel.coefficients).val.toRingHom.codRestrict F |
| 56 | (fun r => hRF ⟨r.val, hi i r.property⟩) |
| 57 | let v (i : I) := Spec.map (CommRingCat.ofHom (j i)) |
| 58 | have hv (i : I) : b ≫ v i = ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ k (D i).data.toModel.coefficients := by |
| 59 | rw [← Spec.map_comp] |
| 60 | rfl |
| 61 | let C (i : I) := AbelianModuli.ReferenceFamily.Geometric.GroupModel.GeometricGroupModel.abelian (A i) (D i) |
| 62 | let B (i : I) := (C i).pullback (v i) |
| 63 | let groupV (i : I) : GrpObj ((Over.pullback (v i)).obj (C i).scheme) := (B i).group |
| 64 | let groupBV (i : I) : GrpObj ((Over.pullback b).obj ((Over.pullback (v i)).obj (C i).scheme)) := |
| 65 | ((B i).pullback b).group |
| 66 | let groupGeneric (i : I) : GrpObj ((Over.pullback |
| 67 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ k (D i).data.toModel.coefficients)).obj (C i).scheme) := |
| 68 | ((C i).pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ k (D i).data.toModel.coefficients)).group |
| 69 | let r (i : I) : ((B i).pullback b).scheme ≅ (A i).scheme := |
| 70 | PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso (C i).scheme (v i) b |
| 71 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ k (D i).data.toModel.coefficients) (hv i) ≪≫ |
| 72 | AbelianModuli.ReferenceFamily.Geometric.GroupModel.GeometricGroupModel.fiberIso (A i) (D i) |
| 73 | have hr (i : I) : IsMonHom (r i).hom := by |
| 74 | have h₁ := PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom (C i).scheme (v i) b |
| 75 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ k (D i).data.toModel.coefficients) (hv i) |
| 76 | have h₂ := AbelianModuli.ReferenceFamily.Geometric.GroupModel.GeometricGroupModel.fiberIso_isMonHom (A i) (D i) |
| 77 | exact @CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ _ _ h₁ h₂ |
| 78 | exact ⟨{ |
| 79 | field := F |
| 80 | family := B |
| 81 | recovery := fun i => (r i).symm |
| 82 | recovery_group := fun i => by |
| 83 | have := hr i |
| 84 | exact inferInstanceAs (IsMonHom (r i).inv) }⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.Models.Construction |