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.TraceAffineFormula |
| 2 | |
| 3 | /-! # Trace Base Change Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TraceBaseChangeCharts.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two global trace sections agree on every affine trace chart |
| 10 | lying over an original trace chart in an arbitrary Cartesian square. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y X' Y' : Scheme.{u}} |
| 16 | (q : X ⟶ Y) (q' : X' ⟶ Y') (j : X' ⟶ X) (i : Y' ⟶ Y) |
| 17 | [IsFinite q] [Flat q] [LocallyOfFinitePresentation q] |
| 18 | [IsFinite q'] [Flat q'] [LocallyOfFinitePresentation q'] |
| 19 | (hs : IsPullback j q' q i) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 20 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | theorem finiteFlatTraceSection_baseChange_on_chart |
| 24 | (U : LocalTraceSections.Construction.TraceFrameOpen q L) (V : LocalTraceSections.Construction.TraceFrameOpen q' (L.pullback i)) |
| 25 | (hV : V.2.openSet ≤ i ⁻¹ᵁ U.2.openSet) : |
| 26 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.2.openSet.ι (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i (GlobalTraceSection.Construction.finiteFlatTraceSection q L z)) = |
| 27 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.2.openSet.ι |
| 28 | (GlobalTraceSection.Construction.finiteFlatTraceSection q' (L.pullback i) (SquareSectionComposition.Construction.pullbackSquareSection q q' j i hs.w z)) := by |
| 29 | let W := V.2.openSet |
| 30 | let Z := q' ⁻¹ᵁ W |
| 31 | have hpre : Z ≤ j ⁻¹ᵁ (q ⁻¹ᵁ U.2.openSet) := by |
| 32 | intro x hx |
| 33 | change q (j x) ∈ U.2.openSet |
| 34 | exact (congrArg (fun y => y ∈ U.2.openSet) |
| 35 | (congrArg (fun f : X' ⟶ Y => f x) hs.w)).mpr (hV hx) |
| 36 | let a := i.resLE U.2.openSet W hV |
| 37 | let b := j.resLE (q ⁻¹ᵁ U.2.openSet) Z hpre |
| 38 | have ha : a ≫ U.2.openSet.ι = W.ι ≫ i := i.resLE_comp_ι hV |
| 39 | have hb : b ≫ (q ⁻¹ᵁ U.2.openSet).ι = Z.ι ≫ j := j.resLE_comp_ι hpre |
| 40 | have hsmall : IsPullback b (q' ∣_ W) (q ∣_ U.2.openSet) a := by |
| 41 | apply IsPullback.of_right (t := (isPullback_morphismRestrict q U.2.openSet).flip) |
| 42 | · rw [ha, hb] |
| 43 | exact (isPullback_morphismRestrict q' W).flip.paste_horiz hs |
| 44 | · apply (cancel_mono U.2.openSet.ι).mp |
| 45 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, hb, |
| 46 | Category.assoc, hs.w, ← Category.assoc, ← morphismRestrict_ι, |
| 47 | Category.assoc, ← ha, ← Category.assoc] |
| 48 | have : IsAffine W.toScheme := V.2.affine |
| 49 | have : IsAffine Z.toScheme := isAffine_of_isAffineHom (q' ∣_ W) |
| 50 | let c := (Scheme.Modules.pullbackComp W.ι i).app L.sheaf |
| 51 | let e := V.2.frame ≪≫ c |
| 52 | have hc : (Z.ι ≫ j) ≫ q = (q' ∣_ W) ≫ (W.ι ≫ i) := by |
| 53 | rw [Category.assoc, hs.w, ← Category.assoc, ← morphismRestrict_ι, Category.assoc] |
| 54 | have hleft : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (W.ι ≫ i) (GlobalTraceSection.Construction.finiteFlatTraceSection q L z) = |
| 55 | TraceSquareComposition.Construction.traceSquareSection q (q' ∣_ W) (Z.ι ≫ j) (W.ι ≫ i) hc L e z := by |
| 56 | have h := TraceAffineFormula.Construction.finiteFlatTraceSection_pullback_chart q L U (q' ∣_ W) b a hsmall z |
| 57 | have H := congrArg (fun s => s ≫ (Scheme.Modules.pullbackCongr ha).hom.app L.sheaf) h |
| 58 | rw [PullbackSectionSquares.Construction.pullbackSection_congr] at H |
| 59 | exact H.trans (TraceSquareComposition.Construction.traceSquareSection_congr q (q' ∣_ W) |
| 60 | (b ≫ (q ⁻¹ᵁ U.2.openSet).ι) (Z.ι ≫ j) (a ≫ U.2.openSet.ι) (W.ι ≫ i) |
| 61 | _ hc hb ha L (NormSquareComposition.Construction.compositeNormFrame U.2.openSet.ι a L U.2.frame) e z) |
| 62 | let z' := SquareSectionComposition.Construction.pullbackSquareSection q q' j i hs.w z |
| 63 | let z₂ := SquareSectionComposition.Construction.pullbackSquareSection q' (q' ∣_ W) Z.ι W.ι (morphismRestrict_ι q' W).symm z' |
| 64 | have hinput : z₂ ≫ (Scheme.Modules.pullback (q' ∣_ W)).map c.hom = |
| 65 | SquareSectionComposition.Construction.pullbackSquareSection q (q' ∣_ W) (Z.ι ≫ j) (W.ι ≫ i) hc z := |
| 66 | SquareSectionComposition.Construction.pullbackSquareSection_comp q q' (q' ∣_ W) j i Z.ι W.ι hs.w |
| 67 | (morphismRestrict_ι q' W).symm hc z |
| 68 | have hright : LocalTraceSections.Construction.localTraceSection q' (L.pullback i) V z' ≫ c.hom = |
| 69 | TraceSquareComposition.Construction.traceSquareSection q (q' ∣_ W) (Z.ι ≫ j) (W.ι ≫ i) hc L e z := |
| 70 | (FramedTraceSection.Construction.framedTraceSection_mapIso (q' ∣_ W) V.2.frame.hom c z₂).symm.trans |
| 71 | (congrArg (FramedTraceSection.Construction.framedTraceSection (q' ∣_ W) e.hom) hinput) |
| 72 | apply (cancel_mono c.hom).mp |
| 73 | exact (PullbackSectionSquares.Construction.pullbackSection_comp W.ι i (GlobalTraceSection.Construction.finiteFlatTraceSection q L z)).trans |
| 74 | (hleft.trans (hright.symm.trans (congrArg (fun s => s ≫ c.hom) |
| 75 | (GlobalTraceSection.Construction.finiteFlatTraceSection_restrict q' (L.pullback i) z' V).symm))) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TraceBaseChangeCharts.Construction |