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.IntersectionTheory.ProjectionFormula.Open.StalkSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.Extension |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.ParameterQuotient |
| 4 | |
| 5 | /-! # Support Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native reduced-support modules and their scalar quotients |
| 12 | commute with the actual stalk isomorphism of an open immersion. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 21 | |
| 22 | variable {Y X : Scheme} (j : Y ⟶ X) [IsOpenImmersion j] |
| 23 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 24 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 25 | (y : Y) (hy : y ∈ (A : Set Y)) (hx : j y ∈ (B : Set X)) |
| 26 | |
| 27 | def equiv : |
| 28 | letI : Algebra (X.presheaf.stalk (j y)) (Y.presheaf.stalk y) := (j.stalkMap y).hom.toAlgebra |
| 29 | (Flat.Extension.baseChange (X.presheaf.stalk (j y)) (Y.presheaf.stalk y)).obj |
| 30 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx) ≃ₗ[Y.presheaf.stalk y] CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hy := by |
| 31 | let R := X.presheaf.stalk (j y) |
| 32 | let S := Y.presheaf.stalk y |
| 33 | let : Algebra R S := (j.stalkMap y).hom.toAlgebra |
| 34 | let p := Stalk.PrimeQuotient.kernelPrime X B (j y) hx |
| 35 | let q := Stalk.PrimeQuotient.kernelPrime Y A y hy |
| 36 | let eX := Stalk.PrimeQuotient.moduleEquiv X B (j y) hx p (Stalk.PrimeQuotient.kernelPrime_image X B (j y) hx) |
| 37 | let eY := Stalk.PrimeQuotient.moduleEquiv Y A y hy q (Stalk.PrimeQuotient.kernelPrime_image Y A y hy) |
| 38 | have hp : p.asIdeal.map (algebraMap R S) = q.asIdeal := |
| 39 | StalkSupport.kernelPrime_map j A B hA y hy hx |
| 40 | exact ((Flat.Extension.baseChange R S).mapIso eX.toModuleIso).toLinearEquiv.trans |
| 41 | ((Ideal.qoutMapEquivTensorQout (R := R) (I := p.asIdeal) S).symm.trans |
| 42 | ((Submodule.quotEquivOfEq _ _ hp).trans eY.symm)) |
| 43 | |
| 44 | def quotientEquiv (r : X.presheaf.stalk (j y)) : |
| 45 | letI : Algebra (X.presheaf.stalk (j y)) (Y.presheaf.stalk y) := (j.stalkMap y).hom.toAlgebra |
| 46 | (Y.presheaf.stalk y) ⊗[X.presheaf.stalk (j y)] |
| 47 | QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx) ≃ₗ[Y.presheaf.stalk y] |
| 48 | QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hy) := by |
| 49 | let R := X.presheaf.stalk (j y) |
| 50 | let S := Y.presheaf.stalk y |
| 51 | let : Algebra R S := (j.stalkMap y).hom.toAlgebra |
| 52 | exact ((Flat.ParameterQuotient.iso R S (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx) r).toLinearEquiv).trans |
| 53 | (QuotSMulTop.congr (j.stalkMap y r) (equiv j A B hA y hy hx)) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportBaseChange |