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.LineBundle.DominantReferencePullback |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.FiberPushforward |
| 3 | |
| 4 | /-! # Morphism Restrict Generic Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.MorphismRestrictGenericPoint.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: dominance and actual generic residue degree survive restriction to a nonempty open -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 15 | (f : X ⟶ Y) (hη : f (genericPoint X) = genericPoint Y) |
| 16 | (U : Y.Opens) |
| 17 | [IsIntegral U.toScheme] [IsIntegral (f ⁻¹ᵁ U).toScheme] |
| 18 | |
| 19 | include hη in |
| 20 | theorem morphismRestrict_genericPoint : |
| 21 | (f ∣_ U) (genericPoint (f ⁻¹ᵁ U).toScheme) = genericPoint U.toScheme := by |
| 22 | apply U.ι.isOpenEmbedding.injective |
| 23 | have h := congrArg (fun q => q (genericPoint (f ⁻¹ᵁ U).toScheme)) (morphismRestrict_ι f U) |
| 24 | change U.ι ((f ∣_ U) (genericPoint (f ⁻¹ᵁ U).toScheme)) = |
| 25 | f ((f ⁻¹ᵁ U).ι (genericPoint (f ⁻¹ᵁ U).toScheme)) at h |
| 26 | exact h.trans ((congrArg f (genericPoint_eq_of_isOpenImmersion (f ⁻¹ᵁ U).ι)).trans |
| 27 | (hη.trans (genericPoint_eq_of_isOpenImmersion U.ι).symm)) |
| 28 | |
| 29 | omit [IsIntegral Y] [IsIntegral U.toScheme] in |
| 30 | theorem morphismRestrict_genericResidueDegree : |
| 31 | (f ∣_ U).residueDegree (genericPoint (f ⁻¹ᵁ U).toScheme) = f.residueDegree (genericPoint X) := by |
| 32 | have h := Open.FiberPushforward.BundleCycles.openSquare_residueDegree f U.ι (f ⁻¹ᵁ U).ι (f ∣_ U) |
| 33 | (morphismRestrict_ι f U).symm (genericPoint (f ⁻¹ᵁ U).toScheme) |
| 34 | rw [genericPoint_eq_of_isOpenImmersion (f ⁻¹ᵁ U).ι] at h |
| 35 | exact h.symm |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Divisors.LineBundles.MorphismRestrictGenericPoint.BundleCycles |