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.Isogenies.NeighborCounting.Kernel.FactorSquares |
| 2 | |
| 3 | /-! # Presentation Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Keep the actual subgroup carrier when composing its ambient |
| 10 | inclusion or pulling the full presentation across a scheme base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def Intrinsic.Neighbors.KernelPresentation.postcomp {S : Scheme} {A B : Over S} |
| 15 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) : Intrinsic.Neighbors.KernelPresentation B := |
| 16 | ⟨K.carrier, K.inclusion ≫ i⟩ |
| 17 | |
| 18 | def Intrinsic.Neighbors.KernelPresentation.postcompCarrierIso {S : Scheme} {A B : Over S} |
| 19 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) : K.carrier ≅ (K.postcomp i).carrier := |
| 20 | Iso.refl K.carrier |
| 21 | |
| 22 | theorem Intrinsic.Neighbors.KernelPresentation.postcompCarrierIso_inclusion {S : Scheme} {A B : Over S} |
| 23 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) : |
| 24 | (K.postcompCarrierIso i).hom ≫ (K.postcomp i).inclusion = K.inclusion ≫ i := |
| 25 | Category.id_comp (K.inclusion ≫ i) |
| 26 | |
| 27 | theorem Intrinsic.Neighbors.KernelPresentation.postcomp_assoc {S : Scheme} {A B C : Over S} |
| 28 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) (j : B ⟶ C) : |
| 29 | (K.postcomp i).postcomp j = K.postcomp (i ≫ j) := by |
| 30 | exact congrArg (Intrinsic.Neighbors.KernelPresentation.mk K.carrier) (Category.assoc K.inclusion i j) |
| 31 | |
| 32 | theorem Intrinsic.Neighbors.KernelPresentation.pullback_postcomp {S T : Scheme} {A B : Over S} |
| 33 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) (b : T ⟶ S) : |
| 34 | (K.postcomp i).pullback b = (K.pullback b).postcomp ((Over.pullback b).map i) := |
| 35 | congrArg (Intrinsic.Neighbors.KernelPresentation.mk ((Over.pullback b).obj K.carrier)) |
| 36 | ((Over.pullback b).map_comp K.inclusion i) |
| 37 | |
| 38 | theorem Intrinsic.Neighbors.KernelPresentation.pullback_postcomp_eq {S T : Scheme} {A B : Over S} {C : Over T} |
| 39 | (K : Intrinsic.Neighbors.KernelPresentation A) (i : A ⟶ B) (b : T ⟶ S) |
| 40 | (j : (Over.pullback b).obj B ⟶ C) |
| 41 | (P : Intrinsic.Neighbors.KernelPresentation ((Over.pullback b).obj A)) (h : K.pullback b = P) : |
| 42 | ((K.postcomp i).pullback b).postcomp j = |
| 43 | P.postcomp ((Over.pullback b).map i ≫ j) := |
| 44 | (congrArg (fun Q => Q.postcomp j) (K.pullback_postcomp i b)).trans |
| 45 | (((K.pullback b).postcomp_assoc ((Over.pullback b).map i) j).trans |
| 46 | (congrArg (fun Q => Q.postcomp ((Over.pullback b).map i ≫ j)) h)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |