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.Integral.ActionScheme |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Generator |
| 3 | |
| 4 | /-! # Action Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ActionFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual integral-action functor and its faithful primitive-generator |
| 11 | map into Presentations's endomorphism tuples. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable {S : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 18 | (E : Type) [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | |
| 20 | def integralActionFunctor : (Over S)ᵒᵖ ⥤ Type where |
| 21 | obj T := AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback T.unop.hom) |
| 22 | map f := ↾fun ρ => ActionScheme.restrictIntegralAction A ρ f.unop |
| 23 | map_id T := by |
| 24 | apply ConcreteCategory.hom_ext |
| 25 | intro ρ |
| 26 | exact ActionScheme.restrictIntegralAction_id A T.unop ρ |
| 27 | map_comp f h := by |
| 28 | apply ConcreteCategory.hom_ext |
| 29 | intro ρ |
| 30 | exact ActionScheme.restrictIntegralAction_comp A h.unop f.unop ρ |
| 31 | |
| 32 | variable {E} (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 33 | |
| 34 | def integralPrimitiveEndomorphism : integralActionFunctor A E ⟶ |
| 35 | (EndomorphismFamiliesId.EndomorphismFamilies.endomorphismFunctor A ⋙ forget RingCat) where |
| 36 | app T := ↾fun ρ => Finite.Actions.ringHomOfIntegralAction (A.pullback T.unop.hom) ρ D.generator |
| 37 | naturality {T U} f := by |
| 38 | apply ConcreteCategory.hom_ext |
| 39 | intro ρ |
| 40 | exact RingHom.congr_fun (ActionScheme.restrictIntegralAction_ringHom A ρ f.unop) D.generator |
| 41 | |
| 42 | def integralGeneratorTupleMap : integralActionFunctor A E ⟶ |
| 43 | HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme 1 where |
| 44 | app T := ↾fun ρ => Presentations.Generator.EndomorphismFamilies.e34GeneratorTuple A T.unop |
| 45 | ((integralPrimitiveEndomorphism A D).app T ρ) |
| 46 | naturality {T U} f := by |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro ρ |
| 49 | funext i |
| 50 | apply Subtype.ext |
| 51 | change EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A U.unop |
| 52 | (((integralPrimitiveEndomorphism A D).app U |
| 53 | ((integralActionFunctor A E).map f ρ)).hom (A.pullback U.unop.hom)) = _ |
| 54 | have h := ConcreteCategory.congr_hom ((integralPrimitiveEndomorphism A D).naturality f) ρ |
| 55 | change (integralPrimitiveEndomorphism A D).app U ((integralActionFunctor A E).map f ρ) = |
| 56 | EndomorphismFamiliesId.EndomorphismFamilies.restrict A f.unop ((integralPrimitiveEndomorphism A D).app T ρ) at h |
| 57 | rw [h] |
| 58 | exact EndomorphismHom.EndomorphismFamilies.relativeHom_restrict A f.unop _ |
| 59 | |
| 60 | @[simp] theorem primitive_integralGeneratorTuple (T : Over S) |
| 61 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback T.hom)) : |
| 62 | (Presentations.EndomorphismBridge.EndomorphismFamilies.e34PrimitiveEndomorphism A).app (op T) |
| 63 | ((integralGeneratorTupleMap A D).app (op T) ρ) = |
| 64 | Finite.Actions.ringHomOfIntegralAction (A.pullback T.hom) ρ D.generator := |
| 65 | Presentations.Generator.EndomorphismFamilies.e34Primitive_generatorTuple A T _ |
| 66 | |
| 67 | theorem integralGeneratorTupleMap_injective |
| 68 | (hc : ∀ s : S, IsUnit (D.conductor : S.presheaf.stalk s)) (T : Over S) : |
| 69 | Function.Injective ((integralGeneratorTupleMap A D).app (op T)) := by |
| 70 | intro ρ σ h |
| 71 | have hgen := congrArg ((Presentations.EndomorphismBridge.EndomorphismFamilies.e34PrimitiveEndomorphism A).app (op T)) h |
| 72 | rw [primitive_integralGeneratorTuple, primitive_integralGeneratorTuple] at hgen |
| 73 | apply D.integral_action_eq_of_generator (A.pullback T.hom) ρ σ |
| 74 | · intro t |
| 75 | simpa only [map_natCast] using (hc (T.hom t)).map (T.hom.stalkMap t).hom |
| 76 | · exact congrArg (Finite.Actions.GroupEndRing.hom (A.pullback T.hom)) hgen |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ActionFunctor |