Skip to content
Snippets Groups Projects
Commit 5728445c authored by Ralf Jung's avatar Ralf Jung
Browse files

generalize to two different types

parent 996a098d
No related branches found
No related tags found
No related merge requests found
...@@ -1046,7 +1046,7 @@ Section pred_finite_infinite. ...@@ -1046,7 +1046,7 @@ Section pred_finite_infinite.
(** If [f] is surjective onto [P], then pre-composing with [f] preserves (** If [f] is surjective onto [P], then pre-composing with [f] preserves
infinity. *) infinity. *)
Lemma pred_infinite_surj {A} (P : A Prop) (f : A A) : Lemma pred_infinite_surj {A B} (P : B Prop) (f : A B) :
( x, P x y, f y = x) ( x, P x y, f y = x)
pred_infinite P pred_infinite (P f). pred_infinite P pred_infinite (P f).
Proof. Proof.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment