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.Finite.CoefficientLineDescent |
| 3 | |
| 4 | /-! # Parameter Lines -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A line on a proper family defined over a countable subfield has an |
| 11 | actual line model after enlarging that subfield by countably many elements. |
| 12 | The enlargement stays inside the original geometric field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.CoefficientLineDescent |
| 18 | |
| 19 | variable {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 20 | |
| 21 | def subfieldParameter (F G : Subfield k) (hFG : F ≤ G) : Over (Spec (.of F)) := |
| 22 | Over.mk (Spec.map (CommRingCat.ofHom (Subfield.inclusion hFG))) |
| 23 | |
| 24 | def subfieldParameterRestriction (F G : Subfield k) (hFG : F ≤ G) : |
| 25 | AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver F k ⟶ subfieldParameter F G hFG := |
| 26 | Over.homMk (Spec.map (CommRingCat.ofHom G.subtype)) (by |
| 27 | change Spec.map (CommRingCat.ofHom G.subtype) ≫ |
| 28 | Spec.map (CommRingCat.ofHom (Subfield.inclusion hFG)) = |
| 29 | Spec.map (CommRingCat.ofHom F.subtype) |
| 30 | rw [← Spec.map_comp] |
| 31 | rfl) |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | theorem countable_parameter_line_model_exists |
| 35 | (F : Subfield k) [Countable F] (X : Over (Spec (.of F))) [IsProper X.hom] |
| 36 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver F k ⊗ X).left) : |
| 37 | ∃ G : Subfield k, Countable G ∧ IsAlgClosed G ∧ |
| 38 | ∃ hFG : F ≤ G, ∃ J : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (subfieldParameter F G hFG ⊗ X).left, |
| 39 | Nonempty ((J.pullback (subfieldParameterRestriction F G hFG ▷ X).left).sheaf ≅ L.sheaf) := by |
| 40 | obtain ⟨s, K, ⟨e⟩⟩ := AbelianModuli.ReferenceFamily.Finite.CoefficientLineDescent.exists_finite_coefficient_line_model F k X L |
| 41 | obtain ⟨G, hG, ha, hFG, hsG⟩ := CoefficientFields.Construction.countable_subfield_finite_enlargement F s |
| 42 | let R := AbelianModuli.ReferenceFamily.Finite.CoefficientDiagram.finiteCoefficientRing F k s |
| 43 | have hRG (r : R) : (r : k) ∈ G := by |
| 44 | exact Algebra.adjoin_induction (p := fun x _ => x ∈ G) |
| 45 | (fun _ hx => hsG hx) (fun x => hFG x.property) |
| 46 | (fun _ _ _ _ hx hy => G.add_mem hx hy) |
| 47 | (fun _ _ _ _ hx hy => G.mul_mem hx hy) r.property |
| 48 | let j : R →+* G := R.val.toRingHom.codRestrict G hRG |
| 49 | let V := AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver F R |
| 50 | let v : subfieldParameter F G hFG ⟶ V := |
| 51 | Over.homMk (Spec.map (CommRingCat.ofHom j)) (by |
| 52 | change Spec.map (CommRingCat.ofHom j) ≫ |
| 53 | Spec.map (CommRingCat.ofHom (algebraMap F R)) = |
| 54 | Spec.map (CommRingCat.ofHom (Subfield.inclusion hFG)) |
| 55 | rw [← Spec.map_comp] |
| 56 | rfl) |
| 57 | let q : AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver F k ⟶ V := AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.algebraSpecMap F R.val |
| 58 | have hv : subfieldParameterRestriction F G hFG ≫ v = q := by |
| 59 | apply Over.OverMorphism.ext |
| 60 | change Spec.map (CommRingCat.ofHom G.subtype) ≫ Spec.map (CommRingCat.ofHom j) = |
| 61 | Spec.map (CommRingCat.ofHom R.val.toRingHom) |
| 62 | rw [← Spec.map_comp] |
| 63 | rfl |
| 64 | let J := K.pullback (v ▷ X).left |
| 65 | have hc : (subfieldParameterRestriction F G hFG ▷ X).left ≫ (v ▷ X).left = |
| 66 | (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientFamilyCone F k X).π.app (.op s) := by |
| 67 | rw [← Over.comp_left, ← comp_whiskerRight, hv] |
| 68 | rfl |
| 69 | refine ⟨G, hG, ha, hFG, J, ?_⟩ |
| 70 | exact ⟨(Scheme.Modules.pullbackComp (subfieldParameterRestriction F G hFG ▷ X).left |
| 71 | (v ▷ X).left).app K.sheaf ≪≫ |
| 72 | (Scheme.Modules.pullbackCongr hc).app K.sheaf ≪≫ e⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction |