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.ProjectiveTower.TotalTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.Serre |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.TotalRefinement |
| 4 | |
| 5 | /-! # Total Unit Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TotalUnitMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The unit class transported by the original common negative |
| 12 | resolution. This construction precedes purity and therefore applies to |
| 13 | an actual quotient onto a section of different codimension. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.TotalTrace |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.UnitTrace (cohomology) |
| 25 | |
| 26 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 27 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | variable (M N : (Proj (homogeneousSubmodule σ R)).Modules) |
| 31 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 32 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 33 | (f : M ⟶ N) |
| 34 | (eM : TopTracePairing.coefficientRing R ≃ₗ[TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 35 | (eN : TopTracePairing.coefficientRing R ≃ₗ[TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology N 0) |
| 36 | (hf : (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 37 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map f (eM 1) = eN 1) |
| 38 | |
| 39 | abbrev fixed := ProjectiveRefinement.Serre.fixedTower M B n hn |
| 40 | abbrev common := NegativeRefinement.tower M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f |
| 41 | |
| 42 | def fixedTrace := ProjectiveTower.TotalTrace.traceIso (fixed M B n hn) B n hn |
| 43 | (ProjectiveRefinement.Serre.fixed_above M B n hn) hB eM |
| 44 | |
| 45 | def commonTrace := ProjectiveTower.TotalTrace.traceIso (common M N B n hn f) B n hn |
| 46 | (NegativeRefinement.term_above M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) hB eM |
| 47 | |
| 48 | abbrev left := HomologicalComplex.homologyMap |
| 49 | (ProjectiveTower.TotalTrace.totalMap n hn (NegativeRefinement.leftHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f)) (n + 1) |
| 50 | abbrev right := HomologicalComplex.homologyMap |
| 51 | (ProjectiveTower.TotalTrace.totalMap n hn (NegativeRefinement.rightHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f)) (n + 1) |
| 52 | |
| 53 | theorem left_trace : left M N B n hn f ≫ (commonTrace M N B n hn hB f eM).hom = |
| 54 | (fixedTrace M B n hn hB eM).hom := by |
| 55 | simp only [commonTrace, fixedTrace, ProjectiveTower.TotalTrace.traceIso_hom] |
| 56 | exact ProjectiveTower.TotalTrace.naturality B n hn |
| 57 | (NegativeRefinement.term_above M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) hB |
| 58 | (ProjectiveRefinement.Serre.fixed_above M B n hn) |
| 59 | (NegativeRefinement.leftHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) |
| 60 | (eM 1) (eM 1) (by |
| 61 | change (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 62 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map (𝟙 M) (eM 1) = eM 1 |
| 63 | rw [CategoryTheory.Functor.map_id] |
| 64 | rfl) |
| 65 | |
| 66 | include hf in |
| 67 | theorem right_trace : right M N B n hn f ≫ (commonTrace M N B n hn hB f eM).hom = |
| 68 | (fixedTrace N B n hn hB eN).hom := by |
| 69 | simp only [commonTrace, fixedTrace, ProjectiveTower.TotalTrace.traceIso_hom] |
| 70 | exact ProjectiveTower.TotalTrace.naturality B n hn |
| 71 | (NegativeRefinement.term_above M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) hB |
| 72 | (ProjectiveRefinement.Serre.fixed_above N B n hn) |
| 73 | (NegativeRefinement.rightHom M N (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B f) |
| 74 | (eM 1) (eN 1) hf |
| 75 | |
| 76 | def map := Trace.TotalRefinement.map |
| 77 | (fixedTrace M B n hn hB eM) (commonTrace M N B n hn hB f eM) |
| 78 | (left M N B n hn f) (right M N B n hn f) (left_trace M N B n hn hB f eM) |
| 79 | |
| 80 | def unitClass := Trace.TotalRefinement.unitClass |
| 81 | (fixedTrace M B n hn hB eM) (fixedTrace N B n hn hB eN) (commonTrace M N B n hn hB f eM) |
| 82 | (left M N B n hn f) (right M N B n hn f) (left_trace M N B n hn hB f eM) |
| 83 | |
| 84 | include hf in |
| 85 | abbrev unitClass_trace := Trace.TotalRefinement.unitClass_trace |
| 86 | (fixedTrace M B n hn hB eM) (fixedTrace N B n hn hB eN) (commonTrace M N B n hn hB f eM) |
| 87 | (left M N B n hn f) (right M N B n hn f) (left_trace M N B n hn hB f eM) |
| 88 | (right_trace M N B n hn hB f eM eN hf) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TotalUnitMap |