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.GradedCoordinateEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chart.OverlapMaps |
| 3 | |
| 4 | /-! # Graded Fraction Map Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedFractionMapNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual homogeneous-fraction morphisms commute with a graded |
| 11 | map after transforming coordinate values. This includes linear coordinate |
| 12 | changes and supplies their local comparison with section-defined maps. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {R B : Type u} [CommRing R] [CommRing B] {n : ℕ} |
| 18 | variable (g : Projective.ProjectivePresentations.coordinateGrading R n →+*ᵍ Projective.ProjectivePresentations.coordinateGrading R n) |
| 19 | variable (hg : ∀ r : R, g (MvPolynomial.C r) = MvPolynomial.C r) |
| 20 | variable (c : R →+* B) (v : Fin (n + 1) → B) |
| 21 | |
| 22 | include hg in |
| 23 | theorem homogeneousFractionEvaluation_gradedMap (f : Projective.ProjectivePresentations.coordinateRing R n) (d : ℕ) |
| 24 | (hfd : f ∈ Projective.ProjectivePresentations.coordinateGrading R n d) |
| 25 | (hf : IsUnit (MvPolynomial.eval₂Hom c (GradedCoordinateEvaluation.gradedCoordinateValues g c v) f)) |
| 26 | (hgF : IsUnit (MvPolynomial.eval₂Hom c v (g f))) : |
| 27 | (Homogeneous.Fractions.homogeneousFractionEvaluation c v (g f) hgF).comp (HomogeneousLocalization.Away.map g f) = |
| 28 | Homogeneous.Fractions.homogeneousFractionEvaluation c (GradedCoordinateEvaluation.gradedCoordinateValues g c v) f hf := by |
| 29 | obtain ⟨a, ha⟩ := isUnit_iff_exists_inv.mp hf |
| 30 | have hga : MvPolynomial.eval₂Hom c v (g f) * a = 1 := |
| 31 | (congrArg (fun x => x * a) (GradedCoordinateEvaluation.gradedCoordinateEvaluation_apply g hg c v f)).trans ha |
| 32 | apply RingHom.ext |
| 33 | intro z |
| 34 | obtain ⟨k, p, hp, rfl⟩ := HomogeneousLocalization.Away.mk_surjective (Projective.ProjectivePresentations.coordinateGrading R n) hfd z |
| 35 | change Homogeneous.Fractions.homogeneousFractionEvaluation c v (g f) hgF |
| 36 | (HomogeneousLocalization.Away.map g f (HomogeneousLocalization.Away.mk (Projective.ProjectivePresentations.coordinateGrading R n) hfd k p hp)) = _ |
| 37 | rw [HomogeneousLocalization.Away.map_mk] |
| 38 | exact (Homogeneous.Fractions.homogeneousFractionEvaluation_mk c v (g f) hgF d (g.map_mem hfd) k (g p) (g.map_mem hp) a hga).trans |
| 39 | ((congrArg (fun q => q * a ^ k) (GradedCoordinateEvaluation.gradedCoordinateEvaluation_apply g hg c v p)).trans |
| 40 | (Homogeneous.Fractions.homogeneousFractionEvaluation_mk c (GradedCoordinateEvaluation.gradedCoordinateValues g c v) f hf d hfd k p hp a ha).symm) |
| 41 | |
| 42 | variable {T : Scheme.{u}} |
| 43 | |
| 44 | include hg in |
| 45 | theorem projectiveFractionMap_gradedMap |
| 46 | (hi : HomogeneousIdeal.irrelevant (Projective.ProjectivePresentations.coordinateGrading R n) ≤ |
| 47 | (HomogeneousIdeal.irrelevant (Projective.ProjectivePresentations.coordinateGrading R n)).map g) |
| 48 | (c : R →+* Γ(T, ⊤)) (v : Fin (n + 1) → Γ(T, ⊤)) (f : Projective.ProjectivePresentations.coordinateRing R n) (d : ℕ) |
| 49 | (hfd : f ∈ Projective.ProjectivePresentations.coordinateGrading R n d) (hd : 0 < d) |
| 50 | (hf : IsUnit (MvPolynomial.eval₂Hom c (GradedCoordinateEvaluation.gradedCoordinateValues g c v) f)) |
| 51 | (hgF : IsUnit (MvPolynomial.eval₂Hom c v (g f))) : |
| 52 | Chart.OverlapMaps.projectiveFractionMap c v (g f) hgF d (g.map_mem hfd) hd ≫ Proj.map g hi = |
| 53 | Chart.OverlapMaps.projectiveFractionMap c (GradedCoordinateEvaluation.gradedCoordinateValues g c v) f hf d hfd hd := by |
| 54 | have he := homogeneousFractionEvaluation_gradedMap g hg c v f d hfd hf hgF |
| 55 | change (T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom (Homogeneous.Fractions.homogeneousFractionEvaluation c v (g f) hgF)) ≫ |
| 56 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) (g f) (g.map_mem hfd) hd) ≫ Proj.map g hi = _ |
| 57 | rw [Category.assoc, Category.assoc, Proj.awayι_comp_map g hi hd f hfd, ← Spec.map_comp_assoc] |
| 58 | change T.toSpecΓ ≫ Spec.map (CommRingCat.ofHom |
| 59 | ((Homogeneous.Fractions.homogeneousFractionEvaluation c v (g f) hgF).comp (HomogeneousLocalization.Away.map g f))) ≫ |
| 60 | Proj.awayι (Projective.ProjectivePresentations.coordinateGrading R n) f hfd hd = _ |
| 61 | rw [he] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedFractionMapNaturality |