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.FrobeniusKernel.Canonical |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalOppositePoints |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalBlockComponents |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ProductFactorization |
| 5 | |
| 6 | /-! # Canonical Points -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalPoints.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The constructed full native kernel realizes exactly the independent |
| 13 | all-test prescription used in the full FrobeniusKernel statement. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 20 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 21 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 22 | variable {k : Type} [Field k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 24 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 25 | variable (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation A ρ) (hgood : q.Coprime (∏ i, δ i)) |
| 26 | variable (n s : ℕ) (labels : (Fin s × Bool) ≃ Gal(E/ℚ)) |
| 27 | variable (hc : ∀ v, labels (v, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, false)) |
| 28 | variable (P : ∀ v : Fin s, CartierModel.Construction.CartierCoordinates (.of k) |
| 29 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v, false)) n)) |
| 30 | variable (H : ∀ v : Fin s, FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 31 | (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v, false)) n)) |
| 32 | |
| 33 | def prescribedKernelComponentCondition (T : Over (Spec (.of k))) |
| 34 | (x : (A.abelian.torsionFunctor (q ^ n)).obj (.op T)) (v : Fin s) : Prop := |
| 35 | (∃ h : T ⟶ (H v).group.X, |
| 36 | Prescription.Construction.prescribedChosenPoint j iota hsplit A ρ n (labels (v, false)) (H v) T h = |
| 37 | Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n (labels (v, false)) T x) ∧ |
| 38 | ∀ (U : Over (Spec (.of k))) (t : U ⟶ T) (h : U ⟶ (H v).group.X), |
| 39 | Prescription.Construction.canonicalTorsionOrthogonal A (q ^ n) (pow_pos (Fact.out : q.Prime).pos n) U |
| 40 | (Prescription.Construction.prescribedChosenPoint j iota hsplit A ρ n (labels (v, false)) (H v) U h) |
| 41 | (Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n (labels (v, true)) U |
| 42 | ((A.abelian.torsionFunctor (q ^ n)).map t.op x)) |
| 43 | |
| 44 | abbrev canonicalFullKernelBlockMap := |
| 45 | BlockProducts.Construction.groupBlockProductMap s (fun v => (P v).pairedKernel (H v).coordinates (H v).inclusion) |
| 46 | (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels) |
| 47 | (fun v => (H v).inclusion ⊗ₘ (P v).oppositeInclusion (H v).coordinates (H v).inclusion |
| 48 | (CanonicalIntrinsicPairing.Construction.canonicalPairingAtLevel j iota hsplit A ρ hρ hgood |
| 49 | (labels (v, false)) (labels (v, true)) (hc v) n (P v))) |
| 50 | |
| 51 | theorem canonicalFullKernel_point (T : Over (Spec (.of k))) |
| 52 | (z : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit A ρ n s labels P H).X) : |
| 53 | z ≫ Canonical.Construction.canonicalFullKernelInclusion j iota hsplit A ρ hρ hgood n s labels hc P H = |
| 54 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T |
| 55 | (z ≫ (canonicalFullKernelBlockMap j iota hsplit A ρ hρ hgood n s labels hc P H).hom.hom)).val := by |
| 56 | let f := (canonicalFullKernelBlockMap j iota hsplit A ρ hρ hgood n s labels hc P H).hom.hom |
| 57 | let b := (CMPointsSplitting.Construction.l45FullTorsionSplitting j iota hsplit A.abelian ρ n s labels).inv.hom.hom |
| 58 | change z ≫ ((f ≫ b) ≫ A.abelian.torsionInclusion (q ^ n)) = _ |
| 59 | exact (Category.assoc z (f ≫ b) (A.abelian.torsionInclusion (q ^ n))).symm.trans |
| 60 | ((congrArg (fun t => t ≫ A.abelian.torsionInclusion (q ^ n)) (Category.assoc z f b).symm).trans |
| 61 | (CMPointsSplittingPoints.Construction.l45FullTorsionSplitting_inv_inclusion j iota hsplit A.abelian ρ n s labels T (z ≫ f))) |
| 62 | |
| 63 | theorem canonicalPairedBlockFactor_iff (T : Over (Spec (.of k))) |
| 64 | (b : T ⟶ (BlockProducts.Construction.groupBlockProduct s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels)).X) |
| 65 | (v : Fin s) : |
| 66 | (∃ z : T ⟶ ((P v).pairedKernel (H v).coordinates (H v).inclusion).X, |
| 67 | z ≫ ((H v).inclusion ⊗ₘ (P v).oppositeInclusion (H v).coordinates (H v).inclusion |
| 68 | (CanonicalIntrinsicPairing.Construction.canonicalPairingAtLevel j iota hsplit A ρ hρ hgood |
| 69 | (labels (v, false)) (labels (v, true)) (hc v) n (P v))).hom.hom = |
| 70 | ProductPoints.Construction.groupBlockProductPointsEquiv s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels) T b v) ↔ |
| 71 | prescribedKernelComponentCondition j iota hsplit A ρ n s labels H T |
| 72 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b) v := by |
| 73 | let z := ProductPoints.Construction.groupBlockProductPointsEquiv s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels) T b v |
| 74 | refine (ProductFactorization.Construction.groupPairMap_factor_iff (H v).inclusion |
| 75 | ((P v).oppositeInclusion (H v).coordinates (H v).inclusion |
| 76 | (CanonicalIntrinsicPairing.Construction.canonicalPairingAtLevel j iota hsplit A ρ hρ hgood |
| 77 | (labels (v, false)) (labels (v, true)) (hc v) n (P v))) T z).trans (and_congr ?_ ?_) |
| 78 | · have hl := CanonicalBlockComponents.Construction.canonicalFullBlockComponent_false j iota hsplit A ρ n s labels T b v |
| 79 | constructor |
| 80 | · rintro ⟨h, hh⟩ |
| 81 | exact ⟨h, (congrArg (CanonicalBlockComponents.Construction.canonicalOriginalBlockPoint j iota hsplit A ρ n (labels (v, false)) T) hh).trans hl⟩ |
| 82 | · rintro ⟨h, hh⟩ |
| 83 | exact ⟨h, CanonicalBlockComponents.Construction.canonicalOriginalBlockPoint_injective j iota hsplit A ρ n (labels (v, false)) T |
| 84 | (hh.trans hl.symm)⟩ |
| 85 | · refine (CanonicalOppositePoints.Construction.canonicalOppositeKernel_realizes j iota hsplit A ρ hρ hgood |
| 86 | (labels (v, false)) (labels (v, true)) (hc v) n (P v) (H v) T (z ≫ snd _ _)).trans ?_ |
| 87 | apply forall_congr' |
| 88 | intro U |
| 89 | apply forall_congr' |
| 90 | intro t |
| 91 | apply forall_congr' |
| 92 | intro h |
| 93 | have hr := CanonicalBlockComponents.Construction.canonicalFullBlockComponent_true j iota hsplit A ρ n s labels T b v |
| 94 | have hn := CanonicalBlockComponents.Construction.canonicalOriginalBlockPoint_natural j iota hsplit A ρ n (labels (v, true)) t (z ≫ snd _ _) |
| 95 | have hp := CanonicalBlockComponents.Construction.prescribedBlockComponent_natural j iota hsplit A ρ n (labels (v, true)) t |
| 96 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b) |
| 97 | have he := hn.symm.trans ((congrArg ((A.abelian.torsionFunctor (q ^ n)).map t.op) hr).trans hp) |
| 98 | exact iff_of_eq (congrArg (fun y => Prescription.Construction.canonicalTorsionOrthogonal A (q ^ n) |
| 99 | (pow_pos (Fact.out : q.Prime).pos n) U |
| 100 | (Prescription.Construction.prescribedChosenPoint j iota hsplit A ρ n (labels (v, false)) (H v) U h) y) he) |
| 101 | |
| 102 | theorem canonicalFullKernelBlockMap_realizes (T : Over (Spec (.of k))) |
| 103 | (b : T ⟶ (BlockProducts.Construction.groupBlockProduct s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels)).X) : |
| 104 | (∃ z : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit A ρ n s labels P H).X, |
| 105 | z ≫ (canonicalFullKernelBlockMap j iota hsplit A ρ hρ hgood n s labels hc P H).hom.hom = b) ↔ |
| 106 | ∀ v, prescribedKernelComponentCondition j iota hsplit A ρ n s labels H T |
| 107 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b) v := |
| 108 | (ProductFactorization.Construction.groupBlockProductMap_factor_iff s _ _ _ T b).trans |
| 109 | (forall_congr' (fun v => canonicalPairedBlockFactor_iff j iota hsplit A ρ hρ hgood n s labels hc P H T b v)) |
| 110 | |
| 111 | theorem canonicalFullKernel_realizes (T : Over (Spec (.of k))) (a : T ⟶ A.abelian.scheme) : |
| 112 | (∃ z : T ⟶ (CMPointsKernels.Construction.l45FullChosenKernel j iota hsplit A ρ n s labels P H).X, |
| 113 | z ≫ Canonical.Construction.canonicalFullKernelInclusion j iota hsplit A ρ hρ hgood n s labels hc P H = a) ↔ |
| 114 | Prescription.Construction.prescribedFullKernel j iota hsplit A ρ n s labels H T a := by |
| 115 | constructor |
| 116 | · rintro ⟨z, hz⟩ |
| 117 | let b := z ≫ (canonicalFullKernelBlockMap j iota hsplit A ρ hρ hgood n s labels hc P H).hom.hom |
| 118 | refine ⟨CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b, |
| 119 | (canonicalFullKernel_point j iota hsplit A ρ hρ hgood n s labels hc P H T z).symm.trans hz, ?_⟩ |
| 120 | exact (canonicalFullKernelBlockMap_realizes j iota hsplit A ρ hρ hgood n s labels hc P H T b).mp ⟨z, rfl⟩ |
| 121 | · rintro ⟨x, hx, hcond⟩ |
| 122 | let e := CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T |
| 123 | let b := e.symm x |
| 124 | have hb : e b = x := e.apply_symm_apply x |
| 125 | obtain ⟨z, hz⟩ := (canonicalFullKernelBlockMap_realizes j iota hsplit A ρ hρ hgood n s labels hc P H T b).mpr |
| 126 | (show ∀ v, prescribedKernelComponentCondition j iota hsplit A ρ n s labels H T (e b) v from |
| 127 | hb.symm ▸ hcond) |
| 128 | refine ⟨z, (canonicalFullKernel_point j iota hsplit A ρ hρ hgood n s labels hc P H T z).trans ?_⟩ |
| 129 | exact (congrArg (fun t => (e t).val) hz).trans ((congrArg Subtype.val hb).trans hx) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalPoints.Construction |