Module

CorrespondenceFibers.lean

Nyll.AlgebraicCurves.Divisors.Correspondences.CorrespondenceFibers
8 declarations indexed from sourceView source ↗

Correspondence Fibers

Divisor correspondence congr

Divisor correspondence single

Divisor correspondence single of forall restrict Along eq

Divisor correspondence single eq finrank Along smul

Divisor correspondence single one apply eq sum and eq finsum

Divisor mem support correspondence single iff exists and iff mem support correspondence

single

Declarations

AlgebraicCurve.Divisor.correspondence_congr
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_congr
open IsDedekindDomain AlgebraicCurve
theorem _root_.AlgebraicCurve.Divisor.correspondence_congr {K F F₁ : Type*} [Field K] [Field F]
  [Field F₁] [Algebra K F] [Algebra K F₁] [HasPrincipalDivisors K F₁] {φ ψ φ' ψ' : F →ₐ[K] F₁}
  (hφeq : φ = φ') (hψeq : ψ = ψ') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral) (hφ'
  : φ'.toRingHom.IsIntegral) (hψ' : ψ'.toRingHom.IsIntegral) (D : Divisor K F) :
  Divisor.correspondence φ ψ hφ hψ D = Divisor.correspondence φ' ψ' hφ' hψ' D
AlgebraicCurve.Divisor.correspondence_single
Source context 7 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_single
open AlgebraicCurve AlgebraicCurve.SemilinearAut
open scoped Pointwise
noncomputable section
theorem _root_.AlgebraicCurve.Divisor.correspondence_single {K F F' : Type*} [Field K] [Field F]
  [Field F'] [Algebra K F] [Algebra K F'] [HasPrincipalDivisors K F'] (φ ψ : F →ₐ[K] F') (hφ :
  φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral) (v : Place K F) (n : ℤ) :
  Divisor.correspondence φ ψ hφ hψ (Finsupp.single v n) = ∑ w ∈ Place.fiberAlong φ hφ v,
  Finsupp.single (w.restrictAlong ψ hψ) (n * (w.ramificationIndexAlong φ : ℤ) * (w.inertiaDegAlong
  ψ hψ : ℤ))
AlgebraicCurve.Divisor.correspondence_single_of_forall_restrictAlong_eq
Source context 7 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_single_of_forall_restrictAlong_eq
open AlgebraicCurve AlgebraicCurve.SemilinearAut
open scoped Pointwise
noncomputable section
theorem _root_.AlgebraicCurve.Divisor.correspondence_single_of_forall_restrictAlong_eq {K F F' :
  Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [HasPrincipalDivisors K F'] (φ
  ψ : F →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral) (v : Place K F)
  (hcoll : ∀ w ∈ Place.fiberAlong φ hφ v, w.restrictAlong ψ hψ = v) (n : ℤ) :
  Divisor.correspondence φ ψ hφ hψ (Finsupp.single v n) = Finsupp.single v (n * ∑ w ∈
  Place.fiberAlong φ hφ v, (w.ramificationIndexAlong φ : ℤ) * (w.inertiaDegAlong ψ hψ : ℤ))
AlgebraicCurve.Divisor.correspondence_single_eq_finrankAlong_smul
Source context 7 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_single_eq_finrankAlong_smul
open AlgebraicCurve AlgebraicCurve.SemilinearAut
open scoped Pointwise
noncomputable section
theorem _root_.AlgebraicCurve.Divisor.correspondence_single_eq_finrankAlong_smul {K F F' : Type*}
  [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [HasPrincipalDivisors K F'] (φ ψ : F
  →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral) (hfin : FiniteAlong K φ)
  (hsep : SeparableAlong K φ) (v : Place K F) (hcoll : ∀ w ∈ Place.fiberAlong φ hφ v,
  w.restrictAlong ψ hψ = v) (hfψ : ∀ w ∈ Place.fiberAlong φ hφ v, w.inertiaDegAlong ψ hψ = 1) (hfφ
  : ∀ w ∈ Place.fiberAlong φ hφ v, w.inertiaDegAlong φ hφ = 1) (n : ℤ) : Divisor.correspondence φ ψ
  hφ hψ (Finsupp.single v n) = (finrankAlong K φ : ℤ) • Finsupp.single v n
AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_single_one_apply_eq_sum_and_eq_finsum.IdentB0.correspondence_single_one_apply
Source context 12 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs
namespace Divisor_correspondence_single_one_apply_eq_sum_and_eq_finsum
open AlgebraicCurve
namespace IdentB0
section Generic
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable [HasPrincipalDivisors K F']
variable (φ ψ : F →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral)
open Classical in
theorem correspondence_single_one_apply (x y : Place K F) :
    Divisor.correspondence φ ψ hφ hψ (Finsupp.single x 1) y =
      ∑ W ∈ Place.fiberAlong φ hφ x,
        if W.restrictAlong ψ hψ = y then
          (W.ramificationIndexAlong φ : ℤ) * (W.inertiaDegAlong ψ hψ : ℤ) else 0 := by
  classical
  rw [Divisor.correspondence_apply, Divisor.pullbackAlong_single, map_sum, Finset.sum_apply']
  refine Finset.sum_congr rfl fun W _ => ?_
  rw [Divisor.pushforwardAlong_single, Finsupp.single_apply, one_mul]
AlgebraicCurves.Divisors.Proofs.Divisor_correspondence_single_one_apply_eq_sum_and_eq_finsum.IdentB0.correspondence_single_one_apply_eq_finsum
Source context 12 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs
namespace Divisor_correspondence_single_one_apply_eq_sum_and_eq_finsum
open AlgebraicCurve
namespace IdentB0
section Generic
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
variable [HasPrincipalDivisors K F']
variable (φ ψ : F →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral)
open Classical in
theorem correspondence_single_one_apply_eq_finsum (x y : Place K F) :
    Divisor.correspondence φ ψ hφ hψ (Finsupp.single x 1) y =
      ∑ᶠ W : Place K F',
        if W.restrictAlong φ hφ = x ∧ W.restrictAlong ψ hψ = y then
          (W.ramificationIndexAlong φ : ℤ) * (W.inertiaDegAlong ψ hψ : ℤ) else 0 := by
  classical
  rw [correspondence_single_one_apply]
  symm
  rw [finsum_eq_sum_of_support_subset _ (s := Place.fiberAlong φ hφ x)]
  · refine Finset.sum_congr rfl fun W hW => ?_
    rw [Place.mem_fiberAlong] at hW
    simp only [hW, true_and]
  · intro W hW
    rw [Function.mem_support] at hW
    simp only [Finset.mem_coe, Place.mem_fiberAlong]
    by_contra hx
    exact hW (ite_eq_right fun h => hx h.1)
AlgebraicCurve.Divisor.correspondence_single_one_apply_eq_sum_and_eq_finsum
Source context 7 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurves.Divisors.Proofs
namespace Divisor_correspondence_single_one_apply_eq_sum_and_eq_finsum
open AlgebraicCurve
open Classical in
theorem _root_.AlgebraicCurve.Divisor.correspondence_single_one_apply_eq_sum_and_eq_finsum
    {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
    [HasPrincipalDivisors K F']
    (φ ψ : F →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral) (x y : Place K
      F) :
    (Divisor.correspondence φ ψ hφ hψ (Finsupp.single x 1) y =
      ∑ W ∈ Place.fiberAlong φ hφ x,
        if W.restrictAlong ψ hψ = y then (W.ramificationIndexAlong φ : ℤ) * (W.inertiaDegAlong ψ hψ
          : ℤ) else 0) ∧
    (Divisor.correspondence φ ψ hφ hψ (Finsupp.single x 1) y =
      ∑ᶠ W : Place K F',
        if W.restrictAlong φ hφ = x ∧ W.restrictAlong ψ hψ = y then
          (W.ramificationIndexAlong φ : ℤ) * (W.inertiaDegAlong ψ hψ : ℤ) else 0) := by
  exact ⟨IdentB0.correspondence_single_one_apply φ ψ hφ hψ x y,
    IdentB0.correspondence_single_one_apply_eq_finsum φ ψ hφ hψ x y⟩
AlgebraicCurve.Divisor.mem_support_correspondence_single_iff_exists_and_iff_mem_support_correspondence_single
Source context 5 commands

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

@[expose] public section
section
section ProofImplementation
namespace AlgebraicCurve.Divisor
open _root_.AlgebraicCurve
theorem mem_support_correspondence_single_iff_exists_and_iff_mem_support_correspondence_single
    {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F']
      [HasPrincipalDivisors K F']
    (φ ψ : F →ₐ[K] F') (hφ : φ.toRingHom.IsIntegral) (hψ : ψ.toRingHom.IsIntegral)
    (hfφ : FiniteAlong K φ) (hfψ : FiniteAlong K ψ) (P Q : Place K F) :
    (Q ∈ (Divisor.correspondence φ ψ hφ hψ (Finsupp.single P 1)).support ↔
        ∃ R : Place K F', R.restrictAlong φ hφ = P ∧ R.restrictAlong ψ hψ = Q) ∧
    (Q ∈ (Divisor.correspondence φ ψ hφ hψ (Finsupp.single P 1)).support ↔
        P ∈ (Divisor.correspondence ψ φ hψ hφ (Finsupp.single Q 1)).support)