Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Require Import Coq.Sets.Image.
  2.  
  3. Theorem injective_trans:
  4. forall A B C (f: A -> B) (g:B -> C) (h:A -> C),
  5. (forall x, h x = g (f x)) -> injective A B f -> injective B C g -> injective A C h.
  6. Proof.
  7. intros A B C f g h H_h_equal_g_f H_f_injective H_g_injective.
  8. unfold injective in *.
  9. intros x y H_h_x_y.
  10. apply H_f_injective.
  11. apply H_g_injective.
  12. rewrite <- H_h_equal_g_f.
  13. rewrite <- H_h_equal_g_f.
  14. apply H_h_x_y.
  15. Qed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement