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.NumberTheory.PadicHodge.IntegralComparison.Closed.PointParameterCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalScalars |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PurePushforwardRefinement |
| 6 | |
| 7 | /-! # Relative Geometry -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.RelativeGeometry |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original parameter family and an actual complementary affine |
| 14 | cover have a canonical common refinement. Its inverse on a pure |
| 15 | closed-pushforward complex follows from the genuine source cover. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 22 | variable {X Y T : Scheme.{u}} [X.IsSeparated] [Y.IsSeparated] |
| 23 | (i : X ⟶ Y) [IsClosedImmersion i] (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 24 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 25 | {c g : ℕ} (s : Fin c → Γ(Y, U)) (t : Fin g → Γ(Y, U)) |
| 26 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U, hU⟩) |
| 27 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 28 | |
| 29 | abbrev outside := SectionIdealPuncturedCover.outside (s₀ ≫ i).ker |
| 30 | abbrev parameters := Principal.RelativeConcentration.family U hU (Fraction.family U t) |
| 31 | abbrev complementary := ComplementaryAffineCover.opens (outside i s₀) |
| 32 | abbrev CommonIndex := ULift.{u} (Fin g) × ComplementaryAffineCover.Index (outside i s₀) |
| 33 | instance commonOrder : LinearOrder (CommonIndex (g := g) i s₀) := |
| 34 | IsWellOrder.linearOrder WellOrderingRel |
| 35 | abbrev common := Relative.AffineCommonCover.opens (parameters U hU t) (complementary i s₀) |
| 36 | abbrev left := Relative.AffineCommonCover.left (parameters U hU t) (complementary i s₀) |
| 37 | abbrev right := Relative.AffineCommonCover.right (parameters U hU t) (complementary i s₀) |
| 38 | |
| 39 | omit [Y.IsSeparated] in |
| 40 | theorem ambient_eq : Principal.RelativeConcentration.ambient U hU = U := Principal.TerminalScalars.open_eq U hU |
| 41 | omit [Y.IsSeparated] in |
| 42 | theorem parameters_affine (j : ULift.{u} (Fin g)) : IsAffineOpen (parameters U hU t j) := |
| 43 | hU.basicOpen (t j.down) |
| 44 | omit [X.IsSeparated] [Y.IsSeparated] [IsClosedImmersion i] [IsClosedImmersion s₀] in |
| 45 | theorem complementary_affine (j : ComplementaryAffineCover.Index (outside i s₀)) : |
| 46 | IsAffineOpen (complementary i s₀ j) := ComplementaryAffineCover.affine _ j |
| 47 | omit [X.IsSeparated] [IsClosedImmersion i] [IsClosedImmersion s₀] in |
| 48 | theorem common_affine (j : CommonIndex (g := g) i s₀) : IsAffineOpen (common i s₀ U hU t j) := |
| 49 | Relative.AffineCommonCover.affine _ _ (parameters_affine U hU t) (complementary_affine i s₀) j |
| 50 | omit [X.IsSeparated] [Y.IsSeparated] [IsClosedImmersion i] [IsClosedImmersion s₀] in |
| 51 | theorem complementary_outside (j : ComplementaryAffineCover.Index (outside i s₀)) : |
| 52 | complementary i s₀ j ≤ outside i s₀ := ComplementaryAffineCover.le _ j |
| 53 | omit [X.IsSeparated] [Y.IsSeparated] [IsClosedImmersion i] [IsClosedImmersion s₀] in |
| 54 | theorem common_outside (j : CommonIndex (g := g) i s₀) : common i s₀ U hU t j ≤ outside i s₀ := |
| 55 | inf_le_right.trans (complementary_outside i s₀ j.2) |
| 56 | |
| 57 | abbrev sourceOutside := i ⁻¹ᵁ U ⊓ SectionIdealPuncturedCover.outside s₀.ker |
| 58 | |
| 59 | include hs hst in |
| 60 | omit [X.IsSeparated] in |
| 61 | omit [Y.IsSeparated] in |
| 62 | theorem parameter_cover : (⨆ j, i ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU ⊓ parameters U hU t j)) = sourceOutside i s₀ U := by |
| 63 | rw [ambient_eq] |
| 64 | change (⨆ j : ULift.{u} (Fin g), i ⁻¹ᵁ (U ⊓ Y.basicOpen (t j.down))) = _ |
| 65 | rw [iSup_ulift] |
| 66 | exact Closed.PointParameterCover.principal_cover i s₀ U hU s t hs hst |
| 67 | |
| 68 | omit [X.IsSeparated] in |
| 69 | omit [Y.IsSeparated] in |
| 70 | theorem complementary_cover : |
| 71 | (⨆ j, i ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU ⊓ complementary i s₀ j)) = sourceOutside i s₀ U := by |
| 72 | rw [ambient_eq] |
| 73 | exact Closed.PointParameterCover.complementary_cover i s₀ U |
| 74 | |
| 75 | include hs hst in |
| 76 | omit [X.IsSeparated] in |
| 77 | omit [Y.IsSeparated] in |
| 78 | theorem common_cover : (⨆ j, i ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU ⊓ common i s₀ U hU t j)) = |
| 79 | sourceOutside i s₀ U := by |
| 80 | apply le_antisymm |
| 81 | · apply iSup_le |
| 82 | intro j |
| 83 | exact ((Opens.map i.base).monotone (inf_le_inf_left _ inf_le_left)).trans |
| 84 | ((le_iSup (fun k => i ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU ⊓ parameters U hU t k)) j.1).trans |
| 85 | (parameter_cover i s₀ U hU s t hs hst).le) |
| 86 | · intro x hx |
| 87 | obtain ⟨j, hj⟩ := Opens.mem_iSup.mp ((parameter_cover i s₀ U hU s t hs hst).symm ▸ hx) |
| 88 | obtain ⟨k, hk⟩ := Opens.mem_iSup.mp ((complementary_cover i s₀ U hU).symm ▸ hx) |
| 89 | exact Opens.mem_iSup.mpr ⟨(j,k), hj.1, hj.2, hk.2⟩ |
| 90 | |
| 91 | variable (K : CochainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 92 | (d : ℕ) (hK : ∀ q, q ≠ d → K.ExactAt q) |
| 93 | (M : X.Modules) [hM : M.IsQuasicoherent] |
| 94 | (e : K.homology d ≅ (Scheme.Modules.pushforward i).obj M) |
| 95 | |
| 96 | include hs hst hK M hM e in |
| 97 | theorem right_isIso (q : ℕ) : IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 98 | (complementary i s₀) (common i s₀ U hU t) (right i s₀ U hU t) |
| 99 | (Relative.AdditiveCechConcentration.coefficients K) q) := |
| 100 | Relative.PurePushforwardRefinement.isIso i (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) |
| 101 | (complementary i s₀) (complementary_affine i s₀) |
| 102 | (common i s₀ U hU t) (common_affine i s₀ U hU t) (right i s₀ U hU t) |
| 103 | (sourceOutside i s₀ U) (complementary_cover i s₀ U hU) |
| 104 | (common_cover i s₀ U hU s t hs hst) |
| 105 | (fun j => ((Principal.RelativeConcentration.ambient_affine U hU).inf (complementary_affine i s₀ j)).preimage i) |
| 106 | (fun j => ((Principal.RelativeConcentration.ambient_affine U hU).inf (common_affine i s₀ U hU t j)).preimage i) |
| 107 | K d hK M e q |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.RelativeGeometry |