斯科特连续函数:替代定义


16

我真的很挣扎于此属性:

相干空间,f C l X C l Y 为单调函数。˚F是连续的,当且仅当˚F X d X = X d ˚F X ,对于所有的,使得是一个有向集。X,Yf:Cl(X)Cl(Y)ff(xDx)=xDf(x)DCl(X)D

向集合被这样定义:偏序是一个有向组当且仅当这样和。Ç X 表示X的派系:{ X ⊆ | X | | b X 一个连贯b }Dx,xD zDxzxz
Cl(X){x|X|a,bxab}

许多书都将其定义为Scott连续函数的定义,但不幸的是,不是我的老师。他给了我们连续的定义:

是连续当且仅当它是单调和X Ç X b ˚F X X 0 ˚F Ñ X b ˚F X 0, 其中单调定义为: ˚F是单调的当且仅当一个f:Cl(X)Cl(Y)xCl(X),bf(x),x0finx,bf(x0)
fabf(a)f(b)

这是我提出的证明,但我不明白最后一个等式。

证明连续意味着˚F d = ˚F d ff(D)=f(D)
。由连续性的定义,X 0 ˚F Ñ X | b ˚F X 0。请注意,X 0是联盟 { X | X d }bf(D)x0finxbf(x0)x0{xixiD}
如果是直接的,那么:ž d | X ž然后X 0ž。由单调的定义,˚F X 0˚F ż 这样b ˚F ż (???)˚F d 。即使这是真的,我们应该显示˚F d = ˚F dDzDxizx0zf(x0)f(z)bf(z) f(D),而不仅仅是f(D)=f(D)

其他含义的证明甚至更糟,所以我不能在这里写...您能向我解释证明如何工作吗?


5
@Raphael:这显然是计算机科学。这些概念用于赋予编程语言语义。相干空间为线性逻辑提供语义。原始论文出现在TCS中。
戴夫·克拉克

4
@Raphael:我认为这不是绝对必要的。Scott连续性页面上指出:“ Scott连续函数出现在计算机程序的指称语义研究中。”
戴夫·克拉克

1
@Raphael:一般规则很可能是这样,但这不适用于这个问题,我已经说过了。
戴夫·克拉克2012年

4
@Raphael我向您保证,这是有关指称语义的问题。斯科特的连续性以计算机科学家的名字命名,这是有原因的(嗯,斯科特跨越了数学和CS之间的边界,但这是他的CS工作)。
吉尔(Gilles)'所以

2
什么是Cl(•)?我将其作为闭包,但这令人困惑,因为此设置的要点似乎是关闭有向集。
路易(Louis)

Answers:


11

The definition of continuity used by your teacher is the nicer one. It tells you pretty concretely what continuity means.

Suppose bf(x). That means that given all the information of x, possibly an infinite set of tokens (atoms), the function produces some element that has the atomic piece of information b. (It could have other information too, but we are not concerned with that at the moment.) Your teacher's definition says that it is not necessary to look at all the infinite information of x in order to produce the output information b. Some finite subset of x is enough to produce it.

(Melvin Fitting的书“可计算性理论,语义和逻辑编程”,牛津,1987年,将此特性称为紧凑性,并将连续函数定义为单调和紧凑型。)

这是连续性的本质。要获得有关函数输出的有限信息,您只需要有关输入的有限信息。通过将函数为无限输入的所有有限近似值生成的信息拼凑在一起,可以获得函数为无限输入产生的输出。换句话说,从有限逼近到它们的无限并集,不会有任何神奇的跳跃。无论您获得无限远,您都应该已经处于有限的阶段。

The standard equation f(xDx)=xDf(x) is pretty to look at, but it doesn't tell you all the intuition I have explained above. However, mathematically, it is equivalent to your teacher's definition.

xDf(x)f(xDx), it is enough to show that f(x) is included in f(xDx), for each xD. But that follows directly from monotonicity of f because xxDx. So, this is the "easy" direction.

f(xDx)xDf(x). To see this, use the intuition I have mentioned above. Any atomic piece of information b in the left hand side comes from some finite approximation of the input: x0finxDx. That is, bf(x0). Since x0x0x0 itself. Call that element z. By monotonicity, f(x0)f(z). So, bf(z). Since zD, f(z)xDf(x). So, now b is seen to be in the right hand side too. QED.

As you have noted, showing that your teacher's continuity implies the pretty equation is the easy bit. The harder bit is to show that the pretty equation, despite looking like it is not saying very much, really does say everything in your teacher's definition.


1
The other definition may be less concrete, but it works more generally, whereas the one used by the teacher requires algebraic domains.
Andrej Bauer

4

It occurred to me belatedly, after I wrote the last response, that the teacher's definition of continuity that I was explaining in my response is the topological notion of continuity. The algebraic formulation of continuity that is usually mentioned in Computer Science text books hides all the topological intuitions. (In fact, Dana Scott has often written that he has deliberately avoided topological formulations because Computer Scientists are not familiar with it.)

The linkage between the algebraic and topological formulations is called Stone duality, and it is now becoming increasingly clear that this linkage itself is extremely important for Computer Science.

For a conceptual exposition of these connections (and a lot more), See Abramsky's Information, processes and games.


Why don't you edit this into your older answer?
Raphael

@Raphael, generally I think it is fine to post multiple answers when they are different answers to the question. (This one seems a little bit on border though.)
Kaveh

I post a separate "answer" when I think people that might have already read the old answer could perhaps benefit from the new one. I think Stone duality is a big deal, and we seem to do it all the time without thinking about it consciously.
Uday Reddy
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.