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.FiniteEtale.FiberSectionTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionPrincipalSupport |
| 3 | |
| 4 | /-! # Fiber Section Support -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A lift of the selected finite-etale fiber component can be chosen |
| 11 | in the original affine coefficient ring with its principal open inside |
| 12 | any prescribed neighborhood of the whole Artinian section. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | |
| 20 | section Algebra |
| 21 | variable (Q B R : Type u) [CommRing Q] [CommRing B] [CommRing R] |
| 22 | [Algebra Q B] [Algebra Q R] [Module.Free Q B] [Module.Finite Q B] |
| 23 | [Algebra.Etale Q B] (ε : B →ₐ[Q] R) |
| 24 | |
| 25 | omit [Module.Free Q B] [Module.Finite Q B] in |
| 26 | theorem component_mul (a : B) : |
| 27 | FiberSectionTrace.component Q B R ε * (1 ⊗ₜ[Q] a) = |
| 28 | ε a • FiberSectionTrace.component Q B R ε := by |
| 29 | have h := SectionTrace.mul R (R ⊗[Q] B) |
| 30 | (FiberSectionTrace.evaluation Q B R ε) |
| 31 | (FiberSectionTrace.component Q B R ε) |
| 32 | (SectionTrace.component_annihilates R (R ⊗[Q] B) |
| 33 | (FiberSectionTrace.evaluation Q B R ε)) (1 ⊗ₜ[Q] a) |
| 34 | simpa only [FiberSectionTrace.evaluation_tmul, one_mul] using h |
| 35 | |
| 36 | omit [Module.Free Q B] [Module.Finite Q B] in |
| 37 | theorem mul_lift (z h : B) |
| 38 | (hz : (1 ⊗ₜ[Q] z : R ⊗[Q] B) = FiberSectionTrace.component Q B R ε) |
| 39 | (hh : ε h = 1) : |
| 40 | (1 ⊗ₜ[Q] (z*h) : R ⊗[Q] B) = FiberSectionTrace.component Q B R ε := by |
| 41 | have ht : (1 ⊗ₜ[Q] (z*h) : R ⊗[Q] B) = (1 ⊗ₜ[Q] z) * (1 ⊗ₜ[Q] h) := by |
| 42 | rw [Algebra.TensorProduct.tmul_mul_tmul, one_mul] |
| 43 | rw [ht, hz, component_mul, hh, one_smul] |
| 44 | |
| 45 | omit [Module.Free Q B] [Module.Finite Q B] in |
| 46 | theorem evaluation_lift (z : B) |
| 47 | (hz : (1 ⊗ₜ[Q] z : R ⊗[Q] B) = FiberSectionTrace.component Q B R ε) : |
| 48 | ε z = 1 := by |
| 49 | have he := congrArg (FiberSectionTrace.evaluation Q B R ε) hz |
| 50 | simpa only [FiberSectionTrace.evaluation_tmul, one_mul, |
| 51 | FiberSectionTrace.component_evaluation] using he |
| 52 | |
| 53 | end Algebra |
| 54 | |
| 55 | variable (R : Type u) [CommRing R] [IsArtinianRing R] [IsLocalRing R] |
| 56 | (Y : Over (Spec (CommRingCat.of R))) |
| 57 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 58 | (U : Y.left.Opens) (hUa : IsAffineOpen U) (hU : ⊤ ≤ s ⁻¹ᵁ U) |
| 59 | (Q : Type u) [CommRing Q] [Algebra Q R] |
| 60 | [Algebra Q (Intrinsic.SmoothClosedSections.ring R Y U)] |
| 61 | [Module.Free Q (Intrinsic.SmoothClosedSections.ring R Y U)] |
| 62 | [Module.Finite Q (Intrinsic.SmoothClosedSections.ring R Y U)] |
| 63 | [Algebra.Etale Q (Intrinsic.SmoothClosedSections.ring R Y U)] |
| 64 | (ε : Intrinsic.SmoothClosedSections.ring R Y U →ₐ[Q] R) |
| 65 | (hε : ε.toRingHom = (Intrinsic.SectionEvaluation.evaluation R Y s hs U hU).toRingHom) |
| 66 | (W : Y.left.Opens) (hW : ⊤ ≤ s ⁻¹ᵁ W) |
| 67 | |
| 68 | include hs hUa hU hε hW in |
| 69 | omit [Module.Free Q ↑(Intrinsic.SmoothClosedSections.ring R Y U)] [Module.Finite Q ↑(Intrinsic.SmoothClosedSections.ring R Y U)] in |
| 70 | theorem from_lift (z₀ : Intrinsic.SmoothClosedSections.ring R Y U) |
| 71 | (hz₀ : (1 ⊗ₜ[Q] z₀ : R ⊗[Q] Intrinsic.SmoothClosedSections.ring R Y U) = |
| 72 | FiberSectionTrace.component Q (Intrinsic.SmoothClosedSections.ring R Y U) R ε) : |
| 73 | ∃ z : Intrinsic.SmoothClosedSections.ring R Y U, |
| 74 | (1 ⊗ₜ[Q] z : R ⊗[Q] Intrinsic.SmoothClosedSections.ring R Y U) = |
| 75 | FiberSectionTrace.component Q (Intrinsic.SmoothClosedSections.ring R Y U) R ε ∧ |
| 76 | ε z = 1 ∧ Y.left.basicOpen z ≤ W ∧ ⊤ ≤ s ⁻¹ᵁ Y.left.basicOpen z := by |
| 77 | obtain ⟨h, he, hle⟩ := Intrinsic.SectionPrincipalSupport.exists_normalized R Y s hs U hU hUa W hW |
| 78 | have he' : ε h = 1 := by |
| 79 | change ε.toRingHom h = 1 |
| 80 | rw [hε] |
| 81 | exact he |
| 82 | let z := z₀ * h |
| 83 | have hz := mul_lift Q (Intrinsic.SmoothClosedSections.ring R Y U) R ε z₀ h hz₀ he' |
| 84 | have hez : ε z = 1 := evaluation_lift Q (Intrinsic.SmoothClosedSections.ring R Y U) R ε z hz |
| 85 | refine ⟨z, hz, hez, ?_, ?_⟩ |
| 86 | · dsimp only [z] |
| 87 | rw [Scheme.basicOpen_mul] |
| 88 | exact inf_le_right.trans hle |
| 89 | · apply Intrinsic.SectionEvaluation.principal_contains R Y s hs U hU z |
| 90 | change (Intrinsic.SectionEvaluation.evaluation R Y s hs U hU).toRingHom z = 1 |
| 91 | rw [← hε] |
| 92 | exact hez |
| 93 | |
| 94 | include hs hUa hU hε hW in |
| 95 | theorem exists_supported (h : Function.Surjective (algebraMap Q R)) : |
| 96 | ∃ z : Intrinsic.SmoothClosedSections.ring R Y U, |
| 97 | (1 ⊗ₜ[Q] z : R ⊗[Q] Intrinsic.SmoothClosedSections.ring R Y U) = |
| 98 | FiberSectionTrace.component Q (Intrinsic.SmoothClosedSections.ring R Y U) R ε ∧ |
| 99 | ε z = 1 ∧ Y.left.basicOpen z ≤ W ∧ ⊤ ≤ s ⁻¹ᵁ Y.left.basicOpen z := by |
| 100 | obtain ⟨z, hz, _⟩ := FiberSectionTrace.exists_lift Q |
| 101 | (Intrinsic.SmoothClosedSections.ring R Y U) R ε h |
| 102 | exact from_lift R Y s hs U hUa hU Q ε hε W hW z hz |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionSupport |