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.TateComparison.CorrespondencePointBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceAllTests |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricExt |
| 4 | |
| 5 | /-! # Trace Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual algebraic correspondence trace commutes with base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | variable {B B' : Scheme.{0}} {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 17 | [IsReduced X.left] [IsLocallyNoetherian X.left] [IsSeparated A.hom] |
| 18 | (C : Correspondences.EtaleCorrespondence X) (p : B' ⟶ B) |
| 19 | [IsReduced ((Over.pullback p).obj X).left] |
| 20 | [IsLocallyNoetherian ((Over.pullback p).obj X).left] |
| 21 | [IsSeparated ((Over.pullback p).obj A).hom] |
| 22 | |
| 23 | theorem Correspondences.EtaleCorrespondence.algebraicTrace_baseChange (f : X ⟶ A) : |
| 24 | (C.baseChange p).algebraicTrace ((Over.pullback p).map f) = |
| 25 | (Over.pullback p).map (C.algebraicTrace f) := by |
| 26 | apply GeometricExt.over_hom_ext_geometric |
| 27 | intro k _ _ c x |
| 28 | classical |
| 29 | let eA := FieldPointTransport.pointBaseChangeMulEquiv p c (c ≫ p) rfl A |
| 30 | let x₀ := FieldPointTransport.pointBaseChangeEquiv p c (c ≫ p) rfl X x |
| 31 | let e := C.baseChangeFiberEquiv p c x |
| 32 | have : Finite ((C.baseChange p).Fiber x) := Correspondences.EtaleCorrespondence.finiteFiber (C.baseChange p) c x |
| 33 | let : Fintype ((C.baseChange p).Fiber x) := Fintype.ofFinite _ |
| 34 | let : Fintype (C.Fiber x₀) := Fintype.ofFinite _ |
| 35 | apply eA.injective |
| 36 | rw [(C.baseChange p).algebraicTrace_geometric, FieldPointTransport.pointBaseChange_comp, |
| 37 | C.algebraicTrace_geometric] |
| 38 | change eA (((Finset.univ : Finset ((C.baseChange p).Fiber x)).val.map |
| 39 | (fun z => (C.baseChange p).endpoint z)).map |
| 40 | (fun y => y ≫ (Over.pullback p).map f)).prod = |
| 41 | (((Finset.univ : Finset (C.Fiber x₀)).val.map C.endpoint).map (fun y => y ≫ f)).prod |
| 42 | rw [map_multiset_prod, Multiset.map_map, Multiset.map_map, Multiset.map_map] |
| 43 | rw [← Multiset.map_univ_val_equiv e, Multiset.map_map] |
| 44 | apply congrArg Multiset.prod |
| 45 | apply Multiset.map_congr rfl |
| 46 | intro z _ |
| 47 | exact (FieldPointTransport.pointBaseChange_comp p c (c ≫ p) rfl A f _).trans |
| 48 | (congrArg (· ≫ f) (C.baseChangeFiberEquiv_endpoint p c x z)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |