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.OverMorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonIso |
| 3 | |
| 4 | /-! # Common Recovery -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CommonRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cartesian recovery is preserved by the coordinate-algebra presentation of an affine scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 17 | variable (X : Over (Spec (.of C))) [IsAffine X.left] |
| 18 | |
| 19 | theorem affineOver_common_recovery_isPullback {P : Scheme.{u}} |
| 20 | (q : P ⟶ X.left) (p : P ⟶ Spec (.of R)) |
| 21 | (h : IsPullback q p X.hom (Spec.map (CommRingCat.ofHom (algebraMap C R)))) : |
| 22 | IsPullback (q ≫ (OverChartPoints.affineOverIso C X).hom.left) p |
| 23 | (Spec.map (CommRingCat.ofHom (algebraMap C (OverChartPoints.affineOverAlgebra C X)))) |
| 24 | (Spec.map (CommRingCat.ofHom (algebraMap C R))) := by |
| 25 | let e := OverChartPoints.affineOverIso C X |
| 26 | have : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 27 | have he : IsPullback e.hom.left X.hom |
| 28 | (Spec.map (CommRingCat.ofHom (algebraMap C (OverChartPoints.affineOverAlgebra C X)))) |
| 29 | (𝟙 (Spec (.of C))) := |
| 30 | IsPullback.of_horiz_isIso ⟨e.hom.w.trans (Category.comp_id _).symm⟩ |
| 31 | exact (congrArg (fun b => IsPullback (q ≫ e.hom.left) p |
| 32 | (Spec.map (CommRingCat.ofHom (algebraMap C (OverChartPoints.affineOverAlgebra C X)))) b) |
| 33 | (Category.comp_id _)).mp (h.paste_horiz he) |
| 34 | |
| 35 | theorem affineOver_common_recovery_natural |
| 36 | {Y : Over (Spec (.of C))} [IsAffine Y.left] (f : X ⟶ Y) |
| 37 | {P : Scheme.{u}} (qX : P ⟶ X.left) (qY : P ⟶ Y.left) (hq : qX ≫ f.left = qY) : |
| 38 | (qX ≫ (OverChartPoints.affineOverIso C X).hom.left) ≫ |
| 39 | Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) = |
| 40 | qY ≫ (OverChartPoints.affineOverIso C Y).hom.left := by |
| 41 | let e : X.left ⟶ Spec (.of (OverChartPoints.affineOverAlgebra C X)) := (OverChartPoints.affineOverIso C X).hom.left |
| 42 | let d : Spec (.of (OverChartPoints.affineOverAlgebra C X)) ⟶ X.left := (OverChartPoints.affineOverIso C X).inv.left |
| 43 | let e' : Y.left ⟶ Spec (.of (OverChartPoints.affineOverAlgebra C Y)) := (OverChartPoints.affineOverIso C Y).hom.left |
| 44 | have he : e ≫ d = 𝟙 X.left := congrArg (fun k => k.left) (OverChartPoints.affineOverIso C X).hom_inv_id |
| 45 | have hf : Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) = d ≫ f.left ≫ e' := |
| 46 | OverMorphisms.affineOverMap_spec C f |
| 47 | change (qX ≫ e) ≫ Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) = qY ≫ e' |
| 48 | have heq : (qX ≫ e) ≫ d = qX := by rw [Category.assoc, he, Category.comp_id] |
| 49 | rw [hf] |
| 50 | simp only [← Category.assoc, heq, hq] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CommonRecovery |