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.RepresentationTheory.Theta.Geometric.FramedFunctionDescent |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.DominantLocalDescent |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison |
| 4 | |
| 5 | /-! # Function Line Descent -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Affine.FunctionLineDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Global native line-bundle descent follows from coefficient descent |
| 12 | on affine opens and scheme-theoretic dominance. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares |
| 17 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison.PicardOpenDescentComparison |
| 18 | |
| 19 | variable {X Y : Scheme} (f : X ⟶ Y) [IsSchemeTheoreticallyDominant f] [QuasiCompact f] |
| 20 | (hf : ∀ U : Y.Opens, IsAffineOpen U → RegularFunctionDescent.HasRegularFunctionDescent (f ∣_ U)) |
| 21 | {M N : Y.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) |
| 22 | |
| 23 | include hf hM hN in |
| 24 | theorem existsUnique_lineHom_of_affine_function_descent |
| 25 | (q : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 26 | (hq : AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.CompatibleHom f q) : |
| 27 | ∃! a : M ⟶ N, (Scheme.Modules.pullback f).map a = q := by |
| 28 | have hN₀ := hN |
| 29 | choose U hyU heM using hM |
| 30 | choose V hyV heN using hN |
| 31 | have hWexists (y : Y) : ∃ W : Y.Opens, y ∈ W ∧ IsAffineOpen W ∧ W ≤ U y ⊓ V y := by |
| 32 | obtain ⟨_, ⟨W, hW, rfl⟩, hyW, hWU⟩ := Y.isBasis_affineOpens.exists_subset_of_mem_open |
| 33 | (show y ∈ U y ⊓ V y from ⟨hyU y, hyV y⟩) (U y ⊓ V y).isOpen |
| 34 | exact ⟨W, hyW, hW, hWU⟩ |
| 35 | choose W hyW haW hleW using hWexists |
| 36 | have hW : (⊤ : Y.Opens) ≤ iSup W := by |
| 37 | intro y _ |
| 38 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨y, hyW y⟩ |
| 39 | let qW (y : Y) : |
| 40 | (Scheme.Modules.pullback (f ∣_ W y)).obj ((Scheme.Modules.pullback (W y).ι).obj M) ⟶ |
| 41 | (Scheme.Modules.pullback (f ∣_ W y)).obj ((Scheme.Modules.pullback (W y).ι).obj N) := |
| 42 | (AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f (W y).ι (f ⁻¹ᵁ W y).ι (f ∣_ W y) (morphismRestrict_ι f (W y)).symm).inv.app M ≫ |
| 43 | (Scheme.Modules.pullback (f ⁻¹ᵁ W y).ι).map q ≫ |
| 44 | (AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f (W y).ι (f ⁻¹ᵁ W y).ι (f ∣_ W y) (morphismRestrict_ι f (W y)).symm).hom.app N |
| 45 | have hlocal (y : Y) : ∃ a : (Scheme.Modules.pullback (W y).ι).obj M ⟶ |
| 46 | (Scheme.Modules.pullback (W y).ι).obj N, |
| 47 | (Scheme.Modules.pullback (f ∣_ W y)).map a = qW y := by |
| 48 | let g := f ∣_ W y |
| 49 | have : IsSchemeTheoreticallyDominant g := |
| 50 | IsSchemeTheoreticallyDominant.of_isPullback (isPullback_morphismRestrict f (W y)).flip |
| 51 | have : QuasiCompact g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 52 | (isPullback_morphismRestrict f (W y)).flip (inferInstanceAs (QuasiCompact f)) |
| 53 | let eM := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization ((hleW y).trans inf_le_left) (Classical.choice (heM y)) |
| 54 | let eN := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization ((hleW y).trans inf_le_right) (Classical.choice (heN y)) |
| 55 | have hqW : AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.CompatibleHom g (qW y) := |
| 56 | AlgebraicGeometry.PELModuli.IntegralModel.Picard.IntrinsicCompatibleBaseChange.PicardIntrinsicCompatibleBaseChange.baseHom_compatible f g (f ⁻¹ᵁ W y).ι (W y).ι |
| 57 | (morphismRestrict_ι f (W y)).symm q hq |
| 58 | exact (FramedFunctionDescent.existsUnique_framedHom_of_function_descent g (g.app_injective ⊤) (hf (W y) (haW y)) |
| 59 | eM eN (qW y) hqW).exists |
| 60 | choose a ha using hlocal |
| 61 | exact DominantLocalDescent.IntrinsicDominantPullback.existsUnique_hom_of_local_descent f hN₀ q W hW |
| 62 | (fun y => AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison.PicardOpenDescentComparison.restrictedMorphism (W y) (a y)) |
| 63 | (fun y => AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenDescentComparison.PicardOpenDescentComparison.descent_square_of_native f (W y) q (a y) (ha y)) |
| 64 | |
| 65 | include hf hM hN in |
| 66 | theorem existsUnique_lineIso_of_affine_function_descent |
| 67 | (e : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 68 | (he : AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.CompatibleHom f e.hom) : |
| 69 | ∃! d : M ≅ N, (Scheme.Modules.pullback f).mapIso d = e := by |
| 70 | obtain ⟨a, ha, hu⟩ := existsUnique_lineHom_of_affine_function_descent f hf hM hN e.hom he |
| 71 | obtain ⟨b, hb, _⟩ := existsUnique_lineHom_of_affine_function_descent f hf hN hM e.inv |
| 72 | (AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent.compatibleHom_inverse f e he) |
| 73 | have hab : a ≫ b = 𝟙 M := by |
| 74 | apply DominantLinePullback.IntrinsicDominantPullback.linePullback_injective f hM hM |
| 75 | dsimp only |
| 76 | rw [CategoryTheory.Functor.map_comp, ha, hb, e.hom_inv_id, CategoryTheory.Functor.map_id] |
| 77 | have hba : b ≫ a = 𝟙 N := by |
| 78 | apply DominantLinePullback.IntrinsicDominantPullback.linePullback_injective f hN hN |
| 79 | dsimp only |
| 80 | rw [CategoryTheory.Functor.map_comp, hb, ha, e.inv_hom_id, CategoryTheory.Functor.map_id] |
| 81 | refine ⟨⟨a, b, hab, hba⟩, Iso.ext ha, ?_⟩ |
| 82 | intro d hd |
| 83 | exact Iso.ext (hu d.hom (congrArg Iso.hom hd)) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.RepresentationTheory.Theta.Geometric.Affine.FunctionLineDescent |