Module

TateTraceCompatSeparable.lean

Nyll.AlgebraicCurves.Differentials.Residues.TateTraceCompatSeparable
114 declarations indexed from sourceView source ↗

Compatibility of Tate residues with trace in separable function field extensions.

Imports70
Imported by2

Declarations

AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.IsLocalRing.maximalIdeal_le
Source context 7 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
open scoped _root_.IsLocalRing in
theorem IsLocalRing.maximalIdeal_le {R : Type*} [CommSemiring R] [IsLocalRing R] {J : Ideal R}
    (hJ : J ≠ ⊤) (h : IsLocalRing.maximalIdeal R ≤ J) :
    J.IsMaximal
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.instAlgebraSubtypeMemValuationSubring_fLT
Source context 6 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
instance instAlgebraSubtypeMemValuationSubring_fLT {K L : Type*} [Field K] [Semiring L]
    (O : ValuationSubring K) [Algebra K L] : Algebra O L where
  smul r x := r.1 • x
  algebraMap := (algebraMap K L).comp (algebraMap O K)
  commutes' _ _ := by simp [Algebra.commutes]
  smul_def' _ _ := by simp [← Algebra.smul_def]; rfl
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.exists_ord_pos
Source context 20 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section SinglePlace
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
open _root_.AlgebraicCurve.Place
theorem exists_ord_pos : ∃ f : F, f ≠ 0 ∧ 0 < v.ord f
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.algebraMap_ne_zero
Source context 19 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section Restrict
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F'] [Algebra F F']
theorem algebraMap_ne_zero {f : F} (hf : f ≠ 0) : algebraMap F F' f ≠ 0
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.mem_comap_iff_ord_nonneg
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section Restrict
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F'] [Algebra F F']
variable (w : Place K F')
open _root_.AlgebraicCurve.Place
variable {w} in
theorem mem_comap_iff_ord_nonneg {f : F} (hf : f ≠ 0) :
    f ∈ w.toValuationSubring.comap (algebraMap F F') ↔
      0 ≤ w.ord (algebraMap F F' f)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.isUnit_mk_comap_iff
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section Restrict
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F'] [Algebra F F']
variable (w : Place K F')
open _root_.AlgebraicCurve.Place
variable {w} in
variable {w} in
theorem isUnit_mk_comap_iff {f : F} (hf : f ≠ 0)
    (hmem : f ∈ w.toValuationSubring.comap (algebraMap F F')) :
    IsUnit (⟨f, hmem⟩ : w.toValuationSubring.comap (algebraMap F F')) ↔
      w.ord (algebraMap F F' f) = 0
AlgebraicCurve.Place.exists_ord_algebraMap_pos
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section Restrict
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F'] [Algebra F F']
variable (w : Place K F')
open _root_.AlgebraicCurve.Place
variable {w} in
variable {w} in
theorem _root_.AlgebraicCurve.Place.exists_ord_algebraMap_pos [Algebra.IsIntegral F F'] :
    ∃ f : F, f ≠ 0 ∧ 0 < w.ord (algebraMap F F' f)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.isPrincipalIdealRing_comap
Source context 25 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
section Restrict
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F'] [Algebra F F']
variable (w : Place K F')
open _root_.AlgebraicCurve.Place
variable {w} in
variable {w} in
open _root_.AlgebraicCurve.Place
variable [Algebra.IsIntegral F F']
theorem isPrincipalIdealRing_comap :
    IsPrincipalIdealRing (w.toValuationSubring.comap (algebraMap F F'))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.kw_ffgc_isIntegrallyClosed_adicCompletionIntegers
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section CompletionAlgebra
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
instance kw_ffgc_isIntegrallyClosed_adicCompletionIntegers :
    IsIntegrallyClosed (W.restrict F).adicCompletionIntegers
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.adicCompletionComapIntegers_injective
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section CompletionAlgebra
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
open TateTraceCompat_of_isSeparable.AlgebraicCurve.Place in
with_weak_namespace
    _root_.AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
theorem adicCompletionComapIntegers_injective :
    Function.Injective (kw_ffgc_adicCompletionComapIntegers F W)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.comapTorsionFree
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section CompletionAlgebra
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
instance
_root_.AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.comapTorsionFree
    :
    Module.IsTorsionFree (W.restrict F).adicCompletionIntegers W.adicCompletionIntegers
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.norm_adicCompletion_eq
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section SpectralSetup
open scoped _root_.Valued _root_.NNReal _root_.WithZero
open _root_.WithZeroMulInt
open _root_.Valuation.IsRankOneDiscrete
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (V : Place K F)
theorem norm_adicCompletion_eq (x : V.adicCompletion) :
    let := kw_ffgc_rankOne_adicCompletion V
    ‖x‖ = (WithZeroMulInt.toNNReal (two_ne_zero) (Valued.v x) : ℝ) := by
  intro sharedOwner1
  have h := valueGroup₀_equiv_withZeroMulInt_restrict_apply_of_surjective
    (V.heightOneSpectrum.valuedAdicCompletion_surjective F) x
  simp only [Valued.toNormedField.norm_def, Valuation.RankOne.hom]
  rw [← h]; rfl
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.absoluteValue_extends
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section AbsoluteValue
open scoped _root_.Valued _root_.NNReal _root_.WithZero
open _root_.WithZeroMulInt
open _root_.Valuation.IsRankOneDiscrete
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
theorem absoluteValue_extends (c : (W.restrict F).adicCompletion) :
    let := kw_ffgc_rankOne_adicCompletion (W.restrict F)
    kw_ffgc_absoluteValue F W
      (algebraMap (W.restrict F).adicCompletion W.adicCompletion c) = ‖c‖ := by
  intro sharedOwner1
  let := kw_ffgc_rankOne_adicCompletion W
  have hr : (0 : ℝ) < (W.ramificationIndex F : ℝ) :=
    Nat.cast_pos.mpr (W.ramificationIndex_pos (F := F))
  change ‖algebraMap (W.restrict F).adicCompletion W.adicCompletion c‖
      ^ ((W.ramificationIndex F : ℝ))⁻¹ = ‖c‖
  rw [norm_adicCompletion_eq W, norm_adicCompletion_eq (W.restrict F),
    algebraMap_adicCompletionComap_eq, valued_adicCompletionComap,
    map_pow, NNReal.coe_pow, ← Real.rpow_natCast, ← Real.rpow_mul (NNReal.coe_nonneg _),
    mul_inv_cancel₀ hr.ne', Real.rpow_one]
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.AlgebraicCurve.Place.isIntegral_adicCompletionIntegers_of_algebraic
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section IntegralClosure
open scoped _root_.Valued _root_.NNReal _root_.WithZero
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
theorem isIntegral_adicCompletionIntegers_of_algebraic
    [Algebra.IsAlgebraic (W.restrict F).adicCompletion W.adicCompletion]
    (x : W.adicCompletionIntegers) :
    _root_.IsIntegral (W.restrict F).adicCompletionIntegers x
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.isIntegralClosure_adicCompletionIntegers
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.Polynomial
open _root_.IsLocalRing
open _root_.IsDedekindDomain
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section IntegralClosure
open scoped _root_.Valued _root_.NNReal _root_.WithZero
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
open TateTraceCompat_of_isSeparable.AlgebraicCurve.Place in
with_weak_namespace
    _root_.AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
theorem isIntegralClosure_adicCompletionIntegers
    [Algebra.IsAlgebraic (W.restrict F).adicCompletion W.adicCompletion] :
    IsIntegralClosure W.adicCompletionIntegers (W.restrict F).adicCompletionIntegers
      W.adicCompletion where
  algebraMap_injective := Subtype.val_injective
  isIntegral_iff {x} := by
    constructor
    · intro hx
      have hxW : _root_.IsIntegral W.adicCompletionIntegers x := hx.tower_top
      have : IsIntegrallyClosed W.adicCompletionIntegers :=
        Valuation.Integers.isIntegrallyClosed
          (HeightOneSpectrum.adicCompletionIntegers.integers
            (K := F') (v := W.heightOneSpectrum))
      exact IsIntegrallyClosed.isIntegral_iff.mp hxW
    · rintro ⟨y, rfl⟩
      exact (isIntegral_adicCompletionIntegers_of_algebraic F W y).map
        (IsScalarTower.toAlgHom (W.restrict F).adicCompletionIntegers
          W.adicCompletionIntegers W.adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.completionTraceF'_apply
Source context 25 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.IsDedekindDomain.HeightOneSpectrum
open _root_.IsLocalRing
open _root_.WithZero
open scoped _root_.Valued _root_.WithZero
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
section CompletionTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable (F)
variable [Algebra F F'] [IsScalarTower K F F'] [Algebra.IsIntegral F F'] (W : Place K F')
open TateTraceCompat_of_isSeparable.AlgebraicCurve.Place in
with_weak_namespace
    _root_.AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
theorem completionTraceF'_apply [FiniteDimensional F F'] (g : F') :
    completionTraceF' F W g
      = Algebra.trace (W.restrict F).adicCompletion W.adicCompletion
          (algebraMap F' W.adicCompletion g)
AlgebraicCurve.Place.uniformizerSubring
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.Module
open _root_.IsLocalRing
open _root_.Module.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
variable (v : Place K F)
def _root_.AlgebraicCurve.Place.uniformizerSubring : v.toValuationSubring
AlgebraicCurve.Place.uniformizer_mem
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
noncomputable section
open _root_.IsDedekindDomain
open _root_.WithZero
open _root_.Module
open _root_.IsLocalRing
open _root_.Module.IsLocalRing
namespace AlgebraicCurve
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
variable (v : Place K F)
open _root_.AlgebraicCurve.Place
theorem _root_.AlgebraicCurve.Place.uniformizer_mem : v.uniformizer ∈
    v.toValuationSubring
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.principalPart_mul_zero_of_mem_integers
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section AgreementReduce
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem principalPart_mul_zero_of_mem_integers
    {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers)
    {a : u.adicCompletion} (ha : a ∈ u.adicCompletionIntegers) :
    gh * a - tateProj u (gh * a) = 0
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommRestrict_single_term
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section AgreementReduce
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem tateCommRestrict_single_term
    {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers)
    (fh : u.adicCompletion) (a : LinearMap.range (tateProj u)) :
    (tateCommRestrict (tateProj u) (lmulK u fh) (lmulK u gh) a : u.adicCompletion)
      = tateProj u (gh * (fh * (a : u.adicCompletion)
          - tateProj u (fh * (a : u.adicCompletion))))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.range_comp_map_left
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section FinrankTraceCyclicity
variable {K M N : Type*} [Field K] [AddCommGroup M] [Module K M] [AddCommGroup N] [Module K N]
theorem range_comp_map_left (f : M →ₗ[K] N) (g : N →ₗ[K] M) :
    ∀ x ∈ LinearMap.range (g ∘ₗ f), f x ∈ LinearMap.range (f ∘ₗ g)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_comp_comm
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section FinrankTraceCyclicity
variable {K M N : Type*} [Field K] [AddCommGroup M] [Module K M] [AddCommGroup N] [Module K N]
theorem finrankTrace_comp_comm (f : M →ₗ[K] N) (g : N →ₗ[K] M)
    [FiniteDimensional K (LinearMap.range (g ∘ₗ f))]
    [FiniteDimensional K (LinearMap.range (f ∘ₗ g))] :
    finrankTrace (g ∘ₗ f) = finrankTrace (f ∘ₗ g)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.SameRangeIdemProjectors

Two idempotent linear projectors with the same range.

Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaLemmas
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable (pA pA' : V →ₗ[K] V)
structure SameRangeIdemProjectors : Prop where
  /-- The first projector is idempotent. -/
  idem_pA : ∀ x, pA (pA x) = pA x
  /-- The second projector is idempotent. -/
  idem_pA' : ∀ x, pA' (pA' x) = pA' x
  /-- The two projectors have the same range. -/
  range_eq : LinearMap.range pA = LinearMap.range pA'
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.pA_fixes_range
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaLemmas
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable (pA pA' : V →ₗ[K] V)
variable {pA pA'}
theorem pA_fixes_range (h : SameRangeIdemProjectors pA pA') :
    ∀ x ∈ LinearMap.range pA, pA x = x
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.pA'_fixes_range
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaLemmas
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable (pA pA' : V →ₗ[K] V)
variable {pA pA'}
theorem pA'_fixes_range (h : SameRangeIdemProjectors pA pA') :
    ∀ x ∈ LinearMap.range pA, pA' x = x
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.delta_zero_on_range
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaLemmas
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable (pA pA' : V →ₗ[K] V)
variable {pA pA'}
theorem delta_zero_on_range (h : SameRangeIdemProjectors pA pA')
    {x : V} (hx : x ∈ LinearMap.range pA) :
    (pA - pA') x = 0
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.delta_range_subset
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaLemmas
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable (pA pA' : V →ₗ[K] V)
variable {pA pA'}
theorem delta_range_subset (h : SameRangeIdemProjectors pA pA')
    (x : V) : (pA - pA') x ∈ LinearMap.range pA
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.KwF4gRRTateProjectorIndep

Tate commutator traces are independent of the idempotent projector with the prescribed range when the second multiplier is integral.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Mint
variable (K L : Type*) [Field K] [Field L] [Algebra K L]
def KwF4gRRTateProjectorIndep : Prop
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommRestrict_diff
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DiffComputation
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
theorem tateCommRestrict_diff
    (h : SameRangeIdemProjectors (tateProj u) pA')
    {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers)
    (fh : u.adicCompletion) (a : LinearMap.range (tateProj u)) :
    (tateCommRestrict (tateProj u) (lmulK u fh) (lmulK u gh) a : u.adicCompletion)
      - tateComm pA' (lmulK u fh) (lmulK u gh) (a : u.adicCompletion)
      = (tateProj u - pA') (gh * fh * (a : u.adicCompletion))
        - gh * (tateProj u - pA') (fh * (a : u.adicCompletion))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_eq_trace_on_superspace
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TraceOnSuperspace
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_eq_trace_on_superspace
    (φ : V →ₗ[K] V) (W : Submodule K V) [FiniteDimensional K W]
    (hrange : LinearMap.range φ ≤ W) (hW : ∀ x ∈ W, φ x ∈ W) :
    have : FiniteDimensional K (LinearMap.range φ) :=
      Submodule.finiteDimensional_of_le hrange
    finrankTrace φ = LinearMap.trace K W (φ.restrict hW) := by
  have : FiniteDimensional K (LinearMap.range φ) := Submodule.finiteDimensional_of_le hrange
  let i : LinearMap.range φ →ₗ[K] W := Submodule.inclusion hrange
  let π : W →ₗ[K] LinearMap.range φ := φ.rangeRestrict.comp W.subtype
  have hip : i ∘ₗ π = φ.restrict hW := by
    apply LinearMap.ext; intro w; apply Subtype.ext; rfl
  have hpi : π ∘ₗ i = φ.restrict (fun x _ => LinearMap.mem_range_self φ x) := by
    apply LinearMap.ext; intro x; apply Subtype.ext; rfl
  unfold finrankTrace
  rw [← hpi, ← hip, LinearMap.trace_comp_comm']
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_sub_eq
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_sub_eq
    (φ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range φ)]
    [FiniteDimensional K (LinearMap.range ψ)] :
    have : FiniteDimensional K
        ((LinearMap.range φ ⊔ LinearMap.range ψ : Submodule K V) : Type _) :=
      Submodule.finiteDimensional_sup _ _
    finrankTrace φ - finrankTrace ψ
      = LinearMap.trace K (LinearMap.range φ ⊔ LinearMap.range ψ : Submodule K V)
          ((φ - ψ).restrict
            (p := (LinearMap.range φ ⊔ LinearMap.range ψ : Submodule K V))
            (fun x _ => sub_mem
              (Submodule.mem_sup_left (LinearMap.mem_range_self φ x))
              (Submodule.mem_sup_right (LinearMap.mem_range_self ψ x)))) := by
  set W' : Submodule K V := LinearMap.range φ ⊔ LinearMap.range ψ with hW'
  have : FiniteDimensional K W' := Submodule.finiteDimensional_sup _ _
  have hφW : ∀ x ∈ W', φ x ∈ W' := fun x _ =>
    Submodule.mem_sup_left (LinearMap.mem_range_self φ x)
  have hψW : ∀ x ∈ W', ψ x ∈ W' := fun x _ =>
    Submodule.mem_sup_right (LinearMap.mem_range_self ψ x)
  rw [finrankTrace_eq_trace_on_superspace φ W' le_sup_left hφW,
    finrankTrace_eq_trace_on_superspace ψ W' le_sup_right hψW,
    ← map_sub]
  refine congrArg (LinearMap.trace K W') (LinearMap.ext fun x => Subtype.ext ?_)
  rfl
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.deltaQuotFactor

The difference of the two projectors factors through the quotient by their common range and takes values in that range.

Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaQuotFactor
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable {pA pA' : V →ₗ[K] V}
def deltaQuotFactor (h : SameRangeIdemProjectors pA pA') :
    (V ⧸ LinearMap.range pA) →ₗ[K] LinearMap.range pA
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.deltaQuotFactor_apply
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DeltaQuotFactor
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable {pA pA' : V →ₗ[K] V}
theorem deltaQuotFactor_apply (h : SameRangeIdemProjectors pA pA') (x : V) :
    (deltaQuotFactor h (Submodule.Quotient.mk x) : V) = (pA - pA') x
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.KwF4gRRTateCommFiniteGen

Finite dimensionality of Tate commutator ranges for projectors with the same range as the Tate projector.

Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DiffTraceZero
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
def KwF4gRRTateCommFiniteGen : Prop
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.ker_pA'_inf_integers
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section KerInf
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
theorem ker_pA'_inf_integers (h : SameRangeIdemProjectors (tateProj u) pA') :
    LinearMap.ker pA' ⊓ adicIntegersKSubmod u = ⊥
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finiteDimensional_ker_pA'_inf_poleWindow
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section KerInf
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
theorem finiteDimensional_ker_pA'_inf_poleWindow
    (h : SameRangeIdemProjectors (tateProj u) pA')
    [u.FiniteResidue] (πh : u.adicCompletionIntegers) (hπh : Irreducible πh) (M : ℕ) :
    FiniteDimensional K
      ((LinearMap.ker pA' ⊓ poleWindowKSubmod u πh M : Submodule K _))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finiteDimensional_principalPart_pA'_range
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Discharge
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
variable [∀ u : Place K L, u.FiniteResidue]
theorem finiteDimensional_principalPart_pA'_range
    (h : SameRangeIdemProjectors (tateProj u) pA') (fh : u.adicCompletion) :
    FiniteDimensional K
      (LinearMap.range
        ((LinearMap.id - pA') ∘ₗ lmulK u fh ∘ₗ (adicIntegersKSubmod u).subtype))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.commFiniteGen
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Discharge
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable (pA' : u.adicCompletion →ₗ[K] u.adicCompletion)
variable [∀ u : Place K L, u.FiniteResidue]
theorem commFiniteGen :
    KwF4gRRTateCommFiniteGen u pA'
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_congr
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_congr {φ ψ : V →ₗ[K] V}
    [hφ : FiniteDimensional K (LinearMap.range φ)]
    [hψ : FiniteDimensional K (LinearMap.range ψ)]
    (h : φ = ψ) : finrankTrace φ = finrankTrace ψ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.range_sub_le
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem range_sub_le (φ ψ : V →ₗ[K] V) :
    LinearMap.range (φ - ψ) ≤ LinearMap.range φ ⊔ LinearMap.range ψ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeSub
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
instance instFinDimRangeSub (φ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range φ)]
    [FiniteDimensional K (LinearMap.range ψ)] :
    FiniteDimensional K (LinearMap.range (φ - ψ))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_sub
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_sub (φ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range φ)]
    [FiniteDimensional K (LinearMap.range ψ)] :
    finrankTrace φ - finrankTrace ψ = finrankTrace (φ - ψ)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.range_conj_eq_map
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ConjInvariance
variable {K M N : Type*} [Field K] [AddCommGroup M] [Module K M]
variable [AddCommGroup N] [Module K N]
theorem range_conj_eq_map (e : M ≃ₗ[K] N) (φ : M →ₗ[K] M) :
    LinearMap.range (e.conj φ) = (LinearMap.range φ).map (e : M →ₗ[K] N)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_conj
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ConjInvariance
variable {K M N : Type*} [Field K] [AddCommGroup M] [Module K M]
variable [AddCommGroup N] [Module K N]
theorem finrankTrace_conj (e : M ≃ₗ[K] N) (φ : M →ₗ[K] M)
    [hφ : FiniteDimensional K (LinearMap.range φ)] :
    have : FiniteDimensional K (LinearMap.range (e.conj φ)) := by
      rw [range_conj_eq_map]
      exact (Submodule.equivMapOfInjective _ e.injective _).finiteDimensional
    finrankTrace (e.conj φ) = finrankTrace φ := by
  have hgf : ((e : M →ₗ[K] N) ∘ₗ φ) ∘ₗ (e.symm : N →ₗ[K] M) = e.conj φ := by
    apply LinearMap.ext; intro x
    simp only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.conj_apply]
  have hfg : (e.symm : N →ₗ[K] M) ∘ₗ ((e : M →ₗ[K] N) ∘ₗ φ) = φ := by
    apply LinearMap.ext; intro x
    simp only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply]
  have : FiniteDimensional K
      (LinearMap.range (((e : M →ₗ[K] N) ∘ₗ φ) ∘ₗ (e.symm : N →ₗ[K] M))) := by
    rw [hgf, range_conj_eq_map]
    exact (Submodule.equivMapOfInjective _ e.injective _).finiteDimensional
  have : FiniteDimensional K
      (LinearMap.range ((e.symm : N →ₗ[K] M) ∘ₗ ((e : M →ₗ[K] N) ∘ₗ φ))) := by
    rw [hfg]; exact hφ
  have hcyc := finrankTrace_comp_comm (e.symm : N →ₗ[K] M) ((e : M →ₗ[K] N) ∘ₗ φ)
  have hconj : FiniteDimensional K (LinearMap.range (e.conj φ)) := by
    rw [range_conj_eq_map]
    exact (Submodule.equivMapOfInjective _ e.injective _).finiteDimensional
  exact (finrankTrace_congr hgf.symm).trans (hcyc.trans (finrankTrace_congr hfg))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.alphaMap

Multiplication on the range of the Tate projector, followed by passage to the quotient by that range.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TermMaps
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
def alphaMap (c : u.adicCompletion) :
    LinearMap.range (tateProj u) →ₗ[K] (u.adicCompletion ⧸ LinearMap.range (tateProj u))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.alphaMap_apply
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TermMaps
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem alphaMap_apply (c : u.adicCompletion) (a : LinearMap.range (tateProj u)) :
    alphaMap u c a = Submodule.Quotient.mk (c * (a : u.adicCompletion))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.mulOnRange

Multiplication by an integral completed element restricted to the range of the Tate projector.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TermMaps
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
def mulOnRange {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers) :
    LinearMap.range (tateProj u) →ₗ[K] LinearMap.range (tateProj u)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.mulOnRange_apply
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TermMaps
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem mulOnRange_apply {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers)
    (a : LinearMap.range (tateProj u)) :
    (mulOnRange u hgh a : u.adicCompletion) = gh * (a : u.adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finiteDimensional_range_alphaMap
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TermMaps
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable [u.FiniteResidue]
theorem finiteDimensional_range_alphaMap (c : u.adicCompletion) :
    FiniteDimensional K (LinearMap.range (alphaMap u c))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeDeltaAlpha
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Cyclicity
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable [u.FiniteResidue]
variable {pA' : u.adicCompletion →ₗ[K] u.adicCompletion}
instance instFinDimRangeDeltaAlpha (h : SameRangeIdemProjectors (tateProj u) pA')
    (c : u.adicCompletion) :
    FiniteDimensional K (LinearMap.range (deltaQuotFactor h ∘ₗ alphaMap u c))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeMulDeltaAlpha
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Cyclicity
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable [u.FiniteResidue]
variable {pA' : u.adicCompletion →ₗ[K] u.adicCompletion}
instance instFinDimRangeMulDeltaAlpha (h : SameRangeIdemProjectors (tateProj u) pA')
    (c : u.adicCompletion) {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers) :
    FiniteDimensional K
      (LinearMap.range (mulOnRange u hgh ∘ₗ deltaQuotFactor h ∘ₗ alphaMap u c))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_term_eq
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Cyclicity
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable [u.FiniteResidue]
variable {pA' : u.adicCompletion →ₗ[K] u.adicCompletion}
theorem finrankTrace_term_eq (h : SameRangeIdemProjectors (tateProj u) pA')
    (fh : u.adicCompletion) {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers) :
    finrankTrace (deltaQuotFactor h ∘ₗ alphaMap u (gh * fh))
      = finrankTrace (mulOnRange u hgh ∘ₗ deltaQuotFactor h ∘ₗ alphaMap u fh)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.projectorIndep
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K L : Type*} [Field K] [Field L] [Algebra K L]
variable [∀ u : Place K L, u.FiniteResidue]
theorem projectorIndep : KwF4gRRTateProjectorIndep K L
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeNeg
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
instance instFinDimRangeNeg (φ : V →ₗ[K] V) [FiniteDimensional K (LinearMap.range φ)] :
    FiniteDimensional K (LinearMap.range (-φ))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeZero
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
instance instFinDimRangeZero : FiniteDimensional K (LinearMap.range (0 : V →ₗ[K] V))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_zero
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_zero : finrankTrace (0 : V →ₗ[K] V) = 0
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_neg
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_neg (φ : V →ₗ[K] V) [FiniteDimensional K (LinearMap.range φ)] :
    finrankTrace (-φ) = -finrankTrace φ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeAdd
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
instance instFinDimRangeAdd (φ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range φ)]
    [FiniteDimensional K (LinearMap.range ψ)] :
    FiniteDimensional K (LinearMap.range (φ + ψ))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_add
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Additivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_add (φ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range φ)]
    [FiniteDimensional K (LinearMap.range ψ)] :
    finrankTrace (φ + ψ) = finrankTrace φ + finrankTrace ψ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateComm_add_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateCommAddFst
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem tateComm_add_fst (pA φ₁ φ₂ ψ : V →ₗ[K] V) :
    tateComm pA (φ₁ + φ₂) ψ = tateComm pA φ₁ ψ + tateComm pA φ₂ ψ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommRestrict_add_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateCommAddFst
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem tateCommRestrict_add_fst (pA φ₁ φ₂ ψ : V →ₗ[K] V) :
    tateCommRestrict pA (φ₁ + φ₂) ψ
      = tateCommRestrict pA φ₁ ψ + tateCommRestrict pA φ₂ ψ
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommTrace_add_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateCommAddFst
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem tateCommTrace_add_fst (pA φ₁ φ₂ ψ : V →ₗ[K] V)
    [FiniteDimensional K (LinearMap.range (tateCommRestrict pA φ₁ ψ))]
    [FiniteDimensional K (LinearMap.range (tateCommRestrict pA φ₂ ψ))] :
    have : FiniteDimensional K (LinearMap.range (tateCommRestrict pA (φ₁ + φ₂) ψ)) := by
      rw [tateCommRestrict_add_fst]; exact instFinDimRangeAdd _ _
    tateCommTrace pA (φ₁ + φ₂) ψ = tateCommTrace pA φ₁ ψ + tateCommTrace pA φ₂ ψ := by
  have : FiniteDimensional K (LinearMap.range (tateCommRestrict pA (φ₁ + φ₂) ψ)) := by
    rw [tateCommRestrict_add_fst]; exact instFinDimRangeAdd _ _
  unfold tateCommTrace
  rw [← finrankTrace_add]
  exact finrankTrace_congr (tateCommRestrict_add_fst pA φ₁ φ₂ ψ)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateRes_add_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateResAddFst
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem tateRes_add_fst (fh₁ fh₂ gh : u.adicCompletion)
    [FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u fh₁) (lmulK u gh)))]
    [FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u fh₂) (lmulK u gh)))] :
    have : FiniteDimensional K (LinearMap.range
        (tateCommRestrict (tateProj u) (lmulK u (fh₁ + fh₂)) (lmulK u gh))) := by
      have heq : lmulK u (fh₁ + fh₂) = lmulK u fh₁ + lmulK u fh₂ := map_add _ _ _
      rw [heq, tateCommRestrict_add_fst]; exact instFinDimRangeAdd _ _
    tateRes u (fh₁ + fh₂) gh = tateRes u fh₁ gh + tateRes u fh₂ gh := by
  have heq : lmulK u (fh₁ + fh₂) = lmulK u fh₁ + lmulK u fh₂ := map_add _ _ _
  have : FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u (fh₁ + fh₂)) (lmulK u gh))) := by
    rw [heq, tateCommRestrict_add_fst]; exact instFinDimRangeAdd _ _
  have : FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u fh₁ + lmulK u fh₂) (lmulK u gh))) := by
    rw [tateCommRestrict_add_fst]; exact instFinDimRangeAdd _ _
  unfold tateRes
  have hct := tateCommTrace_add_fst (tateProj u) (lmulK u fh₁) (lmulK u fh₂) (lmulK u gh)
  unfold tateCommTrace at hct ⊢
  rw [← hct]
  exact finrankTrace_congr (by rw [heq])
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommDual

The ambient linear commutator obtained by alternating multiplication and projection.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DualAmbient
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
def tateCommDual (pA φ ψ : V →ₗ[K] V) : V →ₗ[K] V
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommDual_apply
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DualAmbient
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem tateCommDual_apply (pA φ ψ : V →ₗ[K] V) (x : V) :
    tateCommDual pA φ ψ x = φ (pA (ψ (pA x))) - ψ (pA (φ (pA x)))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommTrace_eq_finrankTrace_tateCommDual
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section DualAmbient
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem tateCommTrace_eq_finrankTrace_tateCommDual {pA φ ψ : V →ₗ[K] V}
    [hR : FiniteDimensional K (LinearMap.range (tateCommRestrict pA φ ψ))]
    [hD : FiniteDimensional K (LinearMap.range (tateCommDual pA φ ψ))] :
    tateCommTrace pA φ ψ = finrankTrace (tateCommDual pA φ ψ)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instFinDimRangeSum
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section FinsetAdditivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
instance instFinDimRangeSum {ι : Type*} (s : Finset ι) (f : ι → V →ₗ[K] V)
    [∀ i, FiniteDimensional K (LinearMap.range (f i))] :
    FiniteDimensional K (LinearMap.range (∑ i ∈ s, f i))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_sum
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section FinsetAdditivity
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finrankTrace_sum {ι : Type*} (s : Finset ι) (f : ι → V →ₗ[K] V)
    [∀ i, FiniteDimensional K (LinearMap.range (f i))] :
    finrankTrace (∑ i ∈ s, f i) = ∑ i ∈ s, finrankTrace (f i)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finiteDimensional_range_comp_middle
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section LemmaC
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
theorem finiteDimensional_range_comp_middle
    {M₁ M₂ M₃ M₄ : Type*} [AddCommGroup M₁] [AddCommGroup M₂] [AddCommGroup M₃]
    [AddCommGroup M₄] [Module K M₁] [Module K M₂] [Module K M₃] [Module K M₄]
    (A : M₃ →ₗ[K] M₄) (δ : M₂ →ₗ[K] M₃) (B : M₁ →ₗ[K] M₂)
    [FiniteDimensional K (LinearMap.range δ)] :
    FiniteDimensional K (LinearMap.range (A ∘ₗ δ ∘ₗ B))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finiteDimensional_range_tateCommDual_tateProj
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section AmbientFinite
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
variable [u.FiniteResidue]
theorem finiteDimensional_range_tateCommDual_tateProj
    (fh : u.adicCompletion) {gh : u.adicCompletion} (hgh : gh ∈ u.adicCompletionIntegers) :
    FiniteDimensional K
      (LinearMap.range (tateCommDual (tateProj u) (lmulK u fh) (lmulK u gh)))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateRes_congr_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateResSum
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem tateRes_congr_fst {fh₁ fh₂ gh : u.adicCompletion} (heq : fh₁ = fh₂)
    [FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u fh₁) (lmulK u gh)))]
    [FiniteDimensional K (LinearMap.range
      (tateCommRestrict (tateProj u) (lmulK u fh₂) (lmulK u gh)))] :
    tateRes u fh₁ gh = tateRes u fh₂ gh
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateRes_sum_fst
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section TateResSum
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (u : Place K L)
theorem tateRes_sum_fst {ι : Type*} (s : Finset ι) (f : ι → u.adicCompletion)
    (gh : u.adicCompletion) (hfin : KwF4gRRTateCommFinite K L) :
    let := fun i => hfin u (f i) gh
    let := hfin u (∑ i ∈ s, f i) gh
    ∑ i ∈ s, tateRes u (f i) gh = tateRes u (∑ i ∈ s, f i) gh := by
  intro sharedOwner1 sharedOwner2
  classical
  induction s using Finset.induction_on with
  | empty =>
    let := hfin u (0 : u.adicCompletion) gh
    simp only [Finset.sum_empty]
    unfold tateRes tateCommTrace
    have h0 : tateCommRestrict (tateProj u) (lmulK u 0) (lmulK u gh) = 0 := by
      apply LinearMap.ext; intro a; apply Subtype.ext
      rw [tateCommRestrict_apply, tateComm_apply]
      simp [lmulK]
    rw [finrankTrace_congr h0, finrankTrace_zero]
  | insert a s ha ih =>
    let := hfin u (∑ i ∈ s, f i) gh
    let := hfin u (∑ i ∈ insert a s, f i) gh
    let := hfin u (f a + ∑ i ∈ s, f i) gh
    conv_lhs => rw [Finset.sum_insert ha]
    calc
      tateRes u (f a) gh + ∑ i ∈ s, tateRes u (f i) gh =
          tateRes u (f a) gh + tateRes u (∑ i ∈ s, f i) gh := by rw [ih]
      _ = tateRes u (f a + ∑ i ∈ s, f i) gh :=
        (tateRes_add_fst u (f a) (∑ i ∈ s, f i) gh).symm
      _ = tateRes u (∑ i ∈ insert a s, f i) gh :=
        tateRes_congr_fst u (Finset.sum_insert ha).symm
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.KwF4gRRTateTraceCompatBlockSum

The local Tate residue equals the sum of the Tate residues of diagonal matrix entries over the restricted completion.

Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockSumMint
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
variable (E : Type*) [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
def KwF4gRRTateTraceCompatBlockSum (hfinF : KwF4gRRTateCommFinite K F)
    (hfinE : KwF4gRRTateCommFinite K E) : Prop
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.traceCompat_of_blockSum
Source context 25 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable [HasCanonicalLocalResidueKStar K F] [HasCanonicalLocalResidueKStar K E]
omit [HasCanonicalLocalResidueKStar K F] [HasCanonicalLocalResidueKStar K E] in
theorem traceCompat_of_blockSum
    (hfinF : KwF4gRRTateCommFinite K F) (hfinE : KwF4gRRTateCommFinite K E)
    (hBS : KwF4gRRTateTraceCompatBlockSum K F E hfinF hfinE) :
    KwF4gRRTateTraceCompat K F E hfinF hfinE
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommDual_conj
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ConjNaturality
variable {K M N : Type*} [Field K] [AddCommGroup M] [Module K M]
variable [AddCommGroup N] [Module K N]
theorem tateCommDual_conj (e : M ≃ₗ[K] N) (pA φ ψ : M →ₗ[K] M) :
    e.conj (tateCommDual pA φ ψ) = tateCommDual (e.conj pA) (e.conj φ) (e.conj ψ)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.prodTateProj

The linear projector obtained by applying the Tate projector in each coordinate.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ProdProj
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
def prodTateProj (ι : Type*) :
    (ι → v.adicCompletion) →ₗ[K] (ι → v.adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.prodTateProj_apply
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ProdProj
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
theorem prodTateProj_apply {ι : Type*} (x : ι → v.adicCompletion) (i : ι) :
    prodTateProj v ι x i = tateProj v (x i)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.prodTateProj_idem
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section ProdProj
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
theorem prodTateProj_idem {ι : Type*} (x : ι → v.adicCompletion) :
    prodTateProj v ι (prodTateProj v ι x) = prodTateProj v ι x
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.matMulLin

The K-linear map on completion-valued vectors given by multiplication by the matrix.

Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockDecomp
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
variable {n : ℕ}
def matMulLin (M : Matrix (Fin n) (Fin n) v.adicCompletion) :
    (Fin n → v.adicCompletion) →ₗ[K] (Fin n → v.adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.matMulLin_apply
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockDecomp
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
variable {n : ℕ}
theorem matMulLin_apply (M : Matrix (Fin n) (Fin n) v.adicCompletion)
    (x : Fin n → v.adicCompletion) (i : Fin n) :
    matMulLin v M x i = ∑ j, M i j * x j
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.scalarLin

The K-linear map on completion-valued vectors given by multiplication by the scalar in each coordinate.

Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockDecomp
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
variable {n : ℕ}
def scalarLin (πv : v.adicCompletion) :
    (Fin n → v.adicCompletion) →ₗ[K] (Fin n → v.adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.scalarLin_apply
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockDecomp
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
variable {n : ℕ}
theorem scalarLin_apply (πv : v.adicCompletion) (x : Fin n → v.adicCompletion) (i : Fin n) :
    scalarLin v πv x i = πv * x i
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.tateCommDual_prodTateProj_eq_blockSum
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockDecomp
variable {K L : Type*} [Field K] [Field L] [Algebra K L] (v : Place K L)
variable {n : ℕ}
theorem tateCommDual_prodTateProj_eq_blockSum
    (M : Matrix (Fin n) (Fin n) v.adicCompletion) (πv : v.adicCompletion) :
    tateCommDual (prodTateProj v (Fin n)) (matMulLin v M) (scalarLin v πv)
      = ∑ i, ∑ j, LinearMap.single K (fun _ => v.adicCompletion) i
          ∘ₗ tateCommDual (tateProj v) (lmulK v (M i j)) (lmulK v πv)
          ∘ₗ LinearMap.proj j := by
  apply LinearMap.ext; intro x; funext i
  have hRHS : ((∑ i', ∑ j, LinearMap.single K (fun _ => v.adicCompletion) i'
          ∘ₗ tateCommDual (tateProj v) (lmulK v (M i' j)) (lmulK v πv)
          ∘ₗ LinearMap.proj j) x) i
      = ∑ j, tateCommDual (tateProj v) (lmulK v (M i j)) (lmulK v πv) (x j) := by
    simp only [LinearMap.sum_apply, LinearMap.comp_apply, LinearMap.proj_apply,
      Finset.sum_apply, LinearMap.single_apply]
    rw [Finset.sum_eq_single i (fun i' _ hi' => ?_) (fun h => absurd (Finset.mem_univ i) h)]
    · simp only [Pi.single_eq_same]
    · exact Finset.sum_eq_zero fun j _ => Pi.single_eq_of_ne' hi' _
  rw [hRHS, tateCommDual_apply]
  simp only [prodTateProj_apply, matMulLin_apply, scalarLin_apply, Pi.sub_apply]
  rw [show tateProj v (∑ j, M i j * tateProj v (x j))
      = ∑ j, tateProj v (M i j * tateProj v (x j)) from map_sum _ _ _,
    Finset.mul_sum, ← Finset.sum_sub_distrib]
  refine Finset.sum_congr rfl fun j _ => ?_
  rw [tateCommDual_apply]; rfl
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.finrankTrace_blockSum
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section BlockTrace
variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V]
variable {n : ℕ}
theorem finrankTrace_blockSum (T : Fin n → Fin n → (V →ₗ[K] V))
    [hT : ∀ i j, FiniteDimensional K (LinearMap.range (T i j))] :
    have : ∀ (i j : Fin n), FiniteDimensional K (LinearMap.range
        (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j
          ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))) :=
      fun i j => finiteDimensional_range_comp_middle
        (LinearMap.single K (fun _ : Fin n => V) i) (T i j)
        (LinearMap.proj j : (Fin n → V) →ₗ[K] V)
    finrankTrace (∑ i, ∑ j, LinearMap.single K (fun _ : Fin n => V) i
        ∘ₗ T i j ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))
      = ∑ i, finrankTrace (T i i) := by
  have : ∀ (i j : Fin n), FiniteDimensional K (LinearMap.range
      (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j
        ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))) :=
    fun i j => finiteDimensional_range_comp_middle
      (LinearMap.single K (fun _ : Fin n => V) i) (T i j)
      (LinearMap.proj j : (Fin n → V) →ₗ[K] V)
  have : ∀ (i : Fin n), FiniteDimensional K (LinearMap.range
      (∑ j, LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j
        ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))) :=
    fun i => instFinDimRangeSum _ _
  refine (finrankTrace_sum (Finset.univ : Finset (Fin n))
    (fun i => ∑ j : Fin n, LinearMap.single K (fun _ : Fin n => V) i
      ∘ₗ T i j ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))).trans ?_
  refine Finset.sum_congr rfl fun i _ => ?_
  refine (finrankTrace_sum (Finset.univ : Finset (Fin n))
    (fun j => LinearMap.single K (fun _ : Fin n => V) i
      ∘ₗ T i j ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))).trans ?_
  have hassoc : ∀ (j : Fin n), LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j
      ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V)
      = (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j)
        ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V) := fun j => rfl
  have hswap : ∀ (j : Fin n), (LinearMap.proj j : (Fin n → V) →ₗ[K] V)
      ∘ₗ (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j)
      = if j = i then T i i else 0 := fun j => by
    apply LinearMap.ext; intro y
    simp only [LinearMap.comp_apply, LinearMap.proj_apply, LinearMap.single_apply]
    by_cases hji : j = i
    · subst hji; rw [ite_eq_left rfl, Pi.single_eq_same]
    · rw [ite_eq_right hji, Pi.single_eq_of_ne hji, LinearMap.zero_apply]
  rw [Finset.sum_eq_single i (fun j _ hj => ?_) (fun h => absurd (Finset.mem_univ i) h)]
  · have hfi : FiniteDimensional K (LinearMap.range
        ((LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i i)
          ∘ₗ (LinearMap.proj i : (Fin n → V) →ₗ[K] V))) := hassoc i ▸ inferInstance
    have hgi : FiniteDimensional K (LinearMap.range
        ((LinearMap.proj i : (Fin n → V) →ₗ[K] V)
          ∘ₗ (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i i))) := by
      rw [hswap i, ite_eq_left rfl]; exact hT i i
    calc finrankTrace (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i i
            ∘ₗ (LinearMap.proj i : (Fin n → V) →ₗ[K] V))
        = finrankTrace ((LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i i)
            ∘ₗ (LinearMap.proj i : (Fin n → V) →ₗ[K] V)) := finrankTrace_congr (hassoc i)
      _ = finrankTrace ((LinearMap.proj i : (Fin n → V) →ₗ[K] V)
            ∘ₗ (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i i)) :=
          finrankTrace_comp_comm _ _
      _ = finrankTrace (T i i) := finrankTrace_congr (by rw [hswap i, ite_eq_left rfl])
  · have hfj : FiniteDimensional K (LinearMap.range
        ((LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j)
          ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))) := hassoc j ▸ inferInstance
    have hgj : FiniteDimensional K (LinearMap.range
        ((LinearMap.proj j : (Fin n → V) →ₗ[K] V)
          ∘ₗ (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j))) := by
      rw [hswap j, ite_eq_right hj]; exact instFinDimRangeZero
    calc finrankTrace (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j
            ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V))
        = finrankTrace ((LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j)
            ∘ₗ (LinearMap.proj j : (Fin n → V) →ₗ[K] V)) := finrankTrace_congr (hassoc j)
      _ = finrankTrace ((LinearMap.proj j : (Fin n → V) →ₗ[K] V)
            ∘ₗ (LinearMap.single K (fun _ : Fin n => V) i ∘ₗ T i j)) :=
          finrankTrace_comp_comm _ _
      _ = finrankTrace (0 : V →ₗ[K] V) := finrankTrace_congr (by rw [hswap j, ite_eq_right hj])
      _ = 0 := finrankTrace_zero
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instIsScalarTowerKVhatWhat
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
instance instIsScalarTowerKVhatWhat (w : Place K F) :
    IsScalarTower K (w.restrict E).adicCompletion w.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.free_adicCompletionIntegers
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Freeness
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem free_adicCompletionIntegers (w : Place K F) [FiniteDimensional E F]
    [Algebra.IsSeparable (w.restrict E).adicCompletion w.adicCompletion] :
    Module.Free (w.restrict E).adicCompletionIntegers w.adicCompletionIntegers
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.IntegralBasisData

A basis of the completion whose integral coordinate lattice is the completed valuation ring.

Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralBasisMint
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
structure IntegralBasisData (w : Place K F) [FiniteDimensional E F] where
  /-- A basis over the restricted completion, indexed by the extension finrank. -/
  basis : Module.Basis
    (Fin (Module.finrank (w.restrict E).adicCompletion w.adicCompletion))
    (w.restrict E).adicCompletion w.adicCompletion
  /-- Every basis vector is an integral completed element. -/
  basis_mem : ∀ i, basis i ∈ w.adicCompletionIntegers
  /-- A completed element is integral exactly when all its basis coordinates are integral. -/
  mem_integers_iff : ∀ y, y ∈ w.adicCompletionIntegers
    ↔ ∀ i, basis.repr y i ∈ (w.restrict E).adicCompletionIntegers
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.KwF4gRRTateIntegralBasisCompat

Every place admits a basis identifying its completed valuation ring with integral coordinates over the restricted place.

Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralBasisMint
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (K F E) in
def KwF4gRRTateIntegralBasisCompat : Prop
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisEquivFunK

The K-linear coordinate equivalence associated to the chosen integral basis of the completion.

Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
def integralBasisEquivFunK : w.adicCompletion ≃ₗ[K]
    (Fin (Module.finrank (w.restrict E).adicCompletion w.adicCompletion)
      → (w.restrict E).adicCompletion)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisEquivFunK_apply
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
theorem integralBasisEquivFunK_apply (y : w.adicCompletion) :
    integralBasisEquivFunK w D y = D.basis.equivFun y
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralProdProj

The coordinatewise Tate projector transported to the completion by the chosen integral basis.

Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
def integralProdProj : w.adicCompletion →ₗ[K] w.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralProdProj_idem
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
theorem integralProdProj_idem (y : w.adicCompletion) :
    integralProdProj w D (integralProdProj w D y) = integralProdProj w D y
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.range_integralProdProj
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
theorem range_integralProdProj :
    LinearMap.range (integralProdProj w D) = adicIntegersKSubmod w
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.sameRangeIdemProjectors_integralProdProj
Source context 24 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IntegralProdProj
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F] (D : IntegralBasisData (E := E) w)
theorem sameRangeIdemProjectors_integralProdProj :
    SameRangeIdemProjectors (tateProj w) (integralProdProj w D) where
  idem_pA x := congrFun (congrArg DFunLike.coe (tateProj_idem w)) x
  idem_pA' := integralProdProj_idem w D
  range_eq := (range_tateProj w).trans (range_integralProdProj w D).symm
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisEquivFunK_conj_lmulK_algebraMap
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem integralBasisEquivFunK_conj_lmulK_algebraMap (w : Place K F) [FiniteDimensional E F]
    (D : IntegralBasisData (E := E) w) (g : F) :
    (integralBasisEquivFunK w D).conj (lmulK w (algebraMap F w.adicCompletion g))
      = matMulLin (w.restrict E)
          (LinearMap.toMatrix D.basis D.basis
            (Algebra.lmul (w.restrict E).adicCompletion w.adicCompletion
              (algebraMap F w.adicCompletion g)))
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisEquivFunK_conj_lmulK_scalar
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem integralBasisEquivFunK_conj_lmulK_scalar (w : Place K F) [FiniteDimensional E F]
    (D : IntegralBasisData (E := E) w) (e : E) :
    (integralBasisEquivFunK w D).conj
        (lmulK w (algebraMap F w.adicCompletion (algebraMap E F e)))
      = scalarLin (w.restrict E) (algebraMap E (w.restrict E).adicCompletion e)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.blockSum_of_integralBasisCompat
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem blockSum_of_integralBasisCompat
    [∀ w : Place K F, w.FiniteResidue] [∀ v : Place K E, v.FiniteResidue]
    (hfinF : KwF4gRRTateCommFinite K F) (hfinE : KwF4gRRTateCommFinite K E)
    (hIBC : KwF4gRRTateIntegralBasisCompat K F E) :
    KwF4gRRTateTraceCompatBlockSum K F E hfinF hfinE
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.traceCompat_of_integralBasisCompat
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem traceCompat_of_integralBasisCompat
    [HasCanonicalLocalResidueKStar K F] [HasCanonicalLocalResidueKStar K E]
    [∀ w : Place K F, w.FiniteResidue] [∀ v : Place K E, v.FiniteResidue]
    (hfinF : KwF4gRRTateCommFinite K F) (hfinE : KwF4gRRTateCommFinite K E)
    (hIBC : KwF4gRRTateIntegralBasisCompat K F E) :
    KwF4gRRTateTraceCompat K F E hfinF hfinE
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.instIsLocalizationAlgebraMapSubmonoid
Source context 26 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Construct
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F]
variable [Algebra.IsSeparable (w.restrict E).adicCompletion w.adicCompletion]
variable [Module.IsTorsionFree (w.restrict E).adicCompletionIntegers w.adicCompletion]
instance instIsLocalizationAlgebraMapSubmonoid :
    have : Algebra.IsAlgebraic (w.restrict E).adicCompletion w.adicCompletion :=
      Algebra.IsAlgebraic.of_finite _ _
    have := TateTraceCompat_of_isSeparable.isIntegralClosure_adicCompletionIntegers E w
    IsLocalization (Algebra.algebraMapSubmonoid w.adicCompletionIntegers
      (nonZeroDivisors (w.restrict E).adicCompletionIntegers)) w.adicCompletion := by
  have : Algebra.IsAlgebraic (w.restrict E).adicCompletion w.adicCompletion :=
    Algebra.IsAlgebraic.of_finite _ _
  have := TateTraceCompat_of_isSeparable.isIntegralClosure_adicCompletionIntegers E w
  exact IsIntegralClosure.isLocalization (w.restrict E).adicCompletionIntegers
    (w.restrict E).adicCompletion w.adicCompletion w.adicCompletionIntegers
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisDataOf

Constructs an integral completion basis by localizing and reindexing a basis of the completed valuation ring.

Source context 26 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Construct
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
variable (w : Place K F) [FiniteDimensional E F]
variable [Algebra.IsSeparable (w.restrict E).adicCompletion w.adicCompletion]
variable [Module.IsTorsionFree (w.restrict E).adicCompletionIntegers w.adicCompletion]
def integralBasisDataOf : IntegralBasisData (E := E) w
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.kwF4R1V384a_instAlgebraFiberCompletion
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section FiberAlgebra
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
instance kwF4R1V384a_instAlgebraFiberCompletion (v : Place K E) (w' : v.fiber F) :
    Algebra v.adicCompletion w'.1.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.kwF4R1V384a_instIsScalarTowerFiberCompletion
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section FiberAlgebra
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
instance kwF4R1V384a_instIsScalarTowerFiberCompletion (v : Place K E) (w' : v.fiber F) :
    IsScalarTower E v.adicCompletion w'.1.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.kwF4R1V384a_semilocalComponent

The completion-algebra map from the semilocal tensor product to the completion at the chosen place above v.

Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section SemilocalDiag
variable {K : Type*} (F : Type*) [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
def kwF4R1V384a_semilocalComponent (v : Place K E) (w' : v.fiber F) :
    v.adicCompletion ⊗[E] F →ₐ[v.adicCompletion] w'.1.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.semilocalComponent_tmul
Source context 22 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section SemilocalDiag
variable {K : Type*} (F : Type*) [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
omit [HasPrincipalDivisors K E] in
theorem semilocalComponent_tmul (v : Place K E) (w' : v.fiber F)
    (c : v.adicCompletion) (g : F) :
    kwF4R1V384a_semilocalComponent F v w' (c ⊗ₜ[E] g)
      = algebraMap v.adicCompletion w'.1.adicCompletion c
          * algebraMap F w'.1.adicCompletion g
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.completionLinearCombination_surjective
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section PerComponentSurjective
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
variable [FiniteDimensional E F]
omit [HasPrincipalDivisors K E] [HasPrincipalDivisors K F] [FiniteDimensional E F] in
theorem completionLinearCombination_surjective
    (w' : Place K F) {ι : Type*} [Fintype ι] (b : Module.Basis ι E F) :
    Function.Surjective (kw_ffgc_completionLinearCombination E w' b)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.semilocalComponent_surjective
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section PerComponentSurjective
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F] [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
variable [FiniteDimensional E F]
omit [HasPrincipalDivisors K E] in
theorem semilocalComponent_surjective (v : Place K E) (w' : v.fiber F) :
    Function.Surjective (kwF4R1V384a_semilocalComponent F v w')
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V384a.kwF4R1V384a_instModuleFiberCompletion
Source context 21 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open AlgebraicCurve.KwBwnmchRFTDCDischarge
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V384a
open _root_.ModularCurve
section BijEngine
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
instance kwF4R1V384a_instModuleFiberCompletion
    [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
    (v : Place K E) (w' : v.fiber F) :
    Module v.adicCompletion w'.1.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V386a.isSeparable_algebraMap_fiberCompletion
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open _root_.IsLocalRing
open scoped AlgebraicCurve.Place _root_.Valued _root_.NNReal _root_.WithZero
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V386a
open _root_.ModularCurve
open ModularCurve.KwF4R1V384a
section IsSeparableLift
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem isSeparable_algebraMap_fiberCompletion
    [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
    [FiniteDimensional E F] [Algebra.IsSeparable E F]
    (v : Place K E) (w' : v.fiber F) (g : F) :
    IsSeparable v.adicCompletion (algebraMap F w'.1.adicCompletion g)
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.isSeparable_fiberCompletion_of_separable_extension
Source context 25 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.IsDedekindDomain
open _root_.TensorProduct
open _root_.IsLocalRing
open scoped AlgebraicCurve.Place _root_.Valued _root_.NNReal _root_.WithZero
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4R1V386a
open _root_.ModularCurve
open ModularCurve.KwF4R1V384a
section IsSeparableLift
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
open TateTraceCompat_of_isSeparable.ModularCurve.KwF4R1V386a in
with_weak_namespace
    _root_.AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
theorem isSeparable_fiberCompletion_of_separable_extension
    [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
    [FiniteDimensional E F] [Algebra.IsSeparable E F]
    (v : Place K E) (w' : v.fiber F) :
    Algebra.IsSeparable v.adicCompletion w'.1.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.isSeparable_completion_of_global
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IsSeparableLift
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem isSeparable_completion_of_global
    [HasPrincipalDivisors K E] [HasPrincipalDivisors K F]
    [FiniteDimensional E F] [Algebra.IsSeparable E F]
    (w : Place K F) :
    Algebra.IsSeparable (w.restrict E).adicCompletion w.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.isTorsionFree_integersCompletion
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section IsTorsionFree
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem isTorsionFree_integersCompletion (w : Place K F) :
    Module.IsTorsionFree (w.restrict E).adicCompletionIntegers w.adicCompletion
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.integralBasisCompat_of_isSeparable_global
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem integralBasisCompat_of_isSeparable_global [Algebra.IsSeparable E F] :
    KwF4gRRTateIntegralBasisCompat K F E
AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable.ModularCurve.KwF4gRRTate.traceCompat_of_isSeparable_global
Source context 23 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
section
section
open _root_.AlgebraicCurve
open _root_.AlgebraicCurve.Place
open _root_.LinearMap
open _root_.Submodule
open _root_.ModularCurve.KwF4gRRTate
noncomputable section
namespace ModularCurve
open _root_.ModularCurve
namespace KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve.KwF4gRRTate
open _root_.ModularCurve
section Headline
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
variable {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
variable [Algebra.IsIntegral E F]
theorem traceCompat_of_isSeparable_global [Algebra.IsSeparable E F]
    [HasCanonicalLocalResidueKStar K F] [HasCanonicalLocalResidueKStar K E]
    [∀ w : Place K F, w.FiniteResidue] [∀ v : Place K E, v.FiniteResidue]
    (hfinF : KwF4gRRTateCommFinite K F) (hfinE : KwF4gRRTateCommFinite K E) :
    KwF4gRRTateTraceCompat K F E hfinF hfinE
AlgebraicCurve.tateTraceCompat_of_isSeparable
Source context 5 commands

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

@[expose] public section
open AlgebraicCurve.Place.CompletionQuotients
section ProofImplementation
attribute [-ext] IsDedekindDomain.HeightOneSpectrum.adicCompletion.ext
namespace AlgebraicCurves.Differentials.Residues.Proofs.TateTraceCompat_of_isSeparable
theorem _root_.AlgebraicCurve.tateTraceCompat_of_isSeparable {K F : Type*} [Field K] [Field F]
    [Algebra K F] {E : Type*} [Field E] [Algebra K E] [Algebra E F] [IsScalarTower K E F]
      [Algebra.IsIntegral E F] [Algebra.IsSeparable E F]
        [AlgebraicCurve.HasCanonicalLocalResidueKStar K F]
          [AlgebraicCurve.HasCanonicalLocalResidueKStar K E] [∀ w : AlgebraicCurve.Place K F,
            w.FiniteResidue] [∀ v : AlgebraicCurve.Place K E, v.FiniteResidue] (hfinF :
              ModularCurve.KwF4gRRTate.KwF4gRRTateCommFinite K F) (hfinE :
                ModularCurve.KwF4gRRTate.KwF4gRRTateCommFinite K E) :
                  ModularCurve.KwF4gRRTate.KwF4gRRTateTraceCompat K F E hfinF hfinE