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.CycleClass.Thom.Affine.DiagonalEquations |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector |
| 3 | |
| 4 | /-! # Coordinate Section Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.CoordinateSectionMaps.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coordinate-difference section on the affine product |
| 11 | is the difference of the genuine pullbacks from its two factors. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.StalkCoordinates OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.CoordinateMaps |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.BalanceIdeal.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | theorem coordinateSection_naturality (R S : CommRingCat) (X Y : Scheme) |
| 23 | (e : X ≅ Spec R) (e' : Y ≅ Spec S) (f : X ⟶ Y) (g : S ⟶ R) |
| 24 | (h : f ≫ e'.hom = e.hom ≫ Spec.map g) (s : S) : |
| 25 | f.appTop (ProductIs.Constructions.StalkCoordinates.coordinateSection S Y e' s) = ProductIs.Constructions.StalkCoordinates.coordinateSection R X e (g s) := by |
| 26 | have hm := congrArg (fun k : X ⟶ Spec S => k.appTop) h |
| 27 | simp only [Scheme.Hom.comp_appTop] at hm |
| 28 | have hv := ConcreteCategory.congr_hom hm ((Scheme.ΓSpecIso S).inv s) |
| 29 | have hn := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality g) s |
| 30 | exact hv.trans (congrArg e.hom.appTop hn.symm) |
| 31 | |
| 32 | theorem coordinateSection_isoSpec (X : Scheme) [IsAffine X] (r : Γ(X, ⊤)) : |
| 33 | ProductIs.Constructions.StalkCoordinates.coordinateSection Γ(X, ⊤) X X.isoSpec r = r := by |
| 34 | have he : X.isoSpec.hom.appTop = (Scheme.ΓSpecIso Γ(X, ⊤)).hom := by |
| 35 | rw [Scheme.isoSpec_hom, Scheme.toSpecΓ_appTop] |
| 36 | unfold ProductIs.Constructions.StalkCoordinates.coordinateSection |
| 37 | rw [he, Iso.inv_hom_id_apply] |
| 38 | |
| 39 | variable (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [IsAffine Y.left] |
| 40 | |
| 41 | theorem coordinateSection_first (r : Γ(X.left, ⊤)) : |
| 42 | ProductIs.Constructions.StalkCoordinates.coordinateSection (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤))) (pullback X.hom Y.hom) |
| 43 | (ProductIs.Constructions.affineProductCoordinateIso X Y) (r ⊗ₜ[ℂ] 1) = (pullback.fst X.hom Y.hom).appTop r := by |
| 44 | have h := coordinateSection_naturality (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤))) |
| 45 | Γ(X.left, ⊤) (pullback X.hom Y.hom) X.left (ProductIs.Constructions.affineProductCoordinateIso X Y) X.left.isoSpec |
| 46 | (pullback.fst X.hom Y.hom) (CommRingCat.ofHom (algebraMap Γ(X.left, ⊤) (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤)))) |
| 47 | (ProductIs.Constructions.CoordinateMaps.coordinateIso_first X Y).symm r |
| 48 | rw [coordinateSection_isoSpec] at h |
| 49 | exact h.symm |
| 50 | |
| 51 | theorem coordinateSection_second (r : Γ(Y.left, ⊤)) : |
| 52 | ProductIs.Constructions.StalkCoordinates.coordinateSection (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤))) (pullback X.hom Y.hom) |
| 53 | (ProductIs.Constructions.affineProductCoordinateIso X Y) (1 ⊗ₜ[ℂ] r) = (pullback.snd X.hom Y.hom).appTop r := by |
| 54 | have h := coordinateSection_naturality (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤))) |
| 55 | Γ(Y.left, ⊤) (pullback X.hom Y.hom) Y.left (ProductIs.Constructions.affineProductCoordinateIso X Y) Y.left.isoSpec |
| 56 | (pullback.snd X.hom Y.hom) (CommRingCat.ofHom (Algebra.TensorProduct.includeRight : |
| 57 | Γ(Y.left, ⊤) →ₐ[ℂ] Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤)).toRingHom) |
| 58 | (ProductIs.Constructions.CoordinateMaps.coordinateIso_second X Y).symm r |
| 59 | rw [coordinateSection_isoSpec] at h |
| 60 | exact h.symm |
| 61 | |
| 62 | omit [IsAffine Y.left] in |
| 63 | theorem coordinateDifferenceSection_eq (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 64 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] (i : Fin n) : |
| 65 | DiagonalEquations.Constructions.coordinateDifferenceSection X n i = |
| 66 | (pullback.fst X.hom X.hom).appTop (EtaleSectionVector.Constructions.coordinateSections X n i) - |
| 67 | (pullback.snd X.hom X.hom).appTop (EtaleSectionVector.Constructions.coordinateSections X n i) := by |
| 68 | change ProductIs.Constructions.StalkCoordinates.coordinateSection _ _ _ (_ ⊗ₜ[ℂ] 1 - 1 ⊗ₜ[ℂ] _) = _ |
| 69 | have hs (a b : Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) : |
| 70 | ProductIs.Constructions.StalkCoordinates.coordinateSection _ _ (ProductIs.Constructions.affineProductCoordinateIso X X) (a - b) = |
| 71 | ProductIs.Constructions.StalkCoordinates.coordinateSection _ _ (ProductIs.Constructions.affineProductCoordinateIso X X) a - |
| 72 | ProductIs.Constructions.StalkCoordinates.coordinateSection _ _ (ProductIs.Constructions.affineProductCoordinateIso X X) b := by |
| 73 | simp only [ProductIs.Constructions.StalkCoordinates.coordinateSection, map_sub] |
| 74 | rw [hs, coordinateSection_first, coordinateSection_second] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.CoordinateSectionMaps.Constructions |