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.CycleClass.Thom.TorAlgebra.SourceOrderStep |
| 2 | |
| 3 | /-! # Residual Source Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourceEquiv.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Residual minimal primes correspond bijectively to the actual |
| 10 | minimal primes of the section ideal in the source quotient. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SourceOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourcePrime.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ResidualMinimalSourcePrime.Constructions |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.MinimalSupportPrimes.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SurjectiveMinimalSupport.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] (P : Ideal R) (r : R) |
| 22 | |
| 23 | local notation "Q" => R ⧸ P |
| 24 | local notation "A" => R ⧸ Ideal.span (Singleton.singleton r : Set R) |
| 25 | local notation "N" => QuotSMulTop r (R ⧸ P) |
| 26 | local notation "J" => Ideal.span {algebraMap R (R ⧸ P) r} |
| 27 | |
| 28 | theorem residualSourcePrime_comap (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : |
| 29 | PrimeSpectrum.comap (algebraMap R Q) (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) = |
| 30 | PrimeSpectrum.comap (algebraMap R A) t.val := |
| 31 | ResidualSourcePrime.Constructions.sourcePrime_comap R P r t.val |
| 32 | (ResidualMinimalSourcePrime.Constructions.minimal_mem_support R P r t.val ((MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes A N t.val).mp t.property)) |
| 33 | |
| 34 | theorem residualSourcePrime_injective : Function.Injective (TorAlgebra.SourceOrderStep.residualSourcePrime R P r) := by |
| 35 | intro t u h |
| 36 | apply Subtype.ext |
| 37 | apply PrimeSpectrum.comap_injective_of_surjective (algebraMap R A) Ideal.Quotient.mk_surjective |
| 38 | exact (residualSourcePrime_comap R P r t).symm.trans |
| 39 | ((congrArg (PrimeSpectrum.comap (algebraMap R Q)) h).trans (residualSourcePrime_comap R P r u)) |
| 40 | |
| 41 | theorem residualSourcePrime_minimal (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : |
| 42 | (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t).asIdeal ∈ (J).minimalPrimes := |
| 43 | ResidualMinimalSourcePrime.Constructions.sourcePrime_minimal R P r t.val |
| 44 | (ResidualMinimalSourcePrime.Constructions.minimal_mem_support R P r t.val ((MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes A N t.val).mp t.property)) |
| 45 | ((MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes A N t.val).mp t.property) |
| 46 | |
| 47 | theorem exists_residualSourcePrime (q : PrimeSpectrum Q) (hq : q.asIdeal ∈ (J).minimalPrimes) : |
| 48 | ∃ t : TorAlgebra.SourceOrderStep.ResidualComponent R P r, TorAlgebra.SourceOrderStep.residualSourcePrime R P r t = q := by |
| 49 | have hq' : q.asIdeal ∈ (Module.annihilator Q (Q ⧸ J)).minimalPrimes := by |
| 50 | rwa [Ideal.annihilator_quotient] |
| 51 | have hR := (SurjectiveMinimalSupport.Constructions.comap_mem_minimalPrimes_iff R Q (Q ⧸ J) Ideal.Quotient.mk_surjective q).mpr hq' |
| 52 | have he := (QuotientEquationScalarChange.Constructions.algebraQuotientEquiv R Q r).annihilator_eq |
| 53 | have hN : (PrimeSpectrum.comap (algebraMap R Q) q).asIdeal ∈ (Module.annihilator R N).minimalPrimes := by |
| 54 | rw [he] |
| 55 | exact hR |
| 56 | obtain ⟨t, ht, hcomap⟩ := SurjectiveMinimalSupport.Constructions.exists_comap_of_minimal R A N Ideal.Quotient.mk_surjective |
| 57 | (PrimeSpectrum.comap (algebraMap R Q) q) hN |
| 58 | let u : TorAlgebra.SourceOrderStep.ResidualComponent R P r := ⟨t, (MinimalSupportPrimes.Constructions.mem_minimalSupportPrimes A N t).mpr ht⟩ |
| 59 | refine ⟨u, ?_⟩ |
| 60 | apply PrimeSpectrum.comap_injective_of_surjective (algebraMap R Q) Ideal.Quotient.mk_surjective |
| 61 | exact (residualSourcePrime_comap R P r u).trans hcomap |
| 62 | |
| 63 | def residualSourceEquiv : TorAlgebra.SourceOrderStep.ResidualComponent R P r ≃ {q : PrimeSpectrum Q // q.asIdeal ∈ (J).minimalPrimes} := |
| 64 | Equiv.ofBijective (fun t => ⟨TorAlgebra.SourceOrderStep.residualSourcePrime R P r t, residualSourcePrime_minimal R P r t⟩) (by |
| 65 | constructor |
| 66 | · intro t u h |
| 67 | exact residualSourcePrime_injective R P r (congrArg Subtype.val h) |
| 68 | · intro q |
| 69 | obtain ⟨t, ht⟩ := exists_residualSourcePrime R P r q.val q.property |
| 70 | exact ⟨t, Subtype.ext ht⟩) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourceEquiv.Constructions |