mathlib documentation

data.set.intervals.image_preimage

(Pre)images of intervals #

In this file we prove a bunch of trivial lemmas like “if we add a to all points of [b, c], then we get [a + b, a + c]”. For the functions x ↦ x ± a, x ↦ a ± x, and x ↦ -x we prove lemmas about preimages and images of all intervals. We also prove a few lemmas about images under x ↦ a * x, x ↦ x * a and x ↦ x⁻¹.

The lemmas in this section state that addition maps intervals bijectively. The typeclass has_exists_add_of_le is defined specifically to make them work when combined with ordered_cancel_add_comm_monoid; the lemmas below therefore apply to all ordered_add_comm_group, but also to and ℝ≥0, which are not groups.

TODO : move as much as possible in this file to the setting of this weaker typeclass.

theorem set.Icc_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a b d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Icc a b) (set.Icc (a + d) (b + d))
theorem set.Ioo_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a b d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Ioo a b) (set.Ioo (a + d) (b + d))
theorem set.Ioc_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a b d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Ioc a b) (set.Ioc (a + d) (b + d))
theorem set.Ico_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a b d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Ico a b) (set.Ico (a + d) (b + d))
theorem set.Ici_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Ici a) (set.Ici (a + d))
theorem set.Ioi_add_bij {α : Type u} [ordered_cancel_add_comm_monoid α] [has_exists_add_of_le α] (a d : α) :
set.bij_on (λ (_x : α), _x + d) (set.Ioi a) (set.Ioi (a + d))

Preimages under x ↦ a + x #

@[simp]
theorem set.preimage_const_add_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) ⁻¹' set.Ici b = set.Ici (b - a)
@[simp]
theorem set.preimage_const_add_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) ⁻¹' set.Ioi b = set.Ioi (b - a)
@[simp]
theorem set.preimage_const_add_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) ⁻¹' set.Iic b = set.Iic (b - a)
@[simp]
theorem set.preimage_const_add_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) ⁻¹' set.Iio b = set.Iio (b - a)
@[simp]
theorem set.preimage_const_add_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) ⁻¹' set.Icc b c = set.Icc (b - a) (c - a)
@[simp]
theorem set.preimage_const_add_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) ⁻¹' set.Ico b c = set.Ico (b - a) (c - a)
@[simp]
theorem set.preimage_const_add_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) ⁻¹' set.Ioc b c = set.Ioc (b - a) (c - a)
@[simp]
theorem set.preimage_const_add_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) ⁻¹' set.Ioo b c = set.Ioo (b - a) (c - a)

Preimages under x ↦ x + a #

@[simp]
theorem set.preimage_add_const_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) ⁻¹' set.Ici b = set.Ici (b - a)
@[simp]
theorem set.preimage_add_const_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) ⁻¹' set.Ioi b = set.Ioi (b - a)
@[simp]
theorem set.preimage_add_const_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) ⁻¹' set.Iic b = set.Iic (b - a)
@[simp]
theorem set.preimage_add_const_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) ⁻¹' set.Iio b = set.Iio (b - a)
@[simp]
theorem set.preimage_add_const_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) ⁻¹' set.Icc b c = set.Icc (b - a) (c - a)
@[simp]
theorem set.preimage_add_const_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) ⁻¹' set.Ico b c = set.Ico (b - a) (c - a)
@[simp]
theorem set.preimage_add_const_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) ⁻¹' set.Ioc b c = set.Ioc (b - a) (c - a)
@[simp]
theorem set.preimage_add_const_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) ⁻¹' set.Ioo b c = set.Ioo (b - a) (c - a)

Preimages under x ↦ -x #

@[simp]
theorem set.preimage_neg_Ici {G : Type u} [ordered_add_comm_group G] (a : G) :
@[simp]
theorem set.preimage_neg_Iic {G : Type u} [ordered_add_comm_group G] (a : G) :
@[simp]
theorem set.preimage_neg_Ioi {G : Type u} [ordered_add_comm_group G] (a : G) :
@[simp]
theorem set.preimage_neg_Iio {G : Type u} [ordered_add_comm_group G] (a : G) :
@[simp]
theorem set.preimage_neg_Icc {G : Type u} [ordered_add_comm_group G] (a b : G) :
-set.Icc a b = set.Icc (-b) (-a)
@[simp]
theorem set.preimage_neg_Ico {G : Type u} [ordered_add_comm_group G] (a b : G) :
-set.Ico a b = set.Ioc (-b) (-a)
@[simp]
theorem set.preimage_neg_Ioc {G : Type u} [ordered_add_comm_group G] (a b : G) :
-set.Ioc a b = set.Ico (-b) (-a)
@[simp]
theorem set.preimage_neg_Ioo {G : Type u} [ordered_add_comm_group G] (a b : G) :
-set.Ioo a b = set.Ioo (-b) (-a)

Preimages under x ↦ x - a #

@[simp]
theorem set.preimage_sub_const_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) ⁻¹' set.Ici b = set.Ici (b + a)
@[simp]
theorem set.preimage_sub_const_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) ⁻¹' set.Ioi b = set.Ioi (b + a)
@[simp]
theorem set.preimage_sub_const_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) ⁻¹' set.Iic b = set.Iic (b + a)
@[simp]
theorem set.preimage_sub_const_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) ⁻¹' set.Iio b = set.Iio (b + a)
@[simp]
theorem set.preimage_sub_const_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) ⁻¹' set.Icc b c = set.Icc (b + a) (c + a)
@[simp]
theorem set.preimage_sub_const_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) ⁻¹' set.Ico b c = set.Ico (b + a) (c + a)
@[simp]
theorem set.preimage_sub_const_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) ⁻¹' set.Ioc b c = set.Ioc (b + a) (c + a)
@[simp]
theorem set.preimage_sub_const_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) ⁻¹' set.Ioo b c = set.Ioo (b + a) (c + a)

Preimages under x ↦ a - x #

@[simp]
theorem set.preimage_const_sub_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) ⁻¹' set.Ici b = set.Iic (a - b)
@[simp]
theorem set.preimage_const_sub_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) ⁻¹' set.Iic b = set.Ici (a - b)
@[simp]
theorem set.preimage_const_sub_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) ⁻¹' set.Ioi b = set.Iio (a - b)
@[simp]
theorem set.preimage_const_sub_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) ⁻¹' set.Iio b = set.Ioi (a - b)
@[simp]
theorem set.preimage_const_sub_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) ⁻¹' set.Icc b c = set.Icc (a - c) (a - b)
@[simp]
theorem set.preimage_const_sub_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) ⁻¹' set.Ico b c = set.Ioc (a - c) (a - b)
@[simp]
theorem set.preimage_const_sub_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) ⁻¹' set.Ioc b c = set.Ico (a - c) (a - b)
@[simp]
theorem set.preimage_const_sub_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) ⁻¹' set.Ioo b c = set.Ioo (a - c) (a - b)

Images under x ↦ a + x #

@[simp]
theorem set.image_const_add_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) '' set.Ici b = set.Ici (a + b)
@[simp]
theorem set.image_const_add_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) '' set.Iic b = set.Iic (a + b)
@[simp]
theorem set.image_const_add_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) '' set.Iio b = set.Iio (a + b)
@[simp]
theorem set.image_const_add_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a + x) '' set.Ioi b = set.Ioi (a + b)
@[simp]
theorem set.image_const_add_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) '' set.Icc b c = set.Icc (a + b) (a + c)
@[simp]
theorem set.image_const_add_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) '' set.Ico b c = set.Ico (a + b) (a + c)
@[simp]
theorem set.image_const_add_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) '' set.Ioc b c = set.Ioc (a + b) (a + c)
@[simp]
theorem set.image_const_add_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a + x) '' set.Ioo b c = set.Ioo (a + b) (a + c)

Images under x ↦ x + a #

@[simp]
theorem set.image_add_const_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) '' set.Ici b = set.Ici (b + a)
@[simp]
theorem set.image_add_const_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) '' set.Iic b = set.Iic (b + a)
@[simp]
theorem set.image_add_const_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) '' set.Iio b = set.Iio (b + a)
@[simp]
theorem set.image_add_const_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x + a) '' set.Ioi b = set.Ioi (b + a)
@[simp]
theorem set.image_add_const_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) '' set.Icc b c = set.Icc (b + a) (c + a)
@[simp]
theorem set.image_add_const_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) '' set.Ico b c = set.Ico (b + a) (c + a)
@[simp]
theorem set.image_add_const_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) '' set.Ioc b c = set.Ioc (b + a) (c + a)
@[simp]
theorem set.image_add_const_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x + a) '' set.Ioo b c = set.Ioo (b + a) (c + a)

Images under x ↦ -x #

theorem set.image_neg_Ici {G : Type u} [ordered_add_comm_group G] (a : G) :
theorem set.image_neg_Iic {G : Type u} [ordered_add_comm_group G] (a : G) :
theorem set.image_neg_Ioi {G : Type u} [ordered_add_comm_group G] (a : G) :
theorem set.image_neg_Iio {G : Type u} [ordered_add_comm_group G] (a : G) :
theorem set.image_neg_Icc {G : Type u} [ordered_add_comm_group G] (a b : G) :
theorem set.image_neg_Ico {G : Type u} [ordered_add_comm_group G] (a b : G) :
theorem set.image_neg_Ioc {G : Type u} [ordered_add_comm_group G] (a b : G) :
theorem set.image_neg_Ioo {G : Type u} [ordered_add_comm_group G] (a b : G) :

Images under x ↦ a - x #

@[simp]
theorem set.image_const_sub_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) '' set.Ici b = set.Iic (a - b)
@[simp]
theorem set.image_const_sub_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) '' set.Iic b = set.Ici (a - b)
@[simp]
theorem set.image_const_sub_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) '' set.Ioi b = set.Iio (a - b)
@[simp]
theorem set.image_const_sub_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), a - x) '' set.Iio b = set.Ioi (a - b)
@[simp]
theorem set.image_const_sub_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) '' set.Icc b c = set.Icc (a - c) (a - b)
@[simp]
theorem set.image_const_sub_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) '' set.Ico b c = set.Ioc (a - c) (a - b)
@[simp]
theorem set.image_const_sub_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) '' set.Ioc b c = set.Ico (a - c) (a - b)
@[simp]
theorem set.image_const_sub_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), a - x) '' set.Ioo b c = set.Ioo (a - c) (a - b)

Images under x ↦ x - a #

@[simp]
theorem set.image_sub_const_Ici {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) '' set.Ici b = set.Ici (b - a)
@[simp]
theorem set.image_sub_const_Iic {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) '' set.Iic b = set.Iic (b - a)
@[simp]
theorem set.image_sub_const_Ioi {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) '' set.Ioi b = set.Ioi (b - a)
@[simp]
theorem set.image_sub_const_Iio {G : Type u} [ordered_add_comm_group G] (a b : G) :
(λ (x : G), x - a) '' set.Iio b = set.Iio (b - a)
@[simp]
theorem set.image_sub_const_Icc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) '' set.Icc b c = set.Icc (b - a) (c - a)
@[simp]
theorem set.image_sub_const_Ico {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) '' set.Ico b c = set.Ico (b - a) (c - a)
@[simp]
theorem set.image_sub_const_Ioc {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) '' set.Ioc b c = set.Ioc (b - a) (c - a)
@[simp]
theorem set.image_sub_const_Ioo {G : Type u} [ordered_add_comm_group G] (a b c : G) :
(λ (x : G), x - a) '' set.Ioo b c = set.Ioo (b - a) (c - a)

Bijections #

theorem set.Iic_add_bij {G : Type u} [ordered_add_comm_group G] (a b : G) :
set.bij_on (λ (_x : G), _x + a) (set.Iic b) (set.Iic (b + a))
theorem set.Iio_add_bij {G : Type u} [ordered_add_comm_group G] (a b : G) :
set.bij_on (λ (_x : G), _x + a) (set.Iio b) (set.Iio (b + a))

Multiplication and inverse in a field #

@[simp]
theorem set.preimage_mul_const_Iio {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Iio a = set.Iio (a / c)
@[simp]
theorem set.preimage_mul_const_Ioi {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Ioi a = set.Ioi (a / c)
@[simp]
theorem set.preimage_mul_const_Iic {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Iic a = set.Iic (a / c)
@[simp]
theorem set.preimage_mul_const_Ici {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Ici a = set.Ici (a / c)
@[simp]
theorem set.preimage_mul_const_Ioo {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Ioo a b = set.Ioo (a / c) (b / c)
@[simp]
theorem set.preimage_mul_const_Ioc {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Ioc a b = set.Ioc (a / c) (b / c)
@[simp]
theorem set.preimage_mul_const_Ico {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Ico a b = set.Ico (a / c) (b / c)
@[simp]
theorem set.preimage_mul_const_Icc {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) ⁻¹' set.Icc a b = set.Icc (a / c) (b / c)
@[simp]
theorem set.preimage_mul_const_Iio_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Iio a = set.Ioi (a / c)
@[simp]
theorem set.preimage_mul_const_Ioi_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Ioi a = set.Iio (a / c)
@[simp]
theorem set.preimage_mul_const_Iic_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Iic a = set.Ici (a / c)
@[simp]
theorem set.preimage_mul_const_Ici_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Ici a = set.Iic (a / c)
@[simp]
theorem set.preimage_mul_const_Ioo_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Ioo a b = set.Ioo (b / c) (a / c)
@[simp]
theorem set.preimage_mul_const_Ioc_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Ioc a b = set.Ico (b / c) (a / c)
@[simp]
theorem set.preimage_mul_const_Ico_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Ico a b = set.Ioc (b / c) (a / c)
@[simp]
theorem set.preimage_mul_const_Icc_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
(λ (x : k), x * c) ⁻¹' set.Icc a b = set.Icc (b / c) (a / c)
@[simp]
theorem set.preimage_const_mul_Iio {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
@[simp]
theorem set.preimage_const_mul_Ioi {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
@[simp]
theorem set.preimage_const_mul_Iic {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
@[simp]
theorem set.preimage_const_mul_Ici {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : 0 < c) :
@[simp]
theorem set.preimage_const_mul_Ioo {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
has_mul.mul c ⁻¹' set.Ioo a b = set.Ioo (a / c) (b / c)
@[simp]
theorem set.preimage_const_mul_Ioc {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
has_mul.mul c ⁻¹' set.Ioc a b = set.Ioc (a / c) (b / c)
@[simp]
theorem set.preimage_const_mul_Ico {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
has_mul.mul c ⁻¹' set.Ico a b = set.Ico (a / c) (b / c)
@[simp]
theorem set.preimage_const_mul_Icc {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
has_mul.mul c ⁻¹' set.Icc a b = set.Icc (a / c) (b / c)
@[simp]
theorem set.preimage_const_mul_Iio_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
@[simp]
theorem set.preimage_const_mul_Ioi_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
@[simp]
theorem set.preimage_const_mul_Iic_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
@[simp]
theorem set.preimage_const_mul_Ici_of_neg {k : Type u} [linear_ordered_field k] (a : k) {c : k} (h : c < 0) :
@[simp]
theorem set.preimage_const_mul_Ioo_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
has_mul.mul c ⁻¹' set.Ioo a b = set.Ioo (b / c) (a / c)
@[simp]
theorem set.preimage_const_mul_Ioc_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
has_mul.mul c ⁻¹' set.Ioc a b = set.Ico (b / c) (a / c)
@[simp]
theorem set.preimage_const_mul_Ico_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
has_mul.mul c ⁻¹' set.Ico a b = set.Ioc (b / c) (a / c)
@[simp]
theorem set.preimage_const_mul_Icc_of_neg {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : c < 0) :
has_mul.mul c ⁻¹' set.Icc a b = set.Icc (b / c) (a / c)
theorem set.image_mul_right_Icc' {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) '' set.Icc a b = set.Icc (a * c) (b * c)
theorem set.image_mul_right_Icc {k : Type u} [linear_ordered_field k] {a b c : k} (hab : a b) (hc : 0 c) :
(λ (x : k), x * c) '' set.Icc a b = set.Icc (a * c) (b * c)
theorem set.image_mul_left_Icc' {k : Type u} [linear_ordered_field k] {a : k} (h : 0 < a) (b c : k) :
has_mul.mul a '' set.Icc b c = set.Icc (a * b) (a * c)
theorem set.image_mul_left_Icc {k : Type u} [linear_ordered_field k] {a b c : k} (ha : 0 a) (hbc : b c) :
has_mul.mul a '' set.Icc b c = set.Icc (a * b) (a * c)
theorem set.image_mul_right_Ioo {k : Type u} [linear_ordered_field k] (a b : k) {c : k} (h : 0 < c) :
(λ (x : k), x * c) '' set.Ioo a b = set.Ioo (a * c) (b * c)
theorem set.image_mul_left_Ioo {k : Type u} [linear_ordered_field k] {a : k} (h : 0 < a) (b c : k) :
has_mul.mul a '' set.Ioo b c = set.Ioo (a * b) (a * c)
theorem set.image_inv_Ioo_0_left {k : Type u} [linear_ordered_field k] {a : k} (ha : 0 < a) :

The image under inv of Ioo 0 a is Ioi a⁻¹.

Images under x ↦ a * x + b #

@[simp]
theorem set.image_affine_Icc' {k : Type u} [linear_ordered_field k] {a : k} (h : 0 < a) (b c d : k) :
(λ (x : k), a * x + b) '' set.Icc c d = set.Icc (a * c + b) (a * d + b)