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.TateComparison.PELWeilAdjointTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELWeilSelfDuality |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FramedPairing |
| 4 | |
| 5 | /-! # Geometric Weil Balance -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! IntegralModel classification supplies Rosati balance for the actual Weil |
| 12 | Tate pairing on every geometric fiber and in every compatible frame. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 20 | (hgeometry : D.HasIntegralModelGeometry) {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 21 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) |
| 22 | |
| 23 | theorem Data.SphericalPELAlbaneseData.geometricRationalWeilPairing_adjoint (a : NumberField.RingOfIntegers E) |
| 24 | (v w : Rational.rationalTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) : |
| 25 | D.geometricRationalWeilPairing hg hgeometry b x |
| 26 | (Rational.rationalTateMap (T := Over.mk (𝟙 (Spec (.of k)))) (q := q) |
| 27 | (End.endSchemeMap (D.fiberFamily b x).abelian.scheme ((D.fiberFamily b x).action a)) v) w = |
| 28 | D.geometricRationalWeilPairing hg hgeometry b x v |
| 29 | (Rational.rationalTateMap (T := Over.mk (𝟙 (Spec (.of k)))) (q := q) |
| 30 | (End.endSchemeMap (D.fiberFamily b x).abelian.scheme |
| 31 | ((D.fiberFamily b x).action (NumberField.IsCMField.ringOfIntegersComplexConj E a))) w) := by |
| 32 | have : IsReduced (Over.mk (b ≫ D.generic)).left := inferInstanceAs (IsReduced (Spec (.of k))) |
| 33 | have hp := (hgeometry.classifies.1 (Over.mk (b ≫ D.generic)) (D.modelGeometricPoint b x)).1 |
| 34 | let e := D.model.family.pullbackComp (pullback.fst D.model.space.hom D.generic) x.left |
| 35 | exact e.rationalWeil_adjoint D.reference.polarizationType |
| 36 | (D.fiberPolarizationType hgeometry b x) hp.1 hg.2.2.2.2 |
| 37 | (NumberField.IsCMField.ringOfIntegersComplexConj E).toRingHom hp.2.2 a v w |
| 38 | |
| 39 | theorem Data.SphericalPELAlbaneseData.geometricRationalWeilPairing_rosati (a : NumberField.RingOfIntegers E) |
| 40 | (v w : Rational.rationalTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) : |
| 41 | D.geometricRationalWeilPairing hg hgeometry b x |
| 42 | (Rational.rationalTateMap (T := Over.mk (𝟙 (Spec (.of k)))) (q := q) |
| 43 | (End.endSchemeMap (D.fiberFamily b x).abelian.scheme |
| 44 | ((D.fiberFamily b x).action (NumberField.IsCMField.ringOfIntegersComplexConj E a))) v) w = |
| 45 | D.geometricRationalWeilPairing hg hgeometry b x v |
| 46 | (Rational.rationalTateMap (T := Over.mk (𝟙 (Spec (.of k)))) (q := q) |
| 47 | (End.endSchemeMap (D.fiberFamily b x).abelian.scheme ((D.fiberFamily b x).action a)) w) := by |
| 48 | have hc : NumberField.IsCMField.ringOfIntegersComplexConj E |
| 49 | (NumberField.IsCMField.ringOfIntegersComplexConj E a) = a := by |
| 50 | apply NumberField.RingOfIntegers.ext |
| 51 | change NumberField.IsCMField.complexConj E (NumberField.IsCMField.complexConj E (a : E)) = (a : E) |
| 52 | exact NumberField.IsCMField.complexConj_apply_apply E _ |
| 53 | simpa only [hc] using |
| 54 | D.geometricRationalWeilPairing_adjoint hg hgeometry b x |
| 55 | (NumberField.IsCMField.ringOfIntegersComplexConj E a) v w |
| 56 | |
| 57 | variable (frame : D.FiberFrame b x) |
| 58 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) |
| 59 | |
| 60 | include hf in |
| 61 | theorem Data.SphericalPELAlbaneseData.geometricWeilFrame_orthogonal (i j : Fin s × Bool) (hij : i ≠ Data.SphericalPELAlbaneseData.oppositeBlock j) |
| 62 | (v w : Fin 3 → ℚ_[q]) : |
| 63 | LinearMap.BilinForm.congr frame (D.geometricRationalWeilPairing hg hgeometry b x) |
| 64 | (Pi.single i v) (Pi.single j w) = 0 := |
| 65 | SplitPairing.balanced_blocks_orthogonal _ Data.SphericalPELAlbaneseData.oppositeBlock Data.SphericalPELAlbaneseData.oppositeBlock_involutive |
| 66 | (fun a i => (D.localCharacter i a : ℚ_[q])) |
| 67 | (fun _ _ hij => D.rationalCharacter_separates hg hij) |
| 68 | (D.framedPairing_balanced hg (D.fiberFamily b x) _ frame hf |
| 69 | (D.geometricRationalWeilPairing hg hgeometry b x) |
| 70 | (D.geometricRationalWeilPairing_rosati hg hgeometry b x)) i j hij v w |
| 71 | |
| 72 | include hf in |
| 73 | theorem Data.SphericalPELAlbaneseData.geometricWeilOppositePairing_nondegenerate (v : Fin s) : |
| 74 | (D.framedOppositePairing (D.fiberFamily b x) _ frame |
| 75 | (D.geometricRationalWeilPairing hg hgeometry b x) v).Nondegenerate := |
| 76 | D.framedOppositePairing_nondegenerate hg (D.fiberFamily b x) _ frame hf |
| 77 | (D.geometricRationalWeilPairing hg hgeometry b x) |
| 78 | (D.geometricRationalWeilPairing_nondegenerate hg hgeometry b x) |
| 79 | (D.geometricRationalWeilPairing_rosati hg hgeometry b x) v |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |