Module

ExteriorPowerDeterminants.lean

Nyll.SchemeTheory.RingTheory.LinearAlgebra.ExteriorPowerDeterminants
5 declarations indexed from sourceView source ↗

exterior Power iota Multi comp eq det smul

exterior Power map apply eq det smul

exterior Power map mul Left apply eq norm smul

Imports7
  • Mathlib.Algebra.Module.NatInt
  • Mathlib.LinearAlgebra.Alternating.Basic
  • Mathlib.LinearAlgebra.Determinant
  • Mathlib.LinearAlgebra.ExteriorPower.Basic
  • Mathlib.LinearAlgebra.Finsupp.LinearCombination
  • Mathlib.Data.Fintype.EquivFin
  • Mathlib.RingTheory.Norm.Defs
Imported by2

Declarations

AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_iotaMulti_comp_eq_det_smul.ExteriorPowerDet.alternatingMap_apply_matrix_smul
Source context 5 commands

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

@[expose] public section
section exteriorPower_iotaMulti_comp_eq_det_smul
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_iotaMulti_comp_eq_det_smul
namespace ExteriorPowerDet
lemma alternatingMap_apply_matrix_smul {A : Type*} [CommRing A] {M N : Type*} [AddCommGroup M]
    [Module A M] [AddCommGroup N] [Module A N] {n : ℕ} (g : M [⋀^Fin n]→ₗ[A] N) (f : Fin n → M)
    (a : Matrix (Fin n) (Fin n) A) :
    g (fun j => ∑ i, a i j • f i) = a.det • g f := by
  classical
  let L : (Fin n → A) →ₗ[A] M := Fintype.linearCombination A f
  let b : Module.Basis (Fin n) A (Fin n → A) := Pi.basisFun A (Fin n)
  have hL : ∀ i, L (b i) = f i := fun i => by
    change Fintype.linearCombination A f (Pi.basisFun A (Fin n) i) = f i
    rw [Pi.basisFun_apply, Fintype.linearCombination_apply_single, one_smul]
  have key : g.compLinearMap L = b.det.smulRight (g f) := by
    refine Module.Basis.ext_alternating b fun v hv => ?_
    let σ : Equiv.Perm (Fin n) := Equiv.ofBijective v (Finite.injective_iff_bijective.1 hv)
    have h1 : (fun i => L (b (v i))) = f ∘ σ := funext fun i => hL (v i)
    have h2 : (fun i => b (v i)) = b ∘ σ := rfl
    rw [AlternatingMap.compLinearMap_apply, h1, AlternatingMap.map_perm,
      AlternatingMap.smulRight_apply,
      h2, AlternatingMap.map_perm, Module.Basis.det_self]
    simp only [Units.smul_def, Int.smul_one_eq_cast, Int.cast_smul_eq_zsmul]
  have h3 : (fun j => ∑ i, a i j • f i) = fun j => L (a.transpose j) := by
    funext j
    rfl
  have h4 := congrArg (fun G : (Fin n → A) [⋀^Fin n]→ₗ[A] N => G (fun j => a.transpose j)) key
  simp only [AlternatingMap.compLinearMap_apply, AlternatingMap.smulRight_apply] at h4
  calc
    g (fun j => ∑ i, a i j • f i) = (b.det (fun j => a.transpose j)) • g f :=
      (congrArg g h3).trans h4
    _ = a.transpose.det • g f :=
      congrArg (fun r : A => r • g f) (Pi.basisFun_det_apply (fun j k => a k j))
    _ = a.det • g f := congrArg (fun r : A => r • g f) (Matrix.det_transpose a)
AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_iotaMulti_comp_eq_det_smul.ExteriorPowerDet.ιMulti_matrix_smul
Source context 5 commands

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

@[expose] public section
section exteriorPower_iotaMulti_comp_eq_det_smul
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_iotaMulti_comp_eq_det_smul
namespace ExteriorPowerDet
lemma ιMulti_matrix_smul {A : Type*} [CommRing A] {M : Type*} [AddCommGroup M] [Module A M]
    {n : ℕ} (f : Fin n → M) (a : Matrix (Fin n) (Fin n) A) :
    exteriorPower.ιMulti A n (fun j => ∑ i, a i j • f i) = a.det • exteriorPower.ιMulti A n f :=
  alternatingMap_apply_matrix_smul (exteriorPower.ιMulti A n) f a
exteriorPower.iotaMulti_comp_eq_det_smul
Source context 5 commands

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

@[expose] public section
section exteriorPower_iotaMulti_comp_eq_det_smul
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_iotaMulti_comp_eq_det_smul
open ExteriorPowerDet in
theorem _root_.exteriorPower.iotaMulti_comp_eq_det_smul {A : Type*} [CommRing A] {M : Type*}
  [AddCommGroup M]
    [Module A M] {n : ℕ} (b : Module.Basis (Fin n) A M) (f : M →ₗ[A] M) (m : Fin n → M) :
    exteriorPower.ιMulti A n (f ∘ m) = LinearMap.det f • exteriorPower.ιMulti A n m
exteriorPower.map_apply_eq_det_smul
Source context 4 commands

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

@[expose] public section
section exteriorPower_map_apply_eq_det_smul
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_map_apply_eq_det_smul
theorem _root_.exteriorPower.map_apply_eq_det_smul {A : Type*} [CommRing A] {M : Type*}
  [AddCommGroup M]
    [Module A M] {ι : Type*} [Fintype ι] (b : Module.Basis ι A M) {n : ℕ} (hn : Fintype.card ι = n)
    (f : M →ₗ[A] M) (x : ⋀[A]^n M) :
    exteriorPower.map n f x = LinearMap.det f • x
exteriorPower.map_mulLeft_apply_eq_norm_smul
Source context 4 commands

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

@[expose] public section
section exteriorPower_map_mulLeft_apply_eq_norm_smul
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs.exteriorPower_map_mulLeft_apply_eq_norm_smul
theorem _root_.exteriorPower.map_mulLeft_apply_eq_norm_smul {A B : Type*} [CommRing A] [CommRing B]
  [Algebra A B]
    {ι : Type*} [Fintype ι] (b : Module.Basis ι A B) {n : ℕ} (hn : Fintype.card ι = n)
    (x : B) (w : ⋀[A]^n B) :
    exteriorPower.map n (LinearMap.mulLeft A x) w = Algebra.norm A x • w