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.AbelianScheme.IsogenyQuotient.SubgroupFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AgreementLocus |
| 3 | |
| 4 | /-! # Subgroup Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupLocus.Construction |
| 7 | |
| 8 | /-! |
| 9 | Finite etaleness of the subgroup models and the block-support parameter |
| 10 | locus. Projectors on torsion may be lifted by O_E-endomorphisms; no |
| 11 | nontrivial idempotent endomorphism of the abelian scheme is assumed. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] |
| 21 | |
| 22 | /-- A finite locally free subgroup of etale n-torsion is itself etale. |
| 23 | This follows from its monomorphism into the base-changed torsion scheme. -/ |
| 24 | theorem subgroup_model_etale |
| 25 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) |
| 26 | (n : ℕ) (hkilled : F.KilledBy n) |
| 27 | (h_TorsionQuotient : Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : Etale R.toBase.left := by |
| 28 | let T := TorsionQuotient.SubgroupFunctor.torsionScheme A n |
| 29 | let j : R.carrier ⟶ P ⊗ T := lift R.toBase (R.toTorsion hkilled) |
| 30 | have hj : Mono j := by |
| 31 | constructor |
| 32 | intro X a b hab |
| 33 | apply R.jointly_monic X a b |
| 34 | · simpa only [j, Category.assoc, lift_fst] using |
| 35 | congrArg (fun z => z ≫ fst P T) hab |
| 36 | · have h := congrArg (fun z => z ≫ snd P T ≫ TorsionQuotient.SubgroupFunctor.torsionι A n) hab |
| 37 | simpa only [j, Category.assoc, lift_snd_assoc, TorsionQuotient.SubgroupFunctor.RelativeSubgroup.Model.toTorsion_ι] |
| 38 | using h |
| 39 | have : Mono j := hj |
| 40 | have : Mono j.left := inferInstance |
| 41 | have : FormallyUnramified j.left := inferInstance |
| 42 | have : Etale T.hom := h_TorsionQuotient |
| 43 | have hfst : Etale (fst P T).left := |
| 44 | inferInstanceAs (Etale (pullback.fst P.hom T.hom)) |
| 45 | have hcomp : FormallyUnramified (j.left ≫ (fst P T).left) := |
| 46 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ inferInstance inferInstance |
| 47 | have heq : j.left ≫ (fst P T).left = R.toBase.left := |
| 48 | congrArg (fun z => z.left) (lift_fst R.toBase (R.toTorsion hkilled)) |
| 49 | have : FormallyUnramified R.toBase.left := heq ▸ hcomp |
| 50 | have : Flat R.toBase.left := R.flat |
| 51 | have : LocallyOfFinitePresentation R.toBase.left := R.finitePresentation |
| 52 | exact Etale.of_formallyUnramified_of_flat R.toBase.left |
| 53 | |
| 54 | /-- For a universal subgroup choice, support on one chosen torsion block |
| 55 | is represented by a finite etale clopen locus in its parameter scheme. -/ |
| 56 | theorem finite_etale_block_support_locus |
| 57 | [IsCommMonObj A] |
| 58 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 59 | (F : TorsionQuotient.SubgroupFunctor.SubgroupChoice A n M P) (R : F.subgroup.Model) |
| 60 | (projectorLift : A ⟶ A) [IsMonHom projectorLift] |
| 61 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ |
| 62 | Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 63 | ∃ U : P.left.Opens, |
| 64 | IsFinite U.ι ∧ Etale U.ι ∧ |
| 65 | ∀ (T : Over S) (b : T ⟶ P), |
| 66 | (∀ t : T.left, b.left t ∈ U) ↔ |
| 67 | SubgroupFunctor.Construction.SupportedOn (F.subgroup.baseChange b) projectorLift := by |
| 68 | have : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := h_TorsionQuotient.1 |
| 69 | have : Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := h_TorsionQuotient.2 |
| 70 | have : IsFinite R.toBase.left := R.finite |
| 71 | have : Etale R.toBase.left := subgroup_model_etale F.subgroup R n F.killed h_TorsionQuotient.2 |
| 72 | have : Mono (TorsionQuotient.SubgroupFunctor.torsionι A n) := by |
| 73 | unfold TorsionQuotient.SubgroupFunctor.torsionι |
| 74 | exact equalizer.ι_mono (f := (𝟙 A : A ⟶ A) ^ n) (g := (1 : A ⟶ A)) |
| 75 | let a := R.toTorsion F.killed ≫ EtaleDetection.Construction.mapTorsion projectorLift n |
| 76 | let b := R.toTorsion F.killed |
| 77 | obtain ⟨U, hfinite, hetale, hU⟩ := AgreementLocus.Construction.finite_etale_agreement_locus R.toBase a b |
| 78 | refine ⟨U, hfinite, hetale, ?_⟩ |
| 79 | intro T t |
| 80 | rw [hU T t, SubgroupFunctor.Construction.supportedOn_iff_model_equation |
| 81 | (F.subgroup.baseChange t) (R.baseChange t) projectorLift] |
| 82 | rw [← cancel_mono (TorsionQuotient.SubgroupFunctor.torsionι A n)] |
| 83 | change _ ↔ |
| 84 | (pullback.fst R.toBase t ≫ R.toGroup) ≫ projectorLift = |
| 85 | pullback.fst R.toBase t ≫ R.toGroup |
| 86 | simp only [a, b, Category.assoc, EtaleDetection.Construction.mapTorsion_ι, TorsionQuotient.SubgroupFunctor.RelativeSubgroup.Model.toTorsion_ι] |
| 87 | rw [← Category.assoc (R.toTorsion F.killed) (TorsionQuotient.SubgroupFunctor.torsionι A n) projectorLift, |
| 88 | TorsionQuotient.SubgroupFunctor.RelativeSubgroup.Model.toTorsion_ι] |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupLocus.Construction |