theorem
Chapter3.SetTheory.Set.image_eq_image
[SetTheory]
{X Y : Set}
(f : X.toSubtype → Y.toSubtype)
(S : Set)
:
Connection with Mathlib's notion of image. Note the need to utilize the Subtype.val coercion
to make everything type consistent.
@[reducible, inline]
Example 3.4.2
Equations
Instances For
@[reducible, inline]
abbrev
Chapter3.SetTheory.Set.preimage
[SetTheory]
{X Y : Set}
(f : X.toSubtype → Y.toSubtype)
(U : Set)
:
Definition 3.4.4 (inverse images).
Again, it is not required that U be a subset of Y.
Equations
- Chapter3.SetTheory.Set.preimage f U = X.specify fun (x : X.toSubtype) => ↑(f x) ∈ U
Instances For
@[implicit_reducible]
Equations
Equations
- ↑f = (Chapter3.SetTheory.function_to_object X Y) f
Instances For
@[implicit_reducible]
This coercion has to be a CoeOut rather than a
Coe because the input type X → Y contains
parameters not present in the output type Object
Equations
Remark 3.4.11
theorem
Chapter3.SetTheory.Set.preimage_eq_image_of_inv
[SetTheory]
{X Y V : Set}
(f : X.toSubtype → Y.toSubtype)
(f_inv : Y.toSubtype → X.toSubtype)
(hf : Function.LeftInverse f_inv f ∧ Function.RightInverse f_inv f)
(hV : V ⊆ Y)
:
Exercise 3.4.1
@[simp]
Helper lemma for Exercise 3.4.7.