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.UniversalFrames |
| 2 | |
| 3 | /-! # Stabilizers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Stabilizers.LevelCover |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Preserving a full level on every test scheme is equivalent to |
| 12 | fixing the actual base torsion sections. The extension from constant |
| 13 | labels uses naturality on their open fibers. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 19 | |
| 20 | variable {S : Scheme} {g h N : ℕ} {A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 21 | |
| 22 | def torsionPostcomp (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 23 | A.torsionFunctor N ⟶ B.torsionFunctor N where |
| 24 | app T := GrpCat.ofHom { |
| 25 | toFun x := ⟨x.val ≫ f, by |
| 26 | change (x.val ≫ f) ^ N = 1 |
| 27 | rw [← MonObj.pow_comp, show x.val ^ N = 1 from x.property, MonObj.one_comp]⟩ |
| 28 | map_one' := Subtype.ext (MonObj.one_comp f) |
| 29 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val f) } |
| 30 | naturality {T U} j := by |
| 31 | apply GrpCat.hom_ext |
| 32 | apply MonoidHom.ext |
| 33 | intro x |
| 34 | exact Subtype.ext (Category.assoc j.unop x.val f) |
| 35 | |
| 36 | def PreservesFullLevel (α : A.FullLevel N) (f : A.scheme ⟶ A.scheme) : Prop := |
| 37 | ∀ (T : Over S) (c : LocallyConstant T.left (Frame.Labels.LevelCover.Coefficients g N)), |
| 38 | (α.hom.app (.op T) c).val ≫ f = (α.hom.app (.op T) c).val |
| 39 | |
| 40 | theorem preservesFullLevel_iff_base_torsion (α : A.FullLevel N) |
| 41 | (f : A.scheme ⟶ A.scheme) [IsMonHom f] : |
| 42 | PreservesFullLevel α f ↔ ∀ x : A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest S), x.val ≫ f = x.val := by |
| 43 | constructor |
| 44 | · intro h x |
| 45 | obtain ⟨c, hc⟩ := (α.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).groupIsoToMulEquiv.surjective x |
| 46 | exact (congrArg (fun y : A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest S) => y.val ≫ f) hc).symm.trans |
| 47 | ((h (ConstantSectionsOn.ConstantSections.baseTest S) c).trans (congrArg Subtype.val hc)) |
| 48 | · intro h |
| 49 | have he : α.hom ≫ torsionPostcomp f = α.hom := by |
| 50 | apply UniversalFrames.LevelCover.torsionNatTrans_ext_on_constants |
| 51 | intro c |
| 52 | exact Subtype.ext (h (α.hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c))) |
| 53 | intro T c |
| 54 | have happ := congrArg (fun t : HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S ⟶ |
| 55 | A.torsionFunctor N => t.app (.op T)) he |
| 56 | exact congrArg (fun x : A.torsionPoints N T => x.val) (ConcreteCategory.congr_hom happ c) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! Ordered levels on different abelian schemes are compared on all |
| 61 | test schemes by their constant coefficients over the base. -/ |
| 62 | |
| 63 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 64 | open scoped _root_.CategoryTheory.MonObj |
| 65 | |
| 66 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 67 | |
| 68 | variable {S : Scheme} {g N : ℕ} {A B : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 69 | |
| 70 | theorem level_comparison_of_base_constants (α : A.FullLevel N) (β : B.FullLevel N) |
| 71 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 72 | (hf : ∀ c : Frame.Labels.LevelCover.Coefficients g N, |
| 73 | (α.hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c)).val ≫ f = |
| 74 | (β.hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c)).val) |
| 75 | (T : Over S) (c : LocallyConstant T.left (Frame.Labels.LevelCover.Coefficients g N)) : |
| 76 | (α.hom.app (.op T) c).val ≫ f = (β.hom.app (.op T) c).val := by |
| 77 | have he : α.hom ≫ torsionPostcomp f = β.hom := by |
| 78 | apply UniversalFrames.LevelCover.torsionNatTrans_ext_on_constants |
| 79 | intro a |
| 80 | exact Subtype.ext (hf a) |
| 81 | have happ := congrArg (fun t : HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S ⟶ |
| 82 | B.torsionFunctor N => t.app (.op T)) he |
| 83 | exact congrArg (fun x : B.torsionPoints N T => x.val) (ConcreteCategory.congr_hom happ c) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Stabilizers.LevelCover |