Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. (* exercise 4.3 from Coq Art *)
  2.  
  3. Lemma all_perm :
  4. forall (A : Type) (P : A -> A -> Prop),
  5. (forall x y : A, P x y) ->
  6. forall x y : A, P y x.
  7. Proof.
  8. intros A P H x y.
  9. apply H.
  10. Qed.
  11.  
  12. Lemma resolution :
  13. forall (A : Type) (P Q R S : A -> Prop),
  14. (forall a : A, Q a -> R a -> S a) ->
  15. (forall b : A, P b -> Q b) ->
  16. forall c : A, P c -> R c -> S c.
  17. Proof.
  18. intros A P Q R S H H0 c H1 H2.
  19. apply H; try assumption.
  20. apply H0; assumption.
  21. Qed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement