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.AbelianModuli.ReferenceFamily.Finite.EtaleSubgroupStability |
| 2 | |
| 3 | /-! # Stable Subgroup -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.StableSubgroup.StableSubgroupParameter |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finitely many actual subgroup-stability conditions define a |
| 10 | constructed clopen parameter scheme. Its classification retains every |
| 11 | test scheme and gives a unique lift to the parameter. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 16 | |
| 17 | variable {S : Scheme.{0}} {H T : Over S} [GrpObj H] |
| 18 | [IsFinite H.hom] [Etale H.hom] |
| 19 | {F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup H T} (R : F.Model) |
| 20 | {I : Type*} [Finite I] (e : I → (H ⟶ H)) |
| 21 | |
| 22 | def locus : T.left.Opens := |
| 23 | ⟨⋂ i, (ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus R (e i) : Set T.left), |
| 24 | (isClopen_iInter_of_finite fun i => |
| 25 | ⟨ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus_isClosed R (e i), |
| 26 | (ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus R (e i)).isOpen⟩).isOpen⟩ |
| 27 | |
| 28 | theorem locus_isClosed : IsClosed (locus R e : Set T.left) := |
| 29 | (isClopen_iInter_of_finite fun i => |
| 30 | ⟨ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus_isClosed R (e i), |
| 31 | (ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus R (e i)).isOpen⟩).isClosed |
| 32 | |
| 33 | def carrier : Over S := Over.mk ((locus R e).ι ≫ T.hom) |
| 34 | |
| 35 | def inclusion : carrier R e ⟶ T := Over.homMk (locus R e).ι rfl |
| 36 | |
| 37 | instance inclusion_open : IsOpenImmersion (inclusion R e).left := |
| 38 | inferInstanceAs (IsOpenImmersion (locus R e).ι) |
| 39 | |
| 40 | instance inclusion_closed : IsClosedImmersion (inclusion R e).left := by |
| 41 | apply IsClosedImmersion.of_isPreimmersion |
| 42 | change IsClosed (Set.range (locus R e).ι) |
| 43 | rw [Scheme.Opens.range_ι] |
| 44 | exact locus_isClosed R e |
| 45 | |
| 46 | instance inclusion_mono : Mono (inclusion R e) := Over.mono_of_mono_left _ |
| 47 | |
| 48 | instance carrier_finite [IsFinite T.hom] : IsFinite (carrier R e).hom := |
| 49 | inferInstanceAs (IsFinite ((inclusion R e).left ≫ T.hom)) |
| 50 | |
| 51 | instance carrier_etale [Etale T.hom] : Etale (carrier R e).hom := |
| 52 | inferInstanceAs (Etale ((inclusion R e).left ≫ T.hom)) |
| 53 | |
| 54 | theorem classifies {U : Over S} (f : U ⟶ T) : |
| 55 | (∃! g : U ⟶ carrier R e, g ≫ inclusion R e = f) ↔ |
| 56 | ∀ i, SubgroupStability.RelativeSubgroupStable (F.baseChange f) (e i) := by |
| 57 | have hc : Set.range f.left ⊆ locus R e ↔ |
| 58 | ∀ i, SubgroupStability.RelativeSubgroupStable (F.baseChange f) (e i) := by |
| 59 | constructor |
| 60 | · intro h i |
| 61 | apply (ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus_classifies R (e i) f).mp |
| 62 | intro y hy |
| 63 | exact Set.mem_iInter.mp (h hy) i |
| 64 | · intro h y hy |
| 65 | apply Set.mem_iInter.mpr |
| 66 | intro i |
| 67 | exact (ReferenceFamily.Finite.EtaleSubgroupStability.finiteEtaleSubgroupStabilityLocus_classifies R (e i) f).mpr (h i) hy |
| 68 | refine Iff.trans ?_ hc |
| 69 | constructor |
| 70 | · rintro ⟨g, hg, _⟩ y ⟨x, rfl⟩ |
| 71 | rw [← hg] |
| 72 | exact (g.left x).property |
| 73 | · intro hr |
| 74 | have hr' : Set.range f.left ⊆ Set.range (locus R e).ι := by |
| 75 | rw [Scheme.Opens.range_ι] |
| 76 | exact hr |
| 77 | let l := IsOpenImmersion.lift (locus R e).ι f.left hr' |
| 78 | have hl : l ≫ (locus R e).ι = f.left := IsOpenImmersion.lift_fac _ _ _ |
| 79 | let g : U ⟶ carrier R e := Over.homMk l (by |
| 80 | change l ≫ ((locus R e).ι ≫ T.hom) = U.hom |
| 81 | rw [← Category.assoc, hl, f.w]) |
| 82 | have hg : g ≫ inclusion R e = f := Over.OverMorphism.ext hl |
| 83 | exact ⟨g, hg, fun a ha => (cancel_mono (inclusion R e)).mp (ha.trans hg.symm)⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.StableSubgroup.StableSubgroupParameter |