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.Affine.HomEvaluation |
| 2 | |
| 3 | /-! # Hom Sections Equiv -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomSectionsEquiv |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal evaluation of an internal module Hom on an affine open |
| 10 | is a linear equivalence for a quasicoherent source. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | private def moduleHomEquiv {R : Type u} [CommRing R] (M N : ModuleCat.{v} R) : |
| 21 | (M ⟶ N) ≃ₗ[R] (M →ₗ[R] N) := |
| 22 | ModuleCat.homLinearEquiv (S := R) |
| 23 | |
| 24 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 25 | (M N : X.Modules) [M.IsQuasicoherent] |
| 26 | |
| 27 | def comparison : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U) ≃ₗ[Γ(X, U)] |
| 28 | (Γ(M, U) →ₗ[Γ(X, U)] Γ(N, U)) := by |
| 29 | letI := AffineOpen.LinearHom.comparison_isIso U hU N (op M) |
| 30 | exact (asIso ((AffineOpen.LinearHom.comparison U hU N).app (op M))).toLinearEquiv.trans |
| 31 | ((moduleHomEquiv |
| 32 | ((AffineOpen.InternalHom.sections U hU).obj M) |
| 33 | ((AffineOpen.InternalHom.sections U hU).obj N)).trans |
| 34 | (LinearEquiv.arrowCongr (ChartSections.iso U hU M).toLinearEquiv.symm |
| 35 | (ChartSections.iso U hU N).toLinearEquiv.symm)) |
| 36 | |
| 37 | theorem comparison_apply (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) (m : Γ(M, U)) : |
| 38 | comparison U hU M N q m = ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U q m := by |
| 39 | change (ChartSections.iso U hU N).inv |
| 40 | (HomEvaluation.chartEvaluation M N U hU q |
| 41 | ((ChartSections.iso U hU M).hom m)) = _ |
| 42 | rw [HomEvaluation.chart_comparison_apply, Iso.hom_inv_id_apply] |
| 43 | |
| 44 | def equiv : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U) ≃ₗ[Γ(X, U)] |
| 45 | (Γ(M, U) →ₗ[Γ(X, U)] Γ(N, U)) := |
| 46 | LinearEquiv.ofBijective (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U) (by |
| 47 | have h : (comparison U hU M N).toLinearMap = ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U := by |
| 48 | ext q m |
| 49 | exact comparison_apply U hU M N q m |
| 50 | rw [← h] |
| 51 | exact (comparison U hU M N).bijective) |
| 52 | |
| 53 | @[simp] theorem equiv_apply (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) (m : Γ(M, U)) : |
| 54 | equiv U hU M N q m = ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen M N U q m := rfl |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomSectionsEquiv |