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.Picard.PoincareBundle.OrthogonalBaseChange |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Field.WeilCanonicalComparison |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ContainmentMap |
| 4 | |
| 5 | /-! # Orthogonal Representation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.OrthogonalRepresentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full torsion-point annihilator is the annihilator of the actual represented kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.Picard.PoincareBundle.TorsionTestPoints |
| 17 | attribute [local instance] Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 18 | |
| 19 | variable {S : Scheme} {A B : Over S} [GrpObj A] [IsCommMonObj A] [GrpObj B] |
| 20 | (f : A ⟶ B) [IsMonHom f] (n : ℕ) |
| 21 | (hker : ∀ (T : Over S) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 22 | |
| 23 | /-- Include a represented scalar-kernel point in the complete torsion-point functor. -/ |
| 24 | def point {T : Over S} (y : T ⟶ Kernel.Scheme.kernelObject ((𝟙 A) ^ n)) : TorsionTestPoints.Point A n T := |
| 25 | ⟨y ≫ Kernel.Scheme.kernelInclusion ((𝟙 A) ^ n), Field.WeilCanonicalComparison.kernel_torsion A n y⟩ |
| 26 | |
| 27 | /-- Restricting represented points restricts the same full scheme-valued point. -/ |
| 28 | theorem point_restrict {T U : Over S} (a : U ⟶ T) (y : T ⟶ Kernel.Scheme.kernelObject ((𝟙 A) ^ n)) : |
| 29 | point n (a ≫ y) = TorsionTestPoints.restrict a (point n y) := |
| 30 | Subtype.ext (Category.assoc _ _ _) |
| 31 | |
| 32 | /-- Kernel containment preserves every included test point. -/ |
| 33 | theorem point_kernel {T : Over S} (x : T ⟶ Kernel.Scheme.kernelObject f) : |
| 34 | point n (x ≫ Kernel.ContainmentMap.torsionMap f n hker) = |
| 35 | (⟨x ≫ Kernel.Scheme.kernelInclusion f, hker T _ (Kernel.Scheme.kernelPointsEquiv f T x).property⟩ : TorsionTestPoints.Point A n T) := |
| 36 | Subtype.ext ((Category.assoc _ _ _).trans |
| 37 | (congrArg (fun i => x ≫ i) (Kernel.ContainmentMap.torsionMap_inclusion f n hker))) |
| 38 | |
| 39 | /-- A full point-annihilator equality is exactly the represented-kernel annihilator equality. -/ |
| 40 | theorem represented |
| 41 | (V : ∀ T : Over S, TorsionTestPoints.Point A n T → TorsionTestPoints.Point A n T → Γ(T.left, ⊤)ˣ) |
| 42 | (h : OrthogonalBaseChange.SelfAnnihilating f n hker V) |
| 43 | (T : Over S) (y : T ⟶ Kernel.Scheme.kernelObject ((𝟙 A) ^ n)) : |
| 44 | (∀ (U : Over S) (a : U ⟶ T) (x : U ⟶ Kernel.Scheme.kernelObject f), |
| 45 | V U (point n (x ≫ Kernel.ContainmentMap.torsionMap f n hker)) (point n (a ≫ y)) = 1) ↔ |
| 46 | ∃ x : T ⟶ Kernel.Scheme.kernelObject f, x ≫ Kernel.ContainmentMap.torsionMap f n hker = y := by |
| 47 | let j := Kernel.ContainmentMap.torsionMap f n hker |
| 48 | let i := Kernel.Scheme.kernelInclusion ((𝟙 A) ^ n) |
| 49 | constructor |
| 50 | · intro hy |
| 51 | have hf : (point n y).val ≫ f = 1 := by |
| 52 | apply (h T (point n y)).mp |
| 53 | intro U a x hx |
| 54 | let xH := (Kernel.Scheme.kernelPointsEquiv f U).symm ⟨x, hx⟩ |
| 55 | have hxH : xH ≫ Kernel.Scheme.kernelInclusion f = x := |
| 56 | congrArg Subtype.val ((Kernel.Scheme.kernelPointsEquiv f U).apply_symm_apply ⟨x, hx⟩) |
| 57 | let x0 : TorsionTestPoints.Point A n U := ⟨x, hker U x hx⟩ |
| 58 | have hp : point n (xH ≫ j) = x0 := Subtype.ext |
| 59 | (((Category.assoc _ _ _).trans |
| 60 | (congrArg (fun z => xH ≫ z) (Kernel.ContainmentMap.torsionMap_inclusion f n hker))).trans hxH) |
| 61 | have he := congrArg₂ (V U) hp (point_restrict n a y) |
| 62 | exact he.symm.trans (hy U a xH) |
| 63 | let xH := (Kernel.Scheme.kernelPointsEquiv f T).symm ⟨(point n y).val, hf⟩ |
| 64 | refine ⟨xH, ?_⟩ |
| 65 | apply (cancel_mono i).mp |
| 66 | exact ((Category.assoc _ _ _).trans |
| 67 | (congrArg (fun z => xH ≫ z) (Kernel.ContainmentMap.torsionMap_inclusion f n hker))).trans |
| 68 | (congrArg Subtype.val ((Kernel.Scheme.kernelPointsEquiv f T).apply_symm_apply ⟨(point n y).val, hf⟩)) |
| 69 | · rintro ⟨xH, hxH⟩ |
| 70 | have hi : (point n y).val = xH ≫ Kernel.Scheme.kernelInclusion f := |
| 71 | (congrArg (fun z => z ≫ i) hxH).symm.trans |
| 72 | ((Category.assoc _ _ _).trans |
| 73 | (congrArg (fun z => xH ≫ z) (Kernel.ContainmentMap.torsionMap_inclusion f n hker))) |
| 74 | have hf : (point n y).val ≫ f = 1 := |
| 75 | (congrArg (fun z => z ≫ f) hi).trans (Kernel.Scheme.kernelPointsEquiv f T xH).property |
| 76 | have hy := (h T (point n y)).mpr hf |
| 77 | intro U a x |
| 78 | have he := congrArg₂ (V U) (point_kernel f n hker x) (point_restrict n a y) |
| 79 | exact he.trans (hy U a (x ≫ Kernel.Scheme.kernelInclusion f) (Kernel.Scheme.kernelPointsEquiv f U x).property) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.OrthogonalRepresentation |