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.Analysis.Convex.Between

167 declarations. Mathlib docs · Source

def affineSegment E1 #

(R : Type u_1) →
  {V : Type u_2} →
    {P : Type u_4} →
      [inst : Ring R] → [PartialOrder R] → [inst_2 : AddCommGroup V] → [Module R V] → [AddTorsor V P] → P → P → Set P

The segment of points weakly between x and y. When convexity is refactored to support abstract affine combination spaces, this will no longer need to be a separate definition from segment. However, lemmas involving +ᵥ or -ᵥ will still be relevant after such a refactoring, as distinct from versions involving + or - in a module.

theorem affineSegment_subset_affineSpan E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y : P), affineSegment R x y ⊆ ↑line[R, x, y]

theorem affineSegment_image 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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] (f : P →ᵃ[R] P') (x y : P),
  ⇑f '' affineSegment R x y = affineSegment R (f x) (f y)

theorem affineSegment_const_vadd_image E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y : P) (v : V),
  (fun x ↦ v +ᵥ x) '' affineSegment R x y = affineSegment R (v +ᵥ x) (v +ᵥ y)

theorem affineSegment_vadd_const_image E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y : V) (p : P),
  (fun x ↦ x +ᵥ p) '' affineSegment R x y = affineSegment R (x +ᵥ p) (y +ᵥ p)

theorem affineSegment_const_vsub_image E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y p : P),
  (fun x ↦ p -ᵥ x) '' affineSegment R x y = affineSegment R (p -ᵥ x) (p -ᵥ y)

theorem affineSegment_vsub_const_image E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y p : P),
  (fun x ↦ x -ᵥ p) '' affineSegment R x y = affineSegment R (x -ᵥ p) (y -ᵥ p)

theorem mem_const_vadd_affineSegment E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (v : V),
  v +ᵥ z ∈ affineSegment R (v +ᵥ x) (v +ᵥ y) ↔ z ∈ affineSegment R x y

theorem mem_vadd_const_affineSegment E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : V} (p : P),
  z +ᵥ p ∈ affineSegment R (x +ᵥ p) (y +ᵥ p) ↔ z ∈ affineSegment R x y

theorem mem_const_vsub_affineSegment E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P),
  p -ᵥ z ∈ affineSegment R (p -ᵥ x) (p -ᵥ y) ↔ z ∈ affineSegment R x y

theorem mem_vsub_const_affineSegment E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P),
  z -ᵥ p ∈ affineSegment R (x -ᵥ p) (y -ᵥ p) ↔ z ∈ affineSegment R x y

theorem affineSegment_eq_segment E1 #

∀ (R : Type u_1) {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [IsOrderedRing R] (x y : V), affineSegment R x y = segment R x y

theorem affineSegment_comm E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), affineSegment R x y = affineSegment R y x

theorem left_mem_affineSegment E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), x ∈ affineSegment R x y

theorem right_mem_affineSegment E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), y ∈ affineSegment R x y

theorem affineSegment_same E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x : P), affineSegment R x x = {x}

def Wbtw E1 #

(R : Type u_1) →
  {V : Type u_2} →
    {P : Type u_4} →
      [inst : Ring R] → [PartialOrder R] → [inst_2 : AddCommGroup V] → [Module R V] → [AddTorsor V P] → P → P → P → Prop

The point y is weakly between x and z.

def Sbtw E1 #

(R : Type u_1) →
  {V : Type u_2} →
    {P : Type u_4} →
      [inst : Ring R] → [PartialOrder R] → [inst_2 : AddCommGroup V] → [Module R V] → [AddTorsor V P] → P → P → P → Prop

The point y is strictly between x and z.

theorem mem_segment_iff_wbtw E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [IsOrderedRing R] {x y z : V}, y ∈ segment R x z ↔ Wbtw R x y z

theorem Wbtw.mem_segment E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [IsOrderedRing R] {x y z : V}, Wbtw R x y z → y ∈ segment R x z

Alias of the reverse direction of mem_segment_iff_wbtw.

theorem Convex.mem_of_wbtw E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [IsOrderedRing R] {p₀ p₁ p₂ : V} {s : Set V},
  Convex R s → Wbtw R p₀ p₁ p₂ → p₀ ∈ s → p₂ ∈ s → p₁ ∈ s

theorem wbtw_comm E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Wbtw R x y z ↔ Wbtw R z y x

theorem Wbtw.symm E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Wbtw R x y z → Wbtw R z y x

Alias of the forward direction of wbtw_comm.

theorem sbtw_comm E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Sbtw R x y z ↔ Sbtw R z y x

theorem Sbtw.symm E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Sbtw R x y z → Sbtw R z y x

Alias of the forward direction of sbtw_comm.

theorem AffineSubspace.mem_of_wbtw E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {s : AffineSubspace R P} {x y z : P},
  Wbtw R x y z → x ∈ s → z ∈ s → y ∈ s

theorem Wbtw.map 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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P},
  Wbtw R x y z → ∀ (f : P →ᵃ[R] P'), Wbtw R (f x) (f y) (f z)

theorem Function.Injective.wbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} {f : P →ᵃ[R] P'},
  Function.Injective ⇑f → (Wbtw R (f x) (f y) (f z) ↔ Wbtw R x y z)

theorem Function.Injective.sbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} {f : P →ᵃ[R] P'},
  Function.Injective ⇑f → (Sbtw R (f x) (f y) (f z) ↔ Sbtw R x y z)

theorem Set.InjOn.wbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} {f : P →ᵃ[R] P'} {s : AffineSubspace R P},
  Set.InjOn ⇑f ↑s → x ∈ s → y ∈ s → z ∈ s → (Wbtw R (f x) (f y) (f z) ↔ Wbtw R x y z)

theorem Set.InjOn.sbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} {f : P →ᵃ[R] P'} {s : AffineSubspace R P},
  Set.InjOn ⇑f ↑s → x ∈ s → y ∈ s → z ∈ s → (Sbtw R (f x) (f y) (f z) ↔ Sbtw R x y z)

theorem AffineEquiv.wbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} (f : P ≃ᵃ[R] P'),
  Wbtw R (f x) (f y) (f z) ↔ Wbtw R x y z

theorem AffineEquiv.sbtw_map_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 : PartialOrder R]
  [inst_2 : AddCommGroup V] [inst_3 : Module R V] [inst_4 : AddTorsor V P] [inst_5 : AddCommGroup V']
  [inst_6 : Module R V'] [inst_7 : AddTorsor V' P'] {x y z : P} (f : P ≃ᵃ[R] P'),
  Sbtw R (f x) (f y) (f z) ↔ Sbtw R x y z

theorem wbtw_const_vadd_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (v : V), Wbtw R (v +ᵥ x) (v +ᵥ y) (v +ᵥ z) ↔ Wbtw R x y z

theorem Wbtw.const_vadd E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (v : V), Wbtw R x y z → Wbtw R (v +ᵥ x) (v +ᵥ y) (v +ᵥ z)

Alias of the reverse direction of wbtw_const_vadd_iff.

theorem wbtw_const_add_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R (v + x) (v + y) (v + z) ↔ Wbtw R x y z

theorem Wbtw.const_add E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R x y z → Wbtw R (v + x) (v + y) (v + z)

Alias of the reverse direction of wbtw_const_add_iff.

theorem wbtw_vadd_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : V} (p : P), Wbtw R (x +ᵥ p) (y +ᵥ p) (z +ᵥ p) ↔ Wbtw R x y z

theorem Wbtw.vadd_const E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : V} (p : P), Wbtw R x y z → Wbtw R (x +ᵥ p) (y +ᵥ p) (z +ᵥ p)

Alias of the reverse direction of wbtw_vadd_const_iff.

theorem wbtw_add_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R (x + v) (y + v) (z + v) ↔ Wbtw R x y z

theorem Wbtw.add_const E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R x y z → Wbtw R (x + v) (y + v) (z + v)

Alias of the reverse direction of wbtw_add_const_iff.

theorem wbtw_const_vsub_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Wbtw R (p -ᵥ x) (p -ᵥ y) (p -ᵥ z) ↔ Wbtw R x y z

theorem Wbtw.const_vsub E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Wbtw R x y z → Wbtw R (p -ᵥ x) (p -ᵥ y) (p -ᵥ z)

Alias of the reverse direction of wbtw_const_vsub_iff.

theorem wbtw_const_sub_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R (v - x) (v - y) (v - z) ↔ Wbtw R x y z

theorem Wbtw.const_sub E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R x y z → Wbtw R (v - x) (v - y) (v - z)

Alias of the reverse direction of wbtw_const_sub_iff.

theorem wbtw_neg_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V}, Wbtw R (-x) (-y) (-z) ↔ Wbtw R x y z

theorem Wbtw.neg E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V}, Wbtw R x y z → Wbtw R (-x) (-y) (-z)

Alias of the reverse direction of wbtw_neg_iff.

theorem wbtw_vsub_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Wbtw R (x -ᵥ p) (y -ᵥ p) (z -ᵥ p) ↔ Wbtw R x y z

theorem Wbtw.vsub_const E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Wbtw R x y z → Wbtw R (x -ᵥ p) (y -ᵥ p) (z -ᵥ p)

Alias of the reverse direction of wbtw_vsub_const_iff.

theorem wbtw_sub_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R (x - v) (y - v) (z - v) ↔ Wbtw R x y z

theorem Wbtw.sub_const E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Wbtw R x y z → Wbtw R (x - v) (y - v) (z - v)

Alias of the reverse direction of wbtw_sub_const_iff.

theorem sbtw_const_vadd_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (v : V), Sbtw R (v +ᵥ x) (v +ᵥ y) (v +ᵥ z) ↔ Sbtw R x y z

theorem Sbtw.const_vadd E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (v : V), Sbtw R x y z → Sbtw R (v +ᵥ x) (v +ᵥ y) (v +ᵥ z)

Alias of the reverse direction of sbtw_const_vadd_iff.

theorem sbtw_const_add_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R (v + x) (v + y) (v + z) ↔ Sbtw R x y z

theorem Sbtw.const_add E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R x y z → Sbtw R (v + x) (v + y) (v + z)

Alias of the reverse direction of sbtw_const_add_iff.

theorem sbtw_vadd_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : V} (p : P), Sbtw R (x +ᵥ p) (y +ᵥ p) (z +ᵥ p) ↔ Sbtw R x y z

theorem Sbtw.vadd_const E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : V} (p : P), Sbtw R x y z → Sbtw R (x +ᵥ p) (y +ᵥ p) (z +ᵥ p)

Alias of the reverse direction of sbtw_vadd_const_iff.

theorem sbtw_add_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R (x + v) (y + v) (z + v) ↔ Sbtw R x y z

theorem Sbtw.add_const E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R x y z → Sbtw R (x + v) (y + v) (z + v)

Alias of the reverse direction of sbtw_add_const_iff.

theorem sbtw_const_vsub_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Sbtw R (p -ᵥ x) (p -ᵥ y) (p -ᵥ z) ↔ Sbtw R x y z

theorem Sbtw.const_vsub E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Sbtw R x y z → Sbtw R (p -ᵥ x) (p -ᵥ y) (p -ᵥ z)

Alias of the reverse direction of sbtw_const_vsub_iff.

theorem sbtw_const_sub_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R (v - x) (v - y) (v - z) ↔ Sbtw R x y z

theorem Sbtw.const_sub E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R x y z → Sbtw R (v - x) (v - y) (v - z)

Alias of the reverse direction of sbtw_const_sub_iff.

theorem sbtw_neg_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V}, Sbtw R (-x) (-y) (-z) ↔ Sbtw R x y z

theorem Sbtw.neg E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V}, Sbtw R x y z → Sbtw R (-x) (-y) (-z)

Alias of the reverse direction of sbtw_neg_iff.

theorem sbtw_vsub_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Sbtw R (x -ᵥ p) (y -ᵥ p) (z -ᵥ p) ↔ Sbtw R x y z

theorem Sbtw.vsub_const E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} (p : P), Sbtw R x y z → Sbtw R (x -ᵥ p) (y -ᵥ p) (z -ᵥ p)

Alias of the reverse direction of sbtw_vsub_const_iff.

theorem sbtw_sub_const_iff E0 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R (x - v) (y - v) (z - v) ↔ Sbtw R x y z

theorem Sbtw.sub_const E1 #

∀ {R : Type u_1} {V : Type u_2} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] {x y z : V} (v : V), Sbtw R x y z → Sbtw R (x - v) (y - v) (z - v)

Alias of the reverse direction of sbtw_sub_const_iff.

theorem Sbtw.wbtw E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → Wbtw R x y z

theorem Sbtw.ne_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → y ≠ x

theorem Sbtw.left_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → x ≠ y

theorem Sbtw.ne_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → y ≠ z

theorem Sbtw.right_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → z ≠ y

theorem Sbtw.mem_image_Ioo E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Sbtw R x y z → y ∈ ⇑(AffineMap.lineMap x z) '' Set.Ioo 0 1

theorem Wbtw.mem_affineSpan E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Wbtw R x y z → y ∈ line[R, x, z]

theorem wbtw_self_left E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), Wbtw R x x y

theorem wbtw_self_right E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), Wbtw R x y y

theorem wbtw_self_iff E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y : P}, Wbtw R x y x ↔ y = x

theorem affineSegment.lift E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [ZeroLEOneClass R] (R' : Type u_6) [inst_6 : Ring R']
  [inst_7 : PartialOrder R'] [inst_8 : Module R' V] [inst_9 : Module R' R] [IsScalarTower R' R V] [SMulPosMono R' R]
  (x y : P), affineSegment R' x y ⊆ affineSegment R x y

theorem Wbtw.lift E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [ZeroLEOneClass R] {R' : Type u_6} [inst_6 : Ring R']
  [inst_7 : PartialOrder R'] [inst_8 : Module R' V] [inst_9 : Module R' R] [IsScalarTower R' R V] [SMulPosMono R' R]
  {x y z : P}, Wbtw R' x y z → Wbtw R x y z

Lift a Wbtw predicate from one ring to another along a scalar tower.

theorem Sbtw.lift E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [ZeroLEOneClass R] {R' : Type u_6} [inst_6 : Ring R']
  [inst_7 : PartialOrder R'] [inst_8 : Module R' V] [inst_9 : Module R' R] [IsScalarTower R' R V] [SMulPosMono R' R]
  {x y z : P}, Sbtw R' x y z → Sbtw R x y z

Lift a Sbtw predicate from one ring to another along a scalar tower.

theorem not_sbtw_self_left E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y : P), ¬Sbtw R x x y

theorem not_sbtw_self_right E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] (x y : P), ¬Sbtw R x y y

theorem Wbtw.left_ne_right_of_ne_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Wbtw R x y z → y ≠ x → x ≠ z

theorem Wbtw.left_ne_right_of_ne_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Wbtw R x y z → y ≠ z → x ≠ z

theorem Sbtw.left_ne_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {x y z : P}, Sbtw R x y z → x ≠ z

theorem not_sbtw_self E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (x y : P), ¬Sbtw R x y x

theorem wbtw_zero_one_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] {x : R}, Wbtw R 0 x 1 ↔ x ∈ Set.Icc 0 1

theorem wbtw_one_zero_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {x : R}, Wbtw R 1 x 0 ↔ x ∈ Set.Icc 0 1

theorem sbtw_zero_one_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] {x : R}, Sbtw R 0 x 1 ↔ x ∈ Set.Ioo 0 1

theorem sbtw_one_zero_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {x : R}, Sbtw R 1 x 0 ↔ x ∈ Set.Ioo 0 1

theorem Wbtw.trans_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {w x y z : P},
  Wbtw R w y z → Wbtw R w x y → Wbtw R w x z

theorem Wbtw.trans_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {w x y z : P},
  Wbtw R w x z → Wbtw R x y z → Wbtw R w y z

theorem sbtw_iff_mem_image_Ioo_and_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Sbtw R x y z ↔ y ∈ ⇑(AffineMap.lineMap x z) '' Set.Ioo 0 1 ∧ x ≠ z

theorem wbtw_swap_left_iff E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y : P}
  (z : P), Wbtw R x y z ∧ Wbtw R y x z ↔ x = y

theorem wbtw_swap_right_iff E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] (x : P)
  {y z : P}, Wbtw R x y z ∧ Wbtw R x z y ↔ y = z

theorem wbtw_rotate_iff E0 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {y z : P}
  (x : P), Wbtw R x y z ∧ Wbtw R z x y ↔ x = y

theorem Wbtw.swap_left_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Wbtw R x y z → (Wbtw R y x z ↔ x = y)

theorem Wbtw.swap_right_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Wbtw R x y z → (Wbtw R x z y ↔ y = z)

theorem Wbtw.rotate_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Wbtw R x y z → (Wbtw R z x y ↔ x = y)

theorem Sbtw.not_swap_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Sbtw R x y z → ¬Wbtw R y x z

theorem Sbtw.not_swap_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Sbtw R x y z → ¬Wbtw R x z y

theorem Sbtw.not_rotate E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y z : P},
  Sbtw R x y z → ¬Wbtw R z x y

theorem wbtw_lineMap_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y : P}
  {r : R}, Wbtw R x ((AffineMap.lineMap x y) r) y ↔ x = y ∨ r ∈ Set.Icc 0 1

theorem sbtw_lineMap_iff E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {x y : P}
  {r : R}, Sbtw R x ((AffineMap.lineMap x y) r) y ↔ x ≠ y ∧ r ∈ Set.Ioo 0 1

theorem wbtw_mul_sub_add_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] [IsOrderedRing R] [IsDomain R] {x y r : R},
  Wbtw R x (r * (y - x) + x) y ↔ x = y ∨ r ∈ Set.Icc 0 1

theorem sbtw_mul_sub_add_iff E0 #

∀ {R : Type u_1} [inst : Ring R] [inst_1 : PartialOrder R] [IsOrderedRing R] [IsDomain R] {x y r : R},
  Sbtw R x (r * (y - x) + x) y ↔ x ≠ y ∧ r ∈ Set.Ioo 0 1

theorem Wbtw.trans_sbtw_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Wbtw R w y z → Sbtw R w x y → Sbtw R w x z

theorem Wbtw.trans_sbtw_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Wbtw R w x z → Sbtw R x y z → Sbtw R w y z

theorem Sbtw.trans_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Sbtw R w y z → Sbtw R w x y → Sbtw R w x z

theorem Sbtw.trans_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Sbtw R w x z → Sbtw R x y z → Sbtw R w y z

theorem Wbtw.trans_left_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Wbtw R w y z → Wbtw R w x y → y ≠ z → x ≠ z

theorem Wbtw.trans_right_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Wbtw R w x z → Wbtw R x y z → w ≠ x → w ≠ y

theorem Sbtw.trans_wbtw_left_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Sbtw R w y z → Wbtw R w x y → x ≠ z

theorem Sbtw.trans_wbtw_right_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {w x y z : P}, Sbtw R w x z → Wbtw R x y z → w ≠ y

theorem Sbtw.affineCombination_of_mem_affineSpan_pair E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {ι : Type u_6} {p : ι → P},
  AffineIndependent R p →
    ∀ {w w₁ w₂ : ι → R} {s : Finset ι},
      ∑ i ∈ s, w i = 1 →
        ∑ i ∈ s, w₁ i = 1 →
          ∑ i ∈ s, w₂ i = 1 →
            (Finset.affineCombination R s p) w ∈
                line[R, (Finset.affineCombination R s p) w₁, (Finset.affineCombination R s p) w₂] →
              ∀ {i : ι},
                i ∈ s →
                  Sbtw R (w₁ i) (w i) (w₂ i) →
                    Sbtw R ((Finset.affineCombination R s p) w₁) ((Finset.affineCombination R s p) w)
                      ((Finset.affineCombination R s p) w₂)

theorem Affine.Simplex.closedInterior_eq_affineSegment E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (s : Affine.Simplex R P 1),
  s.closedInterior = affineSegment R (s.points 0) (s.points 1)

The closed interior of a 1-simplex is a segment between its vertices.

theorem Affine.Simplex.mem_closedInterior_iff_wbtw E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {s : Affine.Simplex R P 1} {p : P},
  p ∈ s.closedInterior ↔ Wbtw R (s.points 0) p (s.points 1)

A point lies in the closed interior of a 1-simplex if and only if it lies weakly between its vertices.

theorem Affine.Simplex.closedInterior_face_eq_affineSegment E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {n : ℕ} (s : Affine.Simplex R P n)
  {i j : Fin (n + 1)} (h : i ≠ j), (s.face ⋯).closedInterior = affineSegment R (s.points i) (s.points j)

The closed interior of a 1-dimensional face of a simplex is a segment between its vertices.

theorem Affine.Simplex.mem_closedInterior_face_iff_wbtw E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] {n : ℕ} (s : Affine.Simplex R P n) {p : P}
  {i j : Fin (n + 1)} (h : i ≠ j), p ∈ (s.face ⋯).closedInterior ↔ Wbtw R (s.points i) p (s.points j)

A point lies in the closed interior of a 1-dimensional face of a simplex if and only if it lies weakly between its vertices.

theorem Affine.Simplex.interior_eq_image_Ioo E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] (s : Affine.Simplex R P 1),
  s.interior = ⇑(AffineMap.lineMap (s.points 0) (s.points 1)) '' Set.Ioo 0 1

The interior of a 1-simplex is a segment between its vertices.

theorem Affine.Simplex.mem_interior_iff_sbtw E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V]
  {s : Affine.Simplex R P 1} {p : P}, p ∈ s.interior ↔ Sbtw R (s.points 0) p (s.points 1)

A point lies in the interior of a 1-simplex if and only if it lies strictly between its vertices.

theorem Affine.Simplex.mem_interior_face_iff_sbtw E0 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] [IsOrderedRing R] [IsDomain R] [Module.IsTorsionFree R V] {n : ℕ}
  (s : Affine.Simplex R P n) {p : P} {i j : Fin (n + 1)} (h : i ≠ j),
  p ∈ (s.face ⋯).interior ↔ Sbtw R (s.points i) p (s.points j)

A point lies in the interior of a 1-dimensional face of a simplex if and only if it lies strictly between its vertices.

theorem Wbtw.sameRay_vsub E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : CommRing R] [inst_1 : PartialOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → SameRay R (y -ᵥ x) (z -ᵥ y)

theorem Wbtw.sameRay_vsub_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : CommRing R] [inst_1 : PartialOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → SameRay R (y -ᵥ x) (z -ᵥ x)

theorem Wbtw.sameRay_vsub_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : CommRing R] [inst_1 : PartialOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → SameRay R (z -ᵥ x) (z -ᵥ y)

theorem sbtw_of_sbtw_of_sbtw_of_mem_affineSpan_pair E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Ring R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] [Module.IsTorsionFree R V]
  {t : Affine.Triangle R P} {i₁ i₂ i₃ : Fin 3},
  i₁ ≠ i₂ →
    ∀ {p₁ p₂ p : P},
      Sbtw R (t.points i₂) p₁ (t.points i₃) →
        Sbtw R (t.points i₁) p₂ (t.points i₃) →
          p ∈ line[R, t.points i₁, p₁] → p ∈ line[R, t.points i₂, p₂] → Sbtw R (t.points i₁) p p₁

Suppose lines from two vertices of a triangle to interior points of the opposite side meet at p. Then p lies in the interior of the first (and by symmetry the other) segment from a vertex to the point on the opposite side.

theorem wbtw_iff_of_le E1 #

∀ {R : Type u_1} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {x y z : R},
  x ≤ z → (Wbtw R x y z ↔ x ≤ y ∧ y ≤ z)

theorem Wbtw.of_le_of_le E1 #

∀ {R : Type u_1} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {x y z : R},
  x ≤ y → y ≤ z → Wbtw R x y z

theorem Sbtw.of_lt_of_lt E1 #

∀ {R : Type u_1} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {x y z : R},
  x < y → y < z → Sbtw R x y z

theorem wbtw_iff_left_eq_or_right_mem_image_Ici E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z ↔ x = y ∨ z ∈ ⇑(AffineMap.lineMap x y) '' Set.Ici 1

theorem Wbtw.right_mem_image_Ici_of_left_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → x ≠ y → z ∈ ⇑(AffineMap.lineMap x y) '' Set.Ici 1

theorem Wbtw.right_mem_affineSpan_of_left_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → x ≠ y → z ∈ line[R, x, y]

theorem sbtw_iff_left_ne_and_right_mem_image_Ioi E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Sbtw R x y z ↔ x ≠ y ∧ z ∈ ⇑(AffineMap.lineMap x y) '' Set.Ioi 1

theorem Sbtw.right_mem_image_Ioi E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Sbtw R x y z → z ∈ ⇑(AffineMap.lineMap x y) '' Set.Ioi 1

theorem Sbtw.right_mem_affineSpan E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P}, Sbtw R x y z → z ∈ line[R, x, y]

theorem wbtw_iff_right_eq_or_left_mem_image_Ici E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z ↔ z = y ∨ x ∈ ⇑(AffineMap.lineMap z y) '' Set.Ici 1

theorem Wbtw.left_mem_image_Ici_of_right_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → z ≠ y → x ∈ ⇑(AffineMap.lineMap z y) '' Set.Ici 1

theorem Wbtw.left_mem_affineSpan_of_right_ne E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z → z ≠ y → x ∈ line[R, z, y]

theorem sbtw_iff_right_ne_and_left_mem_image_Ioi E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Sbtw R x y z ↔ z ≠ y ∧ x ∈ ⇑(AffineMap.lineMap z y) '' Set.Ioi 1

theorem Sbtw.left_mem_image_Ioi E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Sbtw R x y z → x ∈ ⇑(AffineMap.lineMap z y) '' Set.Ioi 1

theorem Sbtw.left_mem_affineSpan E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P}, Sbtw R x y z → x ∈ line[R, z, y]

theorem AffineSubspace.right_mem_of_wbtw E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P} {s : AffineSubspace R P},
  Wbtw R x y z → x ∈ s → y ∈ s → x ≠ y → z ∈ s

theorem wbtw_smul_vadd_smul_vadd_of_nonneg_of_le E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  0 ≤ r₁ → r₁ ≤ r₂ → Wbtw R x (r₁ • v +ᵥ x) (r₂ • v +ᵥ x)

theorem wbtw_or_wbtw_smul_vadd_of_nonneg E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  0 ≤ r₁ → 0 ≤ r₂ → Wbtw R x (r₁ • v +ᵥ x) (r₂ • v +ᵥ x) ∨ Wbtw R x (r₂ • v +ᵥ x) (r₁ • v +ᵥ x)

theorem wbtw_smul_vadd_smul_vadd_of_nonpos_of_le E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  r₁ ≤ 0 → r₂ ≤ r₁ → Wbtw R x (r₁ • v +ᵥ x) (r₂ • v +ᵥ x)

