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.Divisors.LineBundles.Affine.ProjectiveCompactificationChowEquiv |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ChartsOpenBaseChange |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.InfinityCharts |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ChartsRankFromOpen |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.CartesianComplementRange |
| 6 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.CompactificationNoetherian |
| 7 | |
| 8 | /-! # Open Base Change Chow -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.OpenBaseChangeChow.BundleCycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual compactification criterion applies on an open base |
| 15 | using infinity charts of the restricted divisor alone. -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | variable {E X D A U : Scheme.{0}} [AlgebraicGeometry.IsNoetherian D] |
| 20 | [X.IsSeparated] [D.IsSeparated] |
| 21 | (p : E ⟶ X) [IsProper p] [Smooth p] [GeometricallyIntegral p] |
| 22 | (q : A ⟶ X) [Smooth q] [GeometricallyIntegral q] (t : D ⟶ X) |
| 23 | (s : D ⟶ E) [IsClosedImmersion s] (hs : s ≫ p = t) |
| 24 | (j : A ⟶ E) [IsOpenImmersion j] (hj : j ≫ p = q) |
| 25 | (hc : Set.range s = (Set.range j)ᶜ) |
| 26 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (HP : Free.ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L) |
| 27 | (i : U ⟶ X) [IsOpenImmersion i] |
| 28 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (r : ℕ) |
| 29 | (HD : Free.InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank (pullback.snd t i) |
| 30 | ((L.pullback s).pullback (pullback.fst t i)) r) |
| 31 | (hq : AffineSpace.BundleRankZero.Cycles.HasAffineSpaceChartsOfRank (pullback.snd q i) (r + 1)) |
| 32 | |
| 33 | include hs hj hc HP HD in |
| 34 | theorem affineCompactification_openBaseChange_Chow_bijective |
| 35 | [AlgebraicGeometry.IsNoetherian U] [AlgebraicGeometry.IsNoetherian (pullback q i : Scheme)] (d : ℕ) : |
| 36 | Function.Bijective (AffineBundle.ChowExtension.Cycles.affineBundleChowExtension (pullback.snd q i) (i ≫ f) (r + 1) hq d) := by |
| 37 | let : U.IsSeparated := ⟨by rw [← terminal.comp_from i]; infer_instance⟩ |
| 38 | let : AlgebraicGeometry.IsNoetherian (pullback t i : Scheme) := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (pullback.fst t i) |
| 39 | let : (pullback t i : Scheme).IsSeparated := ⟨by rw [← terminal.comp_from (pullback.fst t i)]; infer_instance⟩ |
| 40 | let s' := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap p t s hs i |
| 41 | let j' := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap p q j hj i |
| 42 | have hS := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap_isPullback p t s hs i |
| 43 | have hJ := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap_isPullback p q j hj i |
| 44 | let : IsOpenImmersion j' := MorphismProperty.of_isPullback hJ.flip inferInstance |
| 45 | have hs' : s' ≫ pullback.snd p i = pullback.snd t i := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap_snd p t s hs i |
| 46 | have hj' : j' ≫ pullback.snd p i = pullback.snd q i := Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap_snd p q j hj i |
| 47 | have HP' := Free.ChartsOpenBaseChange.BundleCycles.freeInfinityCharts_openBaseChange p L i HP |
| 48 | have hP := (Free.ChartsRankFromOpen.BundleCycles.freeInfinityCharts_rank_of_open (pullback.snd p i) (pullback.snd q i) j' hj' |
| 49 | (L.pullback (pullback.fst p i)) HP' (i ≫ f) (r + 1) hq.sourceCharts).sourceCharts |
| 50 | let e := LineBundle.PullbackIso.Cycles.lineBundlePullbackSquareIso L (L.pullback s) (pullback.fst p i) s s' (pullback.fst t i) |
| 51 | (Relative.BaseChangeMap.BundleCycles.relativeBaseChangeMap_fst p t s hs i) (Iso.refl _) |
| 52 | have HD' : Free.InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank (s' ≫ pullback.snd p i) |
| 53 | ((L.pullback (pullback.fst p i)).pullback s') r := by |
| 54 | rw [hs'] |
| 55 | exact HD.changeLineBundle _ e |
| 56 | let : Smooth (s' ≫ pullback.snd p i) := Free.InfinityCharts.BundleCycles.freeInfinityCharts_smooth _ _ HD'.forget |
| 57 | let : GeometricallyIntegral (s' ≫ pullback.snd p i) := Free.InfinityCharts.BundleCycles.freeInfinityCharts_geometricallyIntegral _ _ HD'.forget |
| 58 | have hc' : Set.range s' = (Set.range j')ᶜ := |
| 59 | CartesianComplementRange.BundleCycles.cartesianComplement_range (pullback.fst p i) j s j' s' (pullback.fst q i) (pullback.fst t i) hJ hS hc |
| 60 | exact ProjectiveCompactificationChowEquiv.BundleCycles.affineProjectiveCompactificationChow_bijective (pullback.snd p i) s' j' hc' |
| 61 | (L.pullback (pullback.fst p i)) HP' HD'.forget (pullback.snd q i) hj' |
| 62 | (i ≫ f) r hP HD'.sourceCharts hq d |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.OpenBaseChangeChow.BundleCycles |