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.DifferentialBasisLocalization |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AmbientAdjunction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ParameterLineAdjunction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 5 | |
| 6 | /-! # Parameter Neighborhood -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterNeighborhood |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual principal open on which prescribed normal equations and |
| 13 | lifted parameters form the differential basis of the ambient projective |
| 14 | chart. Its top wedge defines a frame of the original dualizing line. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.MvPolynomial _root_.Module |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 19 | |
| 20 | universe u |
| 21 | variable {R : Type u} [CommRing R] {c g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | local instance sectionAlgebra (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) : |
| 25 | Algebra R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) := |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (IntrinsicOverlap.Intrinsic.model R (c + g)) U |
| 27 | |
| 28 | variable (i : Fin (c + g + 1)) (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) |
| 29 | (hU : IsAffineOpen U) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 30 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 31 | |
| 32 | abbrev determinant : Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) := |
| 33 | DifferentialBasisNeighborhood.determinant |
| 34 | (AmbientAdjunction.differentialBasis i U hU hUi) (Fin.append s t) |
| 35 | |
| 36 | abbrev openSubset : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens := |
| 37 | (IntrinsicOverlap.Intrinsic.space R (c + g)).basicOpen (determinant i U hU hUi s t) |
| 38 | |
| 39 | theorem affine : IsAffineOpen (openSubset i U hU hUi s t) := |
| 40 | hU.basicOpen (determinant i U hU hUi s t) |
| 41 | |
| 42 | theorem below : openSubset i U hU hUi s t ≤ U := |
| 43 | (IntrinsicOverlap.Intrinsic.space R (c + g)).basicOpen_le (determinant i U hU hUi s t) |
| 44 | |
| 45 | theorem below_chart : openSubset i U hU hUi s t ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i := |
| 46 | (below i U hU hUi s t).trans hUi |
| 47 | |
| 48 | local instance principalBaseTower : |
| 49 | IsScalarTower R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) |
| 50 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) := |
| 51 | IsScalarTower.of_algebraMap_eq (fun a => |
| 52 | (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (IntrinsicOverlap.Intrinsic.model R (c + g))).map |
| 53 | (homOfLE (below i U hU hUi s t)).op).hom.commutes a).symm) |
| 54 | |
| 55 | local instance localization : IsLocalization.Away (determinant i U hU hUi s t) |
| 56 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) := |
| 57 | hU.isLocalization_basicOpen (determinant i U hU hUi s t) |
| 58 | |
| 59 | def normal : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) := |
| 60 | fun j => algebraMap Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) |
| 61 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) (s j) |
| 62 | |
| 63 | def parameter : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) := |
| 64 | fun j => algebraMap Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) |
| 65 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) (t j) |
| 66 | |
| 67 | def basis : Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) |
| 68 | Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t)⁄R] := |
| 69 | DifferentialBasisLocalization.Neighborhood.basisAt |
| 70 | (AmbientAdjunction.differentialBasis i U hU hUi) (Fin.append s t) |
| 71 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) |
| 72 | |
| 73 | theorem basis_eq : |
| 74 | (basis i U hU hUi s t : Fin (c + g) → |
| 75 | Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t)⁄R]) = |
| 76 | Fin.append |
| 77 | (fun j => KaehlerDifferential.D R _ (normal i U hU hUi s t j)) |
| 78 | (fun j => KaehlerDifferential.D R _ (parameter i U hU hUi s t j)) := by |
| 79 | funext j |
| 80 | rw [basis, DifferentialBasisLocalization.Neighborhood.basisAt_apply] |
| 81 | refine Fin.addCases (fun q => ?_) (fun q => ?_) j <;> |
| 82 | simp only [Fin.append_left, Fin.append_right, normal, parameter] |
| 83 | |
| 84 | def frame (j : Fin (c + g + 1)) : |
| 85 | (AffineOpen.InternalHom.sections (openSubset i U hU hUi s t) |
| 86 | (affine i U hU hUi s t)).obj |
| 87 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1)) ≅ |
| 88 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) |
| 89 | Γ(IntrinsicOverlap.Intrinsic.space R (c + g), openSubset i U hU hUi s t) := |
| 90 | ParameterLineAdjunction.frame (basis i U hU hUi s t) _ |
| 91 | (AmbientAdjunction.chartLineExterior i |
| 92 | (openSubset i U hU hUi s t) (affine i U hU hUi s t) |
| 93 | (below_chart i U hU hUi s t) j) |
| 94 | |
| 95 | abbrev frame_inv (j : Fin (c + g + 1)) := |
| 96 | ParameterLineAdjunction.frame_inv (basis i U hU hUi s t) _ |
| 97 | (AmbientAdjunction.chartLineExterior i |
| 98 | (openSubset i U hU hUi s t) (affine i U hU hUi s t) |
| 99 | (below_chart i U hU hUi s t) j) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterNeighborhood |