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.Homogenization

62 declarations. Mathlib docs · Source

Homogenization of an affine space

The homogenization (or vector hull) of an affine space P is a vector space together with an embedding of P as a hyperplane not passing through the origin. This construction has the universal property that every affine map defined on this hyperplane that takes values in a vector space can be uniquely extended to a linear map defined on the homogenization.

Note that the homogenization is isomorphic to V × R, where V is the vector space associated to P and R is the ring of scalars. However, this isomorphism is not canonical unless P = V (see Homogenization.toProd in this case).

Main definitions

  • Homogenization R P: the homogenization of the affine space P over the ring R.
  • Homogenization.ofPoint: the canonical embedding of the affine space.
  • Homogenization.ofVector: the canonical embedding of the vector space.
  • Homogenization.lift f: the linear map obtained by extending the affine map f taking values in a vector space.

References

  • [J. Gallier, Geometric Methods and Applications for Computer Science and Engineering][Gallier2011GeometricMethods]
  • [X. Gràcia, R. Martín, Vector Hulls of Affine Spaces and Affine Bundles][Gracia2008]

def Homogenization E1 #

(R : Type u_1) →
  {V : Type u_2} →
    (P : Type u_3) → [inst : Ring R] → [inst_1 : AddCommGroup V] → [Module R V] → [AddTorsor V P] → Type (max u_2 u_1)

Given an affine space P over R, Homogenization R P is a vector space containing P as a hyperplane that does not pass through the origin.

Values of type Homogenization R P can be constructed as linear combinations of Homogenization.ofPoint and Homogenization.ofVector. To define a linear map on Homogenization R P, use Homogenization.lift.

instance Homogenization.instSMul E0 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] →
          [inst_2 : Module R V] →
            [inst_3 : AddTorsor V P] →
              {S : Type u_11} →
                [inst_4 : Semiring S] →
                  [inst_5 : Module S R] → [inst_6 : Module S V] → [IsScalarTower S R V] → SMul S (Homogenization R P)

instance Homogenization.instAddCommGroup E0 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → [inst_3 : AddTorsor V P] → AddCommGroup (Homogenization R P)

instance Homogenization.instModule E0 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] →
          [inst_2 : Module R V] →
            [inst_3 : AddTorsor V P] →
              {S : Type u_11} →
                [inst_4 : Semiring S] →
                  [inst_5 : Module S R] → [inst_6 : Module S V] → [IsScalarTower S R V] → Module S (Homogenization R P)

instance Homogenization.instIsScalarTower E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {S : Type u_11} [inst_4 : Semiring S] [inst_5 : Module S R] [inst_6 : Module S V]
  [inst_7 : IsScalarTower S R V] {T : Type u_12} [inst_8 : Semiring T] [inst_9 : Module T R] [inst_10 : Module T V]
  [inst_11 : IsScalarTower T R V] [inst_12 : SMul S T] [IsScalarTower S T R] [IsScalarTower S T V],
  IsScalarTower S T (Homogenization R P)

instance Homogenization.instSMulCommClass E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {S : Type u_11} [inst_4 : Semiring S] [inst_5 : Module S R] [inst_6 : Module S V]
  [inst_7 : IsScalarTower S R V] {T : Type u_12} [inst_8 : Semiring T] [inst_9 : Module T R] [inst_10 : Module T V]
  [inst_11 : IsScalarTower T R V] [SMulCommClass S T R] [SMulCommClass S T V], SMulCommClass S T (Homogenization R P)

def Homogenization.ofPoint E3 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → [inst_3 : AddTorsor V P] → P →ᵃ[R] Homogenization R P

The embedding of the affine space into the homogenization.

def Homogenization.ofVector E3 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → [inst_3 : AddTorsor V P] → V →ₗ[R] Homogenization R P

The embedding of the vector space into the homogenization.

theorem Homogenization.ofPoint_linear E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Homogenization.ofPoint.linear = Homogenization.ofVector

theorem Homogenization.ofVector_vsub E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] (p q : P),
  Homogenization.ofVector (p -ᵥ q) = Homogenization.ofPoint p - Homogenization.ofPoint q

theorem Homogenization.ofVector_smul E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {S : Type u_11} [inst_4 : Semiring S] [inst_5 : Module S R] [inst_6 : Module S V]
  [inst_7 : IsScalarTower S R V] (c : S) (v : V), Homogenization.ofVector (c • v) = c • Homogenization.ofVector v

theorem Homogenization.ofVector_injective E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Function.Injective ⇑Homogenization.ofVector

theorem Homogenization.ofPoint_injective E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Function.Injective ⇑Homogenization.ofPoint

theorem Homogenization.induction_on E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {motive : Homogenization R P → Prop} (x : Homogenization R P),
  (∀ (v : V) (c : R) (p : P), motive (Homogenization.ofVector v + c • Homogenization.ofPoint p)) → motive x

Every element of the homogenization can be written in the form ofVector v + c • ofPoint p.

See also induction_of_point and ofVector_ofPoint_cases.

theorem Homogenization.induction_of_point E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {motive : Homogenization R P → Prop} (p : P) (x : Homogenization R P),
  (∀ (v : V) (c : R), motive (Homogenization.ofVector v + c • Homogenization.ofPoint p)) → motive x

Every element of the homogenization can be written in the form ofVector v + c • ofPoint p, where p can be chosen arbitrarily.

theorem Homogenization.ofVector_ofPoint_cases E1 #

∀ {R : Type u_11} {V : Type u_12} {P : Type u_13} [inst : DivisionRing R] [inst_1 : AddCommGroup V]
  [inst_2 : Module R V] [inst_3 : AddTorsor V P] (x : Homogenization R P) {motive : Homogenization R P → Prop},
  (∀ (c : R) (p : P), c ≠ 0 → motive (c • Homogenization.ofPoint p)) →
    (∀ (v : V), motive (Homogenization.ofVector v)) → motive x

Over a division ring R, every element of Homogenization R P is either a nonzero multiple of a point of P, or an element of the vector space associated to P.

theorem Homogenization.span_range_ofPoint E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Submodule.span R (Set.range ⇑Homogenization.ofPoint) = ⊤

theorem Homogenization.hom_ext E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {F : Type u_11}
  [inst_6 : FunLike F (Homogenization R P) W] [LinearMapClass F R (Homogenization R P) W] {f g : F},
  (∀ (x : P), f (Homogenization.ofPoint x) = g (Homogenization.ofPoint x)) → f = g

theorem Homogenization.hom_ext_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {F : Type u_11}
  [inst_6 : FunLike F (Homogenization R P) W] [LinearMapClass F R (Homogenization R P) W] {f g : F},
  f = g ↔ ∀ (x : P), f (Homogenization.ofPoint x) = g (Homogenization.ofPoint x)

def Homogenization.lift E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] →
          [inst_2 : Module R V] →
            [inst_3 : AddTorsor V P] →
              {W : Type u_10} →
                [inst_4 : AddCommGroup W] → [inst_5 : Module R W] → (P →ᵃ[R] W) ≃+ (Homogenization R P →ₗ[R] W)

An affine map on P taking values in a vector space extends uniquely to a linear map on Homogenization R P.

See also Homogenization.liftₗ for a version that is linear over some semiring.

theorem Homogenization.lift_apply_ofPoint E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] (f : P →ᵃ[R] W) (p : P),
  (Homogenization.lift f) (Homogenization.ofPoint p) = f p

theorem Homogenization.lift_apply_ofVector E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] (f : P →ᵃ[R] W) (v : V),
  (Homogenization.lift f) (Homogenization.ofVector v) = f.linear v

theorem Homogenization.lift_symm_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W]
  (f : Homogenization R P →ₗ[R] W) (p : P), (Homogenization.lift.symm f) p = f (Homogenization.ofPoint p)

theorem Homogenization.lift_symm_linear_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W]
  (f : Homogenization R P →ₗ[R] W) (v : V), (Homogenization.lift.symm f).linear v = f (Homogenization.ofVector v)

theorem Homogenization.lift_symm_id E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Homogenization.lift.symm LinearMap.id = Homogenization.ofPoint

theorem Homogenization.lift_ofPoint E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Homogenization.lift Homogenization.ofPoint = LinearMap.id

theorem Homogenization.lift_smul E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {S : Type u_11}
  [inst_6 : Semiring S] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] (c : S) (f : P →ᵃ[R] W),
  Homogenization.lift (c • f) = c • Homogenization.lift f

theorem Homogenization.lift_symm_smul E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {S : Type u_11}
  [inst_6 : Semiring S] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] (c : S) (f : Homogenization R P →ₗ[R] W),
  Homogenization.lift.symm (c • f) = c • Homogenization.lift.symm f

def Homogenization.liftₗ E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] →
          [inst_2 : Module R V] →
            [inst_3 : AddTorsor V P] →
              {W : Type u_10} →
                [inst_4 : AddCommGroup W] →
                  [inst_5 : Module R W] →
                    (S : Type u_11) →
                      [inst_6 : Semiring S] →
                        [inst_7 : Module S W] →
                          [inst_8 : SMulCommClass R S W] → (P →ᵃ[R] W) ≃ₗ[S] Homogenization R P →ₗ[R] W

Linear version of Homogenization.lift.

theorem Homogenization.coe_liftₗ E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {S : Type u_11}
  [inst_6 : Semiring S] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W],
  ⇑(Homogenization.liftₗ S) = ⇑Homogenization.lift

theorem Homogenization.coe_liftₗ_symm E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] {S : Type u_11}
  [inst_6 : Semiring S] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W],
  ⇑(Homogenization.liftₗ S).symm = ⇑Homogenization.lift.symm

def Homogenization.weight E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {V : Type u_2} →
      {P : Type u_3} →
        [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → [inst_3 : AddTorsor V P] → Homogenization R P →ₗ[R] R

The linear map that is constantly 1 when restricted to P.

theorem Homogenization.weight_ofVector E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] (v : V), Homogenization.weight (Homogenization.ofVector v) = 0

theorem Homogenization.weight_ofPoint E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] (p : P), Homogenization.weight (Homogenization.ofPoint p) = 1

theorem Homogenization.weight_eq_zero_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {x : Homogenization R P}, Homogenization.weight x = 0 ↔ ∃ v, x = Homogenization.ofVector v

theorem Homogenization.weight_eq_one_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {x : Homogenization R P}, Homogenization.weight x = 1 ↔ ∃ p, x = Homogenization.ofPoint p

theorem Homogenization.lift_const_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {W : Type u_10} [inst_4 : AddCommGroup W] [inst_5 : Module R W] (u : W)
  (x : Homogenization R P), (Homogenization.lift (AffineMap.const R P u)) x = Homogenization.weight x • u

theorem Homogenization.weight_surjective E1 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Function.Surjective ⇑Homogenization.weight

def Homogenization.map E1 #

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

An affine map between two affine spaces extends to a linear map between their homogenizations.

theorem Homogenization.map_apply_ofPoint E0 #

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

theorem Homogenization.map_apply_ofVector E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (v : V₁),
  (Homogenization.map f) (Homogenization.ofVector v) = Homogenization.ofVector (f.linear v)

theorem Homogenization.map_id E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Homogenization.map (AffineMap.id R P) = LinearMap.id

theorem Homogenization.map_injective' E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂], Function.Injective Homogenization.map

theorem Homogenization.map_eq_id_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {f : P →ᵃ[R] P}, Homogenization.map f = LinearMap.id ↔ f = AffineMap.id R P

theorem Homogenization.map_comp E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] {V₃ : Type u_8} {P₃ : Type u_9} [inst_7 : AddCommGroup V₃] [inst_8 : Module R V₃]
  [inst_9 : AddTorsor V₃ P₃] (f : P₂ →ᵃ[R] P₃) (g : P₁ →ᵃ[R] P₂),
  Homogenization.map (f.comp g) = Homogenization.map f ∘ₗ Homogenization.map g

theorem Homogenization.weight_map E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] (f : P₁ →ᵃ[R] P₂) (x : Homogenization R P₁),
  Homogenization.weight ((Homogenization.map f) x) = Homogenization.weight x

