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.HomogeneousLocalizationAutomorphism |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearChart |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.Dimension |
| 4 | |
| 5 | /-! # Split Projective Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SplitProjectiveMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A split graded coordinate quotient induces an actual closed |
| 12 | embedding of projective spaces. Both topology and stalk surjectivity |
| 13 | are proved for the native Proj morphism. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | variable {m n : ℕ} (f : Foundations.Scheme.ProjectiveSpace.projectiveGrading n →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading m) |
| 21 | (g : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (hfg : ∀ r, f (g r) = r) |
| 22 | |
| 23 | include hfg |
| 24 | |
| 25 | theorem irrelevant_le : HomogeneousIdeal.irrelevant (Foundations.Scheme.ProjectiveSpace.projectiveGrading m) ≤ |
| 26 | (HomogeneousIdeal.irrelevant (Foundations.Scheme.ProjectiveSpace.projectiveGrading n)).map f := by |
| 27 | apply Projective.LinearChart.Automorphism.irrelevant_le_of_inverse f g |
| 28 | ext r : 1 |
| 29 | exact hfg r |
| 30 | |
| 31 | def map : Foundations.Scheme.ProjectiveSpace.projectiveSpace m ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n := Proj.map f (irrelevant_le f g hfg) |
| 32 | |
| 33 | theorem injective : Function.Injective (SplitProjectiveMap.map f g hfg) := by |
| 34 | intro p q he |
| 35 | apply ProjectiveSpectrum.ext |
| 36 | apply HomogeneousIdeal.ext |
| 37 | apply Ideal.comap_injective_of_surjective f.toRingHom (fun r => ⟨g r, hfg r⟩) |
| 38 | exact congrArg (fun x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n => x.asHomogeneousIdeal.toIdeal) he |
| 39 | |
| 40 | theorem local_surjective (p : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) : |
| 41 | Function.Surjective (HomogeneousLocalization.localRingHom f |
| 42 | (p.asHomogeneousIdeal.toIdeal.comap f.toRingHom) p.asHomogeneousIdeal.toIdeal rfl) := by |
| 43 | let P := p.asHomogeneousIdeal.toIdeal |
| 44 | let Q := P.comap f.toRingHom |
| 45 | have hg : P.primeCompl ≤ Q.primeCompl.comap g := by |
| 46 | intro a ha |
| 47 | change f (g a) ∉ P |
| 48 | rw [hfg] |
| 49 | exact ha |
| 50 | have hf : Q.primeCompl ≤ P.primeCompl.comap f := le_rfl |
| 51 | intro b |
| 52 | refine ⟨HomogeneousLocalization.map g hg b, ?_⟩ |
| 53 | exact HomogeneousLocalizationAutomorphism.map_inverse g f hg hf hfg b |
| 54 | |
| 55 | theorem stalk_surjective (p : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) : Function.Surjective ((SplitProjectiveMap.map f g hfg).stalkMap p) := by |
| 56 | change Function.Surjective ((Proj.sheafedSpaceMap f (irrelevant_le f g hfg)).hom.stalkMap p) |
| 57 | rw [← Proj.localRingHom_comp_stalkIso] |
| 58 | exact (ConcreteCategory.bijective_of_isIso (Proj.stalkIso (Foundations.Scheme.ProjectiveSpace.projectiveGrading m) p).inv).surjective.comp |
| 59 | ((local_surjective f g hfg p).comp |
| 60 | (ConcreteCategory.bijective_of_isIso |
| 61 | (Proj.stalkIso (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (ProjectiveSpectrum.comap f (irrelevant_le f g hfg) p)).hom).surjective) |
| 62 | |
| 63 | theorem over_base (hC : ∀ c : ℂ, f (MvPolynomial.C c) = MvPolynomial.C c) : |
| 64 | SplitProjectiveMap.map f g hfg ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m := |
| 65 | Projective.LinearChart.OverBase.graded_over_base f (irrelevant_le f g hfg) hC |
| 66 | |
| 67 | theorem closed (hC : ∀ c : ℂ, f (MvPolynomial.C c) = MvPolynomial.C c) : IsClosedImmersion (SplitProjectiveMap.map f g hfg) := by |
| 68 | have hc : IsProper (SplitProjectiveMap.map f g hfg ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := by |
| 69 | rw [over_base f g hfg hC] |
| 70 | infer_instance |
| 71 | let := hc |
| 72 | let : IsProper (SplitProjectiveMap.map f g hfg) := IsProper.of_comp (SplitProjectiveMap.map f g hfg) (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) |
| 73 | let : SurjectiveOnStalks (SplitProjectiveMap.map f g hfg) := ⟨stalk_surjective f g hfg⟩ |
| 74 | exact ⟨.of_continuous_injective_isClosedMap (SplitProjectiveMap.map f g hfg).continuous |
| 75 | (injective f g hfg) (SplitProjectiveMap.map f g hfg).isClosedMap⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SplitProjectiveMap |