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.LocallyConstantBasePartition |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.RosatiRestriction |
| 3 | |
| 4 | /-! # Stratum Action Assembly -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.StratumActionAssembly |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble finitely many action parameter schemes on disjoint base |
| 11 | strata. The universal integral action and the all-reduced-test |
| 12 | classification are constructed by actual morphism and action gluing. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.LocallyConstantBasePartition.FiniteBasePartition |
| 19 | |
| 20 | theorem assemble_finite_stratum_action_ambient |
| 21 | {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 22 | {S : Scheme.{0}} {I : Type} [Finite I] (c : LocallyConstant S I) |
| 23 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 24 | (Z : I → Over S) [∀ i, IsReduced (Z i).left] |
| 25 | [∀ i, LocallyOfFiniteType (Z i).hom] [∀ i, QuasiCompact (Z i).hom] [∀ i, IsSeparated (Z i).hom] |
| 26 | (hZ : ∀ i, ∀ z : (Z i).left, c ((Z i).hom z) = i) |
| 27 | (ρZ : ∀ i, AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.abelian.pullback (Z i).hom)) |
| 28 | (hclass : ∀ i, ∀ (T : Over S) [IsReduced T.left] |
| 29 | (_hT : ∀ t : T.left, c (T.hom t) = i) |
| 30 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.abelian.pullback T.hom)), |
| 31 | AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback T.hom) ρ → |
| 32 | ∃! f : T ⟶ Z i, Integral.ActionScheme.restrictIntegralAction A.abelian (ρZ i) f = ρ) : |
| 33 | ∃ M : Over S, IsReduced M.left ∧ LocallyOfFiniteType M.hom ∧ QuasiCompact M.hom ∧ IsSeparated M.hom ∧ |
| 34 | ∃ ρM : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.abelian.pullback M.hom), |
| 35 | ∀ (T : Over S) [IsReduced T.left] |
| 36 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (A.abelian.pullback T.hom)), |
| 37 | AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback T.hom) ρ → |
| 38 | ∃! f : T ⟶ M, Integral.ActionScheme.restrictIntegralAction A.abelian ρM f = ρ := by |
| 39 | let M := ParameterSum.FiniteBasePartition.sumParameter Z |
| 40 | let k := ParameterSum.FiniteBasePartition.sumParameterInclusion Z |
| 41 | let ρM := PartitionActions.FiniteBasePartition.glueIntegralAction Z M k (ParameterSum.FiniteBasePartition.sumParameterIsColimit Z) A.abelian ρZ |
| 42 | have hρM (i : I) : Integral.ActionScheme.restrictIntegralAction A.abelian ρM (k i) = ρZ i := |
| 43 | PartitionActions.FiniteBasePartition.glueIntegralAction_restrict Z M k (ParameterSum.FiniteBasePartition.sumParameterIsColimit Z) A.abelian ρZ i |
| 44 | refine ⟨M, inferInstance, inferInstance, inferInstance, inferInstance, ρM, ?_⟩ |
| 45 | intro T hred ρ hρ |
| 46 | let U := LocallyConstantBasePartition.FiniteBasePartition.testPart c T |
| 47 | let j := LocallyConstantBasePartition.FiniteBasePartition.testPartInclusion c T |
| 48 | let H := LocallyConstantBasePartition.FiniteBasePartition.testPartitionIsColimit c T |
| 49 | have hU (i : I) : IsReduced (U i).left := |
| 50 | inferInstanceAs (IsReduced (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber (LocallyConstantBasePartition.FiniteBasePartition.testIndex c T) i).toScheme) |
| 51 | let := hU |
| 52 | have hd (i : I) : ∃! f : U i ⟶ Z i, |
| 53 | Integral.ActionScheme.restrictIntegralAction A.abelian (ρZ i) f = Integral.ActionScheme.restrictIntegralAction A.abelian ρ (j i) := |
| 54 | hclass i (U i) (LocallyConstantBasePartition.FiniteBasePartition.testPart_index c T i) (Integral.ActionScheme.restrictIntegralAction A.abelian ρ (j i)) |
| 55 | (RosatiRestriction.rosati_restrictIntegralAction (T := U i) (U := T) A ρ hρ (j i)) |
| 56 | choose f hf huniq using hd |
| 57 | let q := PartitionBaseMaps.FiniteBasePartition.glueBase U T j H M (fun i => f i ≫ k i) |
| 58 | have hq (i : I) : j i ≫ q = f i ≫ k i := PartitionBaseMaps.FiniteBasePartition.glueBase_restrict U T j H M _ i |
| 59 | refine ⟨q, ?_, ?_⟩ |
| 60 | · apply PartitionActions.FiniteBasePartition.integralAction_ext_of_restrictions U T j H A.abelian |
| 61 | intro i |
| 62 | rw [← Integral.ActionScheme.restrictIntegralAction_comp, hq, Integral.ActionScheme.restrictIntegralAction_comp, hρM] |
| 63 | exact hf i |
| 64 | · intro p hp |
| 65 | apply PartitionBaseMaps.FiniteBasePartition.base_hom_ext U T j H M |
| 66 | intro i |
| 67 | have hindex (t : (U i).left) : c ((U i).hom t) = i := LocallyConstantBasePartition.FiniteBasePartition.testPart_index c T i t |
| 68 | obtain ⟨a, ha, _⟩ := LocallyConstantBasePartition.FiniteBasePartition.sumParameter_factor_at_index c Z hZ (j i ≫ p) i hindex |
| 69 | have har : Integral.ActionScheme.restrictIntegralAction A.abelian (ρZ i) a = |
| 70 | Integral.ActionScheme.restrictIntegralAction A.abelian ρ (j i) := by |
| 71 | rw [← hρM, ← Integral.ActionScheme.restrictIntegralAction_comp, ha, Integral.ActionScheme.restrictIntegralAction_comp, hp] |
| 72 | have hea : a = f i := huniq i a har |
| 73 | exact ha.symm.trans ((congrArg (fun a => a ≫ k i) hea).trans (hq i).symm) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.StratumActionAssembly |