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.FormStalkComparison |
| 2 | |
| 3 | /-! # Germ Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GermPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Germ pullback along a morphism can be computed on any smaller |
| 10 | source open. This avoids imposing equalities of chosen neighborhoods. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem appLE {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) (V : X.Opens) |
| 20 | (hVU : V ≤ f ⁻¹ᵁ U) (x : X) (hx : x ∈ V) (a : Γ(Y, U)) : |
| 21 | f.stalkMap x (Y.presheaf.germ U (f x) (hVU hx) a) = |
| 22 | X.presheaf.germ V x hx (f.appLE U V hVU a) := by |
| 23 | rw [Scheme.Hom.germ_stalkMap_apply] |
| 24 | change X.presheaf.germ (f ⁻¹ᵁ U) x (hVU hx) (f.app U a) = |
| 25 | X.presheaf.germ V x hx (X.presheaf.map (homOfLE hVU).op (f.app U a)) |
| 26 | exact (TopCat.Presheaf.germ_res_apply X.presheaf (homOfLE hVU) x hx (f.app U a)).symm |
| 27 | |
| 28 | def fraction {X : Scheme} (n : ℕ) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (x : X) |
| 29 | (a s : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) (hs : s.val ∉ (f x).asHomogeneousIdeal) : X.presheaf.stalk x := |
| 30 | f.stalkMap x (Projective.PointJets.StalkFractions.fraction n (f x) a s hs) |
| 31 | |
| 32 | theorem fraction_congr {X : Scheme} (n : ℕ) (f g : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (he : f = g) |
| 33 | (x : X) (a s : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) (hf : s.val ∉ (f x).asHomogeneousIdeal) |
| 34 | (hg : s.val ∉ (g x).asHomogeneousIdeal) : |
| 35 | fraction n f x a s hf = fraction n g x a s hg := by |
| 36 | subst g |
| 37 | rfl |
| 38 | |
| 39 | theorem fraction_comp {X Y : Scheme} (n : ℕ) (f : X ⟶ Y) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 40 | (x : X) (a s : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) (hs : s.val ∉ (g (f x)).asHomogeneousIdeal) : |
| 41 | fraction n (f ≫ g) x a s hs = f.stalkMap x (fraction n g (f x) a s hs) := by |
| 42 | change (f ≫ g).stalkMap x _ = _ |
| 43 | rw [Scheme.Hom.stalkMap_comp] |
| 44 | rfl |
| 45 | |
| 46 | theorem fraction_point {X : Scheme} (n : ℕ) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 47 | (x y : X) (he : x = y) (a s : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 48 | (hx : s.val ∉ (f x).asHomogeneousIdeal) (hy : s.val ∉ (f y).asHomogeneousIdeal) : |
| 49 | (X.presheaf.stalkCongr (.of_eq he)).hom (fraction n f x a s hx) = fraction n f y a s hy := by |
| 50 | subst y |
| 51 | simp |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GermPullback |