関数
Require Import power. Definition id_function {A : Type} : A -> A := fun a => a. Definition compose_functions {A B C : Type} (g : B -> C) (f : A -> B) : A -> C := fun a => g (f a). Section Functions. Context {A B : Type}. Variable f : A -> B. Definition injective : Prop := forall a a', f a = f a' -> a = a'. Definition surjective : Prop := forall b, exists a, f a = b. Definition bijective : Prop := injective /\ surjective. Definition isomorphic : Prop := exists g : B -> A, compose_functions g f = id_function /\ compose_functions f g = id_function. Definition preimage (S : power B) : power A := fun a => f a ∈ S. Definition image (S : power A) : power B := fun b => exists a, a ∈ S /\ f a = b. Definition pushforward (S : power A) : power B := fun b => forall a : A, f a = b -> a ∈ S. Definition pushforward' (S : power A) : power B := union (fun T => preimage T ⊆ S). End Functions. Definition isomorphism (A B : Type) : Type := { f : A -> B | isomorphic f }. Notation "A ≅ B" := (isomorphism A B) (at level 60, no associativity). Section Functions. Context {A B C : Type}. Variable f : A -> B. Variable g : B -> C.A, B, C: Type
f: A -> B
g: B -> C
S: power Cpreimage (compose_functions g f) S = preimage f (preimage g S)A, B, C: Type
f: A -> B
g: B -> C
S: power Cpreimage (compose_functions g f) S = preimage f (preimage g S)reflexivity. Qed. End Functions. Section Images. Context {A B : Type}. Variable f : A -> B.A, B, C: Type
f: A -> B
g: B -> C
S: power C(fun a : A => g (f a) ∈ S) = (fun a : A => f a ∈ (fun a0 : B => g a0 ∈ S))A, B: Type
f: A -> B
S, T: power BS ⊆ T -> preimage f S ⊆ preimage f TA, B: Type
f: A -> B
S, T: power BS ⊆ T -> preimage f S ⊆ preimage f TA, B: Type
f: A -> B
S, T: power B
H: S ⊆ T
x: A
H0: x ∈ preimage f Sx ∈ preimage f TA, B: Type
f: A -> B
S, T: power B
H: S ⊆ T
x: A
H0: S (f x)T (f x)assumption. Qed.A, B: Type
f: A -> B
S, T: power B
H: S ⊆ T
x: A
H0: S (f x)f x ∈ SA, B: Type
f: A -> B
S, T: power AS ⊆ T -> image f S ⊆ image f TA, B: Type
f: A -> B
S, T: power AS ⊆ T -> image f S ⊆ image f TA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
H0: x ∈ image f Sx ∈ image f TA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
H0: exists a : A, S a /\ f a = xexists a : A, T a /\ f a = xA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xexists a : A, T a /\ f a = xA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xT y /\ f y = xA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xT yA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xf y = xA, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xT yexact H1.A, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xy ∈ Sassumption. Qed.A, B: Type
f: A -> B
S, T: power A
H: S ⊆ T
x: B
y: A
H1: S y
H2: f y = xf y = xA, B: Type
f: A -> B
S: power Bimage f (preimage f S) ⊆ SA, B: Type
f: A -> B
S: power Bimage f (preimage f S) ⊆ SA, B: Type
f: A -> B
S: power B
x: B
H: x ∈ image f (preimage f S)x ∈ SA, B: Type
f: A -> B
S: power B
x: B
H: exists a : A, S (f a) /\ f a = xx ∈ SA, B: Type
f: A -> B
S: power B
x: B
y: A
H1: S (f y)
H2: f y = xx ∈ Sexact H1. Qed.A, B: Type
f: A -> B
S: power B
y: A
H1: S (f y)f y ∈ SA, B: Type
f: A -> B
S: power AS ⊆ preimage f (image f S)A, B: Type
f: A -> B
S: power AS ⊆ preimage f (image f S)A, B: Type
f: A -> B
S: power A
x: A
H: x ∈ Sx ∈ preimage f (image f S)A, B: Type
f: A -> B
S: power A
x: A
H: x ∈ Sexists a : A, S a /\ f a = f xsplit; [exact H | reflexivity]. Qed.A, B: Type
f: A -> B
S: power A
x: A
H: x ∈ SS x /\ f x = f xA, B: Type
f: A -> B
S: power A
T: power Bimage f S ⊆ T <-> S ⊆ preimage f TA, B: Type
f: A -> B
S: power A
T: power Bimage f S ⊆ T <-> S ⊆ preimage f TA, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ TS ⊆ preimage f TA, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f Timage f S ⊆ TA, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ TS ⊆ preimage f TA, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ TS ⊆ ?TA, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ T?T ⊆ preimage f Tapply preimage_of_image.A, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ TS ⊆ ?TA, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ Tpreimage f (image f S) ⊆ preimage f Texact H.A, B: Type
f: A -> B
S: power A
T: power B
H: image f S ⊆ Timage f S ⊆ TA, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f Timage f S ⊆ TA, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f Timage f S ⊆ ?TA, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f T?T ⊆ TA, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f Timage f S ⊆ ?Texact H.A, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f TS ⊆ ?Tapply image_of_preimage. Qed.A, B: Type
f: A -> B
S: power A
T: power B
H: S ⊆ preimage f Timage f (preimage f T) ⊆ TA, B: Type
f: A -> B
S: power Bsurjective f -> image f (preimage f S) = SA, B: Type
f: A -> B
S: power Bsurjective f -> image f (preimage f S) = SA, B: Type
f: A -> B
S: power B
H: surjective fimage f (preimage f S) = SA, B: Type
f: A -> B
S: power B
H: surjective fimage f (preimage f S) ⊆ SA, B: Type
f: A -> B
S: power B
H: surjective fS ⊆ image f (preimage f S)apply image_of_preimage.A, B: Type
f: A -> B
S: power B
H: surjective fimage f (preimage f S) ⊆ SA, B: Type
f: A -> B
S: power B
H: surjective fS ⊆ image f (preimage f S)A, B: Type
f: A -> B
S: power B
H: surjective f
x: B
H0: x ∈ Sx ∈ image f (preimage f S)A, B: Type
f: A -> B
S: power B
x: B
H: exists a : A, f a = x
H0: x ∈ Sx ∈ image f (preimage f S)A, B: Type
f: A -> B
S: power B
x: B
y: A
H1: f y = x
H0: x ∈ Sx ∈ image f (preimage f S)A, B: Type
f: A -> B
S: power B
x: B
y: A
H1: f y = x
H0: x ∈ Sy ∈ preimage f S /\ f y = xA, B: Type
f: A -> B
S: power B
y: A
H0: f y ∈ Sy ∈ preimage f S /\ f y = f ysplit; [exact H0 | reflexivity]. Qed.A, B: Type
f: A -> B
S: power B
y: A
H0: f y ∈ SS (f y) /\ f y = f yA, B: Type
f: A -> B
S: power Ainjective f -> preimage f (image f S) = SA, B: Type
f: A -> B
S: power Ainjective f -> preimage f (image f S) = SA, B: Type
f: A -> B
S: power A
H: injective fpreimage f (image f S) = SA, B: Type
f: A -> B
S: power A
H: injective fpreimage f (image f S) ⊆ SA, B: Type
f: A -> B
S: power A
H: injective fS ⊆ preimage f (image f S)A, B: Type
f: A -> B
S: power A
H: injective fpreimage f (image f S) ⊆ SA, B: Type
f: A -> B
S: power A
H: injective f
x: A
H0: x ∈ preimage f (image f S)x ∈ SA, B: Type
f: A -> B
S: power A
H: injective f
x: A
H0: f x ∈ image f Sx ∈ SA, B: Type
f: A -> B
S: power A
H: injective f
x, y: A
H0: y ∈ S
H1: f y = f xx ∈ SA, B: Type
f: A -> B
S: power A
H: injective f
x, y: A
H0: y ∈ S
H1: y = xx ∈ Sassumption.A, B: Type
f: A -> B
S: power A
H: injective f
x: A
H0: x ∈ Sx ∈ Sapply preimage_of_image. Qed.A, B: Type
f: A -> B
S: power A
H: injective fS ⊆ preimage f (image f S)A, B: Type
f: A -> B
S: power Apushforward f S = pushforward' f SA, B: Type
f: A -> B
S: power Apushforward f S = pushforward' f SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb ∈ pushforward' f SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward' f Sb ∈ pushforward f SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb ∈ pushforward' f SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb ∈ ⋃ (fun T : power B => preimage f T ⊆ S)A, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Ssingleton b ∈ (fun T : power B => preimage f T ⊆ S) /\ b ∈ singleton bA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Ssingleton b ∈ (fun T : power B => preimage f T ⊆ S)A, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb ∈ singleton bA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Ssingleton b ∈ (fun T : power B => preimage f T ⊆ S)A, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Spreimage f (singleton b) ⊆ SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f S
a: A
H0: a ∈ preimage f (singleton b)a ∈ SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f S
a: A
H0: f a = ba ∈ SA, B: Type
f: A -> B
S: power A
b: B
H: forall a : A, f a = b -> S a
a: A
H0: f a = ba ∈ Sassumption.A, B: Type
f: A -> B
S: power A
b: B
H: forall a : A, f a = b -> S a
a: A
H0: f a = bf a = bA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb ∈ singleton breflexivity.A, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward f Sb = bA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward' f Sb ∈ pushforward f SA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward' f Sforall a : A, f a = b -> S aA, B: Type
f: A -> B
S: power A
b: B
H: b ∈ pushforward' f S
a: A
H0: f a = bS aA, B: Type
f: A -> B
S: power A
b: B
T: power B
H1: T ∈ (fun T : power B => preimage f T ⊆ S)
H2: b ∈ T
a: A
H0: f a = bS aA, B: Type
f: A -> B
S: power A
b: B
T: power B
H1: preimage f T ⊆ S
H2: b ∈ T
a: A
H0: f a = bS aA, B: Type
f: A -> B
S: power A
T: power B
H1: preimage f T ⊆ S
a: A
H2: f a ∈ TS aapply H2. Qed. End Images.A, B: Type
f: A -> B
S: power A
T: power B
H1: preimage f T ⊆ S
a: A
H2: f a ∈ Ta ∈ preimage f T
TODO: pushforward は preimage の右随伴となるはずであり、これは随伴関手定理の具体例となるはずである。