[PATCH] Postinstall script ordering in setup - take 3

Robert Collins rbcollins@cygwin.com
Sun Mar 16 20:27:00 GMT 2003


On Mon, 2003-03-17 at 07:13, Igor Pechtchanski wrote:

> > And for clarity: my suggested tweak is also not sufficient to provide a
> > weak ordering.
> > Rob
> 
> Rob,
> 
> Your suggested tweak provides a total ordering.  The "unordered(x,y)"
> [!(x < y) && !(y < x)] relation is false for any x != y [since either
> (x < y) or (y < x) always holds].

For my example, yes. The problem is when you introduce z.

>   So all equivalence classes have one
> element: "unordered(x,x)" is always true.  You get transitivity trivially,
> as "unordered(x,y) && unordered(y,z)" is only true if x == y == z, and
> then you also have "unordered(x,z)".

But: we break the ordering transitivity.
> Transitivity
> x < y and y < z implies x < z [3]

y:= foo: gam
x:= gam
z:= bar: foo

both our operators give
x < y && y < z && !x < z
(dep)    (dep)    (alpha)

which isn't transitive.

Rob

-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030316/ea3bc2eb/attachment.sig>


More information about the Cygwin-apps mailing list