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.AbelianModuli.HilbertConstruction.Open.FiberIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.CoefficientEuler |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberEulerGroundField |
| 4 | |
| 5 | /-! # Fiber Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FiberEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine fiber Euler function commutes with open base change. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem fiberEulerCharacteristic_openBaseChange |
| 16 | {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 17 | [IsSeparated f] [IsOpenImmersion g] (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (y : Y) : |
| 18 | Geometric.FiberEuler.fiberEulerCharacteristic b (L.pullback a) y = Geometric.FiberEuler.fiberEulerCharacteristic f L (g y) := by |
| 19 | let j := FiberIsomorphism.baseChangeFiberMap H y |
| 20 | let p := f.fiberToSpecResidueField (g y) |
| 21 | let q := b.fiberToSpecResidueField y |
| 22 | let L₀ := L.pullback (f.fiberι (g y)) |
| 23 | let M := (L.pullback a).pullback (b.fiberι y) |
| 24 | have : IsIso j := inferInstanceAs (IsIso (FiberIsomorphism.openBaseChangeFiberIso H y).hom) |
| 25 | have : IsSeparated p := inferInstanceAs (IsSeparated (pullback.snd f (S.fromSpecResidueField (g y)))) |
| 26 | have : (f.fiber (g y)).IsSeparated := ⟨by rw [← terminal.comp_from p]; infer_instance⟩ |
| 27 | let e : S.residueField (g y) ≃+* Y.residueField y := (asIso (g.residueFieldMap y)).commRingCatIsoToRingEquiv |
| 28 | have he : CohomologyEulerCharacteristic.coefficientEulerCharacteristic (q ≫ Spec.map (g.residueFieldMap y)) M.sheaf = |
| 29 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic q M.sheaf := Field.CoefficientEuler.coefficientEulerCharacteristic_fieldIso e q M.sheaf |
| 30 | calc |
| 31 | Geometric.FiberEuler.fiberEulerCharacteristic b (L.pullback a) y = CohomologyEulerCharacteristic.coefficientEulerCharacteristic q M.sheaf := |
| 32 | FiberEulerGroundField.fiberEulerCharacteristic_eq_groundField b (L.pullback a) y |
| 33 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic (q ≫ Spec.map (g.residueFieldMap y)) M.sheaf := he.symm |
| 34 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic (j ≫ p) M.sheaf := |
| 35 | congrArg (fun r => CohomologyEulerCharacteristic.coefficientEulerCharacteristic r M.sheaf) (FiberIsomorphism.baseChangeFiberMap_structure H y).symm |
| 36 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic (j ≫ p) (L₀.pullback j).sheaf := |
| 37 | Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso (j ≫ p) (FiberIsomorphism.baseChangeFiberBundleIso H L y).symm |
| 38 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic p L₀.sheaf := EulerPullbackIso.coefficientEulerCharacteristic_pullback_iso j p L₀ |
| 39 | _ = Geometric.FiberEuler.fiberEulerCharacteristic f L (g y) := (FiberEulerGroundField.fiberEulerCharacteristic_eq_groundField f L (g y)).symm |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FiberEuler |