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.ReferenceFamily.IndependentFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.LevelFamilies |
| 3 | |
| 4 | /-! # Frame Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatibility with HilbertConstruction's actual geometric restriction of full |
| 11 | levels. Classifying frames commute with changes of test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 17 | |
| 18 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 19 | |
| 20 | theorem relativeCoefficients_left (T : Over S) |
| 21 | (α : HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N T.left ⟶ (A.pullback T.hom).torsionFunctor N) |
| 22 | (c : Labels.LevelCover.Coefficients g N) : |
| 23 | (IndependentFrames.LevelCover.relativeCoefficients A T α c).val.left = |
| 24 | (α.app (.op (ConstantSectionsOn.ConstantSections.baseTest T.left)) (LocallyConstant.const T.left c)).val.left ≫ |
| 25 | pullback.fst A.scheme.hom T.hom := |
| 26 | IndependentFrames.LevelCover.relativePointEquiv_left A T T (𝟙 T) _ |
| 27 | |
| 28 | theorem pullbackCongrIso_hom_left_fst {B : Scheme.{0}} (f h : B ⟶ S) (w : f = h) : |
| 29 | (A.pullbackCongrIso f h w).hom.left ≫ pullback.fst A.scheme.hom h = |
| 30 | pullback.fst A.scheme.hom f := by |
| 31 | subst h |
| 32 | exact Category.id_comp _ |
| 33 | |
| 34 | theorem level_mappedIdentity_left {B C : Scheme.{0}} {d : ℕ} |
| 35 | (D : HilbertConstruction.Abelian.Schemes.AbelianScheme d B) (α : D.FullLevel N) (f : C ⟶ B) |
| 36 | (c : Multiplicative (Fin (2 * d) → ZMod N)) : |
| 37 | (α.hom.app (.op ((Over.map f).obj (ConstantSectionsOn.ConstantSections.baseTest C))) (LocallyConstant.const C c)).val.left = |
| 38 | (α.hom.app (.op (Over.mk f)) (LocallyConstant.const C c)).val.left := by |
| 39 | let j : Over.mk f ⟶ (Over.map f).obj (ConstantSectionsOn.ConstantSections.baseTest C) := |
| 40 | Over.homMk (𝟙 C) ((Category.id_comp _).trans (Category.id_comp _)) |
| 41 | have hn := ConcreteCategory.congr_hom (α.hom.naturality j.op) (LocallyConstant.const C c) |
| 42 | have hleft := congrArg (fun x : D.torsionPoints N (Over.mk f) => x.val.left) hn |
| 43 | exact ((Category.id_comp _).symm.trans hleft.symm) |
| 44 | |
| 45 | /-- Geometric restriction preserves the actual coefficient sections |
| 46 | after forgetting the change of base. -/ |
| 47 | theorem relativeCoefficients_restrict {T U : Over S} (j : T ⟶ U) |
| 48 | (α : (A.pullback U.hom).FullLevel N) (c : Labels.LevelCover.Coefficients g N) : |
| 49 | IndependentFrames.LevelCover.relativeCoefficients A T (α.restrict j).hom c = |
| 50 | A.torsionPullback N j (IndependentFrames.LevelCover.relativeCoefficients A U α.hom c) := by |
| 51 | apply Subtype.ext |
| 52 | apply Over.OverMorphism.ext |
| 53 | rw [relativeCoefficients_left] |
| 54 | let x := ((α.pullback j.left).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest T.left)) |
| 55 | (LocallyConstant.const T.left c)).val |
| 56 | have hx : x.left ≫ pullback.fst (A.pullback U.hom).scheme.hom j.left = |
| 57 | (α.hom.app (.op ((Over.map j.left).obj (ConstantSectionsOn.ConstantSections.baseTest T.left))) |
| 58 | (LocallyConstant.const T.left c)).val.left := |
| 59 | congrArg Over.Hom.left (α.pullback_basis j.left (ConstantSectionsOn.ConstantSections.baseTest T.left) (LocallyConstant.const T.left c)) |
| 60 | have hcomp := A.pullbackCompIso_inv_left_fst U.hom j.left |
| 61 | have hcongr := pullbackCongrIso_hom_left_fst A (j.left ≫ U.hom) T.hom j.w |
| 62 | have hn := IndependentFrames.LevelCover.relativeCoefficients_natural A U T j α.hom c |
| 63 | have hright : (A.torsionPullback N j (IndependentFrames.LevelCover.relativeCoefficients A U α.hom c)).val.left = |
| 64 | (α.hom.app (.op (Over.mk j.left)) (LocallyConstant.const T.left c)).val.left ≫ |
| 65 | pullback.fst A.scheme.hom U.hom := |
| 66 | (congrArg (fun x : A.torsionPoints N T => x.val.left) hn).trans |
| 67 | (IndependentFrames.LevelCover.relativePointEquiv_left A U T j _) |
| 68 | change ((x.left ≫ (A.pullbackCompIso U.hom j.left).inv.left) ≫ |
| 69 | (A.pullbackCongrIso (j.left ≫ U.hom) T.hom j.w).hom.left) ≫ |
| 70 | pullback.fst A.scheme.hom T.hom = _ |
| 71 | exact (Category.assoc _ _ _).trans |
| 72 | ((congrArg (fun z => (x.left ≫ (A.pullbackCompIso U.hom j.left).inv.left) ≫ z) hcongr).trans |
| 73 | ((Category.assoc _ _ _).trans |
| 74 | ((congrArg (fun z => x.left ≫ z) hcomp).trans |
| 75 | ((Category.assoc _ _ _).symm.trans |
| 76 | ((congrArg (fun z => z ≫ pullback.fst A.scheme.hom U.hom) hx).trans |
| 77 | ((congrArg (fun z => z ≫ pullback.fst A.scheme.hom U.hom) |
| 78 | (level_mappedIdentity_left (A.pullback U.hom) α j.left c)).trans hright.symm)))))) |
| 79 | |
| 80 | /-- The unique classifying map for a full level respects the actual |
| 81 | geometric restriction operation, including its pullback comparisons. -/ |
| 82 | theorem frameOfRelativeLevel_restrict [NeZero N] {T U : Over S} (j : T ⟶ U) |
| 83 | (α : (A.pullback U.hom).FullLevel N) : |
| 84 | IndependentFrames.LevelCover.frameOfRelativeLevel A T (α.restrict j) = j ≫ IndependentFrames.LevelCover.frameOfRelativeLevel A U α := by |
| 85 | apply (IndependentFrames.LevelCover.independentFramePointsEquiv A T).injective |
| 86 | apply Subtype.ext |
| 87 | apply MonoidHom.ext |
| 88 | intro c |
| 89 | have hT := IndependentFrames.LevelCover.frameOfRelativeMap_coefficients A T (α.restrict j).hom |
| 90 | (fun V => ((α.restrict j).app (.op V)).groupIsoToMulEquiv.injective) |
| 91 | have hU := IndependentFrames.LevelCover.frameOfRelativeMap_coefficients A U α.hom |
| 92 | (fun V => (α.app (.op V)).groupIsoToMulEquiv.injective) |
| 93 | change Labels.LevelCover.frameTorsionHom A T (IndependentFrames.LevelCover.frameOfRelativeLevel A T (α.restrict j)) c = |
| 94 | Labels.LevelCover.frameTorsionHom A T (j ≫ IndependentFrames.LevelCover.frameOfRelativeLevel A U α) c |
| 95 | exact (congrArg (fun h : Labels.LevelCover.Coefficients g N →* A.torsionPoints N T => h c) hT).trans |
| 96 | ((relativeCoefficients_restrict A j α c).trans |
| 97 | ((congrArg (A.torsionPullback N j) |
| 98 | (congrArg (fun h : Labels.LevelCover.Coefficients g N →* A.torsionPoints N U => h c) hU).symm).trans |
| 99 | (Labels.LevelCover.frameTorsionHom_natural A j (IndependentFrames.LevelCover.frameOfRelativeLevel A U α) c))) |
| 100 | |
| 101 | theorem frameOfRelativeLevel_injective [NeZero N] (T : Over S) : |
| 102 | Function.Injective (IndependentFrames.LevelCover.frameOfRelativeLevel (N := N) A T) := by |
| 103 | intro α β h |
| 104 | apply (IndependentFrames.LevelCover.fullLevelFrameIsoEquiv A T).injective |
| 105 | exact Subtype.ext h |
| 106 | |
| 107 | /-- The full-level family functor with HilbertConstruction's geometric restriction maps |
| 108 | is defined without a chosen level on the original abelian scheme. The |
| 109 | functor laws follow from the actual classifying frame maps. -/ |
| 110 | def fullLevelFamilyFunctor [NeZero N] : (Over S)ᵒᵖ ⥤ Type 1 where |
| 111 | obj T := (A.pullback T.unop.hom).FullLevel N |
| 112 | map f := TypeCat.ofHom (fun α => α.restrict f.unop) |
| 113 | map_id T := by |
| 114 | ext α |
| 115 | apply frameOfRelativeLevel_injective A T.unop |
| 116 | exact (frameOfRelativeLevel_restrict A (𝟙 T.unop) α).trans (Category.id_comp _) |
| 117 | map_comp {T U V} f h := by |
| 118 | ext α |
| 119 | apply frameOfRelativeLevel_injective A V.unop |
| 120 | exact (frameOfRelativeLevel_restrict A (h.unop ≫ f.unop) α).trans |
| 121 | ((Category.assoc _ _ _).trans |
| 122 | ((congrArg (fun q => h.unop ≫ q) (frameOfRelativeLevel_restrict A f.unop α).symm).trans |
| 123 | (frameOfRelativeLevel_restrict A h.unop (α.restrict f.unop)).symm)) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover |