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.Resolution.Blowups.IncidenceTraceReindex |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.AuxiliaryPrefixBoundary |
| 3 | |
| 4 | /-! # Incidence Trace Carrier -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Retaining a distinguished carrier gives an explicit, scheme-independent update of the whole incidence trace. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.adjoinCarrier {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) : |
| 15 | [Fintype β] → Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (Option β) := by |
| 16 | induction T with |
| 17 | | stop β => intro _; exact .stop (Option β) |
| 18 | | @step β F tail ih => |
| 19 | intro _ |
| 20 | classical |
| 21 | let R : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (Option (Option β)) := ih |
| 22 | exact .step (insert none (F.image some)) (R.reindex _ GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding) |
| 23 | |
| 24 | theorem Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.adjoinCarrier_length {β : Type} (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β) [Fintype β] : |
| 25 | T.adjoinCarrier.length = T.length := by |
| 26 | revert ‹Fintype β› |
| 27 | induction T with |
| 28 | | stop => intro _; rfl |
| 29 | | @step β F tail ih => |
| 30 | intro _ |
| 31 | change ((tail.adjoinCarrier).reindex _ GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding).length + 1 = tail.length + 1 |
| 32 | rw [Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace.reindex_length] |
| 33 | exact congrArg (fun a : ℕ => a + 1) ih |
| 34 | |
| 35 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.carrier_to_canonical |
| 36 | {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 37 | {I H : X.IdealSheafData} (hI : I ≠ ⊥) {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 38 | {b : ℕ} {J : (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {K : Y.IdealSheafData} |
| 39 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) J Y g K) |
| 40 | (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace (Option (Option β))) |
| 41 | (hP : P.HasIncidenceTrace (Option (Option β)) |
| 42 | (fun j => match j with |
| 43 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 44 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l) T) : |
| 45 | P.HasIncidenceTrace (Option (Option β)) |
| 46 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j : Option β => match j with | none => H | some l => D l)) |
| 47 | (T.reindex _ GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding) := by |
| 48 | let E : Option (Option β) → (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData := fun j => match j with |
| 49 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 50 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l |
| 51 | have ht := hP.reindex P _ _ E T GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding |
| 52 | change P.HasIncidenceTrace (Option (Option β)) (fun l => E (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels l)) |
| 53 | (T.reindex _ GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding) at ht |
| 54 | have he : (fun l => E (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels l)) = |
| 55 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j : Option β => match j with | none => H | some l => D l) := by |
| 56 | funext j |
| 57 | rcases j with _ | (_ | j) <;> rfl |
| 58 | rw [he] at ht |
| 59 | exact ht |
| 60 | |
| 61 | theorem Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.adjoin_auxiliary_carrier |
| 62 | {m : ℕ} (hm : 0 < m) {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 63 | {K : X.IdealSheafData} {L : Y.IdealSheafData} (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix m X f K Y g L) : |
| 64 | ∀ [Smooth f] (J H : X.IdealSheafData), K = GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J H m → |
| 65 | ∀ (β : Type) [Fintype β] (D : β → X.IdealSheafData) (T : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β), |
| 66 | P.HasIncidenceTrace β D T → |
| 67 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f |
| 68 | (fun j : Option β => match j with | none => H | some l => D l) [Finset.univ] → |
| 69 | P.HasIncidenceTrace (Option β) (fun j : Option β => match j with | none => H | some l => D l) T.adjoinCarrier := by |
| 70 | induction P with |
| 71 | | stop => |
| 72 | intro _ _ H _ β _ D T hP A |
| 73 | cases T with |
| 74 | | stop => exact ⟨A⟩ |
| 75 | | step => exact False.elim hP |
| 76 | | @blowup X hX hNX f K I hI hb hp hs hbl Y g L tail ih => |
| 77 | intro hf J H hK β _ D T hP Afull |
| 78 | classical |
| 79 | let : Smooth f := hf |
| 80 | let : Smooth (I.subschemeι ≫ f) := hs |
| 81 | let : Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) := hbl |
| 82 | cases T with |
| 83 | | stop => exact False.elim hP |
| 84 | | step F rest => |
| 85 | obtain ⟨hJ, hHI⟩ := (GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal_smooth_center_iff f I J H m hm).mp (hK ▸ hp) |
| 86 | obtain ⟨A, hF⟩ := hP.1 |
| 87 | obtain ⟨AA, hAA⟩ := A.exists_adjoin_uniform_boundary_component F hF H hHI Afull |
| 88 | let D' := CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D |
| 89 | let J' := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI m |
| 90 | let H' := GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 91 | have hnext : GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I K hI m = GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal J' H' m := by |
| 92 | rw [hK, GlobalBoundary.Auxiliary.Construction.globalBoundaryAuxiliaryIdeal_transform I J H hI m hJ hHI] |
| 93 | have htail := ih J' H' hnext (Option β) D' rest hP.2 |
| 94 | (by convert AA.blowupBoundaryWithCarrier hI using 1; funext j; cases j <;> rfl) |
| 95 | refine ⟨⟨AA, hAA⟩, ?_⟩ |
| 96 | apply Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.HasIncidenceTrace.carrier_to_canonical (H := H) hI D tail rest.adjoinCarrier |
| 97 | convert htail using 1 |
| 98 | funext j |
| 99 | cases j <;> rfl |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Resolution.Blowups |