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.SheafCohomology.Projective.CoordinateBundlePullback |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveI |
| 3 | |
| 4 | /-! # Scalar Bundle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ScalarBundle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient-ring isomorphisms induce actual projective isomorphisms |
| 11 | over the base and preserve the concrete hyperplane line bundle. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear |
| 17 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 18 | |
| 19 | theorem projectiveScalarMap_comp {R S T : Type} [CommRing R] [CommRing S] [CommRing T] |
| 20 | (f : R →+* S) (g : S →+* T) (n : ℕ) : |
| 21 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map g n ≫ IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map f n = |
| 22 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map (g.comp f) n := by |
| 23 | unfold IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map |
| 24 | rw [← Proj.map_comp] |
| 25 | congr 1 |
| 26 | apply GradedRingHom.ext |
| 27 | intro p |
| 28 | exact MvPolynomial.map_map f g p |
| 29 | |
| 30 | theorem projectiveScalarMap_id (R : Type) [CommRing R] (n : ℕ) : |
| 31 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map (RingHom.id R) n = 𝟙 (IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear.space R n) := by |
| 32 | have h : IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.graded (RingHom.id R) n = GradedRingHom.id (IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear.grading R n) := by |
| 33 | apply GradedRingHom.ext |
| 34 | intro p |
| 35 | exact MvPolynomial.map_id p |
| 36 | unfold IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map |
| 37 | have he : Proj.map (IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.graded (RingHom.id R) n) |
| 38 | (IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.irrelevant_le (RingHom.id R) n) = |
| 39 | Proj.map (GradedRingHom.id (IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear.grading R n)) (by simp) := by |
| 40 | congr 1 |
| 41 | exact he.trans Proj.map_id |
| 42 | |
| 43 | def projectiveScalarIso {R S : Type} [CommRing R] [CommRing S] (e : R ≃+* S) (n : ℕ) : |
| 44 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear.space S n ≅ IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear.space R n where |
| 45 | hom := IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map e.toRingHom n |
| 46 | inv := IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map e.symm.toRingHom n |
| 47 | hom_inv_id := by |
| 48 | rw [projectiveScalarMap_comp] |
| 49 | have h : e.toRingHom.comp e.symm.toRingHom = RingHom.id S := by |
| 50 | ext r |
| 51 | exact e.apply_symm_apply r |
| 52 | rw [h, projectiveScalarMap_id] |
| 53 | inv_hom_id := by |
| 54 | rw [projectiveScalarMap_comp] |
| 55 | have h : e.symm.toRingHom.comp e.toRingHom = RingHom.id R := by |
| 56 | ext r |
| 57 | exact e.symm_apply_apply r |
| 58 | rw [h, projectiveScalarMap_id] |
| 59 | |
| 60 | theorem relativeProjectiveBase_eq (R : Type) [CommRing R] (n : ℕ) : |
| 61 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Base.base R n = |
| 62 | MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 1)) := by |
| 63 | unfold IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Base.base MvPolynomialClosure.MvPolynomial.homogeneousProjπ |
| 64 | congr 2 |
| 65 | |
| 66 | theorem projectiveScalarMap_over {R S : Type} [CommRing R] [CommRing S] |
| 67 | (f : R →+* S) (n : ℕ) : |
| 68 | IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map f n ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) = |
| 69 | MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := S) ≫ Spec.map (CommRingCat.ofHom f) := by |
| 70 | simpa only [relativeProjectiveBase_eq] using IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Base.scalar_over f n |
| 71 | |
| 72 | def projectiveScalarMap_bundleIso {R S : Type} [CommRing R] [CommRing S] |
| 73 | (f : R →+* S) (n : ℕ) (j l : Fin (n + 1)) : |
| 74 | (Scheme.Modules.pullback (IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.map f n)).obj |
| 75 | (Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := R) j).sheaf ≅ |
| 76 | (Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := S) l).sheaf := |
| 77 | (CoordinateBundlePullback.coordinatePreservingMap_bundle_iso n (IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.graded f n) |
| 78 | (IntersectionTheory.ProjectionFormula.Relative.ProjectiveI.Scalars.irrelevant_le f n) (fun i => MvPolynomial.map_X f i) j l).some |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ScalarBundle |