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.Kernel.Assembly |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Universal.Choices |
| 3 | |
| 4 | /-! # Choice Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The full kernel attached to a tuple of supported subgroup choices. The |
| 12 | chosen factors and their opposite annihilators are indexed separately; |
| 13 | orthogonality of the torsion projectors gives the full geometric model. |
| 14 | There is no extra choice of opposite subgroups or kernel model in the data. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 23 | variable (n s : ℕ) (M : Fin s → Type u) |
| 24 | variable [∀ i, AddCommGroup (M i)] [∀ i, Module (ZMod n) (M i)] [∀ i, Finite (M i)] |
| 25 | variable (p q : Fin s → (A ⟶ A)) [∀ i, IsMonHom (p i)] [∀ i, IsMonHom (q i)] |
| 26 | variable {W : Over S} [GrpObj W] |
| 27 | variable (e : ∀ i, Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n (p i)) (B := OppositeKernel.Construction.torsionBlock n (q i)) (W := W)) |
| 28 | variable (U : ∀ i, SubgroupFunctor.Construction.SupportedChoice A n (M i) (p i) P) |
| 29 | |
| 30 | abbrev KernelIndex (s : ℕ) := Fin s ⊕ Fin s |
| 31 | |
| 32 | def choiceKernelProjector : KernelIndex s → (A ⟶ A) := Sum.elim p q |
| 33 | |
| 34 | instance choiceKernelProjector_isMonHom (i : KernelIndex s) : |
| 35 | IsMonHom (choiceKernelProjector s p q i) := by |
| 36 | cases i <;> dsimp only [choiceKernelProjector, Sum.elim] <;> infer_instance |
| 37 | |
| 38 | def choiceKernelFactor : KernelIndex s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P := |
| 39 | Sum.elim (fun i => (U i).val.subgroup) |
| 40 | (fun i => OppositeKernel.Construction.oppositeKernel n (p i) (q i) (e i) (U i).val.subgroup) |
| 41 | |
| 42 | theorem choiceKernelFactor_killed (i : KernelIndex s) : |
| 43 | (choiceKernelFactor n s M p q e U i).KilledBy n := by |
| 44 | cases i with |
| 45 | | inl i => exact (U i).val.killed |
| 46 | | inr i => |
| 47 | intro X t x hx |
| 48 | obtain ⟨y, _, rfl⟩ := hx |
| 49 | change (y ≫ OppositeKernel.Construction.torsionBlockInclusion n (q i)) ^ n = 1 |
| 50 | rw [← MonObj.comp_pow, OppositeKernel.Construction.torsionBlockInclusion_killed, MonObj.comp_one] |
| 51 | |
| 52 | theorem choiceKernelFactor_supported (i : KernelIndex s) : |
| 53 | SubgroupFunctor.Construction.SupportedOn (choiceKernelFactor n s M p q e U i) (choiceKernelProjector s p q i) := by |
| 54 | cases i with |
| 55 | | inl i => exact (U i).property |
| 56 | | inr i => |
| 57 | intro X t x hx |
| 58 | obtain ⟨y, _, rfl⟩ := hx |
| 59 | change (y ≫ OppositeKernel.Construction.torsionBlockInclusion n (q i)) ≫ q i = y ≫ OppositeKernel.Construction.torsionBlockInclusion n (q i) |
| 60 | rw [Category.assoc, OppositeKernel.Construction.torsionBlockInclusion_supported] |
| 61 | |
| 62 | /-- The factor models are obtained from the chosen subgroup's geometric |
| 63 | witness and from the constructed relative annihilator. -/ |
| 64 | def choiceKernelFactor_models [Etale W.hom] [IsSeparated W.hom] |
| 65 | (horth : ∀ i, Torsion.Groups.Construction.nativeTorsionMap n (q i) ≫ Torsion.Groups.Construction.nativeTorsionMap n (p i) = 1) |
| 66 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 67 | ∀ i, (choiceKernelFactor n s M p q e U i).Model := by |
| 68 | intro i |
| 69 | cases i with |
| 70 | | inl i => exact Classical.choice (U i).val.geometric |
| 71 | | inr i => |
| 72 | let R := Classical.choice (U i).val.geometric |
| 73 | exact Classical.choice (OppositeKernel.Construction.oppositeKernel_and_product_models n (p i) (q i) (e i) |
| 74 | (U i).val.subgroup R (U i).val.killed (U i).property (horth i) h_TorsionQuotient).1 |
| 75 | |
| 76 | /-- The full kernel, defined from the choices and the forced opposites. -/ |
| 77 | def choiceFullKernel : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P := |
| 78 | Kernel.Tuples.Construction.tupleKernel (Fintype.card (KernelIndex s)) (fun j => |
| 79 | choiceKernelFactor n s M p q e U ((Fintype.equivFin (KernelIndex s)).symm j)) |
| 80 | |
| 81 | theorem choiceFullKernel_killed : (choiceFullKernel n s M p q e U).KilledBy n := |
| 82 | Kernel.Tuples.Construction.tupleKernel_killed _ _ n (fun j => choiceKernelFactor_killed n s M p q e U |
| 83 | ((Fintype.equivFin (KernelIndex s)).symm j)) |
| 84 | |
| 85 | /-- Orthogonal torsion projectors give a model for the entire kernel; |
| 86 | none of its geometry is assumed as a property of the choice data. -/ |
| 87 | def choiceFullKernel_model [Etale W.hom] [IsSeparated W.hom] |
| 88 | (hsep : ∀ i j : KernelIndex s, i ≠ j → |
| 89 | Torsion.Groups.Construction.nativeTorsionMap n (choiceKernelProjector s p q j) ≫ |
| 90 | Torsion.Groups.Construction.nativeTorsionMap n (choiceKernelProjector s p q i) = 1) |
| 91 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 92 | (choiceFullKernel n s M p q e U).Model := by |
| 93 | let r := (Fintype.equivFin (KernelIndex s)).symm |
| 94 | have horth i : Torsion.Groups.Construction.nativeTorsionMap n (q i) ≫ Torsion.Groups.Construction.nativeTorsionMap n (p i) = 1 := |
| 95 | hsep (.inl i) (.inr i) (by intro h; cases h) |
| 96 | let R := choiceKernelFactor_models n s M p q e U horth h_TorsionQuotient |
| 97 | exact Kernel.Assembly.Construction.separatedTorsionTuple_model n (Fintype.card (KernelIndex s)) |
| 98 | (fun j => choiceKernelFactor n s M p q e U (r j)) (fun j => R (r j)) |
| 99 | (fun j => choiceKernelProjector s p q (r j)) |
| 100 | (fun j => choiceKernelFactor_killed n s M p q e U (r j)) |
| 101 | (fun j => choiceKernelFactor_supported n s M p q e U (r j)) |
| 102 | (fun i j hij => hsep (r i) (r j) (fun h => hij (r.injective h))) |
| 103 | |
| 104 | def blockChoicesBaseChange {Q : Over S} (b : Q ⟶ P) : |
| 105 | ∀ i, SubgroupFunctor.Construction.SupportedChoice A n (M i) (p i) Q := fun i => |
| 106 | (SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i)).map b.op (U i) |
| 107 | |
| 108 | theorem choiceKernelFactor_baseChange {Q : Over S} (b : Q ⟶ P) (i : KernelIndex s) : |
| 109 | (choiceKernelFactor n s M p q e U i).baseChange b = |
| 110 | choiceKernelFactor n s M p q e (blockChoicesBaseChange n s M p U b) i := by |
| 111 | cases i with |
| 112 | | inl i => rfl |
| 113 | | inr i => exact OppositeKernel.Construction.oppositeKernel_baseChange n (p i) (q i) (e i) (U i).val.subgroup b |
| 114 | |
| 115 | theorem choiceFullKernel_baseChange {Q : Over S} (b : Q ⟶ P) : |
| 116 | (choiceFullKernel n s M p q e U).baseChange b = |
| 117 | choiceFullKernel n s M p q e (blockChoicesBaseChange n s M p U b) := by |
| 118 | unfold choiceFullKernel |
| 119 | rw [Kernel.Tuples.Construction.tupleKernel_baseChange] |
| 120 | congr 1 |
| 121 | funext j |
| 122 | exact choiceKernelFactor_baseChange n s M p q e U b _ |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction |