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.Polarization.ClassPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.ShearIsomorphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear.ShearClasses |
| 4 | |
| 5 | /-! # Shear Classes -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.ShearClasses |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual polarization bundle classes transform under product swaps |
| 12 | and integer shears by the quadratic change-of-variables formulas. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable {k : Type u} [Field k] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of k))} |
| 21 | variable (D : Dual.Data.DualAbelianData A) (p : A.scheme ⟶ D.abelian.scheme) [IsMonHom p] |
| 22 | |
| 23 | def polarizationSquareClass (a b c : ℤ) : Line.Bundles.LineBundle.IsoClass (A.scheme ⊗ A.scheme).left := |
| 24 | let B := ClassPairing.polarizationPairClass D p (A.scheme ⊗ A.scheme) |
| 25 | let x := fst A.scheme A.scheme |
| 26 | let y := snd A.scheme A.scheme |
| 27 | B x x ^ a * B y y ^ b * B x y ^ c |
| 28 | |
| 29 | theorem polarizationSquareClass_as_bundles (a b c : ℤ) : |
| 30 | polarizationSquareClass D p a b c = |
| 31 | Line.Bundles.LineBundle.classOf ((PoincareGraph.Bundles.poincareGraphBundle D p).pullback (fst A.scheme A.scheme).left) ^ a * |
| 32 | Line.Bundles.LineBundle.classOf ((PoincareGraph.Bundles.poincareGraphBundle D p).pullback (snd A.scheme A.scheme).left) ^ b * |
| 33 | (Line.Bundles.LineBundle.classOf (D.poincareAt p) : Line.Bundles.LineBundle.IsoClass (A.scheme ⊗ A.scheme).left) ^ c := by |
| 34 | rw [ClassPairing.graphPullback_class_eq_pair, ClassPairing.graphPullback_class_eq_pair, ClassPairing.poincareAt_class_eq_pair_projections] |
| 35 | rfl |
| 36 | |
| 37 | variable (L : Line.Bundles.LineBundle A.scheme.left) |
| 38 | variable (e : (((D.poincareAt p).tensor (L.pullback (fst A.scheme A.scheme).left)).tensor |
| 39 | (L.pullback (snd A.scheme A.scheme).left)).sheaf ≅ (L.pullback μ[A.scheme].left).sheaf) |
| 40 | |
| 41 | include L e in |
| 42 | theorem polarizationSquareClass_pullback_shear (a b c t : ℤ) : |
| 43 | Line.Bundles.LineBundle.pullbackClass (Product.ShearIsomorphisms.productShearIso A.scheme t).hom.left (polarizationSquareClass D p a b c) = |
| 44 | polarizationSquareClass D p a (b + t * c + t ^ 2 * a) (c + 2 * t * a) := by |
| 45 | let B := ClassPairing.polarizationPairClass D p (A.scheme ⊗ A.scheme) |
| 46 | let x := fst A.scheme A.scheme |
| 47 | let y := snd A.scheme A.scheme |
| 48 | let h := (Product.ShearIsomorphisms.productShearIso A.scheme t).hom |
| 49 | let r := Line.Bundles.LineBundle.pullbackClassMonoidHom h.left |
| 50 | have hs (u v : A.scheme ⊗ A.scheme ⟶ A.scheme) : B u v = B v u := |
| 51 | PairSymmetry.polarizationPairClass_symmetric D p L e u v |
| 52 | have hx : r (B x x) = B x x * B y y ^ (t ^ 2) * B x y ^ (2 * t) := by |
| 53 | change Line.Bundles.LineBundle.pullbackClass h.left (B x x) = _ |
| 54 | rw [ClassPairing.polarizationPairClass_naturality] |
| 55 | change B (h ≫ x) (h ≫ x) = _ |
| 56 | rw [Product.ShearIsomorphisms.productShearIso_hom_fst] |
| 57 | exact Bilinear.ShearClasses.symmetric_bilinear_shear_square B hs x y t |
| 58 | have hy : r (B y y) = B y y := by |
| 59 | change Line.Bundles.LineBundle.pullbackClass h.left (B y y) = _ |
| 60 | rw [ClassPairing.polarizationPairClass_naturality] |
| 61 | change B (h ≫ y) (h ≫ y) = _ |
| 62 | rw [Product.ShearIsomorphisms.productShearIso_hom_snd] |
| 63 | have hxy : r (B x y) = B x y * B y y ^ t := by |
| 64 | change Line.Bundles.LineBundle.pullbackClass h.left (B x y) = _ |
| 65 | rw [ClassPairing.polarizationPairClass_naturality] |
| 66 | change B (h ≫ x) (h ≫ y) = _ |
| 67 | rw [Product.ShearIsomorphisms.productShearIso_hom_fst, Product.ShearIsomorphisms.productShearIso_hom_snd] |
| 68 | exact Bilinear.ShearClasses.bilinear_shear_cross B x y t |
| 69 | change r (B x x ^ a * B y y ^ b * B x y ^ c) = |
| 70 | B x x ^ a * B y y ^ (b + t * c + t ^ 2 * a) * B x y ^ (c + 2 * t * a) |
| 71 | rw [r.map_mul, r.map_mul, r.map_zpow, r.map_zpow, r.map_zpow, hx, hy, hxy] |
| 72 | exact Bilinear.ShearClasses.shear_three_class_powers (B x x) (B y y) (B x y) a b c t |
| 73 | |
| 74 | include L e in |
| 75 | theorem polarizationSquareClass_pullback_swap (a b c : ℤ) : |
| 76 | Line.Bundles.LineBundle.pullbackClass (Product.ShearIsomorphisms.productSwapIso A.scheme).hom.left (polarizationSquareClass D p a b c) = |
| 77 | polarizationSquareClass D p b a c := by |
| 78 | let B := ClassPairing.polarizationPairClass D p (A.scheme ⊗ A.scheme) |
| 79 | let x := fst A.scheme A.scheme |
| 80 | let y := snd A.scheme A.scheme |
| 81 | let h := (Product.ShearIsomorphisms.productSwapIso A.scheme).hom |
| 82 | let r := Line.Bundles.LineBundle.pullbackClassMonoidHom h.left |
| 83 | have hx : r (B x x) = B y y := by |
| 84 | change Line.Bundles.LineBundle.pullbackClass h.left (B x x) = _ |
| 85 | rw [ClassPairing.polarizationPairClass_naturality] |
| 86 | change B (h ≫ x) (h ≫ x) = _ |
| 87 | rw [Product.ShearIsomorphisms.productSwapIso_hom_fst] |
| 88 | have hy : r (B y y) = B x x := by |
| 89 | change Line.Bundles.LineBundle.pullbackClass h.left (B y y) = _ |
| 90 | rw [ClassPairing.polarizationPairClass_naturality] |
| 91 | change B (h ≫ y) (h ≫ y) = _ |
| 92 | rw [Product.ShearIsomorphisms.productSwapIso_hom_snd] |
| 93 | have hxy : r (B x y) = B x y := by |
| 94 | change Line.Bundles.LineBundle.pullbackClass h.left (B x y) = _ |
| 95 | rw [ClassPairing.polarizationPairClass_naturality] |
| 96 | change B (h ≫ x) (h ≫ y) = _ |
| 97 | rw [Product.ShearIsomorphisms.productSwapIso_hom_fst, Product.ShearIsomorphisms.productSwapIso_hom_snd] |
| 98 | exact PairSymmetry.polarizationPairClass_symmetric D p L e y x |
| 99 | change r (B x x ^ a * B y y ^ b * B x y ^ c) = B x x ^ b * B y y ^ a * B x y ^ c |
| 100 | rw [r.map_mul, r.map_mul, r.map_zpow, r.map_zpow, r.map_zpow, hx, hy, hxy] |
| 101 | ac_rfl |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.ShearClasses |