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.SingleCechLocalizationTransport |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OpenLocalization |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ModuleFunctor |
| 4 | |
| 5 | /-! # Open Fixed Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenFixedClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On the original nested pushforward principal diagram, restriction |
| 12 | to D(z) detects equality of z-fixed supported single-degree classes. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction |
| 18 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 19 | (U : Z.Opens) (hU : IsAffineOpen U) (N : Y.Modules) |
| 20 | |
| 21 | abbrev source := Principal.SectionPresheaf.modules U hU (OpenRestriction.image f i N) |
| 22 | |
| 23 | def coefficientIso : |
| 24 | Principal.ClosedScalars.modules (f ≫ i) U hU N ⋙ |
| 25 | ModuleCat.restrictScalars ((f ≫ i).app U).hom ≅ source f i U hU N := |
| 26 | Principal.ClosedScalars.restrictionIso (f ≫ i) U hU N ≪≫ |
| 27 | (Principal.ModuleFunctor.functor U hU).mapIso (((Scheme.Modules.pushforwardComp f i).app N).symm) |
| 28 | |
| 29 | variable (z : Γ(Y, (f ≫ i) ⁻¹ᵁ U)) |
| 30 | |
| 31 | def scalar : source f i U hU N ⟶ source f i U hU N := |
| 32 | (coefficientIso f i U hU N).inv ≫ |
| 33 | Functor.whiskerRight (z • 𝟙 (Principal.ClosedScalars.modules (f ≫ i) U hU N)) |
| 34 | (ModuleCat.restrictScalars ((f ≫ i).app U).hom) ≫ |
| 35 | (coefficientIso f i U hU N).hom |
| 36 | |
| 37 | theorem scalar_square : |
| 38 | Functor.whiskerRight (z • 𝟙 (Principal.ClosedScalars.modules (f ≫ i) U hU N)) |
| 39 | (ModuleCat.restrictScalars ((f ≫ i).app U).hom) ≫ (coefficientIso f i U hU N).hom = |
| 40 | (coefficientIso f i U hU N).hom ≫ scalar f i U hU N z := by |
| 41 | rw [scalar, Iso.hom_inv_id_assoc] |
| 42 | |
| 43 | theorem scalar_app (r : Principal.SectionPresheaf.Index U) (x : Γ(N, f ⁻¹ᵁ (i ⁻¹ᵁ Principal.SectionPresheaf.openSubset U r))) : |
| 44 | (scalar f i U hU N z).app (op r) x = |
| 45 | Y.presheaf.map (Principal.ClosedScalars.pullbackInclusion (f ≫ i) U r).op z • |
| 46 | (show Γ(N, Principal.ClosedScalars.pullbackOpen (f ≫ i) U r) from x) := rfl |
| 47 | |
| 48 | theorem map_square : |
| 49 | Functor.whiskerRight (Principal.OpenLocalization.map (f ≫ i) U hU N z) |
| 50 | (ModuleCat.restrictScalars ((f ≫ i).app U).hom) ≫ |
| 51 | (coefficientIso f i U hU (OpenRestriction.extension (Y.basicOpen z) N)).hom = |
| 52 | (coefficientIso f i U hU N).hom ≫ OpenRestriction.map f i U hU (Y.basicOpen z) N := by |
| 53 | apply NatTrans.ext |
| 54 | funext r |
| 55 | apply ModuleCat.hom_ext |
| 56 | apply LinearMap.ext |
| 57 | intro x |
| 58 | rfl |
| 59 | |
| 60 | variable [IsAffineHom (f ≫ i)] [N.IsQuasicoherent] |
| 61 | {ι : Type u} [LinearOrder ι] [Finite ι] (W : ι → Principal.SectionPresheaf.Index U) (c n : ℕ) |
| 62 | |
| 63 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction.supportedFunctor U W c (n+c) |
| 64 | |
| 65 | theorem eq_of_map_eq (x y : (S).obj (source f i U hU N)) |
| 66 | (hx : (S).map (scalar f i U hU N z) x = x) |
| 67 | (hy : (S).map (scalar f i U hU N z) y = y) |
| 68 | (h : OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N W c (n+c) x = |
| 69 | OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N W c (n+c) y) : x = y := by |
| 70 | apply SingleCechLocalizationTransport.Restricted.eq_of_map_eq |
| 71 | ((f ≫ i).app U).hom W (Principal.OpenLocalization.map (f ≫ i) U hU N z) z |
| 72 | ?_ ?_ c n (coefficientIso f i U hU N) |
| 73 | (coefficientIso f i U hU (OpenRestriction.extension (Y.basicOpen z) N)) |
| 74 | (scalar f i U hU N z) (OpenRestriction.map f i U hU (Y.basicOpen z) N) |
| 75 | (scalar_square f i U hU N z) (map_square f i U hU N z) x y hx hy h |
| 76 | · intro r a |
| 77 | obtain ⟨m, b, hb⟩ := Principal.OpenLocalization.denominators (f ≫ i) U hU N z r.unop a |
| 78 | exact ⟨m, b, hb.symm⟩ |
| 79 | · intro r a ha |
| 80 | exact Principal.OpenLocalization.kernel_power (f ≫ i) U hU N z r.unop a ha |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenFixedClass |