Skip to content
Snippets Groups Projects
Commit 2782152e authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add lemma `top_infinite`.

parent b5798e60
No related branches found
No related tags found
No related merge requests found
......@@ -1145,6 +1145,11 @@ Section more_finite.
Proof. intros Hinf [xs ?] xs'. destruct (Hinf (xs ++ xs')). set_solver. Qed.
End more_finite.
Lemma top_infinite `{TopSet A C, Infinite A} : set_infinite ( : C).
Proof.
intros xs. exists (fresh xs). split; [set_solver|]. apply infinite_is_fresh.
Qed.
(** Sets of sequences of natural numbers *)
(* The set [seq_seq start len] of natural numbers contains the sequence
[start, start + 1, ..., start + (len-1)]. *)
......
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