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.Projective.TotalUnitMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.ConcentrationTrace |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PureTrace |
| 4 | |
| 5 | /-! # Unit Pure Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitPureClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original unit class has trace one after passing to its pure |
| 12 | cohomology degree. This applies equally to finite coefficient sheaves. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveTower.UnitTrace (cohomology) |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | universe u |
| 23 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 24 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | |
| 27 | variable (M N : (Proj (homogeneousSubmodule σ R)).Modules) |
| 28 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 29 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 30 | (f : M ⟶ N) |
| 31 | (eM : TopTracePairing.coefficientRing R ≃ₗ[TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 32 | (eN : TopTracePairing.coefficientRing R ≃ₗ[TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology N 0) |
| 33 | (hf : (TopCechRightExact.functor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 34 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) 0).map f (eM 1) = eN 1) |
| 35 | (c : ℕ) |
| 36 | (hPure : ∀ q, q ≠ c → (ProjectiveRefinement.Serre.fixedDual M B n hn).ExactAt q) |
| 37 | (i : ℕ) (hi : i + c = n + 1) |
| 38 | |
| 39 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.Serre.fixedTower M B n hn |
| 40 | local notation "hT" => OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.Serre.fixed_above M B n hn |
| 41 | |
| 42 | def concentration := ProjectiveTower.ConcentrationTrace.concentration T B n hn hT hB c hPure i hi |
| 43 | |
| 44 | def pureClass := (concentration M B n hn hB c hPure i hi).hom |
| 45 | (TotalUnitMap.unitClass M N B n hn hB f eM eN) |
| 46 | |
| 47 | include hf in |
| 48 | theorem trace_one : |
| 49 | PureTrace.trace M B n hn hB c hPure i hi (eM 1) |
| 50 | (pureClass M N B n hn hB f eM eN c hPure i hi) = 1 := by |
| 51 | let x := TotalUnitMap.unitClass M N B n hn hB f eM eN |
| 52 | have hc := ConcreteCategory.congr_hom |
| 53 | (ProjectiveTower.ConcentrationTrace.trace T B n hn hT hB c hPure i hi (eM 1)) x |
| 54 | have ht : (TotalUnitMap.fixedTrace M B n hn hB eM).hom x = 1 := |
| 55 | TotalUnitMap.unitClass_trace M N B n hn hB f eM eN hf |
| 56 | rw [TotalUnitMap.fixedTrace, ProjectiveTower.TotalTrace.traceIso_hom] at ht |
| 57 | exact hc.trans ht |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitPureClass |