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.AbelianScheme.IsogenyQuotient.TraceSquareComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalNormRefinement |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormRankBasis |
| 4 | |
| 5 | /-! # Local Trace Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalTraceSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Trace charts allow the finite-flat degree to vary. Their actual |
| 12 | line sections agree on every smaller affine chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} (q : X ⟶ Y) [IsFinite q] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 18 | |
| 19 | abbrev TraceFrameOpen := Σ d : ℕ, LocalNormSections.Construction.NormFrameOpen q L d |
| 20 | |
| 21 | def localTraceSection (U : TraceFrameOpen q L) |
| 22 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 23 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.2.openSet.toScheme ⟶ (L.pullback U.2.openSet.ι).sheaf := |
| 24 | FramedTraceSection.Construction.framedTraceSection (q ∣_ U.2.openSet) U.2.frame.hom (LocalNormSections.Construction.localNormInput U.2.openSet z) |
| 25 | |
| 26 | theorem traceFrameOpens_cover [Flat q] [LocallyOfFinitePresentation q] (y : Y) : |
| 27 | ∃ U : TraceFrameOpen q L, y ∈ U.2.openSet := by |
| 28 | obtain ⟨U, hU, hyU, d, ⟨b⟩⟩ := Quotients.FiniteDescent.SchemeTrivializationBasis.Construction.SchemeTrivialization.exists_basis_neighborhood q y |
| 29 | obtain ⟨V, hyV, ⟨e⟩⟩ := L.locallyTrivial y |
| 30 | obtain ⟨_, ⟨W : Y.Opens, hW, rfl⟩, hyW, hWU⟩ := |
| 31 | Y.isBasis_affineOpens.exists_subset_of_mem_open (show y ∈ U ⊓ V from ⟨hyU, hyV⟩) |
| 32 | (U ⊓ V).isOpen |
| 33 | have : IsAffine U.toScheme := hU |
| 34 | have : IsAffine W.toScheme := hW |
| 35 | obtain ⟨bW⟩ := Quotients.FiniteDescent.AffineBasis.Construction.AffineBasisTransfer.restrictLE q W U (hWU.trans inf_le_left) b |
| 36 | exact ⟨⟨d, ⟨W, hW, bW, (L.frameRestrict (hWU.trans inf_le_right) e).symm⟩⟩, hyW⟩ |
| 37 | |
| 38 | theorem traceFrameOpens_isBasis [Flat q] [LocallyOfFinitePresentation q] : |
| 39 | Opens.IsBasis (Set.range (fun U : TraceFrameOpen q L => U.2.openSet)) := by |
| 40 | rw [Opens.isBasis_iff_nbhd] |
| 41 | intro V y hy |
| 42 | obtain ⟨U, hyU⟩ := traceFrameOpens_cover q L y |
| 43 | obtain ⟨_, ⟨W : Y.Opens, hW, rfl⟩, hyW, hWV⟩ := |
| 44 | Y.isBasis_affineOpens.exists_subset_of_mem_open |
| 45 | (show y ∈ V ⊓ U.2.openSet from ⟨hy, hyU⟩) (V ⊓ U.2.openSet).isOpen |
| 46 | exact ⟨W, ⟨⟨U.1, U.2.restrictAffine W hW (hWV.trans inf_le_right)⟩, rfl⟩, |
| 47 | hyW, hWV.trans inf_le_left⟩ |
| 48 | |
| 49 | set_option backward.isDefEq.respectTransparency false in |
| 50 | theorem localTraceSection_refine (V U : TraceFrameOpen q L) (h : V.2.openSet ≤ U.2.openSet) |
| 51 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 52 | OpenSectionGluing.Construction.refineSectionTo (Y.homOfLE h) U.2.openSet.ι V.2.openSet.ι (Y.homOfLE_ι h) |
| 53 | (localTraceSection q L U z) = localTraceSection q L V z := by |
| 54 | have : IsAffine U.2.openSet.toScheme := U.2.affine |
| 55 | have : IsAffine V.2.openSet.toScheme := V.2.affine |
| 56 | have : IsAffine (q ⁻¹ᵁ U.2.openSet).toScheme := isAffine_of_isAffineHom (q ∣_ U.2.openSet) |
| 57 | have : IsAffine (q ⁻¹ᵁ V.2.openSet).toScheme := isAffine_of_isAffineHom (q ∣_ V.2.openSet) |
| 58 | let j := X.homOfLE (q.preimage_mono h) |
| 59 | let i := Y.homOfLE h |
| 60 | have hj : j ≫ (q ⁻¹ᵁ U.2.openSet).ι = (q ⁻¹ᵁ V.2.openSet).ι := X.homOfLE_ι _ |
| 61 | have hi : i ≫ U.2.openSet.ι = V.2.openSet.ι := Y.homOfLE_ι h |
| 62 | have hs : IsPullback j (q ∣_ V.2.openSet) (q ∣_ U.2.openSet) i := by |
| 63 | apply IsPullback.of_right (t := (isPullback_morphismRestrict q U.2.openSet).flip) |
| 64 | · simpa only [j, i, Scheme.homOfLE_ι] using (isPullback_morphismRestrict q V.2.openSet).flip |
| 65 | · exact (morphismRestrict_homOfLE q V.2.openSet U.2.openSet h).symm |
| 66 | have hc : (j ≫ (q ⁻¹ᵁ U.2.openSet).ι) ≫ q = (q ∣_ V.2.openSet) ≫ (i ≫ U.2.openSet.ι) := by |
| 67 | rw [hj, hi] |
| 68 | exact (morphismRestrict_ι q V.2.openSet).symm |
| 69 | have htrace := TraceSquareComposition.Construction.traceSquareSection_comp q (q ∣_ U.2.openSet) (q ∣_ V.2.openSet) |
| 70 | (q ⁻¹ᵁ U.2.openSet).ι U.2.openSet.ι j i (morphismRestrict_ι q U.2.openSet).symm hs hc |
| 71 | U.2.basis L U.2.frame z |
| 72 | exact (congrArg (fun s => s ≫ (Scheme.Modules.pullbackCongr hi).hom.app L.sheaf) htrace).trans |
| 73 | (TraceSquareComposition.Construction.traceSquareSection_congr q (q ∣_ V.2.openSet) (j ≫ (q ⁻¹ᵁ U.2.openSet).ι) |
| 74 | (q ⁻¹ᵁ V.2.openSet).ι (i ≫ U.2.openSet.ι) V.2.openSet.ι hc |
| 75 | (morphismRestrict_ι q V.2.openSet).symm hj hi L |
| 76 | (NormSquareComposition.Construction.compositeNormFrame U.2.openSet.ι i L U.2.frame) V.2.frame z) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.LocalTraceSections.Construction |