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.RepresentationTheory.Theta.Geometric.Cleared.ComplementType |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.UnshiftPELTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricSplitFrame |
| 4 | |
| 5 | /-! # Reverse Cleared Branch -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.ReverseClearedBranch |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual cleared active branch reverses to an actual branch of |
| 12 | the reversed weight, with the literal original source as corrected endpoint. -/ |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | variable {E K k : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 17 | [Field K] [NumberField K] [Field k] [CharZero k] [IsAlgClosed k] |
| 18 | {s q : ℕ} [Fact q.Prime] |
| 19 | (D : AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 20 | (hg : D.HasIntegralModelGeometry) (hgood : D.IsGoodCompletelySplitPrime) (hIsogenyQuotient : D.RealizesIsogenyQuotient) |
| 21 | (A : TateComparison.Action D) (hA : A.IsRealization D hg hgood hIsogenyQuotient) |
| 22 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 23 | {b : Spec (.of k) ⟶ Spec (.of K)} |
| 24 | |
| 25 | attribute [local irreducible] AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.fiberFamily |
| 26 | AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.geometricSplitFrame AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso.transportFrame UnshiftPELTransport.unshiftTransport |
| 27 | |
| 28 | include hA hdegree hs in |
| 29 | theorem reverse_cleared_branch (a : Intrinsic.Hecke.ActiveWeight) (x y : D.GeometricPoint b) |
| 30 | (c : (D.correspondence (Intrinsic.Hecke.clearedActiveType D.reference.distinguished a)).Fiber x) |
| 31 | (hc : c.val ≫ (D.correspondence (Intrinsic.Hecke.clearedActiveType D.reference.distinguished a)).target = |
| 32 | (fun z : D.GeometricPoint b => z ≫ A.shift.hom)^[Intrinsic.Hecke.clearingExponent D.reference.distinguished a] y) : |
| 33 | ∃ d : (D.correspondence (Intrinsic.Hecke.clearedActiveType D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a))).Fiber y, |
| 34 | d.val ≫ (D.correspondence (Intrinsic.Hecke.clearedActiveType D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a))).target = |
| 35 | (fun z : D.GeometricPoint b => z ≫ A.shift.hom)^[ |
| 36 | Intrinsic.Hecke.clearingExponent D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a)] x := by |
| 37 | let n := Intrinsic.Hecke.clearingExponent D.reference.distinguished a |
| 38 | let z := (fun w : D.GeometricPoint b => w ≫ A.shift.hom)^[n] y |
| 39 | let z' := (fun w : D.GeometricPoint b => w ≫ A.shift.hom)^[n] x |
| 40 | let frame := D.geometricSplitFrame hgood hdegree hs hg b z |
| 41 | have hf := D.geometricSplitFrame_equivariant hgood hdegree hs hg b z |
| 42 | let u := (ZMod.unitOfCoprime q hgood.2.2.1) ^ n |
| 43 | obtain ⟨j⟩ := ConcreteShiftFiber.actual_shift_iterate_fiber D hg hgood hIsogenyQuotient A hA y n |
| 44 | obtain ⟨kIso⟩ := ConcreteShiftFiber.actual_shift_iterate_fiber D hg hgood hIsogenyQuotient A hA x n |
| 45 | have hu : ZMod.unitOfCoprime (q ^ (2 * n)) (hgood.2.2.1.pow_left (2 * n)) = u * u := by |
| 46 | rw [Cleared.FiberMarking.unitOfCoprime_pow, show 2 * n = n + n by omega, pow_add] |
| 47 | have H := Cleared.ComplementType.cleared_complement_type D hg hgood hIsogenyQuotient a x z c.val c.property hc frame hf |
| 48 | change ∃ f : AlgebraicGeometry.AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (D.fiberFamily b z) |
| 49 | ((D.fiberFamily b x).shiftMarking (ZMod.unitOfCoprime (q ^ (2 * n)) (hgood.2.2.1.pow_left (2 * n)))) |
| 50 | (q ^ (2 * n)), _ at H |
| 51 | rw [hu] at H |
| 52 | obtain ⟨f, hpos⟩ := H |
| 53 | let frame' : D.FiberFrame b y := j.transportFrame (Over.mk (𝟙 (Spec (.of k)))) frame |
| 54 | have hf' := UnshiftPELTransport.unshiftFrame_equivariant (s := s) (q := q) |
| 55 | (Q := D.fiberFamily b y) (Y := D.fiberFamily b z) |
| 56 | (Over.mk (𝟙 (Spec (.of k)))) u j D.localCharacter frame hf |
| 57 | have hl (v : Fin s) : D.framedFiberSourceLattice b y frame' (v, false) = |
| 58 | D.framedFiberSourceLattice b z frame (v, false) := by |
| 59 | apply Subtype.ext |
| 60 | have h := UnshiftPELTransport.pelFrameTransport_sourceIntegral (s := s) (q := q) |
| 61 | (P := (D.fiberFamily b y).shiftMarking u) (Q := D.fiberFamily b z) |
| 62 | (Over.mk (𝟙 (Spec (.of k)))) j frame (v, false) |
| 63 | simpa only [AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.framedFiberSourceLattice, |
| 64 | AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.framedSourceLattice, PowerTatePreimages.framedSourceIntegral, |
| 65 | AlgebraicGeometry.AbelianScheme.TateComparison.PEL.PELFamilyData.shiftMarking] using h |
| 66 | have Hf : ∃ e : AlgebraicGeometry.AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (D.fiberFamily b y) (D.fiberFamily b z') |
| 67 | (q ^ (Intrinsic.Hecke.clearedActiveType D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a)).multiplierNat), |
| 68 | ∀ v, ∃ L : AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RankThreeLattice ℤ_[q] ℚ_[q], |
| 69 | AlgebraicGeometry.AbelianScheme.TateComparison.Rational.framedTateLattice frame' e.isogeny.hom (v, false) = L.val ∧ |
| 70 | AlgebraicGeometry.AbelianScheme.TateComparison.Duality.RelativePosition (q : ℤ_[q]) |
| 71 | ((Intrinsic.Hecke.clearedActiveType D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a)).val.exponent v) |
| 72 | (D.framedFiberSourceLattice b y frame' (v, false)) L := by |
| 73 | rw [Active.CosetFiberBranch.clearedActiveType_multiplierNat, ReverseActiveWeight.reverse_clearingExponent] |
| 74 | refine ⟨UnshiftPELTransport.unshiftTransport u f j kIso, fun v => ?_⟩ |
| 75 | obtain ⟨L, hL, hp⟩ := hpos v |
| 76 | refine ⟨L, (UnshiftPELTransport.unshiftTransport_framedLattice _ u f j kIso frame (v, false)).trans hL, ?_⟩ |
| 77 | rwa [hl] |
| 78 | obtain ⟨e, he⟩ := Hf |
| 79 | obtain ⟨d, hd⟩ := TypedIsogenyBranch.exists_original_branch_of_typed_isogeny D hg hgood hIsogenyQuotient hdegree hs |
| 80 | (Intrinsic.BranchLattices.padicTateComparisonLatticeInput q) y z' frame' hf' |
| 81 | (Intrinsic.Hecke.clearedActiveType D.reference.distinguished (ReverseActiveWeight.reverseActiveWeight a)) e he |
| 82 | refine ⟨d, ?_⟩ |
| 83 | simpa only [ReverseActiveWeight.reverse_clearingExponent] using hd |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.RepresentationTheory.Theta.Geometric.ReverseClearedBranch |