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.PELModuli.IntegralModel.IntrinsicGroupHomPoints |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.HomEvaluationCriterion |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldGroupPoints |
| 4 | |
| 5 | /-! # Intrinsic Group Hom Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicGroupHomEquations.GroupHomEquations |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The closed group equations classify precisely the native relative |
| 12 | group-scheme endomorphisms, on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {S : Scheme} (G : Over S) [GrpObj G] (T : Over S) |
| 19 | |
| 20 | def parameterSourceIso (W : Over S) (b : W ⟶ T) : |
| 21 | (Over.map T.hom).obj (Over.mk b.left) ≅ W := |
| 22 | Over.isoMk (Iso.refl W.left) (by |
| 23 | change 𝟙 W.left ≫ W.hom = b.left ≫ T.hom |
| 24 | exact (Category.id_comp W.hom).trans b.w.symm) |
| 25 | |
| 26 | def parameterPointsMulEquiv (W : Over S) (b : W ⟶ T) : |
| 27 | (Over.mk b.left ⟶ (Over.pullback T.hom).obj G) ≃* (W ⟶ G) := |
| 28 | (Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv G T.hom (Over.mk b.left)).trans |
| 29 | (FieldGroupPoints.homDomainMulEquiv (parameterSourceIso T W b).symm G) |
| 30 | |
| 31 | theorem parameterPointsMulEquiv_left (W : Over S) (b : W ⟶ T) |
| 32 | (x : Over.mk b.left ⟶ (Over.pullback T.hom).obj G) : |
| 33 | (parameterPointsMulEquiv G T W b x).left = x.left ≫ pullback.fst G.hom T.hom := by |
| 34 | change 𝟙 W.left ≫ (x.left ≫ pullback.fst G.hom T.hom) = _ |
| 35 | exact Category.id_comp _ |
| 36 | |
| 37 | theorem parameter_point_pair (W : Over S) (b : W ⟶ T) |
| 38 | (x : Over.mk b.left ⟶ (Over.pullback T.hom).obj G) : |
| 39 | (prod.lift b (parameterPointsMulEquiv G T W b x)).left ≫ |
| 40 | (IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso G T).hom = x.left := by |
| 41 | apply pullback.hom_ext |
| 42 | · rw [Category.assoc, IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso_fst, |
| 43 | ← Over.comp_left, prod.lift_snd, parameterPointsMulEquiv_left] |
| 44 | · rw [Category.assoc, IntrinsicPointedDescent.PointedLiftParameters.nativeSourceSchemeIso_snd, |
| 45 | ← Over.comp_left, prod.lift_fst] |
| 46 | exact x.w.symm |
| 47 | |
| 48 | theorem native_parameter_evaluation |
| 49 | (r : (Over.pullback T.hom).obj G ⟶ (Over.pullback T.hom).obj G) |
| 50 | (W : Over S) (b : W ⟶ T) (x : Over.mk b.left ⟶ (Over.pullback T.hom).obj G) : |
| 51 | parameterPointsMulEquiv G T W b (x ≫ r) = |
| 52 | prod.lift b (parameterPointsMulEquiv G T W b x) ≫ |
| 53 | IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv G G T r := by |
| 54 | apply Over.OverMorphism.ext |
| 55 | rw [parameterPointsMulEquiv_left] |
| 56 | simp only [Over.comp_left] |
| 57 | rw [IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv_left, |
| 58 | ← Category.assoc, ← Category.assoc, parameter_point_pair] |
| 59 | |
| 60 | def nativeEvaluationHom |
| 61 | (r : (Over.pullback T.hom).obj G ⟶ (Over.pullback T.hom).obj G) [IsMonHom r] |
| 62 | (W : Over S) (b : W ⟶ T) : (W ⟶ G) →* (W ⟶ G) := |
| 63 | let e := parameterPointsMulEquiv G T W b |
| 64 | e.toMonoidHom.comp ((IsMonHom.monoidHom r (Over.mk b.left)).comp e.symm.toMonoidHom) |
| 65 | |
| 66 | theorem nativeEvaluationHom_apply |
| 67 | (r : (Over.pullback T.hom).obj G ⟶ (Over.pullback T.hom).obj G) [IsMonHom r] |
| 68 | (W : Over S) (b : W ⟶ T) (x : W ⟶ G) : |
| 69 | nativeEvaluationHom G T r W b x = |
| 70 | prod.lift b x ≫ IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv G G T r := by |
| 71 | let e := parameterPointsMulEquiv G T W b |
| 72 | change parameterPointsMulEquiv G T W b (e.symm x ≫ r) = _ |
| 73 | rw [native_parameter_evaluation] |
| 74 | rw [e.apply_symm_apply] |
| 75 | |
| 76 | theorem native_group_equations_of_isMonHom |
| 77 | (r : (Over.pullback T.hom).obj G ⟶ (Over.pullback T.hom).obj G) [IsMonHom r] : |
| 78 | Group.HomEquations.GroupHomEquations.RespectsGroup G (IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv G G T r) := by |
| 79 | apply Group.HomEvaluationCriterion.GroupHomEquations.respectsGroup_of_evaluation |
| 80 | · intro W b |
| 81 | rw [← nativeEvaluationHom_apply] |
| 82 | exact (nativeEvaluationHom G T r W b).map_one |
| 83 | · intro W b x y |
| 84 | rw [← nativeEvaluationHom_apply, ← nativeEvaluationHom_apply, ← nativeEvaluationHom_apply] |
| 85 | exact (nativeEvaluationHom G T r W b).map_mul x y |
| 86 | |
| 87 | theorem native_group_equations_iff |
| 88 | (r : (Over.pullback T.hom).obj G ⟶ (Over.pullback T.hom).obj G) : |
| 89 | Group.HomEquations.GroupHomEquations.RespectsGroup G (IntrinsicPointedDescent.PointedLiftParameters.nativeHomEquiv G G T r) ↔ IsMonHom r := |
| 90 | ⟨IntrinsicGroupHomPoints.GroupHomEquations.native_isMonHom_of_group_equations G T r, |
| 91 | fun h => @native_group_equations_of_isMonHom S G _ T r h⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntrinsicGroupHomEquations.GroupHomEquations |