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.PrincipalSource.SupportedCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover |
| 3 | |
| 4 | /-! # Canonical Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.CanonicalCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical affine cover recovery for the original finite-source class. |
| 11 | The geometric support conditions derive every refinement isomorphism. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private theorem after_candidate {A B C : AddCommGrpCat} |
| 17 | (s : B ⟶ A) (f : A ⟶ C) (g : B ⟶ C) (h : s ≫ f = g) |
| 18 | (x : A) (y : B) (hx : x = s y) : f x = g y := by |
| 19 | rw [hx] |
| 20 | exact ConcreteCategory.congr_hom h y |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenReindex |
| 23 | variable {Y X Z : Scheme.{0}} [Y.IsSeparated] (f : Y ⟶ X) (i : X ⟶ Z) |
| 24 | [IsAffineHom (f ≫ i)] (U : Z.Opens) (hU : IsAffineOpen U) |
| 25 | {g : ℕ} (t : Fin g → Γ(Z,U)) (N : Y.Modules) [N.IsQuasicoherent] |
| 26 | (z : Γ(Y,(f ≫ i) ⁻¹ᵁ U)) (O₁ O₂ : Y.Opens) |
| 27 | (H : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 28 | (OpenReindex.wideOpens (f ≫ i) U hU) (OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) |
| 29 | (PrincipalPoint.Fraction.family U t) O₁ O₂) |
| 30 | (c n : ℕ) {μ : Type} [LinearOrder μ] (V : μ → Y.Opens) |
| 31 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) |
| 32 | |
| 33 | private abbrev family := PrincipalPoint.Fraction.family U t |
| 34 | private abbrev forgetScalars : ModuleCat.{0} Γ(Z,U) ⥤ AddCommGrpCat := forget₂ _ _ |
| 35 | private abbrev group := (OpenRestriction.supportedFunctor U (family U t) c (n+c)).obj |
| 36 | (OpenFixedClass.source f i U hU N) |
| 37 | |
| 38 | def wideComparison : |
| 39 | (forgetScalars U).obj (group f i U hU t N c n) ⟶ |
| 40 | (Affine.OrderedInjective.Comparison.source N c V).homology (n+c) := |
| 41 | (SupportedCoordinates.wideIso f i U hU (family U t) N c (n+c)).hom ≫ |
| 42 | Principal.CanonicalSupportCover.comparison (OpenReindex.wideOpens (f ≫ i) U hU) |
| 43 | (family U t) O₁ H.wide_affine H.wide_punctured H.wide_cover H.wide_global |
| 44 | N c V hV haV (n+c) |
| 45 | |
| 46 | def localComparison : |
| 47 | (forgetScalars U).obj (group f i U hU t (OpenRestriction.extension (Y.basicOpen z) N) c n) ⟶ |
| 48 | (Affine.OrderedInjective.Comparison.source N c V).homology (n+c) := |
| 49 | (SupportedCoordinates.localIso |
| 50 | f i U hU (family U t) N c (n+c) (Y.basicOpen z)).hom ≫ |
| 51 | Principal.CanonicalSupportCover.comparison (OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) |
| 52 | (family U t) O₂ H.selected.wide_affine H.selected.wide_punctured |
| 53 | H.selected.wide_cover H.selected.wide_global N c V hV haV (n+c) |
| 54 | |
| 55 | omit [IsAffineHom (f ≫ i)] in |
| 56 | theorem candidate_comparison : |
| 57 | SupportedCandidate.candidate f i U hU t N z O₁ O₂ H c (n+c) ≫ |
| 58 | wideComparison f i U hU t N z O₁ O₂ H c n V hV haV = |
| 59 | localComparison f i U hU t N z O₁ O₂ H c n V hV haV := by |
| 60 | have h := Principal.CanonicalSupportCover.candidate_comparison |
| 61 | (F := OpenReindex.wideOpens (f ≫ i) U hU) (W := family U t) (O := O₁) |
| 62 | (N := N) (c := c) (V := V) (hV := hV) (haV := haV) (q := n+c) |
| 63 | (G := OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) (P := O₂) (H := H) |
| 64 | simpa only [SupportedCandidate.candidate, wideComparison, localComparison, |
| 65 | Category.assoc, Iso.inv_hom_id_assoc] using |
| 66 | congrArg (fun a => (SupportedCoordinates.localIso |
| 67 | f i U hU (family U t) N c (n+c) (Y.basicOpen z)).hom ≫ a) h |
| 68 | |
| 69 | theorem recovery (x : group f i U hU t N c n) |
| 70 | (hx : (OpenRestriction.supportedFunctor U (family U t) c (n+c)).map |
| 71 | (OpenFixedClass.scalar f i U hU N z) x = x) : |
| 72 | wideComparison f i U hU t N z O₁ O₂ H c n V hV haV x = |
| 73 | localComparison f i U hU t N z O₁ O₂ H c n V hV haV |
| 74 | (OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N (family U t) c (n+c) x) := |
| 75 | after_candidate (SupportedCandidate.candidate f i U hU t N z O₁ O₂ H c (n+c)) |
| 76 | (wideComparison f i U hU t N z O₁ O₂ H c n V hV haV) |
| 77 | (localComparison f i U hU t N z O₁ O₂ H c n V hV haV) |
| 78 | (candidate_comparison f i U hU t N z O₁ O₂ H c n V hV haV) x |
| 79 | (OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N (family U t) c (n+c) x) |
| 80 | (SupportedCandidate.recovery f i U hU t N z O₁ O₂ H c n x hx) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.CanonicalCover |