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.AbelianScheme.TateComparison.Branches |
| 2 | |
| 3 | /-! # Graph Form Trace -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.GraphFormTrace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A graph correspondence has exactly one branch on every affine |
| 10 | test, so its algebraic trace is the actual pullback by the graph map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Branches |
| 13 | |
| 14 | def singletonCoproductIso (S : Scheme.{0}) : |
| 15 | (∐ fun _ : Fin 1 => Over.mk (𝟙 S)) ≅ Over.mk (𝟙 S) where |
| 16 | hom := Sigma.desc (fun _ => 𝟙 _) |
| 17 | inv := Sigma.ι (fun _ : Fin 1 => Over.mk (𝟙 S)) 0 |
| 18 | hom_inv_id := by |
| 19 | apply Sigma.hom_ext |
| 20 | intro i |
| 21 | have hi : i = 0 := Subsingleton.elim _ _ |
| 22 | subst i |
| 23 | simp only [Sigma.ι_comp_desc_assoc, Category.id_comp, Category.comp_id] |
| 24 | inv_hom_id := Sigma.ι_comp_desc _ _ |
| 25 | |
| 26 | def graphBranchSplitting {Z : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (C : AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence Z) |
| 27 | [IsIso C.source.left] {T : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (t : T ⟶ Z) : C.BranchSplitting t 1 := |
| 28 | singletonCoproductIso T.left ≪≫ |
| 29 | Over.isoMk (asIso (pullback.snd C.source.left t.left)).symm (by |
| 30 | change inv (pullback.snd C.source.left t.left) ≫ pullback.snd C.source.left t.left = 𝟙 _ |
| 31 | exact IsIso.inv_hom_id _) |
| 32 | |
| 33 | theorem branchTrace_graph_pullback {Z : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (C : AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence Z) |
| 34 | [IsIso C.source.left] (τ : Z ⟶ Z) (hτ : C.target = C.source ≫ τ) |
| 35 | (form other : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.OneForms Z) (htrace : AlgebraicGeometry.AbelianScheme.TateComparison.Branches.IsBranchTrace C form other) : |
| 36 | other = AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.formsPullback τ form := by |
| 37 | apply Subtype.ext |
| 38 | funext R t |
| 39 | let e := graphBranchSplitting C t |
| 40 | have he : C.endpoint (C.splitBranch t e 0) = t ≫ τ := by |
| 41 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence.endpoint, hτ, ← Category.assoc, (C.splitBranch t e 0).property] |
| 42 | exact (htrace R t 1 e).trans (by rw [Fin.sum_univ_one, he]; rfl) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.RepresentationTheory.Theta.Geometric.GraphFormTrace |