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.AbelianModuli.HilbertConstruction.Affine.StalkQuotientZeroSection |
| 2 | |
| 3 | /-! # Stalk Closed Field Point -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.StalkClosedFieldPoint |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A closed field-valued point of the spectrum of a rational-point stalk has the same ground field, via its actual structure morphism. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem rationalStalk_closedFieldPoint_structure_isIso |
| 14 | {K B : Type u} [Field K] [Field B] {X : Scheme.{u}} |
| 15 | (p : X ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 16 | (j : Spec (.of B) ⟶ Spec (X.presheaf.stalk (z (IsLocalRing.closedPoint K)))) |
| 17 | [IsClosedImmersion j] : |
| 18 | IsIso ((j ≫ X.fromSpecStalk (z (IsLocalRing.closedPoint K))) ≫ p) := by |
| 19 | let x := z (IsLocalRing.closedPoint K) |
| 20 | let O := X.presheaf.stalk x |
| 21 | let q : O ⟶ .of B := Spec.preimage j |
| 22 | let e : Γ(Spec O, ⊤) ≅ O := Scheme.ΓSpecIso O |
| 23 | have heq : e.hom ≫ q = CommRingCat.ofHom (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j) := by |
| 24 | apply Spec.map_injective |
| 25 | calc |
| 26 | Spec.map (e.hom ≫ q) = Spec.map q ≫ Spec.map e.hom := Spec.map_comp _ _ |
| 27 | _ = j ≫ (Spec O).isoSpec.hom := congrArg₂ (fun v w => v ≫ w) |
| 28 | (Spec.map_preimage j) (Scheme.isoSpec_Spec_hom O).symm |
| 29 | _ = Spec.map (CommRingCat.ofHom (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j)) := |
| 30 | (Affine.QuotientCoefficientMap.specBaseCoefficientMap_specMap j).symm |
| 31 | have hq : Function.Surjective q := by |
| 32 | intro y |
| 33 | obtain ⟨r, hr⟩ := HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap_surjective j y |
| 34 | exact ⟨e.hom r, (ConcreteCategory.congr_hom heq r).trans hr⟩ |
| 35 | have : IsLocalHom q.hom := IsLocalHom.of_surjective q.hom hq |
| 36 | let d := X.descResidueField q |
| 37 | have hd : Function.Bijective d := by |
| 38 | refine ⟨d.hom.injective, ?_⟩ |
| 39 | intro y |
| 40 | obtain ⟨r, hr⟩ := hq y |
| 41 | exact ⟨X.residue x r, (ConcreteCategory.congr_hom (X.residue_descResidueField q) r).trans hr⟩ |
| 42 | have : IsIso d := (ConcreteCategory.isIso_iff_bijective d).mpr hd |
| 43 | let er := PointResidue.rationalPointResidueIso p z hz |
| 44 | have hcomp : Spec.map er.hom ≫ (X.fromSpecResidueField x ≫ p) = 𝟙 _ := by |
| 45 | rw [← Category.assoc, PointResidue.rationalPointResidueIso_factor p z hz, hz] |
| 46 | have he : X.fromSpecResidueField x ≫ p = (asIso (Spec.map er.hom)).inv := by |
| 47 | apply (cancel_epi (Spec.map er.hom)).mp |
| 48 | rw [hcomp] |
| 49 | simp |
| 50 | have : IsIso (X.fromSpecResidueField x ≫ p) := by rw [he]; infer_instance |
| 51 | have hc : (j ≫ X.fromSpecStalk x) ≫ p = Spec.map d ≫ (X.fromSpecResidueField x ≫ p) := by |
| 52 | rw [← Category.assoc, X.descResidueField_fromSpecResidueField q, Spec.map_preimage] |
| 53 | rw [hc] |
| 54 | infer_instance |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.StalkClosedFieldPoint |