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 / V22. Affine, Euclidean and convex geometry

Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Range

15 declarations. Mathlib docs · Source

def AffineMap.range E1 #

{R : Type u_1} →
  {V₁ : Type u_2} →
    {V₂ : Type u_3} →
      {P₁ : Type u_4} →
        {P₂ : Type u_5} →
          [inst : Ring R] →
            [inst_1 : AddCommGroup V₁] →
              [inst_2 : Module R V₁] →
                [inst_3 : AddCommGroup V₂] →
                  [inst_4 : Module R V₂] →
                    [inst_5 : AddTorsor V₁ P₁] → [inst_6 : AddTorsor V₂ P₂] → (P₁ →ᵃ[R] P₂) → AffineSubspace R P₂

The range of an affine map is an affine subspace.

instance AffineMap.instNonemptyRange E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), Nonempty ↥f.range

The range of an affine map is nonempty.

theorem AffineMap.coe_range E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), ↑f.range = Set.range ⇑f

theorem AffineMap.mem_range E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (x : P₂), x ∈ f.range ↔ ∃ y, f y = x

theorem AffineMap.map_top E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), AffineSubspace.map f ⊤ = f.range

theorem AffineMap.mem_range_self E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (x : P₁), f x ∈ f.range

theorem AffineMap.range_id E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {P₁ : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁], (AffineMap.id R P₁).range = ⊤

theorem AffineMap.direction_range_eq_range_linear E1 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), f.range.direction = f.linear.range

theorem AffineMap.range_eq_top_iff_surjective E1 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), f.range = ⊤ ↔ Function.Surjective ⇑f

def AffineMap.rangeRestrict E1 #

{R : Type u_1} →
  {V₁ : Type u_2} →
    {V₂ : Type u_3} →
      {P₁ : Type u_4} →
        {P₂ : Type u_5} →
          [inst : Ring R] →
            [inst_1 : AddCommGroup V₁] →
              [inst_2 : Module R V₁] →
                [inst_3 : AddCommGroup V₂] →
                  [inst_4 : Module R V₂] →
                    [inst_5 : AddTorsor V₁ P₁] → [inst_6 : AddTorsor V₂ P₂] → (f : P₁ →ᵃ[R] P₂) → P₁ →ᵃ[R] ↥f.range

Restrict the codomain of an affine map f to f.range.

theorem AffineMap.rangeRestrict_apply_coe E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (p : P₁), ↑(f.rangeRestrict p) = f p

theorem AffineMap.rangeRestrict_linear_apply_coe E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (c : V₁),
  ↑(f.rangeRestrict.linear c) = f.linear c

theorem AffineMap.surjective_rangeRestrict E1 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), Function.Surjective ⇑f.rangeRestrict

theorem AffineMap.range_rangeRestrict E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂), f.rangeRestrict.range = ⊤

theorem AffineMap.injective_rangeRestrict_iff E0 #

∀ {R : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {P₁ : Type u_4} {P₂ : Type u_5} [inst : Ring R]
  [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module R V₂]
  [inst_5 : AddTorsor V₁ P₁] [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂),
  Function.Injective ⇑f.rangeRestrict ↔ Function.Injective ⇑f