comp.lang.ada
 help / color / mirror / Atom feed
From: stefan-lucks@see-the.signature
Subject: Re: Quantified Expressions: "some"
Date: Wed, 17 Nov 2010 12:33:21 +0100
Date: 2010-11-17T12:33:21+01:00	[thread overview]
Message-ID: <Pine.LNX.4.64.1011171230480.29263@medsec1.medien.uni-weimar.de> (raw)
In-Reply-To: <4ce31bb6$0$7670$9b4e6d93@newsspool1.arcor-online.net>

On Wed, 17 Nov 2010, Georg Bauhaus wrote:

> AI05-0176 explains two new expressions,
> 
>  (for all X in domain | P (X))
> 
> and
> 
>  (for some X in domain | P (X))

As a keyword-reuising alternative for "for some", Geor proposed

>  (for when X in domain | P (X))

This is really ill-readable, IMHO. As others in this thread have pointed
out, this may be read as "all", actually.

If you really really really wanted to avoid "some", use Mathematics:

    P holds for some X    <=>   not (not P holds for all X).

Thus, the expression

   (for some X in domain | P(X))

could be rephrased as

   (not (for all X in domain | not P(X)))

without any need for the word "some".

But honestly, I prefer to write "some" over using "not" twice.

Stefan


-- 
------ Stefan Lucks   --  Bauhaus-University Weimar  --   Germany  ------
               Stefan dot Lucks at uni minus weimar dot de
------  I  love  the  taste  of  Cryptanalysis  in  the  morning!  ------




      parent reply	other threads:[~2010-11-17 11:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  0:03 Quantified Expressions: "some" Georg Bauhaus
2010-11-17  6:31 ` AdaMagica
2010-11-17  8:25   ` Niklas Holsti
2010-11-17 12:29     ` Peter C. Chapin
2010-11-17 13:38       ` Georg Bauhaus
2010-11-17 10:46   ` Dmitry A. Kazakov
2010-11-17 12:05     ` (see below)
2010-11-17 13:38       ` Dmitry A. Kazakov
2010-11-17 14:16         ` Georg Bauhaus
2010-11-17 14:20           ` Dmitry A. Kazakov
2010-11-17 16:14             ` J-P. Rosen
2010-11-17 17:28               ` Dmitry A. Kazakov
2010-11-18  1:12                 ` Randy Brukardt
2010-11-18  8:47                   ` Dmitry A. Kazakov
2010-11-18  9:48                     ` AdaMagica
2010-11-18 10:07                       ` Dmitry A. Kazakov
2010-11-18 10:27                         ` AdaMagica
2010-11-18 13:24                       ` Niklas Holsti
2010-11-18 15:51                         ` Georg Bauhaus
2010-11-18 17:58                         ` Peter C. Chapin
2010-11-19 17:48                           ` Georg Bauhaus
2010-11-19 17:51                             ` Georg Bauhaus
2010-11-19 20:03                             ` Vinzent Hoefler
2010-12-19 10:04                               ` Andre
2010-11-17 11:33 ` stefan-lucks [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox