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.HodgeConjecture.CMExtraction.ReducedCorrespondence |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CorrespondenceFibers |
| 3 | |
| 4 | /-! # Multiset Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.MultisetTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction and base change preserve complete endpoint multisets. |
| 11 | The reindexing counts each source-fiber branch once and retains repeated |
| 12 | targets, so a native raw-Hecke multiset identity transfers unchanged. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction |
| 16 | |
| 17 | universe u |
| 18 | variable {B B' : Scheme.{u}} (p : B' ⟶ B) (M : Over B) |
| 19 | {X : Over B'} [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 20 | (e : X ≅ (Over.pullback p).obj (PELModuli.IntegralModel.Reduction.reduction M)) |
| 21 | (C : AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence M) {T : Over B'} (x : T ⟶ X) |
| 22 | [Finite (C.Fiber (ReducedCorrespondence.IsogenyQuotient.originalModelPoint p M e x))] |
| 23 | |
| 24 | theorem model_endpoint_multiset : |
| 25 | letI : Finite ((ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).Fiber x) := |
| 26 | Finite.of_equiv _ (ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x).symm |
| 27 | AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.finiteTargetMultiset (fun z : (ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).Fiber x => |
| 28 | ReducedCorrespondence.IsogenyQuotient.originalModelPoint p M e ((ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).endpoint z)) = |
| 29 | AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.finiteTargetMultiset (fun z : C.Fiber (ReducedCorrespondence.IsogenyQuotient.originalModelPoint p M e x) => C.endpoint z) := by |
| 30 | let : Finite ((ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).Fiber x) := |
| 31 | Finite.of_equiv _ (ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x).symm |
| 32 | rw [AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.finiteTargetMultiset_reindex (ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x)] |
| 33 | congr 1 |
| 34 | funext z |
| 35 | exact (ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv_endpoint p M e C x ((ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x).symm z)).trans |
| 36 | (congrArg C.endpoint ((ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x).apply_symm_apply z)) |
| 37 | |
| 38 | theorem model_raw_multiset (raw : Multiset (Over.mk (T.hom ≫ p) ⟶ M)) |
| 39 | (hraw : AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.finiteTargetMultiset (fun z : C.Fiber (ReducedCorrespondence.IsogenyQuotient.originalModelPoint p M e x) => C.endpoint z) = raw) : |
| 40 | letI : Finite ((ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).Fiber x) := |
| 41 | Finite.of_equiv _ (ReducedCorrespondence.IsogenyQuotient.modelFiberEquiv p M e C x).symm |
| 42 | AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.finiteTargetMultiset (fun z : (ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).Fiber x => |
| 43 | ReducedCorrespondence.IsogenyQuotient.originalModelPoint p M e ((ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M e C).endpoint z)) = raw := |
| 44 | (model_endpoint_multiset p M e C x).trans hraw |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.MultisetTransport |