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.SymmetricGraphInducingFormula |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.InducingPullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.TorsionHomCancellation |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Multiplication |
| 5 | |
| 6 | /-! # Symmetric Graph Descent Cancellation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SymmetricGraphDescentCancellation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual descent of the squared graph line along multiplication by |
| 13 | two induces the original homomorphism, by cancellation of finite torsion. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | universe u |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.InducingClass.Bundle |
| 20 | |
| 21 | local instance graphDescentPicardCommGroup (X : Scheme.{u}) : CommGroup (Line.Bundles.LineBundle.IsoClass X) := |
| 22 | Picard.Homomorphisms.SchemeGroup.Construction.lineBundleClassCommGroup X |
| 23 | |
| 24 | theorem inducingLineClass_tensor_self {S : Scheme.{u}} (B : Over S) [GrpObj B] |
| 25 | (L : Line.Bundles.LineBundle B.left) : Picard.PoincareBundle.InducingClass.Bundle.lineClass B (L.tensor L) = Picard.PoincareBundle.InducingClass.Bundle.lineClass B L ^ 2 := by |
| 26 | unfold Picard.PoincareBundle.InducingClass.Bundle.lineClass |
| 27 | rw [Line.Bundles.LineBundle.classOf_tensor] |
| 28 | simp only [map_mul, div_eq_mul_inv, mul_inv_rev, pow_two] |
| 29 | ac_rfl |
| 30 | |
| 31 | theorem inducingLineClass_congr {S : Scheme.{u}} (B : Over S) [GrpObj B] |
| 32 | {L M : Line.Bundles.LineBundle B.left} (h : Line.Bundles.LineBundle.classOf L = Line.Bundles.LineBundle.classOf M) : |
| 33 | Picard.PoincareBundle.InducingClass.Bundle.lineClass B L = Picard.PoincareBundle.InducingClass.Bundle.lineClass B M := by |
| 34 | simp only [Picard.PoincareBundle.InducingClass.Bundle.lineClass, h] |
| 35 | |
| 36 | variable {K : Type u} [Field K] {g : ℕ} |
| 37 | {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 38 | |
| 39 | theorem poincareAt_multiplicationProduct_class (D : Dual.Data.DualAbelianData A) |
| 40 | (q : A.scheme ⟶ D.abelian.scheme) [IsMonHom q] (n : ℕ) : |
| 41 | Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback (A.multiplication n ⊗ₘ A.multiplication n).left |
| 42 | (Line.Bundles.LineBundle.classOf (D.poincareAt q)) = |
| 43 | Line.Bundles.LineBundle.classOf (D.poincareAt (q ^ (n * n))) := by |
| 44 | let X := A.scheme ⊗ A.scheme |
| 45 | let x := fst A.scheme A.scheme |
| 46 | let y := snd A.scheme A.scheme |
| 47 | let m := A.multiplication n |
| 48 | let z := m ⊗ₘ m |
| 49 | have hx : z ≫ x = x ^ n := |
| 50 | (tensorHom_fst m m).trans (A.comp_multiplication n x) |
| 51 | have hy : z ≫ y = y ^ n := |
| 52 | (tensorHom_snd m m).trans (A.comp_multiplication n y) |
| 53 | have h₁ := congrArg (Line.Bundles.LineBundle.pullbackClass z.left) |
| 54 | (Polarization.ClassPairing.poincareAt_class_eq_pair_projections D q) |
| 55 | have h₂ := Polarization.ClassPairing.polarizationPairClass_naturality D q x y z |
| 56 | have h₃ : Polarization.ClassPairing.polarizationPairClass D q X (z ≫ x) (z ≫ y) = |
| 57 | Polarization.ClassPairing.polarizationPairClass D q X (x ^ n) (y ^ n) := by rw [hx, hy] |
| 58 | have h₄ : Polarization.ClassPairing.polarizationPairClass D q X (x ^ n) (y ^ n) = |
| 59 | Polarization.ClassPairing.polarizationPairClass D q X x y ^ (n * n) := by |
| 60 | change D.poincarePairClass X ((x ^ n) ≫ q) (y ^ n) = |
| 61 | D.poincarePairClass X (x ≫ q) y ^ (n * n) |
| 62 | rw [MonObj.pow_comp] |
| 63 | exact D.poincarePairClass_pow X (x ≫ q) y n n |
| 64 | have h₅ := congrArg (fun c : Line.Bundles.LineBundle.IsoClass X.left => c ^ (n * n)) |
| 65 | (Polarization.ClassPairing.poincareAt_class_eq_pair_projections D q).symm |
| 66 | have h₆ := (D.poincareAt_class_pow A.scheme q (n * n)).symm |
| 67 | exact h₁.trans (h₂.trans (h₃.trans (h₄.trans (h₅.trans h₆)))) |
| 68 | |
| 69 | theorem hom_eq_of_graphTensorSquare_descent |
| 70 | (D : Dual.Data.DualAbelianData A) |
| 71 | (p q : A.scheme ⟶ D.abelian.scheme) [IsMonHom p] [IsMonHom q] |
| 72 | (hs : ∀ x y : A.scheme ⊗ A.scheme ⟶ A.scheme, |
| 73 | D.poincarePairClass (A.scheme ⊗ A.scheme) (x ≫ p) y = |
| 74 | D.poincarePairClass (A.scheme ⊗ A.scheme) (y ≫ p) x) |
| 75 | (h4 : (4 : K) ≠ 0) (M : Line.Bundles.LineBundle A.scheme.left) |
| 76 | (eM : (((D.poincareAt q).tensor (M.pullback (fst A.scheme A.scheme).left)).tensor |
| 77 | (M.pullback (snd A.scheme A.scheme).left)).sheaf ≅ (M.pullback μ[A.scheme].left).sheaf) |
| 78 | (e : (M.pullback (A.multiplication 2).left).sheaf ≅ |
| 79 | ((PoincareGraph.Bundles.poincareGraphBundle D p).tensor (PoincareGraph.Bundles.poincareGraphBundle D p)).sheaf) : q = p := by |
| 80 | let Q := PoincareGraph.Bundles.poincareGraphBundle D p |
| 81 | let m := A.multiplication 2 |
| 82 | let : IsMonHom m := FormalGeometry.Completion.Multiplication.Construction.multiplication_isMonHom A.scheme 2 |
| 83 | let z := m ⊗ₘ m |
| 84 | have he : Line.Bundles.LineBundle.classOf (M.pullback m.left) = Line.Bundles.LineBundle.classOf (Q.tensor Q) := |
| 85 | Quotient.sound ⟨e⟩ |
| 86 | have hM : Line.Bundles.LineBundle.classOf (D.poincareAt q) = Picard.PoincareBundle.InducingClass.Bundle.lineClass A.scheme M := |
| 87 | Picard.PoincareBundle.InducingClass.Bundle.class_eq_of_formula A.scheme M (D.poincareAt q) eM |
| 88 | have hQ : Picard.PoincareBundle.InducingClass.Bundle.lineClass A.scheme Q = Line.Bundles.LineBundle.classOf (D.poincareAt (p ^ 2)) := |
| 89 | SymmetricGraphInducingFormula.poincareGraph_differenceClass_double D p hs |
| 90 | have hpowers : q ^ 4 = p ^ 4 := by |
| 91 | apply D.poincareAt_class_injective A.scheme |
| 92 | have h₁ := (poincareAt_multiplicationProduct_class D q 2).symm |
| 93 | have h₂ := congrArg (Picard.Homomorphisms.SchemePullback.Construction.schemePicardPullback z.left) hM |
| 94 | have h₃ := Picard.PoincareBundle.InducingPullback.Bundle.lineClass_pullback m M |
| 95 | have h₄ := inducingLineClass_congr A.scheme he |
| 96 | have h₅ := inducingLineClass_tensor_self A.scheme Q |
| 97 | have h₆ := congrArg (fun c : Line.Bundles.LineBundle.IsoClass (A.scheme ⊗ A.scheme).left => c ^ 2) hQ |
| 98 | have h₇ : Line.Bundles.LineBundle.classOf (D.poincareAt (p ^ 2)) ^ 2 = |
| 99 | Line.Bundles.LineBundle.classOf (D.poincareAt (p ^ 4)) := by |
| 100 | have hp : (p ^ 2) ^ 2 = p ^ 4 := (pow_mul p 2 2).symm |
| 101 | exact (D.poincareAt_class_pow A.scheme (p ^ 2) 2).symm.trans |
| 102 | (congrArg (fun f : A.scheme ⟶ D.abelian.scheme => Line.Bundles.LineBundle.classOf (D.poincareAt f)) hp) |
| 103 | exact h₁.trans (h₂.trans (h₃.trans (h₄.trans (h₅.trans (h₆.trans h₇))))) |
| 104 | let : IsFinite (D.abelian.multiplication 4).left := |
| 105 | FormalGeometry.Completion.Multiplication.Construction.multiplication_isFinite D.abelian.scheme 4 h4 |
| 106 | let : IsFinite (D.abelian.torsionScheme 4).hom := |
| 107 | inferInstanceAs (IsFinite (Limits.pullback.snd |
| 108 | (D.abelian.multiplication 4).left η[D.abelian.scheme].left)) |
| 109 | exact Finite.TorsionHomCancellation.abelian_hom_pow_injective_of_finite_torsion A D.abelian 4 q p hpowers |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SymmetricGraphDescentCancellation |