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.AlgebraicGeometry.Isogenies.NeighborCounting.OpenDescentComparison |
| 2 | |
| 3 | /-! # Line Hom Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LineHomDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Effective fpqc descent of morphisms and isomorphisms between actual |
| 10 | line bundles, proved using local frames and native open gluing. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedDescent OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedSquares |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenDescentComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LocalDescentGluing OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FaithfulLinePullback |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [Flat f] [Surjective f] [QuasiCompact f] |
| 20 | variable {M N : Y.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) |
| 21 | |
| 22 | include hM hN in |
| 23 | theorem existsUnique_lineHom_descent |
| 24 | (q : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 25 | (hq : FramedDescent.CompatibleHom f q) : |
| 26 | ∃! a : M ⟶ N, (Scheme.Modules.pullback f).map a = q := by |
| 27 | have hN₀ := hN |
| 28 | choose U hyU heM using hM |
| 29 | choose V hyV heN using hN |
| 30 | let W (y : Y) := U y ⊓ V y |
| 31 | have hW : (⊤ : Y.Opens) ≤ iSup W := by |
| 32 | intro y _ |
| 33 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨y, hyU y, hyV y⟩ |
| 34 | let qW (y : Y) : |
| 35 | (Scheme.Modules.pullback (f ∣_ W y)).obj ((Scheme.Modules.pullback (W y).ι).obj M) ⟶ |
| 36 | (Scheme.Modules.pullback (f ∣_ W y)).obj ((Scheme.Modules.pullback (W y).ι).obj N) := |
| 37 | (NormalizedSquares.sectionSquareIso f (W y).ι (f ⁻¹ᵁ W y).ι (f ∣_ W y) (morphismRestrict_ι f (W y)).symm).inv.app M ≫ |
| 38 | (Scheme.Modules.pullback (f ⁻¹ᵁ W y).ι).map q ≫ |
| 39 | (NormalizedSquares.sectionSquareIso f (W y).ι (f ⁻¹ᵁ W y).ι (f ∣_ W y) (morphismRestrict_ι f (W y)).symm).hom.app N |
| 40 | have hlocal (y : Y) : ∃ a : (Scheme.Modules.pullback (W y).ι).obj M ⟶ |
| 41 | (Scheme.Modules.pullback (W y).ι).obj N, |
| 42 | (Scheme.Modules.pullback (f ∣_ W y)).map a = qW y := by |
| 43 | let g := f ∣_ W y |
| 44 | have : Flat g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 45 | (isPullback_morphismRestrict f (W y)).flip (inferInstanceAs (Flat f)) |
| 46 | have : Surjective g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 47 | (isPullback_morphismRestrict f (W y)).flip (inferInstanceAs (Surjective f)) |
| 48 | have : QuasiCompact g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 49 | (isPullback_morphismRestrict f (W y)).flip (inferInstanceAs (QuasiCompact f)) |
| 50 | let eM := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization (show W y ≤ U y from inf_le_left) |
| 51 | (Classical.choice (heM y)) |
| 52 | let eN := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization (show W y ≤ V y from inf_le_right) |
| 53 | (Classical.choice (heN y)) |
| 54 | have hqW : FramedDescent.CompatibleHom g (qW y) := |
| 55 | Intrinsic.CompatibleBaseChange.baseHom_compatible f g (f ⁻¹ᵁ W y).ι (W y).ι |
| 56 | (morphismRestrict_ι f (W y)).symm q hq |
| 57 | exact (FramedDescent.existsUnique_framedHom_descent g eM eN (qW y) hqW).exists |
| 58 | choose a ha using hlocal |
| 59 | exact LocalDescentGluing.existsUnique_hom_of_local_descent f hN₀ q W hW |
| 60 | (fun y ↦ OpenDescentComparison.restrictedMorphism (W y) (a y)) |
| 61 | (fun y ↦ OpenDescentComparison.descent_square_of_native f (W y) q (a y) (ha y)) |
| 62 | |
| 63 | include hM hN in |
| 64 | theorem existsUnique_lineIso_descent |
| 65 | (e : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 66 | (he : FramedDescent.CompatibleHom f e.hom) : |
| 67 | ∃! d : M ≅ N, (Scheme.Modules.pullback f).mapIso d = e := by |
| 68 | obtain ⟨a, ha, hu⟩ := existsUnique_lineHom_descent f hM hN e.hom he |
| 69 | obtain ⟨b, hb, _⟩ := existsUnique_lineHom_descent f hN hM e.inv (FramedDescent.compatibleHom_inverse f e he) |
| 70 | let L := Scheme.Modules.pullback f |
| 71 | have hab : a ≫ b = 𝟙 M := by |
| 72 | apply FaithfulLinePullback.linePullback_injective f hM hM |
| 73 | exact (L.map_comp a b).trans ((congrArg₂ (fun r s ↦ r ≫ s) ha hb).trans |
| 74 | (e.hom_inv_id.trans (L.map_id M).symm)) |
| 75 | have hba : b ≫ a = 𝟙 N := by |
| 76 | apply FaithfulLinePullback.linePullback_injective f hN hN |
| 77 | exact (L.map_comp b a).trans ((congrArg₂ (fun r s ↦ r ≫ s) hb ha).trans |
| 78 | (e.inv_hom_id.trans (L.map_id N).symm)) |
| 79 | let d : M ≅ N := ⟨a, b, hab, hba⟩ |
| 80 | refine ⟨d, Iso.ext ha, ?_⟩ |
| 81 | intro d' hd' |
| 82 | apply Iso.ext |
| 83 | exact hu d'.hom (congrArg Iso.hom hd') |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LineHomDescent |