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.IntersectionTheory.ProjectionFormula.Divisor.StalkIso |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardFiber |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 4 | |
| 5 | /-! # Iso Principal Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsoPrincipalDivisor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native principal divisors transport exactly through scheme |
| 12 | isomorphisms, including all point coefficients and residue degrees. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.DivisorNorm |
| 19 | |
| 20 | theorem pushforward {X Y : Scheme} [IsIntegral X] [IsIntegral Y] |
| 21 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 22 | (i : X ⟶ Y) [IsIso i] (hη : i (genericPoint X) = genericPoint Y) (g : Y.functionField) : |
| 23 | CyclePushforward.pointPushforward i (Affine.DivisorNorm.rationalPrincipalDivisor X (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη g)) = |
| 24 | Affine.DivisorNorm.rationalPrincipalDivisor Y g := by |
| 25 | let : IsIso (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη) := |
| 26 | inferInstanceAs (IsIso (Divisor.DivisorRestriction.openFieldMap i)) |
| 27 | ext y |
| 28 | obtain ⟨x, rfl⟩ := i.surjective y |
| 29 | rw [PushforwardFiber.pointPushforward_uniqueFiber i x (i x) rfl |
| 30 | (fun z hz => i.isOpenEmbedding.injective hz), |
| 31 | Principal.ClosedSectionCycle.residueDegree_immersion i x, Nat.cast_one, mul_one, |
| 32 | Affine.DivisorNorm.rationalPrincipalDivisor_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply] |
| 33 | exact congrArg (fun n : ℤ => (n : ℚ)) |
| 34 | (Divisor.StalkIso.ord_eq_of_stalkMap_isIso i hη x (coheight_eq_of_isOpenImmersion i) g) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsoPrincipalDivisor |