Section function_evaluation_proof.
Variable F X Y : Ens.
Hypothesis f : is_a_function F.
Hypothesis i : IN (PAIR X Y) F.
Let Z := EV F X.
Let step1 : IN X (Domain F).
Proof Domain_th1 F X Y i.
Let step2 : IN (PAIR X Z) F.
Proof EV_th1 F X step1.
Proof function_well_definedness F f X Y Z i step2.
End function_evaluation_proof.
Proof fe_Out.
(************* restricted_to ***********)
Definition restricted_to (A F : Ens) :=
Set_Of F (fun M : Ens => IN (PR1 M) A).

Theorem restricted_to_th1 :
forall (A F U : Ens) (i : IN U F) (j : IN (PR1 U) A),
IN U (restricted_to A F).