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
1 merge request!225add pred_infinite_surj
......@@ -1046,7 +1046,7 @@ Section pred_finite_infinite.
(** If [f] is surjective onto [P], then pre-composing with [f] preserves
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)
pred_infinite P pred_infinite (P f).
Proof.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment