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.IntersectionTheory.ProjectionFormula.AwayChartPullback |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearChart |
| 3 | |
| 4 | /-! # Chart Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On its defining affine charts, a linear projection pulls a |
| 11 | ratio of target coordinates back to the corresponding ratio of linear forms. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization |
| 17 | |
| 18 | theorem spec_germ {A B : CommRingCat} (f : A ⟶ B) (x : Spec B) (a : A) : |
| 19 | (Spec.map f).stalkMap x ((Spec A).presheaf.germ ⊤ (Spec.map f x) trivial ((Scheme.ΓSpecIso A).inv a)) = |
| 20 | (Spec B).presheaf.germ ⊤ x trivial ((Scheme.ΓSpecIso B).inv (f a)) := by |
| 21 | rw [GermPullback.appLE (Spec.map f) ⊤ ⊤ le_top x trivial] |
| 22 | exact congrArg ((Spec B).presheaf.germ ⊤ x trivial) |
| 23 | (congrArg (fun g : A ⟶ Γ(Spec B, ⊤) => g a) (Scheme.ΓSpecIso_inv_naturality f).symm) |
| 24 | |
| 25 | variable {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 26 | (s a : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) |
| 27 | |
| 28 | abbrev image (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1) : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 := ⟨f a.val, f.map_mem a.property⟩ |
| 29 | |
| 30 | theorem affine (x : Spec (.of (Away (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val)))) |
| 31 | (hs : s.val ∉ (Projective.LinearChart.Hom.affine f s.val s.property (by decide : 0 < 1) x).asHomogeneousIdeal) : |
| 32 | GermPullback.fraction m |
| 33 | (Projective.LinearChart.Hom.affine f s.val s.property (by decide : 0 < 1)) x a s hs = |
| 34 | GermPullback.fraction n (AwayChartPullback.chart n (image f s)) x |
| 35 | (image f a) (image f s) (AwayChartPullback.contained n (image f s) trivial) := by |
| 36 | change GermPullback.fraction m |
| 37 | (Spec.map (CommRingCat.ofHom (Away.map f s.val)) ≫ AwayChartPullback.chart m s) x a s hs = _ |
| 38 | rw [GermPullback.fraction_comp, AwayChartPullback.fraction, spec_germ, |
| 39 | AwayChartPullback.fraction] |
| 40 | exact congrArg (fun b : Away (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val) => |
| 41 | (Spec (.of (Away (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val)))).presheaf.germ ⊤ x trivial |
| 42 | ((Scheme.ΓSpecIso (.of (Away (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val)))).inv b)) |
| 43 | (Away.map_mk f s.val s.property 1 a.val a.property) |
| 44 | |
| 45 | theorem chart (x : (Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val)).toScheme) |
| 46 | (hs : s.val ∉ (Projective.LinearChart.Hom.chart f s.val s.property (by decide : 0 < 1) x).asHomogeneousIdeal) : |
| 47 | GermPullback.fraction m |
| 48 | (Projective.LinearChart.Hom.chart f s.val s.property (by decide : 0 < 1)) x a s hs = |
| 49 | GermPullback.fraction n (Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val)).ι x |
| 50 | (image f a) (image f s) x.property := by |
| 51 | let U := Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val) |
| 52 | let e := Proj.basicOpenIsoSpec (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (f s.val) (f.map_mem s.property) (by decide : 0 < 1) |
| 53 | have he : e.hom ≫ AwayChartPullback.chart n (image f s) = U.ι := by |
| 54 | change e.hom ≫ (e.inv ≫ U.ι) = U.ι |
| 55 | simp |
| 56 | change GermPullback.fraction m |
| 57 | (e.hom ≫ Projective.LinearChart.Hom.affine f s.val s.property (by decide : 0 < 1)) x a s hs = _ |
| 58 | rw [GermPullback.fraction_comp] |
| 59 | calc |
| 60 | _ = e.hom.stalkMap x (GermPullback.fraction n (AwayChartPullback.chart n (image f s)) |
| 61 | (e.hom x) (image f a) (image f s) |
| 62 | (AwayChartPullback.contained n (image f s) trivial)) := |
| 63 | congrArg (e.hom.stalkMap x) (affine f s a (e.hom x) hs) |
| 64 | _ = _ := by |
| 65 | rw [← GermPullback.fraction_comp] |
| 66 | exact GermPullback.fraction_congr n _ _ he x (image f a) (image f s) _ _ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.ChartFractions |