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.NilpotentFrameTransitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackIsomorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.FrameRecognition |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.Powers |
| 5 | |
| 6 | /-! # Nilpotent Frame Reduction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentFrameReduction.Transitions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual line bundle obtained from the lifted transition units |
| 13 | reduces to the specified p-power tensor power of the original bundle. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | variable (p : ℕ) [Fact p.Prime] (n : ℕ) |
| 22 | {X Y : Scheme.{u}} (f : Y ⟶ X) [IsClosedImmersion f] [X.IsSeparated] |
| 23 | (hn : ∀ V : X.Opens, (p : Γ(X, V)) ^ (n + 1) = 0) |
| 24 | (hker : ∀ (V : X.Opens) (_hV : IsAffineOpen V), |
| 25 | RingHom.ker (f.app V).hom = Ideal.span {(p : Γ(X, V))}) |
| 26 | {ι : Type u} (U : ι → X.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 27 | (D : AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.Transitions.OpenFrameTransitions (fun i => f ⁻¹ᵁ U i)) |
| 28 | |
| 29 | theorem pullback_value (V : Y.Opens) (i j : ι) |
| 30 | (hi : V ≤ f ⁻¹ᵁ U i) (hj : V ≤ f ⁻¹ᵁ U j) : |
| 31 | (((NilpotentFrameTransitions.transitions p n f hn hker U hU D).pullback f).value V i j hi hj) = |
| 32 | D.value V i j hi hj ^ (p ^ n) := by |
| 33 | change Units.map (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.SectionPullback.openSectionPullback f (U i ⊓ U j) V (le_inf hi hj)).toMonoidHom |
| 34 | (NilpotentFrameTransitions.value p n f hn hker U hU D (U i ⊓ U j) i j inf_le_left inf_le_right) = _ |
| 35 | rw [NilpotentFrameTransitions.value_affine p n f hn hker U hU D (U i ⊓ U j) ((hU i).inf (hU j))] |
| 36 | apply Units.ext |
| 37 | change Y.presheaf.map (homOfLE (le_inf hi hj)).op |
| 38 | (f.app (U i ⊓ U j) (Closed.PowerLift.units p n f hn hker (U i ⊓ U j) |
| 39 | ((hU i).inf (hU j)) (D.value _ i j _ _)).val) = _ |
| 40 | have hred := congrArg Units.val (Closed.PowerLift.units_reduction p n f hn hker |
| 41 | (U i ⊓ U j) ((hU i).inf (hU j)) (D.value _ i j |
| 42 | ((TopologicalSpace.Opens.map f.base).monotone inf_le_left) |
| 43 | ((TopologicalSpace.Opens.map f.base).monotone inf_le_right))) |
| 44 | simp only [Units.coe_map, Units.val_pow_eq_pow_val] at hred |
| 45 | refine (congrArg (fun a : Γ(Y, f ⁻¹ᵁ (U i ⊓ U j)) => |
| 46 | Y.presheaf.map (homOfLE (le_inf hi hj)).op a) hred).trans ?_ |
| 47 | rw [(Y.presheaf.map (homOfLE (le_inf hi hj)).op).hom.map_pow] |
| 48 | exact congrArg (fun a : Γ(Y, V) => a ^ (p ^ n)) |
| 49 | (D.restrict (f ⁻¹ᵁ (U i ⊓ U j)) V (le_inf hi hj) i j |
| 50 | ((TopologicalSpace.Opens.map f.base).monotone inf_le_left) |
| 51 | ((TopologicalSpace.Opens.map f.base).monotone inf_le_right)) |
| 52 | |
| 53 | theorem transitions_pullback : |
| 54 | (NilpotentFrameTransitions.transitions p n f hn hker U hU D).pullback f = D.power (p ^ n) := by |
| 55 | have hv : ((NilpotentFrameTransitions.transitions p n f hn hker U hU D).pullback f).value = |
| 56 | (D.power (p ^ n)).value := by |
| 57 | funext V i j hi hj |
| 58 | exact pullback_value p n f hn hker U hU D V i j hi hj |
| 59 | suffices h : ∀ E F : AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.Transitions.OpenFrameTransitions (fun i => f ⁻¹ᵁ U i), |
| 60 | E.value = F.value → E = F from h _ _ hv |
| 61 | intro E F h |
| 62 | cases E |
| 63 | cases F |
| 64 | cases h |
| 65 | rfl |
| 66 | |
| 67 | def lineBundle_pullbackIso (hcover : ∀ x : X, ∃ i, x ∈ U i) : |
| 68 | ((NilpotentFrameTransitions.lineBundle p n f hn hker U hU D hcover).pullback f).sheaf ≅ |
| 69 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule (AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModuleSheaf.openFrameModuleSheaf D) (p ^ n) := |
| 70 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackIsomorphism.openFramePullbackIso (NilpotentFrameTransitions.transitions p n f hn hker U hU D) f hcover ≪≫ |
| 71 | eqToIso (congrArg AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModuleSheaf.openFrameModuleSheaf (transitions_pullback p n f hn hker U hU D)) ≪≫ |
| 72 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.FrameRecognition.openFrameTensorPowerIso D (AlgebraicGeometry.AbelianModuli.HilbertConstruction.PulledBackFrameTransitions.OpenFrameTransitions.pullback_cover f hcover) (p ^ n)).symm |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentFrameReduction.Transitions |