theorem wbtw_or_wbtw_smul_vadd_of_nonpos E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  r₁ ≤ 0 → r₂ ≤ 0 → Wbtw R x (r₁ • v +ᵥ x) (r₂ • v +ᵥ x) ∨ Wbtw R x (r₂ • v +ᵥ x) (r₁ • v +ᵥ x)

theorem wbtw_smul_vadd_smul_vadd_of_nonpos_of_nonneg E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  r₁ ≤ 0 → 0 ≤ r₂ → Wbtw R (r₁ • v +ᵥ x) x (r₂ • v +ᵥ x)

theorem wbtw_smul_vadd_smul_vadd_of_nonneg_of_nonpos E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x : P) (v : V) {r₁ r₂ : R},
  0 ≤ r₁ → r₂ ≤ 0 → Wbtw R (r₁ • v +ᵥ x) x (r₂ • v +ᵥ x)

theorem Wbtw.trans_left_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Wbtw R w y z → Wbtw R w x y → Wbtw R x y z

theorem Wbtw.trans_right_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Wbtw R w x z → Wbtw R x y z → Wbtw R w x y

theorem Sbtw.trans_left_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Sbtw R w y z → Sbtw R w x y → Sbtw R x y z

theorem Sbtw.trans_right_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Sbtw R w x z → Sbtw R x y z → Sbtw R w x y

theorem Wbtw.trans_expand_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Wbtw R w x y → Wbtw R x y z → x ≠ y → Wbtw R w x z

theorem Wbtw.trans_expand_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Wbtw R w x y → Wbtw R x y z → x ≠ y → Wbtw R w y z

theorem Sbtw.trans_expand_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Sbtw R w x y → Sbtw R x y z → Sbtw R w x z

theorem Sbtw.trans_expand_right E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {w x y z : P},
  Sbtw R w x y → Sbtw R x y z → Sbtw R w y z

theorem Wbtw.collinear E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [inst_2 : AddCommGroup V]
  [inst_3 : Module R V] [inst_4 : AddTorsor V P] {x y z : P}, Wbtw R x y z → Collinear R {x, y, z}

theorem Collinear.wbtw_or_wbtw_or_wbtw E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Collinear R {x, y, z} → Wbtw R x y z ∨ Wbtw R y z x ∨ Wbtw R z x y

theorem wbtw_iff_sameRay_vsub E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  Wbtw R x y z ↔ SameRay R (y -ᵥ x) (z -ᵥ y)

theorem wbtw_total_of_sameRay_vsub_left E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y z : P},
  SameRay R (y -ᵥ x) (z -ᵥ x) → Wbtw R x y z ∨ Wbtw R x z y

theorem AffineIndependent.not_wbtw_of_injective E1 #

∀ {R : Type u_1} {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {ι : Type u_6} (i j k : ι),
  Function.Injective ![i, j, k] → ∀ {T : ι → P}, AffineIndependent R T → ¬Wbtw R (T i) (T j) (T k)

If T is an affine independent family of points, then any 3 distinct points form a triangle.

theorem wbtw_pointReflection E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x y : P),
  Wbtw R y x ((AffineEquiv.pointReflection R x) y)

theorem sbtw_pointReflection_of_ne E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R]
  [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y : P},
  x ≠ y → Sbtw R y x ((AffineEquiv.pointReflection R x) y)

theorem wbtw_midpoint E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] (x y : P),
  Wbtw R x (midpoint R x y) y

theorem sbtw_midpoint_of_ne E1 #

∀ (R : Type u_1) {V : Type u_2} {P : Type u_4} [inst : Field R] [inst_1 : LinearOrder R]
  [inst_2 : IsStrictOrderedRing R] [inst_3 : AddCommGroup V] [inst_4 : Module R V] [inst_5 : AddTorsor V P] {x y : P},
  x ≠ y → Sbtw R x (midpoint R x y) y