Module

LeanEvalAdapter.lean

Nyll.SawinTotallyRealTowers.UnramifiedProPRelationRank.RelationRank.LeanEvalAdapter
7 declarations indexed from sourceView source ↗

Adapter infrastructure for the LeanEval Shafarevich statement

This file isolates the three representation differences between the production theorem and the trusted benchmark statement: the explicit everywhere-unramified predicate, finite-set generator rank, and small versus universe-lifted trivial cohomology coefficients.

Declarations

ClassFieldTower.Martinet.Shafarevich.ExplicitIsEverywhereUnramified

The finite-prime and real-place formula used as the trusted benchmark's everywhere-unramified predicate.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
def ExplicitIsEverywhereUnramified
    (F : Type u) (M : Type v)
    [Field F] [Field M] [NumberField F] [NumberField M]
    [Algebra F M] : Prop
ClassFieldTower.Martinet.Shafarevich.isEverywhereUnramified_iff_explicitPredicate

The library predicate and the benchmark's explicit predicate agree.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
theorem isEverywhereUnramified_iff_explicitPredicate
    (F : Type u) (M : Type v)
    [Field F] [Field M] [NumberField F] [NumberField M]
    [Algebra F M] :
    IsEverywhereUnramified F M ↔ ExplicitIsEverywhereUnramified F M
ClassFieldTower.Martinet.Shafarevich.explicitMaximalEverywhereUnramifiedProP

The maximal compositum written with the explicit benchmark predicate.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
def explicitMaximalEverywhereUnramifiedProP
    (F : Type u) [Field F] [NumberField F]
    (p : ℕ) [Fact p.Prime] :
    IntermediateField F (AlgebraicClosure F)
ClassFieldTower.Martinet.Shafarevich.maximalEverywhereUnramifiedProP_eq_explicit

Replacing the structured unramified predicate by its explicit clauses does not change the maximal compositum.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
theorem maximalEverywhereUnramifiedProP_eq_explicit
    (F : Type u) [Field F] [NumberField F]
    (p : ℕ) [Fact p.Prime] :
    maximalEverywhereUnramifiedProP F p =
      explicitMaximalEverywhereUnramifiedProP F p
ClassFieldTower.Martinet.Shafarevich.maxEverywhereUnramifiedProPGaloisGroup_topologicallyFinitelyGenerated

The maximal everywhere-unramified pro-p Galois group is topologically finitely generated for odd p.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
theorem maxEverywhereUnramifiedProPGaloisGroup_topologicallyFinitelyGenerated
    (F : Type) [Field F] [NumberField F]
    (p : ℕ) [Fact p.Prime] (hpOdd : Odd p) :
    TopologicallyFinitelyGenerated
      (MaxEverywhereUnramifiedProPGaloisGroup F p)
ClassFieldTower.Martinet.Shafarevich.smallH2_and_finiteGeneratorRank_bound_of_lifted

A production bound for lifted cohomology converts directly to the small-coefficient and finite-generator-rank presentation used by LeanEval.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
theorem smallH2_and_finiteGeneratorRank_bound_of_lifted
    (p : ℕ) [Fact p.Prime]
    (G : Type) [Group G] [TopologicalSpace G] [IsTopologicalGroup G]
    [CompactSpace G] [T2Space G] [TotallyDisconnectedSpace G]
    (hG : TopologicallyFinitelyGenerated G)
    (a b : ℕ)
    (h : FiniteDimensional (ZMod p)
          (continuousCohomologyZModPLifted p G 2) ∧
        Module.finrank (ZMod p)
            (continuousCohomologyZModPLifted p G 2) ≤
          topologicalGeneratorRank G + a + b) :
    FiniteDimensional (ZMod p) (continuousCohomologyZModP p G 2) ∧
      Module.finrank (ZMod p) (continuousCohomologyZModP p G 2) ≤
        finiteTopologicalGeneratorRank G + a + b
ClassFieldTower.Martinet.Shafarevich.maxEverywhereUnramified_smallH2_and_finiteGeneratorRank_bound_of_lifted

Maximal-group specialization of the LeanEval rank/coefficient adapter.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

open scoped NumberField Topology
noncomputable section
namespace ClassFieldTower.Martinet.Shafarevich
open ClassFieldTower.Cohomology
open ClassFieldTower.ProP
open ProCGroups.Generation
open ProCGroups.FiniteGeneration
universe u v
theorem maxEverywhereUnramified_smallH2_and_finiteGeneratorRank_bound_of_lifted
    (F : Type) [Field F] [NumberField F]
    (p : ℕ) [Fact p.Prime] (hpOdd : Odd p)
    (a b : ℕ)
    (h : FiniteDimensional (ZMod p)
          (continuousCohomologyZModPLifted p
            (MaxEverywhereUnramifiedProPGaloisGroup F p) 2) ∧
        Module.finrank (ZMod p)
            (continuousCohomologyZModPLifted p
              (MaxEverywhereUnramifiedProPGaloisGroup F p) 2) ≤
          topologicalGeneratorRank
              (MaxEverywhereUnramifiedProPGaloisGroup F p) + a + b) :
    FiniteDimensional (ZMod p)
        (continuousCohomologyZModP p
          (MaxEverywhereUnramifiedProPGaloisGroup F p) 2) ∧
      Module.finrank (ZMod p)
          (continuousCohomologyZModP p
            (MaxEverywhereUnramifiedProPGaloisGroup F p) 2) ≤
        finiteTopologicalGeneratorRank
            (MaxEverywhereUnramifiedProPGaloisGroup F p) + a + b