From e8ac5908a339980996f0004a5790ce2d4b1313c5 Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Fri, 5 Mar 2021 20:38:50 +0100 Subject: [PATCH] Improve comment about `coPpick`. --- theories/coPset.v | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/theories/coPset.v b/theories/coPset.v index c8827f36..67ee2b03 100644 --- a/theories/coPset.v +++ b/theories/coPset.v @@ -238,8 +238,11 @@ Proof. Defined. (** * Pick element from infinite sets *) -(* Implemented using depth-first search, which results in very unbalanced -trees. *) +(* The function [coPpick X] gives an element that is in the set [X], provided +that the set [X] is infinite. Note that [coPpick] function is implemented by +depth-first search, so using it repeatedly to obtain elements [x], and +inserting these elements [x] into the set [X], will give rise to a very +unbalanced tree. *) Fixpoint coPpick_raw (t : coPset_raw) : option positive := match t with | coPLeaf true | coPNode true _ _ => Some 1 -- GitLab