Quelle FiniteRange.lean
Sprache: Lean
|
|
/-
Copyright (c) 2026 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Anatole Dedecker, Yongxi Lin
-/
module
public import Mathlib.Algebra.Module.Submodule.EqLocus
public import Mathlib.RingTheory.Finiteness.Cofinite
/-!
# `HasFiniteRange` predicate on linear maps, and the associated equivalence relation
In this file, we define:
* `LinearMap.HasFiniteRange`: a predicate expressing that a linear map has finitely generated range.
* `LinearMap.HasNoetherianRange`: a predicate expressing that a linear map has noetherian range,
i.e, all submodules of the range are finitely generated. This should be thought of as the
"better behaved" version of `LinearMap.HasFiniteRange`: for example, `HasNoetherianRange`
is always stable by addition, whereas `HasFiniteRange` might not be. The two notions agree
over noetherian rings (hence, in particular, over fields).
* `LinearMap.finiteRange`: the submodule of `E →ₗ[K] F` consisting of linear maps with
*noetherian* ranges. We allow ourself this slightly abusive name because the more natural
definition (the submodule of linear maps with finitely generated ranges) only makes sense over a
noetherian ring, in which case the two notions agree.
* `LinearMap.FiniteRangeSetoid.setoid`: the setoid on `E →ₗ[K] F` associated to
`LinearMap.finiteRange`. This identifies linear maps which differ by a linear map with
noetherian range. Equivalently, two linear maps are equivalent for this
relation if and only if they agree on a subspace `A` of the domain such that `E ⧸ A` is
noetherian. As with `LinearMap.finiteRange`, we allow ourself a slightly abusive name because the
more natural definition in terms of `LinearMap.HasFiniteRange` is only well behaved over a
noetherian ring, in which case the two notions agree.
This is an instance in the scope `LinearMap.FiniteRangeSetoid`,
so opening this scope allows this relation to be denoted by `≈`.
* `LinearMap.IsQuasiInverse`: two linear maps `u` and `v` are **quasi-inverses** if we have
`u ∘ₗ v ≈ id` and `v ∘ₗ u ≈ id` modulo linear maps with noetherian ranges.
-/
@[expose] public section
open LinearMap Submodule Module
namespace LinearMap
variable {K V V₂ V₃ : Type*}
section Semiring
variable [Semiring K]
[AddCommMonoid V] [Module K V]
[AddCommMonoid V₂] [Module K V₂]
[AddCommMonoid V₃] [Module K V₃]
/-- A linear map **has Noetherian range** if its range is a Noetherian module. -/
def HasNoetherianRange (f : V →ₗ[K] V₂) : Prop :=
IsNoetherian K f.range
/-- A linear map **has finite range** if its range is finitely generated. -/
def HasFiniteRange (f : V →ₗ[K] V₂) : Prop :=
f.range.FG
lemma hasNoetherianRange_iff_range {f : V →ₗ[K] V₂} :
f.HasNoetherianRange ↔ IsNoetherian K f.range :=
Iff.rfl
lemma hasFiniteRange_iff_range {f : V →ₗ[K] V₂} :
f.HasFiniteRange ↔ f.range.FG :=
Iff.rfl
alias ⟨HasNoetherianRange.isNoetherian_range, _⟩ := hasNoetherianRange_iff_range
alias ⟨HasFiniteRange.fg_range, _⟩ := hasFiniteRange_iff_range
lemma HasNoetherianRange.hasFiniteRange {u : V →ₗ[K] V₂} (h : u.HasNoetherianRange) :
u.HasFiniteRange :=
have := h.isNoetherian_range; FG.of_finite
@[simp] lemma HasNoetherianRange.zero : (0 : V →ₗ[K] V₂).HasNoetherianRange := by
simp [HasNoetherianRange, isNoetherian_submodule, Submodule.fg_bot]
@[simp] lemma HasFiniteRange.zero : (0 : V →ₗ[K] V₂).HasFiniteRange :=
HasNoetherianRange.zero.hasFiniteRange
lemma HasNoetherianRange.comp_left {u : V →ₗ[K] V₂} (h : u.HasNoetherianRange)
(v : V₂ →ₗ[K] V₃) : (v ∘ₗ u).HasNoetherianRange := by
rw [LinearMap.HasNoetherianRange, LinearMap.range_comp] at *
infer_instance
lemma HasFiniteRange.comp_left {u : V →ₗ[K] V₂} (h : u.HasFiniteRange)
(v : V₂ →ₗ[K] V₃) : (v ∘ₗ u).HasFiniteRange := by
rw [LinearMap.HasFiniteRange, LinearMap.range_comp] at *
exact Submodule.FG.map v h
@[simp] lemma HasNoetherianRange.of_isNoetherian_dom [IsNoetherian K V] {f : V →ₗ[K] V₂} :
f.HasNoetherianRange :=
hasNoetherianRange_iff_range.mpr inferInstance
@[simp] lemma HasFiniteRange.of_finite_dom [Module.Finite K V] {f : V →ₗ[K] V₂} :
f.HasFiniteRange := by
simp [HasFiniteRange]
@[simp] lemma HasNoetherianRange.of_isNoetherian_rng [IsNoetherian K V₂] {f : V →ₗ[K] V₂} :
f.HasNoetherianRange :=
hasNoetherianRange_iff_range.mpr inferInstance
@[simp] lemma HasFiniteRange.of_isNoetherian_rng [IsNoetherian K V₂] {f : V →ₗ[K] V₂} :
f.HasFiniteRange :=
HasNoetherianRange.of_isNoetherian_rng.hasFiniteRange
end Semiring
section Ring
variable [Ring K]
[AddCommGroup V] [Module K V]
[AddCommGroup V₂] [Module K V₂]
[AddCommGroup V₃] [Module K V₃]
lemma HasFiniteRange.hasNoetherianRange [IsNoetherianRing K] {u : V →ₗ[K] V₂}
(h : u.HasFiniteRange) : u.HasNoetherianRange := by
rw [HasNoetherianRange]
have := Finite.of_fg h.fg_range
infer_instance
lemma hasNoetherianRange_iff_hasFiniteRange [IsNoetherianRing K] {u : V →ₗ[K] V₂} :
u.HasNoetherianRange ↔ u.HasFiniteRange :=
⟨HasNoetherianRange.hasFiniteRange, HasFiniteRange.hasNoetherianRange⟩
lemma HasNoetherianRange.comp_right {v : V₂ →ₗ[K] V₃} (h : v.HasNoetherianRange)
(u : V →ₗ[K] V₂) : (v ∘ₗ u).HasNoetherianRange := by
rw [HasNoetherianRange, LinearMap.range_comp] at *
exact isNoetherian_of_le map_le_range
lemma HasFiniteRange.comp_right [IsNoetherianRing K] {v : V₂ →ₗ[K] V₃} (h : v.HasFiniteRange)
(u : V →ₗ[K] V₂) : (v ∘ₗ u).HasFiniteRange :=
h.hasNoetherianRange.comp_right _ |>.hasFiniteRange
@[simp] lemma HasNoetherianRange.neg {f : V →ₗ[K] V₂}
(hf : f.HasNoetherianRange) : (-f).HasNoetherianRange := by
rwa [HasNoetherianRange, LinearMap.range_neg]
@[simp] lemma HasFiniteRange.neg {f : V →ₗ[K] V₂}
(hf : f.HasFiniteRange) : (-f).HasFiniteRange := by
rwa [HasFiniteRange, LinearMap.range_neg]
@[simp] lemma HasNoetherianRange.add {f g : V →ₗ[K] V₂}
(hf : f.HasNoetherianRange) (hg : g.HasNoetherianRange) : (f + g).HasNoetherianRange := by
rw [HasNoetherianRange] at *
exact isNoetherian_of_le (range_add_le f g)
@[simp] lemma HasFiniteRange.add [IsNoetherianRing K] {f g : V →ₗ[K] V₂}
(hf : f.HasFiniteRange) (hg : g.HasFiniteRange) : (f + g).HasFiniteRange :=
hf.hasNoetherianRange.add hg.hasNoetherianRange |>.hasFiniteRange
@[simp] lemma HasNoetherianRange.sub {f g : V →ₗ[K] V₂}
(hf : f.HasNoetherianRange) (hg : g.HasNoetherianRange) : (f - g).HasNoetherianRange :=
sub_eq_add_neg f g ▸ hf.add hg.neg
@[simp] lemma HasFiniteRange.sub [IsNoetherianRing K] {f g : V →ₗ[K] V₂}
(hf : f.HasFiniteRange) (hg : g.HasFiniteRange) : (f - g).HasFiniteRange :=
sub_eq_add_neg f g ▸ hf.add hg.neg
theorem hasNoetherianRange_iff_quotient_ker {f : V →ₗ[K] V₂} :
f.HasNoetherianRange ↔ IsNoetherian K (V ⧸ f.ker) :=
f.quotKerEquivRange.isNoetherian_iff.symm
@[simp]
theorem ker_coFG_iff_hasFiniteRange {f : V →ₗ[K] V₂} :
f.ker.CoFG ↔ f.HasFiniteRange :=
range_fg_iff_ker_cofg.symm
alias ⟨HasNoetherianRange.quotient_ker, _⟩ := hasNoetherianRange_iff_quotient_ker
alias ⟨_, HasFiniteRange.cofg_ker⟩ := ker_coFG_iff_hasFiniteRange
end Ring
section CommRing
variable [CommRing K]
[AddCommGroup V] [Module K V]
[AddCommGroup V₂] [Module K V₂]
[AddCommGroup V₃] [Module K V₃]
@[simp] lemma HasNoetherianRange.smul {f : V →ₗ[K] V₂}
(hf : f.HasNoetherianRange) (c : K) : (c • f).HasNoetherianRange :=
hf.comp_left (lsmul K V₂ c)
@[simp] lemma HasFiniteRange.smul {f : V →ₗ[K] V₂}
(hf : f.HasFiniteRange) (c : K) : (c • f).HasFiniteRange :=
hf.comp_left (lsmul K V₂ c)
variable (K V V₂) in
/-- `LinearMap.finiteRange` is the submodule of `V →ₗ[K] W` consisting of linear maps satisfying
`LinearMap.HasNoetherianRange`. We allow ourself this slightly abusive name because the set of
linear maps satisfying `LinearMap.HasFiniteRange` is only a submodule over a noetherian ring,
in which case the two notions agree. -/
def finiteRange : Submodule K (V →ₗ[K] V₂) where
carrier := {u | u.HasNoetherianRange}
add_mem' hu hv := by simp_all
zero_mem' := by simp
smul_mem' c hu := by simp_all
lemma mem_finiteRange_iff_hasNoetherianRange {f : V →ₗ[K] V₂} :
f ∈ finiteRange K V V₂ ↔ f.HasNoetherianRange :=
Iff.rfl
lemma mem_finiteRange_iff_hasFiniteRange [IsNoetherianRing K] {f : V →ₗ[K] V₂} :
f ∈ finiteRange K V V₂ ↔ f.HasFiniteRange := by
rw [mem_finiteRange_iff_hasNoetherianRange, hasNoetherianRange_iff_hasFiniteRange]
end CommRing
section Setoid
variable [CommRing K]
[AddCommGroup V] [Module K V]
[AddCommGroup V₂] [Module K V₂]
[AddCommGroup V₃] [Module K V₃]
namespace FiniteRangeSetoid
/-- This is the equivalence relation on linear maps such that `u ≈ v` precisely
when `u - v` is a linear map with noetherian range. We allow ourself this slightly abusive name
because the more natural definition (`u - v` has finitely generated range) only yields a
well-behaved relation (more precisely, an additive congruence relation compatible with composition
on both sides) over a noetherian ring, in which case the two notions agree.
This setoid is declared as an instance in scope `LinearMap.FiniteRangeSetoid`. -/
scoped instance setoid : Setoid (V →ₗ[K] V₂) := (LinearMap.finiteRange K V V₂).quotientRel
lemma equiv_iff_hasNoetherianRange {u v : V →ₗ[K] V₂} : u ≈ v ↔ (u - v).HasNoetherianRange :=
Submodule.quotientRel_def _
lemma equiv_iff_hasFiniteRange [IsNoetherianRing K] {u v : V →ₗ[K] V₂} :
u ≈ v ↔ (u - v).HasFiniteRange := by
rw [equiv_iff_hasNoetherianRange, hasNoetherianRange_iff_hasFiniteRange]
lemma equiv_zero_iff_hasNoetherianRange {u : V →ₗ[K] V₂} : u ≈ 0 ↔ u.HasNoetherianRange := by
simp [equiv_iff_hasNoetherianRange]
alias ⟨_, _root_.LinearMap.HasNoetherianRange.equiv_zero⟩ := equiv_zero_iff_hasNoetherianRange
lemma equiv_zero_iff_hasFiniteRange [IsNoetherianRing K] {u : V →ₗ[K] V₂} :
u ≈ 0 ↔ u.HasFiniteRange := by
simp [equiv_iff_hasFiniteRange]
alias ⟨_, _root_.LinearMap.HasFiniteRange.equiv_zero⟩ := equiv_zero_iff_hasFiniteRange
lemma equiv_iff_isNoetherian_quotient_eqLocus {u v : V →ₗ[K] V₂} :
u ≈ v ↔ IsNoetherian K (V ⧸ eqLocus u v) := by
rw [equiv_iff_hasNoetherianRange, hasNoetherianRange_iff_quotient_ker, eqLocus_eq_ker_sub]
lemma equiv_iff_eqLocus_coFG [IsNoetherianRing K] {u v : V →ₗ[K] V₂} :
u ≈ v ↔ (eqLocus u v).CoFG := by
rw [eqLocus_eq_ker_sub, ker_coFG_iff_hasFiniteRange, equiv_iff_hasFiniteRange]
lemma equiv_of_eqOn_of_isNoetherian {u v : V →ₗ[K] V₂} (A : Submodule K V)
[quot_A_noeth : IsNoetherian K (V ⧸ A)] (eqOn_A : Set.EqOn u v A) : u ≈ v := by
have A_le : A ≤ eqLocus u v := le_eqLocus.mpr eqOn_A
rw [equiv_iff_isNoetherian_quotient_eqLocus]
refine isNoetherian_of_surjective (A.mapQ (eqLocus u v) id A_le) (by simp [range_mapQ])
lemma equiv_of_eqOn_coFG [IsNoetherianRing K] {u v : V →ₗ[K] V₂} {A : Submodule K V}
(A_coFG : A.CoFG) (eqOn_A : Set.EqOn u v A) : u ≈ v :=
equiv_iff_eqLocus_coFG.mpr <| A_coFG.of_le <| le_eqLocus.mpr eqOn_A
@[gcongr]
lemma equiv_comp_right {u : V →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃} (h' : v ≈ v') :
v ∘ₗ u ≈ v' ∘ₗ u := by
rw [equiv_iff_hasNoetherianRange] at *
exact h'.comp_right u
@[gcongr]
lemma equiv_comp_left {u v : V →ₗ[K] V₂} {u' : V₂ →ₗ[K] V₃} (h : u ≈ v) :
u' ∘ₗ u ≈ u' ∘ₗ v := by
rw [equiv_iff_hasNoetherianRange] at *
simpa only [LinearMap.comp_sub] using h.comp_left u'
lemma equiv_comp {u v : V →ₗ[K] V₂} {u' v' : V₂ →ₗ[K] V₃} (h : u ≈ v) (h' : u' ≈ v') :
u' ∘ₗ u ≈ v' ∘ₗ v := by
grw [equiv_comp_right h', equiv_comp_left h]
lemma projection_equiv_zero_iff_isNoetherian {S T : Submodule K V} (hST : IsCompl S T) :
S.projection T hST ≈ 0 ↔ IsNoetherian K S := by
rw [equiv_zero_iff_hasNoetherianRange, hasNoetherianRange_iff_range, range_projection]
lemma projection_equiv_zero {S T : Submodule K V} [IsNoetherian K S] (hST : IsCompl S T) :
S.projection T hST ≈ 0 :=
projection_equiv_zero_iff_isNoetherian hST |>.mpr inferInstance
lemma projection_equiv_id_iff_isNoetherian {S T : Submodule K V} (hST : IsCompl S T) :
S.projection T hST ≈ id ↔ IsNoetherian K T := by
rw [Setoid.comm, equiv_iff_hasNoetherianRange, ← projection_eq_id_sub_projection,
hasNoetherianRange_iff_range, range_projection]
lemma projection_equiv_id {S T : Submodule K V} [IsNoetherian K T] (hST : IsCompl S T) :
S.projection T hST ≈ id :=
projection_equiv_id_iff_isNoetherian hST |>.mpr inferInstance
end FiniteRangeSetoid
end Setoid
section QuasiInverse
variable [CommRing K]
[AddCommGroup V] [Module K V]
[AddCommGroup V₂] [Module K V₂]
[AddCommGroup V₃] [Module K V₃]
open scoped LinearMap.FiniteRangeSetoid
/-- `u` is a **left quasi-inverse** to `v` if `u ∘ₗ v ≈ id` modulo
linear maps with noetherian ranges. Recall that if the scalar ring is noetherian
(e.g a field), then "noetherian range" can be replaced by "finitely generated range". -/
def IsLeftQuasiInverse (u : V →ₗ[K] V₂) (v : V₂ →ₗ[K] V) : Prop :=
u ∘ₗ v ≈ .id
/-- `u` is a **right quasi-inverse** to `v` if `v ∘ₗ u ≈ id` modulo
linear maps with noetherian ranges. Recall that if the scalar ring is noetherian
(e.g a field), then "noetherian range" can be replaced by "finitely generated range". -/
def IsRightQuasiInverse (u : V₃ →ₗ[K] V₂) (v : V₂ →ₗ[K] V₃) : Prop :=
v ∘ₗ u ≈ .id
/-- `u` is a **quasi-inverse** to `v` if `u ∘ₗ v ≈ id` and `v ∘ₗ u ≈ id` modulo
linear maps with noetherian ranges. Recall that if the scalar ring is noetherian
(e.g a field), then "noetherian range" can be replaced by "finitely generated range". -/
def IsQuasiInverse (u : V₃ →ₗ[K] V₂) (v : V₂ →ₗ[K] V₃) : Prop :=
u.IsLeftQuasiInverse v ∧ u.IsRightQuasiInverse v
lemma isLeftQuasiInverse_iff_isRightQuasiInverse_swap {u : V₃ →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃} :
u.IsLeftQuasiInverse v ↔ v.IsRightQuasiInverse u := Iff.rfl
alias ⟨IsLeftQuasiInverse.isRightQuasiInverse, IsRightQuasiInverse.isLeftQuasiInverse⟩ :=
isLeftQuasiInverse_iff_isRightQuasiInverse_swap
lemma IsLeftQuasiInverse.equiv {u : V₃ →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
(h : u.IsLeftQuasiInverse v) : u ∘ₗ v ≈ .id := h
lemma IsRightQuasiInverse.equiv {u : V₃ →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
(h : u.IsRightQuasiInverse v) : v ∘ₗ u ≈ .id := h
lemma _root_.LinearEquiv.isQuasiInverse (e : V ≃ₗ[K] V₂) :
e.symm.IsQuasiInverse e := by
simp [IsQuasiInverse, IsLeftQuasiInverse, IsRightQuasiInverse]
@[symm]
lemma IsQuasiInverse.symm {u : V₃ →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
(h : u.IsQuasiInverse v) : v.IsQuasiInverse u :=
And.symm h
@[gcongr]
lemma IsLeftQuasiInverse.congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(h : u.IsLeftQuasiInverse v) (hu : u' ≈ u) (hv : v' ≈ v) :
u'.IsLeftQuasiInverse v' := by
unfold IsLeftQuasiInverse at *
grw [hu, hv]
assumption
@[gcongr]
lemma isLeftQuasiInverse_congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(hu : u' ≈ u) (hv : v' ≈ v) :
u.IsLeftQuasiInverse v ↔ u'.IsLeftQuasiInverse v' :=
⟨fun H ↦ H.congr hu hv, fun H ↦ H.congr (Setoid.symm hu) (Setoid.symm hv)⟩
@[gcongr]
lemma IsRightQuasiInverse.congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(h : u.IsRightQuasiInverse v) (hu : u' ≈ u) (hv : v' ≈ v) :
u'.IsRightQuasiInverse v' :=
h.isLeftQuasiInverse.congr hv hu |>.isRightQuasiInverse
lemma isRightQuasiInverse_congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(hu : u' ≈ u) (hv : v' ≈ v) :
u.IsRightQuasiInverse v ↔ u'.IsRightQuasiInverse v' :=
⟨fun H ↦ H.congr hu hv, fun H ↦ H.congr (Setoid.symm hu) (Setoid.symm hv)⟩
@[gcongr]
lemma IsQuasiInverse.congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(h : u.IsQuasiInverse v) (hu : u' ≈ u) (hv : v' ≈ v) :
u'.IsQuasiInverse v' :=
⟨h.1.congr hu hv, h.2.congr hu hv⟩
lemma isQuasiInverse_congr {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(hu : u' ≈ u) (hv : v' ≈ v) :
u.IsQuasiInverse v ↔ u'.IsQuasiInverse v' := by
simp [IsQuasiInverse, isLeftQuasiInverse_congr hu hv, isRightQuasiInverse_congr hu hv]
lemma IsQuasiInverse.equiv_of_left {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(h : u.IsQuasiInverse v) (h' : u'.IsQuasiInverse v') (hu : u ≈ u') :
v ≈ v' := by
calc
v = v ∘ₗ .id := by simp
_ ≈ v ∘ₗ (u' ∘ₗ v') := by grw [h'.1.equiv]
_ ≈ v ∘ₗ (u ∘ₗ v') := by grw [hu]
_ = (v ∘ₗ u) ∘ₗ v' := by rw [comp_assoc]
_ ≈ .id ∘ₗ v' := by grw [h.2.equiv]
_ = v' := by simp
lemma IsQuasiInverse.equiv_of_right {u u' : V₃ →ₗ[K] V₂} {v v' : V₂ →ₗ[K] V₃}
(h : u.IsQuasiInverse v) (h' : u'.IsQuasiInverse v') (hv : v ≈ v') :
u ≈ u' :=
h.symm.equiv_of_left h'.symm hv
/-- Left quasi-inverses compose in the opposite order. -/
lemma IsLeftQuasiInverse.comp {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃} {u' : V₂ →ₗ[K] V}
{v' : V₃ →ₗ[K] V₂} (hu : u'.IsLeftQuasiInverse u) (hv : v'.IsLeftQuasiInverse v) :
(u' ∘ₗ v').IsLeftQuasiInverse (v ∘ₗ u) :=
calc
_ = u' ∘ₗ (v' ∘ₗ v) ∘ₗ u := rfl
_ ≈ u' ∘ₗ .id ∘ₗ u := by grw [hv.equiv]
_ ≈ .id := hu.equiv
/-- Right quasi-inverses compose in the opposite order. -/
lemma IsRightQuasiInverse.comp {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃} {u' : V₂ →ₗ[K] V}
{v' : V₃ →ₗ[K] V₂} (hu : u'.IsRightQuasiInverse u) (hv : v'.IsRightQuasiInverse v) :
(u' ∘ₗ v').IsRightQuasiInverse (v ∘ₗ u) :=
hv.isLeftQuasiInverse.comp hu.isLeftQuasiInverse |>.isRightQuasiInverse
/-- Quasi-inverses compose in the opposite order. -/
lemma IsQuasiInverse.comp {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃} {u' : V₂ →ₗ[K] V}
{v' : V₃ →ₗ[K] V₂} (hu : u'.IsQuasiInverse u) (hv : v'.IsQuasiInverse v) :
(u' ∘ₗ v').IsQuasiInverse (v ∘ₗ u) :=
⟨hu.1.comp hv.1, hu.2.comp hv.2⟩
/-- If `u'` is a right quasi-inverse of `u` and `w` is a left quasi-inverse of `v ∘ₗ u`,
then `u ∘ₗ w` is a left quasi-inverse of `v`. -/
lemma IsLeftQuasiInverse.of_comp_left {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
{u' : V₂ →ₗ[K] V} {w : V₃ →ₗ[K] V} (hu : u'.IsRightQuasiInverse u)
(hw : w.IsLeftQuasiInverse (v ∘ₗ u)) :
(u ∘ₗ w).IsLeftQuasiInverse v := by
calc
_ = ((u ∘ₗ w) ∘ₗ v) ∘ₗ .id := rfl
_ ≈ ((u ∘ₗ w) ∘ₗ v) ∘ₗ (u ∘ₗ u') := by grw [hu.equiv]
_ = u ∘ₗ (w ∘ₗ (v ∘ₗ u)) ∘ₗ u' := rfl
_ ≈ u ∘ₗ .id ∘ₗ u' := by grw [hw.equiv]
_ ≈ .id := hu.equiv
/-- If `u'` is a quasi-inverse of `u` and `w` is a quasi-inverse of `v ∘ₗ u`, then
`u ∘ₗ w` is a quasi-inverse of `v`. -/
lemma IsQuasiInverse.of_comp_left {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
{u' : V₂ →ₗ[K] V} {w : V₃ →ₗ[K] V} (hu : u'.IsQuasiInverse u)
(hw : w.IsQuasiInverse (v ∘ₗ u)) :
(u ∘ₗ w).IsQuasiInverse v :=
⟨.of_comp_left hu.2 hw.1, hw.2⟩
/-- If `v'` is a left quasi-inverse of `v` and `w` is a right quasi-inverse of `v ∘ₗ u`,
then `w ∘ₗ v` is a right quasi-inverse of `u`. -/
lemma IsRightQuasiInverse.of_comp_right {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
{v' : V₃ →ₗ[K] V₂} {w : V₃ →ₗ[K] V} (hv : v'.IsLeftQuasiInverse v)
(hw : w.IsRightQuasiInverse (v ∘ₗ u)) :
(w ∘ₗ v).IsRightQuasiInverse u := by
calc
_ = .id ∘ₗ (u ∘ₗ (w ∘ₗ v)) := rfl
_ ≈ (v' ∘ₗ v) ∘ₗ (u ∘ₗ (w ∘ₗ v)) := by grw [hv.equiv]
_ = v' ∘ₗ ((v ∘ₗ u) ∘ₗ w) ∘ₗ v := rfl
_ ≈ v' ∘ₗ .id ∘ₗ v := by grw [hw.equiv]
_ ≈ .id := hv.equiv
/-- If `v'` is a quasi-inverse of `v` and `w` is a quasi-inverse of `v ∘ₗ u`, then
`w ∘ₗ v` is a quasi-inverse of `u`. -/
lemma IsQuasiInverse.of_comp_right {u : V →ₗ[K] V₂} {v : V₂ →ₗ[K] V₃}
{v' : V₃ →ₗ[K] V₂} {w : V₃ →ₗ[K] V} (hv : v'.IsQuasiInverse v)
(hw : w.IsQuasiInverse (v ∘ₗ u)) :
(w ∘ₗ v).IsQuasiInverse u :=
⟨hw.1, IsRightQuasiInverse.of_comp_right hv.1 hw.2⟩
lemma isQuasiInverse_subtype_projectionOnto_iff {S T : Submodule K V} (hST : IsCompl S T) :
IsQuasiInverse S.subtype (S.projectionOnto T hST) ↔ IsNoetherian K T := by
rw [IsQuasiInverse, and_iff_left (by simp [IsRightQuasiInverse, projectionOnto_comp_subtype]),
IsLeftQuasiInverse, ← projection,
FiniteRangeSetoid.projection_equiv_id_iff_isNoetherian hST]
lemma isQuasiInverse_subtype_projectionOnto {S T : Submodule K V} [IsNoetherian K T]
(hST : IsCompl S T) :
IsQuasiInverse S.subtype (S.projectionOnto T hST) :=
isQuasiInverse_subtype_projectionOnto_iff hST |>.mpr inferInstance
end QuasiInverse
end LinearMap
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|