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.BranchSplitting |
| 2 | |
| 3 | /-! # Branch Fibers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A genuine branch splitting enumerates every geometric source-fiber |
| 10 | point exactly once, with its original target map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | section ConstantPoints |
| 15 | |
| 16 | universe u |
| 17 | variable (S : Scheme.{u}) (I : Type u) {k : Type u} [Field k] |
| 18 | (b : Spec (.of k) ⟶ S) |
| 19 | |
| 20 | def BranchFibers.constantFieldPointsEquiv : (Over.mk b ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I) ≃ I := by |
| 21 | let : Unique (Over.mk b).left := inferInstanceAs (Unique (Spec (.of k))) |
| 22 | exact (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv S I (Over.mk b)).trans { |
| 23 | toFun c := c default |
| 24 | invFun i := LocallyConstant.const _ i |
| 25 | left_inv c := LocallyConstant.ext (fun x => congrArg c (Subsingleton.elim _ _)) |
| 26 | right_inv _ := rfl } |
| 27 | |
| 28 | def BranchFibers.constantFieldPoint (i : I) : Over.mk b ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I := |
| 29 | Over.homMk (b ≫ Sigma.ι (fun _ : I => S) i) (by |
| 30 | change (b ≫ Sigma.ι (fun _ : I => S) i) ≫ Sigma.desc (fun _ : I => 𝟙 S) = b |
| 31 | rw [Category.assoc, Sigma.ι_comp_desc, Category.comp_id]) |
| 32 | |
| 33 | theorem BranchFibers.constantFieldPointsEquiv_point (i : I) : |
| 34 | BranchFibers.constantFieldPointsEquiv S I b (BranchFibers.constantFieldPoint S I b i) = i := by |
| 35 | change AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex S I ((b ≫ Sigma.ι (fun _ : I => S) i) default) = i |
| 36 | exact AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι i (b default) |
| 37 | |
| 38 | theorem BranchFibers.constantFieldPointsEquiv_symm (i : I) : |
| 39 | (BranchFibers.constantFieldPointsEquiv S I b).symm i = BranchFibers.constantFieldPoint S I b i := |
| 40 | (BranchFibers.constantFieldPointsEquiv S I b).symm_apply_eq.mpr (BranchFibers.constantFieldPointsEquiv_point S I b i).symm |
| 41 | |
| 42 | end ConstantPoints |
| 43 | |
| 44 | variable {B : Scheme.{0}} {X : Over B} (C : Correspondences.EtaleCorrespondence X) |
| 45 | {T T' : Over B} (x : T ⟶ X) (a : T' ⟶ T) |
| 46 | |
| 47 | /-- Pullback sections over an arbitrary map into the test scheme are |
| 48 | exactly the branches of the composed test point. -/ |
| 49 | def Correspondences.EtaleCorrespondence.relativeFiberSectionEquiv : C.Fiber (a ≫ x) ≃ |
| 50 | (Over.mk a.left ⟶ Over.mk (pullback.snd C.source.left x.left)) where |
| 51 | toFun c := Over.homMk (pullback.lift c.val.left a.left (by |
| 52 | exact congrArg (fun z => z.left) c.property)) (pullback.lift_snd _ _ _) |
| 53 | invFun p := ⟨Over.homMk (p.left ≫ pullback.fst C.source.left x.left) (by |
| 54 | have hp : p.left ≫ pullback.snd C.source.left x.left = a.left := p.w |
| 55 | calc |
| 56 | _ = p.left ≫ pullback.fst C.source.left x.left ≫ C.source.left ≫ X.hom := by |
| 57 | rw [C.source.w] |
| 58 | simp only [Category.assoc] |
| 59 | _ = p.left ≫ pullback.snd C.source.left x.left ≫ x.left ≫ X.hom := by |
| 60 | rw [← Category.assoc (pullback.fst C.source.left x.left), pullback.condition] |
| 61 | simp only [Category.assoc] |
| 62 | _ = T'.hom := by rw [← Category.assoc p.left, hp, x.w, a.w]), by |
| 63 | have hp : p.left ≫ pullback.snd C.source.left x.left = a.left := p.w |
| 64 | apply Over.OverMorphism.ext |
| 65 | change (p.left ≫ pullback.fst C.source.left x.left) ≫ C.source.left = a.left ≫ x.left |
| 66 | rw [Category.assoc, pullback.condition, ← Category.assoc, hp]⟩ |
| 67 | left_inv c := by |
| 68 | apply Subtype.ext |
| 69 | apply Over.OverMorphism.ext |
| 70 | exact pullback.lift_fst _ _ _ |
| 71 | right_inv p := by |
| 72 | apply Over.OverMorphism.ext |
| 73 | apply pullback.hom_ext |
| 74 | · exact pullback.lift_fst _ _ _ |
| 75 | · exact (pullback.lift_snd _ _ _).trans p.w.symm |
| 76 | |
| 77 | variable {k : Type} [Field k] {b : Spec (.of k) ⟶ B} |
| 78 | |
| 79 | /-- The labels of a splitting are in bijection with all actual geometric |
| 80 | branches after any field-valued base change of its test scheme. -/ |
| 81 | def Correspondences.EtaleCorrespondence.splitFiberEquiv (a : Over.mk b ⟶ T) {n : ℕ} (e : C.BranchSplitting x n) : |
| 82 | Fin n ≃ C.Fiber (a ≫ x) := |
| 83 | (BranchFibers.constantFieldPointsEquiv T.left (Fin n) a.left).symm.trans |
| 84 | ((Iso.homCongr (Iso.refl _) |
| 85 | ((TateComparison.BranchSplitting.constantCoproductIso T.left (Fin n)).symm ≪≫ e)).trans |
| 86 | (C.relativeFiberSectionEquiv x a).symm) |
| 87 | |
| 88 | theorem Correspondences.EtaleCorrespondence.splitFiberEquiv_val (a : Over.mk b ⟶ T) {n : ℕ} |
| 89 | (e : C.BranchSplitting x n) (i : Fin n) : |
| 90 | (C.splitFiberEquiv x a e i).val = a ≫ (C.splitBranch x e i).val := by |
| 91 | simp only [Correspondences.EtaleCorrespondence.splitFiberEquiv, Equiv.trans_apply, Iso.homCongr_apply, Iso.refl_inv, |
| 92 | Category.id_comp, Iso.trans_hom, Iso.symm_hom, BranchFibers.constantFieldPointsEquiv_symm] |
| 93 | apply Over.OverMorphism.ext |
| 94 | change (((a.left ≫ Sigma.ι (fun _ : Fin n => T.left) i) ≫ |
| 95 | (Sigma.desc (fun j : Fin n => (Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) j).left)) ≫ e.hom.left) ≫ |
| 96 | pullback.fst C.source.left x.left) = |
| 97 | a.left ≫ ((Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) i).left ≫ e.hom.left) ≫ |
| 98 | pullback.fst C.source.left x.left |
| 99 | simp only [Category.assoc, Sigma.ι_comp_desc_assoc] |
| 100 | |
| 101 | theorem Correspondences.EtaleCorrespondence.splitFiberEquiv_endpoint (a : Over.mk b ⟶ T) {n : ℕ} |
| 102 | (e : C.BranchSplitting x n) (i : Fin n) : |
| 103 | C.endpoint (C.splitFiberEquiv x a e i) = a ≫ C.endpoint (C.splitBranch x e i) := by |
| 104 | rw [Correspondences.EtaleCorrespondence.endpoint, Correspondences.EtaleCorrespondence.splitFiberEquiv_val, Category.assoc] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |