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.PrincipalReference.SingleBaseCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleModuleCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.RelativeGeometry |
| 4 | |
| 5 | /-! # Single Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.SingleCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine point-complement geometry identifies the original |
| 12 | single-sheaf transfer with the ordinary principal coefficient map. |
| 13 | Every refinement inverse is supplied by the original closed point. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.RelativeGeometry |
| 19 | variable {X Y T S : Scheme.{u}} [X.IsSeparated] [Y.IsSeparated] |
| 20 | (π : Y ⟶ S) (i : X ⟶ Y) [IsClosedImmersion i] (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 21 | (U : Y.Opens) (hU : IsAffineOpen U) (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 22 | {a g : ℕ} (s : Fin a → Γ(Y,U)) (t : Fin g → Γ(Y,U)) |
| 23 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U,hU⟩) |
| 24 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U,hU⟩) |
| 25 | {κ : Type u} [LinearOrder κ] (V : κ → Y.Opens) (hV : iSup V = ⊤) |
| 26 | (haV : ∀ j, IsAffineOpen (V j)) (N : X.Modules) [N.IsQuasicoherent] |
| 27 | (c q : ℕ) (hq : q=g+c) |
| 28 | |
| 29 | abbrev coefficient := (Scheme.Modules.pushforward i).obj N |
| 30 | abbrev family := Fraction.family U t |
| 31 | |
| 32 | local instance coefficient_qc : (coefficient i N).IsQuasicoherent := |
| 33 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 34 | local instance single_qc (k : ℕ) : |
| 35 | (((single Y.Modules (.up ℕ) c).obj (coefficient i N)).X k).IsQuasicoherent := |
| 36 | QuasicoherentTruncation.single (coefficient i N) c k |
| 37 | |
| 38 | include hs hst in |
| 39 | private theorem refinement_isIso : |
| 40 | IsIso (RelativeCech.Refinement.homology |
| 41 | (Principal.RelativeConcentration.ambient U hU) (RelativeGeometry.complementary i s₀) |
| 42 | (RelativeGeometry.common i s₀ U hU t) (RelativeGeometry.right i s₀ U hU t) |
| 43 | (Relative.AdditiveCechConcentration.coefficients |
| 44 | ((single Y.Modules (.up ℕ) c).obj (coefficient i N))) q) := |
| 45 | RelativeGeometry.right_isIso i s₀ U hU s t hs hst |
| 46 | ((single Y.Modules (.up ℕ) c).obj (coefficient i N)) c |
| 47 | (fun k hk => exactAt_single_obj (.up ℕ) c (coefficient i N) k hk) N |
| 48 | (singleObjHomologySelfIso (.up ℕ) c (coefficient i N)) q |
| 49 | |
| 50 | def originalMap := by |
| 51 | letI := refinement_isIso i s₀ U hU s t hs hst N c q |
| 52 | exact PrincipalReference.CoverTransfer.Reference.comparison U hU (family U t) (s₀ ≫ i) hcontains |
| 53 | (RelativeGeometry.common i s₀ U hU t) (RelativeGeometry.left i s₀ U hU t) (RelativeGeometry.right i s₀ U hU t) V hV haV |
| 54 | (K := (single Y.Modules (.up ℕ) c).obj (coefficient i N)) q ≫ |
| 55 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π V |
| 56 | ((single Y.Modules (.up ℕ) c).obj (coefficient i N)) q).inv ≫ |
| 57 | (Global.PureIndexedCoordinates.singleIso π V (coefficient i N) c g q hq).hom |
| 58 | |
| 59 | def coefficientComparison := by |
| 60 | letI := refinement_isIso i s₀ U hU s t hs hst N c q |
| 61 | exact (Principal.SingleModuleCoordinates.coefficientIso U hU (coefficient i N) (family U t) g).hom ≫ |
| 62 | PrincipalReference.SingleBaseCoordinates.Reference.coefficientComparison π U hU (family U t) |
| 63 | (s₀ ≫ i) hcontains (RelativeGeometry.common i s₀ U hU t) (RelativeGeometry.left i s₀ U hU t) (RelativeGeometry.right i s₀ U hU t) |
| 64 | V hV haV (coefficient i N) c g q hq |
| 65 | |
| 66 | theorem comparison : |
| 67 | originalMap π i s₀ U hU hcontains s t hs hst V hV haV N c q hq = |
| 68 | (Principal.AdditiveSections.forgetScalars U).map |
| 69 | (homologyMap (Principal.SingleModuleCoordinates.singleMap U hU |
| 70 | (coefficient i N) c (family U t)) q) ≫ |
| 71 | (Principal.AdditiveSections.forgetScalars U).map |
| 72 | (Principal.SingleModuleCoordinates.moduleCoordinates U hU (coefficient i N) c |
| 73 | (family U t) g q hq).hom ≫ |
| 74 | coefficientComparison π i s₀ U hU hcontains s t hs hst V hV haV N c q hq := by |
| 75 | let := refinement_isIso i s₀ U hU s t hs hst N c q |
| 76 | have h := PrincipalReference.SingleBaseCoordinates.Reference.comparison π U hU (family U t) |
| 77 | (s₀ ≫ i) hcontains (RelativeGeometry.common i s₀ U hU t) (RelativeGeometry.left i s₀ U hU t) (RelativeGeometry.right i s₀ U hU t) |
| 78 | V hV haV (coefficient i N) c g q hq |
| 79 | rw [Principal.SingleModuleCoordinates.factor] at h |
| 80 | simpa only [originalMap, coefficientComparison, Category.assoc] using h |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.SingleCoordinates |