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.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TransportedPrincipalData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.IntrinsicRecovery |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SameSupportIntrinsic |
| 4 | |
| 5 | /-! # Intrinsic Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicCoordinates.IntrinsicComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The selected-source and same-support recovery maps are the literal |
| 12 | native principal comparison used by the bounded fraction formula. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | {Z : Scheme.{0}} (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 21 | (U : Z.Opens) (hU : IsAffineOpen U) (t : Fin g → Γ(Z,U)) |
| 22 | (c : ℕ) {μ : Type} [LinearOrder μ] (A : μ → X.left.Opens) |
| 23 | (hA : iSup A = ⊤) (haA : ∀ j, IsAffineOpen (A j)) |
| 24 | |
| 25 | abbrev form := TopCover.form p k n X g |
| 26 | local instance form_qc : (form p k n X g).IsQuasicoherent := |
| 27 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent (Truncated.Witt.Ring p k n) X g |
| 28 | |
| 29 | section Selected |
| 30 | variable {T : Scheme.{0}} (f : X.left ⟶ T) (i : T ⟶ Z) [IsAffineHom (f ≫ i)] |
| 31 | (z : Γ(X.left,(f ≫ i) ⁻¹ᵁ U)) (O₁ O₂ : X.left.Opens) |
| 32 | (H : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 33 | (PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU) |
| 34 | (PrincipalSource.OpenReindex.geometricOpens (f ≫ i) U hU (X.left.basicOpen z)) |
| 35 | (PrincipalPoint.Fraction.family U t) O₁ O₂) |
| 36 | (hza : IsAffineOpen (X.left.basicOpen z)) (hZU : X.left.basicOpen z ≤ (f ≫ i) ⁻¹ᵁ U) |
| 37 | |
| 38 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] [IsAffineHom (f ≫ i)] in |
| 39 | theorem selected : PrincipalSource.IntrinsicRecovery.Intrinsic.nativeComparison f i U hU t |
| 40 | (form p k n X g) z O₁ O₂ H hza hZU c g A hA haA = |
| 41 | TransportedPrincipalData.Fraction.nativeComparison p k n X (f ≫ i) U hU |
| 42 | ⟨X.left.basicOpen z,hza⟩ hZU g t O₂ A hA haA H.selected.wide_affine |
| 43 | H.selected.wide_punctured H.selected.wide_cover H.selected.wide_global c := rfl |
| 44 | end Selected |
| 45 | |
| 46 | variable (π : X.left ⟶ Z) [IsAffineHom π] (V : X.left.affineOpens) |
| 47 | (hVU : V.val ≤ π ⁻¹ᵁ U) (O : X.left.Opens) |
| 48 | (H : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 49 | (PrincipalSource.OpenReindex.wideOpens π U hU) |
| 50 | (PrincipalSource.OpenReindex.geometricOpens π U hU V.val) |
| 51 | (PrincipalPoint.Fraction.family U t) O O) |
| 52 | |
| 53 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] [IsAffineHom π] in |
| 54 | theorem same : Principal.SameSupportIntrinsic.Intrinsic.nativeComparison π U hU V.val V.property hVU t O H |
| 55 | (form p k n X g) c (g+c) A hA haA = |
| 56 | TransportedPrincipalData.Fraction.nativeComparison p k n X π U hU V hVU g t O |
| 57 | A hA haA H.selected.wide_affine H.selected.wide_punctured H.selected.wide_cover |
| 58 | H.selected.wide_global c := rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicCoordinates.IntrinsicComparison |