The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Basis.Flag

24 declarations. Mathlib docs · Source

theorem Module.Basis.mkFinCons.congr_simp E1 #

∀ {R : Type u_3} {M : Type u_5} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ}
  {N : Submodule R M} (y y_1 : M) (e_y : y = y_1) (b b_1 : Module.Basis (Fin n) R ↥N),
  b = b_1 →
    ∀ (hli : ∀ (c : R), ∀ x ∈ N, c • y + x = 0 → c = 0) (hsp : ∀ (z : M), ∃ c, z + c • y ∈ N),
      Module.Basis.mkFinCons y b hli hsp = Module.Basis.mkFinCons y_1 b_1 ⋯ ⋯

def Module.Basis.flag E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] → {n : ℕ} → Module.Basis (Fin n) R M → Fin (n + 1) → Submodule R M

The subspace spanned by the first k vectors of the basis b.

theorem Module.Basis.flag_zero E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M), b.flag 0 = ⊥

theorem Module.Basis.flag_last E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M), b.flag (Fin.last n) = ⊤

theorem Module.Basis.flag_le_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) {k : Fin (n + 1)} {p : Submodule R M},
  b.flag k ≤ p ↔ ∀ (i : Fin n), i.castSucc < k → b i ∈ p

theorem Module.Basis.flag_succ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) (k : Fin n), b.flag k.succ = R ∙ b k ⊔ b.flag k.castSucc

theorem Module.Basis.flag_map E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  {M₂ : Type u_3} [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] (b : Module.Basis (Fin n) R M) (e : M ≃ₗ[R] M₂)
  (k : Fin (n + 1)), (b.map e).flag k = Submodule.map (↑e) (b.flag k)

flag commutes with Basis.map.

theorem Module.Basis.mem_flag_iff_repr_eq_zero E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) {k : Fin (n + 1)} {x : M},
  x ∈ b.flag k ↔ ∀ (i : Fin n), k ≤ i.castSucc → (b.repr x) i = 0

x ∈ b.flag k iff b.repr x i = 0 for k ≤ i.castSucc.

theorem Module.Basis.self_mem_flag E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) {i : Fin n} {k : Fin (n + 1)}, i.castSucc < k → b i ∈ b.flag k

theorem Module.Basis.self_mem_flag_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  [Nontrivial R] (b : Module.Basis (Fin n) R M) {i : Fin n} {k : Fin (n + 1)}, b i ∈ b.flag k ↔ i.castSucc < k

theorem Module.Basis.flag_mono E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M), Monotone b.flag

theorem Module.Basis.isChain_range_flag E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M), IsChain (fun x1 x2 ↦ x1 ≤ x2) (Set.range b.flag)

theorem Module.Basis.flag_strictMono E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {n : ℕ}
  [Nontrivial R] (b : Module.Basis (Fin n) R M), StrictMono b.flag

theorem Module.Basis.span_singleton_le_mkFinCons_flag_succ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ} {v : M}
  {W : Submodule R M} {bW : Module.Basis (Fin n) R ↥W} {hli : ∀ (c : R), ∀ x ∈ W, c • v + x = 0 → c = 0}
  {hsp : ∀ (z : M), ∃ c, z + c • v ∈ W} (k : Fin (n + 1)), R ∙ v ≤ (Module.Basis.mkFinCons v bW hli hsp).flag k.succ

The span of the new head vector lies in the successor flag of Basis.mkFinCons.

theorem Module.Basis.map_flag_le_mkFinCons_flag_succ E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ} {v : M}
  {W : Submodule R M} {bW : Module.Basis (Fin n) R ↥W} {hli : ∀ (c : R), ∀ x ∈ W, c • v + x = 0 → c = 0}
  {hsp : ∀ (z : M), ∃ c, z + c • v ∈ W} (k : Fin (n + 1)),
  Submodule.map W.subtype (bW.flag k) ≤ (Module.Basis.mkFinCons v bW hli hsp).flag k.succ

The image of a flag under Submodule.subtype lies in the successor flag of Basis.mkFinCons.

theorem Module.Basis.flag_le_ker_coord_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ}
  [Nontrivial R] (b : Module.Basis (Fin n) R M) {k : Fin (n + 1)} {l : Fin n},
  b.flag k ≤ (b.coord l).ker ↔ k ≤ l.castSucc

theorem Module.Basis.flag_le_ker_coord E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) {k : Fin (n + 1)} {l : Fin n}, k ≤ l.castSucc → b.flag k ≤ (b.coord l).ker

theorem Module.Basis.flag_le_ker_dual E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {n : ℕ}
  (b : Module.Basis (Fin n) R M) (k : Fin n), b.flag k.castSucc ≤ LinearMap.ker (b.dualBasis k)

theorem Module.Basis.flag_covBy E1 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {n : ℕ}
  (b : Module.Basis (Fin n) K V) (i : Fin n), b.flag i.castSucc ⋖ b.flag i.succ

theorem Module.Basis.flag_wcovBy E1 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {n : ℕ}
  (b : Module.Basis (Fin n) K V) (i : Fin n), b.flag i.castSucc ⩿ b.flag i.succ

def Module.Basis.toFlag E1 #

{K : Type u_1} →
  {V : Type u_2} →
    [inst : DivisionRing K] →
      [inst_1 : AddCommGroup V] → [inst_2 : Module K V] → {n : ℕ} → Module.Basis (Fin n) K V → Flag (Submodule K V)

Range of Basis.flag as a Flag.

theorem Module.Basis.toFlag_carrier E0 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {n : ℕ}
  (b : Module.Basis (Fin n) K V), ↑b.toFlag = Set.range b.flag

theorem Module.Basis.mem_toFlag E0 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {n : ℕ}
  (b : Module.Basis (Fin n) K V) {p : Submodule K V}, p ∈ b.toFlag ↔ ∃ k, b.flag k = p

theorem Module.Basis.isMaxChain_range_flag E1 #

∀ {K : Type u_1} {V : Type u_2} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {n : ℕ}
  (b : Module.Basis (Fin n) K V), IsMaxChain (fun x1 x2 ↦ x1 ≤ x2) (Set.range b.flag)