theorem Homogenization.lift_map E1 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] {V₃ : Type u_8} [inst_7 : AddCommGroup V₃] [inst_8 : Module R V₃] (f : P₂ →ᵃ[R] V₃)
  (g : P₁ →ᵃ[R] P₂) (x : Homogenization R P₁),
  (Homogenization.lift f) ((Homogenization.map g) x) = (Homogenization.lift (f.comp g)) x

theorem Homogenization.map_injective E0 #

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

theorem Homogenization.map_surjective E0 #

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

def Homogenization.congr E1 #

{R : Type u_1} →
  [inst : Ring R] →
    {V₁ : Type u_4} →
      {P₁ : Type u_5} →
        [inst_1 : AddCommGroup V₁] →
          [inst_2 : Module R V₁] →
            [inst_3 : AddTorsor V₁ P₁] →
              {V₂ : Type u_6} →
                {P₂ : Type u_7} →
                  [inst_4 : AddCommGroup V₂] →
                    [inst_5 : Module R V₂] →
                      [inst_6 : AddTorsor V₂ P₂] → (P₁ ≃ᵃ[R] P₂) → Homogenization R P₁ ≃ₗ[R] Homogenization R P₂

An affine isomorphism between two affine spaces extends to a linear isomorphism between their homogenizations.

theorem Homogenization.coe_congr E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] (f : P₁ ≃ᵃ[R] P₂), ⇑(Homogenization.congr f) = ⇑(Homogenization.map ↑f)

theorem Homogenization.toLinearMap_congr E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] (f : P₁ ≃ᵃ[R] P₂), ↑(Homogenization.congr f) = Homogenization.map ↑f

theorem Homogenization.congr_symm E0 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] (f : P₁ ≃ᵃ[R] P₂), (Homogenization.congr f).symm = Homogenization.congr f.symm

theorem Homogenization.congr_refl E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P], Homogenization.congr (AffineEquiv.refl R P) = LinearEquiv.refl R (Homogenization R P)

theorem Homogenization.congr_eq_refl_iff E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] {f : P ≃ᵃ[R] P},
  Homogenization.congr f = LinearEquiv.refl R (Homogenization R P) ↔ f = AffineEquiv.refl R P

theorem Homogenization.congr_trans E1 #

∀ {R : Type u_1} [inst : Ring R] {V₁ : Type u_4} {P₁ : Type u_5} [inst_1 : AddCommGroup V₁] [inst_2 : Module R V₁]
  [inst_3 : AddTorsor V₁ P₁] {V₂ : Type u_6} {P₂ : Type u_7} [inst_4 : AddCommGroup V₂] [inst_5 : Module R V₂]
  [inst_6 : AddTorsor V₂ P₂] {V₃ : Type u_8} {P₃ : Type u_9} [inst_7 : AddCommGroup V₃] [inst_8 : Module R V₃]
  [inst_9 : AddTorsor V₃ P₃] (f : P₁ ≃ᵃ[R] P₂) (g : P₂ ≃ᵃ[R] P₃),
  Homogenization.congr (f.trans g) = Homogenization.congr f ≪≫ₗ Homogenization.congr g

def Homogenization.toProd E1 #

{R : Type u_1} →
  [inst : Ring R] → {V : Type u_2} → [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → Homogenization R V ≃ₗ[R] V × R

The homogenization of a vector space V over R is canonically isomorphic to V × R

theorem Homogenization.toProd_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  (i : Homogenization R V),
  Homogenization.toProd i = ((Homogenization.lift (AffineMap.id R V)) i, Homogenization.weight i)

theorem Homogenization.toProd_symm_apply E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (x : V × R),
  Homogenization.toProd.symm x = Homogenization.ofVector x.1 + x.2 • Homogenization.ofPoint 0

theorem Homogenization.toProd_ofPoint E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (v : V),
  Homogenization.toProd (Homogenization.ofPoint v) = (v, 1)

theorem Homogenization.toProd_ofVector E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (v : V),
  Homogenization.toProd (Homogenization.ofVector v) = (v, 0)

instance Homogenization.instFinite E0 #

∀ {R : Type u_1} [inst : Ring R] {V : Type u_2} {P : Type u_3} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : AddTorsor V P] [Module.Finite R V], Module.Finite R (Homogenization R P)