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.BranchFibers |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Dual.BranchSplitting |
| 3 | |
| 4 | /-! # Singleton Branch Fibers -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.SingletonBranchFibers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A splitting enumerates every branch over a test scheme with one |
| 11 | underlying point, including nonreduced dual-number tests. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BranchFibers |
| 14 | |
| 15 | def constantSingletonPointsEquiv (S : Scheme) (I : Type) (T : Over S) [Unique T.left] : |
| 16 | (T ⟶ AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I) ≃ I := |
| 17 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv S I T).trans { |
| 18 | toFun c := c default |
| 19 | invFun i := LocallyConstant.const _ i |
| 20 | left_inv c := LocallyConstant.ext (fun x => congrArg c (Subsingleton.elim default x)) |
| 21 | right_inv _ := rfl } |
| 22 | |
| 23 | def constantSingletonPoint (S : Scheme) (I : Type) (T : Over S) (i : I) : |
| 24 | T ⟶ AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I := |
| 25 | Over.homMk (T.hom ≫ Sigma.ι (fun _ : I => S) i) (by |
| 26 | change (T.hom ≫ Sigma.ι (fun _ : I => S) i) ≫ Sigma.desc (fun _ : I => 𝟙 S) = T.hom |
| 27 | rw [Category.assoc, Sigma.ι_comp_desc, Category.comp_id]) |
| 28 | |
| 29 | theorem constantSingletonPointsEquiv_point (S : Scheme) (I : Type) (T : Over S) |
| 30 | [Unique T.left] (i : I) : |
| 31 | constantSingletonPointsEquiv S I T (constantSingletonPoint S I T i) = i := |
| 32 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι i (T.hom default) |
| 33 | |
| 34 | theorem constantSingletonPointsEquiv_symm (S : Scheme) (I : Type) (T : Over S) |
| 35 | [Unique T.left] (i : I) : |
| 36 | (constantSingletonPointsEquiv S I T).symm i = constantSingletonPoint S I T i := |
| 37 | (constantSingletonPointsEquiv S I T).symm_apply_eq.mpr |
| 38 | (constantSingletonPointsEquiv_point S I T i).symm |
| 39 | |
| 40 | def splitSingletonFiberEquiv {B : Scheme} {X : Over B} (C : AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence X) |
| 41 | {T T' : Over B} (t : T ⟶ X) (a : T' ⟶ T) [Unique T'.left] |
| 42 | {n : ℕ} (e : C.BranchSplitting t n) : Fin n ≃ C.Fiber (a ≫ t) := by |
| 43 | let : Unique (Over.mk a.left).left := inferInstanceAs (Unique T'.left) |
| 44 | exact (constantSingletonPointsEquiv T.left (Fin n) (Over.mk a.left)).symm.trans |
| 45 | ((Iso.homCongr (Iso.refl _) |
| 46 | ((AlgebraicGeometry.AbelianScheme.TateComparison.BranchSplitting.constantCoproductIso T.left (Fin n)).symm ≪≫ e)).trans |
| 47 | (C.relativeFiberSectionEquiv t a).symm) |
| 48 | |
| 49 | theorem splitSingletonFiberEquiv_val {B : Scheme} {X : Over B} (C : AlgebraicGeometry.AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence X) |
| 50 | {T T' : Over B} (t : T ⟶ X) (a : T' ⟶ T) [Unique T'.left] |
| 51 | {n : ℕ} (e : C.BranchSplitting t n) (i : Fin n) : |
| 52 | (splitSingletonFiberEquiv C t a e i).val = a ≫ (C.splitBranch t e i).val := by |
| 53 | let : Unique (Over.mk a.left).left := inferInstanceAs (Unique T'.left) |
| 54 | simp only [splitSingletonFiberEquiv, Equiv.trans_apply, Iso.homCongr_apply, Iso.refl_inv, |
| 55 | Category.id_comp, Iso.trans_hom, Iso.symm_hom, constantSingletonPointsEquiv_symm] |
| 56 | apply Over.OverMorphism.ext |
| 57 | change (((a.left ≫ Sigma.ι (fun _ : Fin n => T.left) i) ≫ |
| 58 | (Sigma.desc (fun j : Fin n => (Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) j).left)) ≫ e.hom.left) ≫ |
| 59 | pullback.fst C.source.left t.left) = |
| 60 | a.left ≫ ((Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) i).left ≫ e.hom.left) ≫ |
| 61 | pullback.fst C.source.left t.left |
| 62 | simp only [Category.assoc, Sigma.ι_comp_desc_assoc] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.RepresentationTheory.Theta.Geometric.SingletonBranchFibers |