Re: deductive databases

From: VC <boston103_at_hotmail.com>
Date: Wed, 25 May 2005 22:04:56 -0400
Message-ID: <4YednbDsT_9bswjfRVn-jg_at_comcast.com>


Hi,

"Jan Hidders" <jan.hidders_at_REMOVETHIS.pandora.be> wrote in message news:WC7le.101230$Pg5.6146163_at_phobos.telenet-ops.be...
> Ok. I had to go back and do some reading and I think I understand now.
> What I still not understand is how compactness shows in this case (or even
> in the normal case) proves that you cannot express the transitive closure.

If memory serves, the usual proof goes like this:

Let's take a directed graph encoded as a binary relation R. Let's assume that TC(a,b) expresses the transitive closure of R and define an infinite set of propositions P0(a,b), P1(a,b), ..., where Pn says that there is *no* path of length 'n' from a to b. Now, consider an infinite set of propositions

{TC(a,b)} U {P0(a,b), P1(a,b),...}

Each finite subset of these propositions has a model and, by compactness, the whole set has a model too, But although TC(a,b) is true, in this model there is no path from a to b which means that TC(a,b) does not express transitive closure of the relation R.

> The proof for inexpressibility of TC I know works with Ehrenfeucht-Fraisse
> games, so I'm surprised that there is apparently a much simpeler way to
> prove it.
>

The EF game shows that transitive closure cannot be expressed in a first-order language even on *finite models* ( where the compactness theorem fails).

> -- Jan Hidders
Received on Thu May 26 2005 - 04:04:56 CEST

Original text of this message