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.ActionFunctor |
| 2 | import Mathlib.CategoryTheory.Subfunctor.Image |
| 3 | |
| 4 | /-! # Bounded Action Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.BoundedActionFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify the actual bounded integral-action functor with Presentations's concrete |
| 11 | solution functor. The bound is precisely Presentations's native graph Hilbert predicate. -/ |
| 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 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) |
| 20 | (hc : ∀ s : S, IsUnit (D.conductor : S.presheaf.stalk s)) |
| 21 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.scheme ⨯ A.scheme)) |
| 22 | (P : Fin 1 → Polynomial ℚ) (L : HilbertScheme.Presentations.Loci.Core.HilbertHomLoci A.scheme A.scheme B 1 P) |
| 23 | (M : HilbertScheme.Presentations.Loci.Core.EndomorphismEquationLoci A.scheme B 1 P L (Generator.EndomorphismFamilies.e34IntegralGeneratorEquations A D hc)) |
| 24 | |
| 25 | def boundedIntegralActions : Subfunctor (Integral.ActionFunctor.integralActionFunctor A E) where |
| 26 | obj T := {ρ | (Integral.ActionFunctor.integralGeneratorTupleMap A D).app T ρ ∈ M.endLocus.obj T} |
| 27 | map {T U} f ρ hρ := by |
| 28 | have h := M.endLocus.map f hρ |
| 29 | have hn := ConcreteCategory.congr_hom ((Integral.ActionFunctor.integralGeneratorTupleMap A D).naturality f) ρ |
| 30 | change (Integral.ActionFunctor.integralGeneratorTupleMap A D).app U ((Integral.ActionFunctor.integralActionFunctor A E).map f ρ) ∈ M.endLocus.obj U |
| 31 | change (Integral.ActionFunctor.integralGeneratorTupleMap A D).app U ((Integral.ActionFunctor.integralActionFunctor A E).map f ρ) = |
| 32 | (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme 1).map f ((Integral.ActionFunctor.integralGeneratorTupleMap A D).app T ρ) at hn |
| 33 | rw [hn] |
| 34 | exact h |
| 35 | |
| 36 | theorem boundedIntegralActions_mem (T : Over S) |
| 37 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback T.hom)) : |
| 38 | ρ ∈ (boundedIntegralActions A D hc B P L M).obj (op T) ↔ |
| 39 | HilbertScheme.Presentations.Has.Core.HasGraphPolynomials A.scheme A.scheme 1 B P |
| 40 | ((HilbertScheme.Presentations.Endomorphisms.Core.forgetGroupLaw A.scheme 1).app (op T) ((Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ)) := |
| 41 | M.end_mem T _ |
| 42 | |
| 43 | theorem integralGeneratorTuple_satisfies (T : Over S) |
| 44 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.pullback T.hom)) : |
| 45 | HilbertScheme.Presentations.Endomorphisms.Core.SatisfiesEquations (Generator.EndomorphismFamilies.e34IntegralGeneratorEquations A D hc) |
| 46 | ((Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ) := by |
| 47 | apply (Generator.EndomorphismFamilies.e34IntegralGeneratorEquations_iff A D hc T _).mpr |
| 48 | rw [Integral.ActionFunctor.primitive_integralGeneratorTuple] |
| 49 | exact D.generator_conditions_of_action (A.pullback T.hom) ρ |
| 50 | |
| 51 | theorem integralGeneratorTuple_mem_solution (T : Over S) |
| 52 | (ρ : (boundedIntegralActions A D hc B P L M).toFunctor.obj (op T)) : |
| 53 | (Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ.val ∈ M.solutionLocus.obj (op T) := |
| 54 | (M.solution_mem T _).mpr ⟨(M.end_mem T _).mp ρ.property, |
| 55 | integralGeneratorTuple_satisfies A D hc T ρ.val⟩ |
| 56 | |
| 57 | def boundedActionToSolutions : (boundedIntegralActions A D hc B P L M).toFunctor ⟶ |
| 58 | M.solutionLocus.toFunctor := |
| 59 | Subfunctor.lift ((boundedIntegralActions A D hc B P L M).ι ≫ Integral.ActionFunctor.integralGeneratorTupleMap A D) (by |
| 60 | intro T f hf |
| 61 | obtain ⟨ρ, rfl⟩ := hf |
| 62 | exact integralGeneratorTuple_mem_solution A D hc B P L M T.unop ρ) |
| 63 | |
| 64 | theorem boundedActionToSolutions_val (T : Over S) |
| 65 | (ρ : (boundedIntegralActions A D hc B P L M).toFunctor.obj (op T)) : |
| 66 | ((boundedActionToSolutions A D hc B P L M).app (op T) ρ).val = |
| 67 | (Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ.val := rfl |
| 68 | |
| 69 | theorem boundedActionToSolutions_bijective (T : Over S) : |
| 70 | Function.Bijective ((boundedActionToSolutions A D hc B P L M).app (op T)) := by |
| 71 | constructor |
| 72 | · intro ρ σ h |
| 73 | apply Subtype.ext |
| 74 | apply Integral.ActionFunctor.integralGeneratorTupleMap_injective A D hc T |
| 75 | simpa only [boundedActionToSolutions_val] using congrArg Subtype.val h |
| 76 | · intro f |
| 77 | have hf := (M.solution_mem T f.val).mp f.property |
| 78 | have hu := (Generator.EndomorphismFamilies.e34IntegralGeneratorEquations_iff A D hc T f.val).mp hf.2 |
| 79 | have hct (t : T.left) : IsUnit (D.conductor : T.left.presheaf.stalk t) := by |
| 80 | simpa only [map_natCast] using (hc (T.hom t)).map (T.hom.stalkMap t).hom |
| 81 | obtain ⟨ρ, hρ, _⟩ := D.existsUnique_integral_action_of_generator_conditions |
| 82 | (A.pullback T.hom) ((EndomorphismBridge.EndomorphismFamilies.e34PrimitiveEndomorphism A).app (op T) f.val) hct hu |
| 83 | have htuple : (Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ = f.val := by |
| 84 | apply Generator.EndomorphismFamilies.e34Primitive_injective A T |
| 85 | rw [Integral.ActionFunctor.primitive_integralGeneratorTuple] |
| 86 | exact Finite.Actions.GroupEndRing.ext (A.pullback T.hom) hρ |
| 87 | have hbound : ρ ∈ (boundedIntegralActions A D hc B P L M).obj (op T) := by |
| 88 | change (Integral.ActionFunctor.integralGeneratorTupleMap A D).app (op T) ρ ∈ M.endLocus.obj (op T) |
| 89 | rw [htuple] |
| 90 | exact (M.end_mem T f.val).mpr hf.1 |
| 91 | refine ⟨⟨ρ, hbound⟩, Subtype.ext ?_⟩ |
| 92 | exact (boundedActionToSolutions_val A D hc B P L M T ⟨ρ, hbound⟩).trans htuple |
| 93 | |
| 94 | def boundedIntegralActionIso : (boundedIntegralActions A D hc B P L M).toFunctor ≅ |
| 95 | M.solutionLocus.toFunctor := |
| 96 | NatIso.ofComponents |
| 97 | (fun T => (Equiv.ofBijective _ (boundedActionToSolutions_bijective A D hc B P L M T.unop)).toIso) |
| 98 | (by intro T U f; exact (boundedActionToSolutions A D hc B P L M).naturality f) |
| 99 | |
| 100 | def boundedIntegralActionRepresentation : yoneda.obj M.solutionScheme ≅ |
| 101 | (boundedIntegralActions A D hc B P L M).toFunctor := |
| 102 | M.solutionEquivalence ≪≫ (boundedIntegralActionIso A D hc B P L M).symm |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.BoundedActionFunctor |