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.DivisorClass.Chern.Rational.SectionGluing |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumLayerNormalPair |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.StratumDimensionBounds |
| 4 | |
| 5 | /-! # Reference Stratification -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ChernClass: a genuine positive-codimension stratification of the reference complement |
| 13 | |
| 14 | The complement of the nonempty reference trivializing open is an actual closed |
| 15 | algebraic subset. Its finite smooth stratification has strictly smaller |
| 16 | function-field dimension in every piece, because no piece closure contains |
| 17 | the generic point. This supplies the dimension bound needed for support purity. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 27 | variable [IsIntegral X.carrier] |
| 28 | |
| 29 | /-- The actual algebraic closed subset outside the rational section's reference chart. -/ |
| 30 | def Line.Bundles.AlgebraicLineBundle.referenceComplement : Closeds X.carrier := |
| 31 | ⟨(L.rationalReferenceOpen : Set X.carrier)ᶜ, L.rationalReferenceOpen.isOpen.isClosed_compl⟩ |
| 32 | |
| 33 | /-- The existing Noetherian construction supplies its finite smooth algebraic stratification. -/ |
| 34 | def Line.Bundles.AlgebraicLineBundle.referenceStratification : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricStratification X.structureMap |
| 35 | (L.referenceComplement : Set X.carrier) := |
| 36 | Classical.choice (CycleClass.Geometric.IntegralSmoothStratification.nonempty_integralSmoothGeometricStratification_closed X.structureMap L.referenceComplement) |
| 37 | |
| 38 | /-- Any stratum of the reference complement has closure missing the generic point. -/ |
| 39 | theorem Line.Bundles.AlgebraicLineBundle.referencePiece_dimension_lt (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece X.structureMap) |
| 40 | (hP : P.support ⊆ L.referenceComplement) : |
| 41 | P.dimension < Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := by |
| 42 | rw [P.dimension_eq_closure] |
| 43 | let T : IrreducibleCloseds X.carrier := |
| 44 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ X.carrier, isClosed_univ⟩ |
| 45 | have hclosure : (P.closureSupport : Set X.carrier) ⊆ L.referenceComplement := |
| 46 | closure_minimal hP L.referenceComplement.isClosed |
| 47 | have hPT : P.closureSupport < T := by |
| 48 | apply lt_of_le_not_ge (Set.subset_univ _) |
| 49 | intro hTP |
| 50 | exact hclosure (hTP (Set.mem_univ (genericPoint X.carrier))) (L.mem_trivializingOpen _) |
| 51 | exact (Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt P.closureSupport T X.structureMap hPT).trans_le |
| 52 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le T X.structureMap) |
| 53 | |
| 54 | /-- Every piece of the actual finite filtration satisfies that strict dimension bound. -/ |
| 55 | theorem Line.Bundles.AlgebraicLineBundle.referenceLayer_complexDimension_lt |
| 56 | (i : Fin L.referenceStratification.analyticSupportList.length) : |
| 57 | (L.referenceStratification.analyticFiltrationPiece i).complexDimension < |
| 58 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := by |
| 59 | rw [CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 60 | apply L.referencePiece_dimension_lt |
| 61 | exact (CycleClass.Geometric.IntegralSmoothStratification.support_subset_integralSmoothPiecesSupport |
| 62 | (L.referenceStratification.analyticFiltrationPiece_mem i)).trans |
| 63 | (le_of_eq L.referenceStratification.cover) |
| 64 | |
| 65 | /-- The real normal codimension of each actual smooth layer is at least two. -/ |
| 66 | theorem Line.Bundles.AlgebraicLineBundle.referenceLayer_realCodimension_ge_two |
| 67 | (i : Fin L.referenceStratification.analyticSupportList.length) : |
| 68 | 2 ≤ 2 * (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.structureMap - |
| 69 | (L.referenceStratification.analyticFiltrationPiece i).complexDimension) := by |
| 70 | have h := L.referenceLayer_complexDimension_lt i |
| 71 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.structureMap] at h |
| 72 | omega |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.DivisorClass.Chern |