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.TorsionQuotient.SubgroupFunctor |
| 2 | |
| 3 | /-! # Subgroup Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction |
| 6 | |
| 7 | /-! |
| 8 | Concrete subgroup choices on the chosen local blocks for IsogenyQuotient. A block is |
| 9 | specified by an endomorphism lifting its projector on n-torsion; this lift |
| 10 | need not be idempotent on the abelian scheme itself. A subgroup |
| 11 | is supported on the block when the lift acts identically on all its |
| 12 | test-scheme sections. This is a subfunctor of TorsionQuotient's actual subgroup functor, |
| 13 | with a canonical forgetful map; it is not an unrelated presheaf placeholder. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {A : Over S} [GrpObj A] |
| 22 | |
| 23 | /-- Membership in the chosen block, expressed on all test schemes. -/ |
| 24 | def SupportedOn {T : Over S} (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A T) (p : A ⟶ A) : Prop := |
| 25 | ∀ (X : Over S) (t : X ⟶ T) (a : X ⟶ A), |
| 26 | a ∈ F.points X t → a ≫ p = a |
| 27 | |
| 28 | theorem supportedOn_baseChange |
| 29 | {T U : Over S} (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A T) (p : A ⟶ A) |
| 30 | (hF : SupportedOn F p) (f : U ⟶ T) : SupportedOn (F.baseChange f) p := by |
| 31 | intro X t a ha |
| 32 | exact hF X (t ≫ f) a ha |
| 33 | |
| 34 | /-- Support on a block is exactly one equation between actual morphisms |
| 35 | on the finite subgroup model. This is the bridge to its parameter locus. -/ |
| 36 | theorem supportedOn_iff_model_equation |
| 37 | {T : Over S} (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A T) |
| 38 | (R : F.Model) (p : A ⟶ A) : |
| 39 | SupportedOn F p ↔ R.toGroup ≫ p = R.toGroup := by |
| 40 | constructor |
| 41 | · intro h |
| 42 | apply h R.carrier R.toBase R.toGroup |
| 43 | exact (R.points_iff R.carrier R.toBase R.toGroup).mpr |
| 44 | ⟨𝟙 R.carrier, Category.id_comp _, Category.id_comp _⟩ |
| 45 | · intro h X t a ha |
| 46 | obtain ⟨x, _, hx⟩ := (R.points_iff X t a).mp ha |
| 47 | rw [← hx, Category.assoc, h] |
| 48 | |
| 49 | variable (A) [IsCommMonObj A] |
| 50 | |
| 51 | /-- TorsionQuotient's subgroup choice, restricted by a genuine projector condition. -/ |
| 52 | abbrev SupportedChoice |
| 53 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 54 | (p : A ⟶ A) (T : Over S) := |
| 55 | {F : TorsionQuotient.SubgroupFunctor.SubgroupChoice A n M T // SupportedOn F.subgroup p} |
| 56 | |
| 57 | /-- The functor of subgroups of the prescribed type on one chosen block. -/ |
| 58 | def supportedSubgroupFunctor |
| 59 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 60 | (p : A ⟶ A) : (Over S)ᵒᵖ ⥤ Type (u + 1) where |
| 61 | obj T := SupportedChoice A n M p T.unop |
| 62 | map f := ↾fun F => |
| 63 | ⟨F.val.baseChange f.unop, |
| 64 | supportedOn_baseChange F.val.subgroup p F.property f.unop⟩ |
| 65 | map_id T := by |
| 66 | apply ConcreteCategory.hom_ext |
| 67 | intro F |
| 68 | apply Subtype.ext |
| 69 | exact F.val.baseChange_id |
| 70 | map_comp f g := by |
| 71 | apply ConcreteCategory.hom_ext |
| 72 | intro F |
| 73 | apply Subtype.ext |
| 74 | exact F.val.baseChange_comp f.unop g.unop |
| 75 | |
| 76 | /-- The canonical link with the subgroup functor supplied by TorsionQuotient. -/ |
| 77 | def forgetBlockSupport |
| 78 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 79 | (p : A ⟶ A) : |
| 80 | supportedSubgroupFunctor A n M p ⟶ TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A n M where |
| 81 | app _ := ↾Subtype.val |
| 82 | naturality _ _ _ := rfl |
| 83 | |
| 84 | /-- Forgetting block support is injective on every test scheme. -/ |
| 85 | theorem forgetBlockSupport_injective |
| 86 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 87 | (p : A ⟶ A) (T : (Over S)ᵒᵖ) : |
| 88 | Function.Injective ((forgetBlockSupport A n M p).app T) := |
| 89 | Subtype.val_injective |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction |