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.OppositeKernel |
| 2 | |
| 3 | /-! # Supported Block Choices -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedBlockChoices.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Supported subgroup choices in the abelian scheme are the same choices |
| 11 | inside its native torsion block. The finite locally free model and all |
| 12 | geometric type conditions are transported along the actual inclusion. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 21 | (n : ℕ) (p : A ⟶ A) [IsMonHom p] |
| 22 | |
| 23 | def supportedBlockPointsEquiv (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 24 | (hk : F.KilledBy n) (hp : SubgroupFunctor.Construction.SupportedOn F p) (X : Over S) (t : X ⟶ P) : |
| 25 | (SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n p) F).points X t ≃* F.points X t where |
| 26 | toFun y := ⟨y.val ≫ OppositeKernel.Construction.torsionBlockInclusion n p, y.property⟩ |
| 27 | invFun x := ⟨OppositeKernel.Construction.torsionBlockLift n p x.val (hk X t x.val x.property) (hp X t x.val x.property), by |
| 28 | change OppositeKernel.Construction.torsionBlockLift n p x.val _ _ ≫ OppositeKernel.Construction.torsionBlockInclusion n p ∈ F.points X t |
| 29 | rw [OppositeKernel.Construction.torsionBlockLift_inclusion] |
| 30 | exact x.property⟩ |
| 31 | left_inv y := by |
| 32 | apply Subtype.ext |
| 33 | apply (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion n p)).mp |
| 34 | exact OppositeKernel.Construction.torsionBlockLift_inclusion n p (y.val ≫ OppositeKernel.Construction.torsionBlockInclusion n p) |
| 35 | (hk X t _ y.property) (hp X t _ y.property) |
| 36 | right_inv x := Subtype.ext (OppositeKernel.Construction.torsionBlockLift_inclusion n p x.val |
| 37 | (hk X t x.val x.property) (hp X t x.val x.property)) |
| 38 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val _) |
| 39 | |
| 40 | theorem torsionBlock_identity_killed : (𝟙 (OppositeKernel.Construction.torsionBlock n p)) ^ n = 1 := by |
| 41 | apply (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion n p)).mp |
| 42 | rw [MonObj.pow_comp, Category.id_comp, OppositeKernel.Construction.torsionBlockInclusion_killed, MonObj.one_comp] |
| 43 | |
| 44 | variable (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 45 | |
| 46 | def supportedChoiceToBlock (F : SubgroupFunctor.Construction.SupportedChoice A n M p P) : |
| 47 | TorsionQuotient.SubgroupFunctor.SubgroupChoice (OppositeKernel.Construction.torsionBlock n p) n M P where |
| 48 | subgroup := SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n p) F.val.subgroup |
| 49 | killed X t x _ := by |
| 50 | have hx := congrArg (fun f : OppositeKernel.Construction.torsionBlock n p ⟶ OppositeKernel.Construction.torsionBlock n p => x ≫ f) |
| 51 | (torsionBlock_identity_killed n p) |
| 52 | simpa only [MonObj.comp_pow, Category.comp_id, MonObj.comp_one] using hx |
| 53 | moduleType := by |
| 54 | intro K _ _ s t |
| 55 | obtain ⟨e⟩ := F.val.moduleType K s t |
| 56 | exact ⟨(supportedBlockPointsEquiv n p F.val.subgroup F.val.killed F.property _ t).trans e⟩ |
| 57 | geometric := F.val.geometric.elim fun R => |
| 58 | ⟨OppositeKernel.Construction.supportedTorsionBlock_model n p F.val.subgroup R F.val.killed F.property⟩ |
| 59 | |
| 60 | def blockChoiceToSupported (F : TorsionQuotient.SubgroupFunctor.SubgroupChoice (OppositeKernel.Construction.torsionBlock n p) n M P) : |
| 61 | SubgroupFunctor.Construction.SupportedChoice A n M p P := by |
| 62 | let G := SubgroupTransport.Construction.relativeSubgroupImage (OppositeKernel.Construction.torsionBlockInclusion n p) F.subgroup |
| 63 | refine ⟨⟨G, ?_, ?_, ?_⟩, ?_⟩ |
| 64 | · intro X t x hx |
| 65 | obtain ⟨y, hy, rfl⟩ := hx |
| 66 | change (y ≫ OppositeKernel.Construction.torsionBlockInclusion n p) ^ n = 1 |
| 67 | rw [← MonObj.pow_comp, F.killed X t y hy, MonObj.one_comp] |
| 68 | · intro K _ _ s t |
| 69 | obtain ⟨e⟩ := F.moduleType K s t |
| 70 | let eF := (F.subgroup.points (Over.mk s) t).equivMapOfInjective |
| 71 | (IsMonHom.monoidHom (OppositeKernel.Construction.torsionBlockInclusion n p) (Over.mk s)) |
| 72 | (fun x y hxy => (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion n p)).mp hxy) |
| 73 | exact ⟨eF.symm.trans e⟩ |
| 74 | · exact F.geometric.elim fun R => ⟨SubgroupTransport.Construction.relativeSubgroupImage_model (OppositeKernel.Construction.torsionBlockInclusion n p) F.subgroup R⟩ |
| 75 | · intro X t x hx |
| 76 | obtain ⟨y, _, rfl⟩ := hx |
| 77 | change (y ≫ OppositeKernel.Construction.torsionBlockInclusion n p) ≫ p = y ≫ OppositeKernel.Construction.torsionBlockInclusion n p |
| 78 | rw [Category.assoc, OppositeKernel.Construction.torsionBlockInclusion_supported] |
| 79 | |
| 80 | def supportedChoiceBlockEquiv : |
| 81 | SubgroupFunctor.Construction.SupportedChoice A n M p P ≃ TorsionQuotient.SubgroupFunctor.SubgroupChoice (OppositeKernel.Construction.torsionBlock n p) n M P where |
| 82 | toFun := supportedChoiceToBlock n p M |
| 83 | invFun := blockChoiceToSupported n p M |
| 84 | left_inv F := by |
| 85 | apply Subtype.ext |
| 86 | apply TorsionQuotient.SubgroupFunctor.SubgroupChoice.ext |
| 87 | exact OppositeKernel.Construction.supportedTorsionBlock_image n p F.val.subgroup F.val.killed F.property |
| 88 | right_inv F := by |
| 89 | apply TorsionQuotient.SubgroupFunctor.SubgroupChoice.ext |
| 90 | ext X t x |
| 91 | constructor |
| 92 | · rintro ⟨y, hy, hxy⟩ |
| 93 | have he : y = x := (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion n p)).mp hxy |
| 94 | exact he ▸ hy |
| 95 | · intro hx |
| 96 | exact ⟨x, hx, rfl⟩ |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedBlockChoices.Construction |