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