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.RepresentationTheory.Theta.Geometric.ProductFrames |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Picard.PicardPullback |
| 3 | |
| 4 | /-! # Product Picard Class -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.ProductPicardClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite native theta tensor products and their intrinsic Picard classes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme} {n : ℕ} |
| 15 | |
| 16 | def thetaProductBundle : {r : ℕ} → (Fin (r + 1) → (X ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) → AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X |
| 17 | | 0, f => AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (f 0) (AlgebraicQuotient.algebraicTwistBundle n 1) |
| 18 | | r + 1, f => (thetaProductBundle (fun k : Fin (r + 1) => f k.castSucc)).tensor |
| 19 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (f (Fin.last (r + 1))) (AlgebraicQuotient.algebraicTwistBundle n 1)) |
| 20 | |
| 21 | theorem thetaProductBundle_sheaf {r : ℕ} (f : Fin (r + 1) → (X ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) : |
| 22 | (ProductPicardClass.thetaProductBundle f).sheaf = ProductFrames.thetaProductModule f := by |
| 23 | induction r with |
| 24 | | zero => rfl |
| 25 | | succ r ih => |
| 26 | change AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (ProductPicardClass.thetaProductBundle (fun k : Fin (r + 1) => f k.castSucc)).sheaf _ = _ |
| 27 | rw [ih] |
| 28 | rfl |
| 29 | |
| 30 | theorem thetaProductBundle_class {r : ℕ} (f : Fin (r + 1) → (X ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) : |
| 31 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (ProductPicardClass.thetaProductBundle f) = |
| 32 | ∏ k, Picard.PicardPullback.picardPullback (f k) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (AlgebraicQuotient.algebraicTwistBundle n 1)) := by |
| 33 | induction r with |
| 34 | | zero => rw [Fin.prod_univ_one]; rfl |
| 35 | | succ r ih => |
| 36 | change AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (ProductPicardClass.thetaProductBundle (fun k : Fin (r + 1) => f k.castSucc)) * |
| 37 | Picard.PicardPullback.picardPullback (f (Fin.last (r + 1))) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (AlgebraicQuotient.algebraicTwistBundle n 1)) = _ |
| 38 | rw [Fin.prod_univ_castSucc, ih] |
| 39 | |
| 40 | theorem thetaProduct_classes_eq_of_iso {r s : ℕ} |
| 41 | (f : Fin (r + 1) → (X ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 42 | (g : Fin (s + 1) → (X ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 43 | (h : Nonempty (ProductFrames.thetaProductModule f ≅ ProductFrames.thetaProductModule g)) : |
| 44 | (∏ k, Picard.PicardPullback.picardPullback (f k) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (AlgebraicQuotient.algebraicTwistBundle n 1))) = |
| 45 | ∏ k, Picard.PicardPullback.picardPullback (g k) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (AlgebraicQuotient.algebraicTwistBundle n 1)) := by |
| 46 | rw [← thetaProductBundle_class, ← thetaProductBundle_class] |
| 47 | apply Quotient.sound |
| 48 | obtain ⟨e⟩ := h |
| 49 | exact ⟨eqToIso (thetaProductBundle_sheaf f) ≪≫ e ≪≫ (eqToIso (thetaProductBundle_sheaf g)).symm⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.RepresentationTheory.Theta.Geometric.ProductPicardClass |