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.IsogenyQuotient.Kernel.Inclusion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 3 | |
| 4 | /-! # Ambient Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmbientComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Compare the ambient group built from the relative point functor with the |
| 12 | ordinary scheme pullback used by ReferenceFamily. This keeps the represented group |
| 13 | law and the native pullback group law connected by actual group maps. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | section Equivalence |
| 23 | |
| 24 | variable {C : Type*} {D : Type*} [Category.{v} C] [Category.{w} D] |
| 25 | [CartesianMonoidalCategory C] [CartesianMonoidalCategory D] |
| 26 | (e : C ≌ D) [e.functor.Monoidal] (G : C) [GrpObj G] (X : D) |
| 27 | |
| 28 | /-- A Cartesian equivalence preserves the groups of test-object points, |
| 29 | including tests not literally in the functor's image. -/ |
| 30 | def equivalencePointMulEquiv : |
| 31 | (X ⟶ e.functor.obj G) ≃* (e.inverse.obj X ⟶ G) := |
| 32 | (((yonedaGrpObj (e.functor.obj G)).mapIso (e.counitIso.app X).op).groupIsoToMulEquiv).trans |
| 33 | (MulEquiv.ofBijective (e.functor.homMonoidHom (X := e.inverse.obj X) (M := G)) |
| 34 | ⟨e.functor.map_injective, e.functor.map_surjective⟩).symm |
| 35 | |
| 36 | theorem equivalencePointMulEquiv_map (x : X ⟶ e.functor.obj G) : |
| 37 | e.functor.map (equivalencePointMulEquiv e G X x) = (e.counitIso.app X).hom ≫ x := by |
| 38 | exact (MulEquiv.ofBijective (e.functor.homMonoidHom (X := e.inverse.obj X) (M := G)) |
| 39 | ⟨e.functor.map_injective, e.functor.map_surjective⟩).apply_symm_apply _ |
| 40 | |
| 41 | end Equivalence |
| 42 | |
| 43 | variable {S : Scheme.{u}} (A P : Over S) [GrpObj A] [IsCommMonObj A] |
| 44 | |
| 45 | local instance : CartesianMonoidalCategory (Over P) := Over.cartesianMonoidalCategory P |
| 46 | local instance : BraidedCategory (Over P) := Over.braidedCategory P |
| 47 | |
| 48 | /-- The represented ambient point group, over a test of the parameter, |
| 49 | identified with the original ambient points on that test. -/ |
| 50 | def ambientPointMulEquiv (T : Over P.left) : |
| 51 | (T ⟶ (Kernel.Inclusion.Construction.ambientGroupScheme A P).X) ≃* (((Over.map P.hom).obj T) ⟶ A) := by |
| 52 | let e := Over.iteratedSliceEquiv P |
| 53 | letI : e.functor.Braided := Functor.Braided.ofChosenFiniteProducts e.functor |
| 54 | let G := Kernel.Inclusion.Construction.relativeAmbientCommGroup (A := A) (P := P) |
| 55 | let h := equivalencePointMulEquiv e G.X T |
| 56 | let j := (yonedaGrpObjIsoOfRepresentableBy G.X |
| 57 | (IsogenyQuotient.Subgroup.Construction.relativePointGroups (Kernel.Inclusion.Construction.fullRelativeSubgroup A P) ⋙ forget₂ CommGrpCat GrpCat) |
| 58 | Kernel.Inclusion.Construction.ambientPointGroups_representable).app (.op (e.inverse.obj T)) |
| 59 | exact (h.trans j.groupIsoToMulEquiv).trans Subgroup.topEquiv |
| 60 | |
| 61 | set_option backward.isDefEq.respectTransparency false in |
| 62 | theorem ambientPointMulEquiv_left (T : Over P.left) (x : T ⟶ (Kernel.Inclusion.Construction.ambientGroupScheme A P).X) : |
| 63 | (ambientPointMulEquiv A P T x).left = x.left ≫ pullback.snd P.hom A.hom := by |
| 64 | let e := Over.iteratedSliceEquiv P |
| 65 | let : e.functor.Braided := Functor.Braided.ofChosenFiniteProducts e.functor |
| 66 | let G := Kernel.Inclusion.Construction.relativeAmbientCommGroup (A := A) (P := P) |
| 67 | have hx := congrArg (fun a => a.left) (equivalencePointMulEquiv_map e G.X T x) |
| 68 | change (equivalencePointMulEquiv e G.X T x).left.left = (𝟙 T.left) ≫ x.left at hx |
| 69 | rw [Category.id_comp] at hx |
| 70 | change (equivalencePointMulEquiv e G.X T x).left.left ≫ pullback.snd P.hom A.hom = _ |
| 71 | rw [hx] |
| 72 | |
| 73 | omit [GrpObj A] [IsCommMonObj A] in |
| 74 | /-- The underlying comparison is the actual symmetry of the pullback |
| 75 | square, regarded as a morphism over the parameter. -/ |
| 76 | def ambientPullbackIso {dim : ℕ} (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dim S) : |
| 77 | (Kernel.Inclusion.Construction.ambientGroupScheme B.scheme P).X ≅ (B.pullback P.hom).scheme := |
| 78 | Over.isoMk (pullbackSymmetry P.hom B.scheme.hom) |
| 79 | (pullbackSymmetry_hom_comp_snd P.hom B.scheme.hom) |
| 80 | |
| 81 | omit [GrpObj A] [IsCommMonObj A] in |
| 82 | set_option backward.isDefEq.respectTransparency false in |
| 83 | theorem ambientPullbackIso_points {dim : ℕ} (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dim S) |
| 84 | (T : Over P.left) (x : T ⟶ (Kernel.Inclusion.Construction.ambientGroupScheme B.scheme P).X) : |
| 85 | B.baseChangePointsMulEquiv P.hom T (x ≫ (ambientPullbackIso P B).hom) = |
| 86 | ambientPointMulEquiv B.scheme P T x := by |
| 87 | apply Over.OverMorphism.ext |
| 88 | rw [ambientPointMulEquiv_left] |
| 89 | change (x.left ≫ (pullbackSymmetry P.hom B.scheme.hom).hom) ≫ |
| 90 | pullback.fst B.scheme.hom P.hom = x.left ≫ pullback.snd P.hom B.scheme.hom |
| 91 | rw [Category.assoc, pullbackSymmetry_hom_comp_fst] |
| 92 | |
| 93 | omit [GrpObj A] [IsCommMonObj A] in |
| 94 | set_option backward.isDefEq.respectTransparency false in |
| 95 | /-- Both ambient group laws are the same under the canonical scheme |
| 96 | comparison, because their test-object point equivalences preserve products. -/ |
| 97 | theorem ambientPullbackIso_isMonHom {dim : ℕ} (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dim S) : |
| 98 | IsMonHom (ambientPullbackIso P B).hom := by |
| 99 | apply GroupMaps.Construction.isMonHom_of_pointwise |
| 100 | · intro T |
| 101 | apply (B.baseChangePointsMulEquiv P.hom T).injective |
| 102 | rw [ambientPullbackIso_points, map_one, map_one] |
| 103 | · intro T x y |
| 104 | apply (B.baseChangePointsMulEquiv P.hom T).injective |
| 105 | rw [ambientPullbackIso_points, map_mul, map_mul, |
| 106 | ambientPullbackIso_points, ambientPullbackIso_points] |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmbientComparison.Construction |