cps & contification
Matthew Fluet
fluet@CS.Cornell.EDU
Tue, 30 Jan 2001 10:33:06 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-33463914-980868786=:5342
Content-Type: TEXT/PLAIN; charset=US-ASCII
> I have one proposal for further simplification. I think it is easier to avoid
> defining A' entirely. Instead, define a predicate Reach: Fun -> Bool so that
> Reach(f) iff there is a path of calls from fm to f. Then, instead of writing
> A'(f) = Unknown, write Reach(f) and instead of writing A'(f) = Uncalled, write
> not(Reach(f)).
I like this. I agree that the reasoning is a little easier.
> I find it easier to reason directly in terms of reach than going through A'.
> Following is a reworking of the framework. I also simplified the proof of
> Theorem 3 and combined Lemmas 4 and 5.
> Theorem 3: For all f in Fun, there is a path from Root to f in G.
> Proof:
> Either Reach(f) or not(Reach(f).
>
> If Reach(f), then there is a path of calls from fm to f. Every g in Fun on
> this path also has Reach(g). Hence every call on the path corresponds to an
> edge in Edge by fourth or fifth clause. Since (Root, fm) in Edge, there is a
> path from Root to f in G.
>
> If not(Reach(f)), then (Root, f) in Edge by third clause. Hence there is a path
> from Root to f in G.
In the Reach(f) case, we also have to note that (Root, j) in Edge for all
j in Jump, because some edges of the form (j, g) might be included by the
fifth clause.
> I guess you're working on the implementation as we speak?
Here it is. I did it as a replacement of the existing new analysis, but
if we really wanted to do comparisons with the two-phase analysis, it
should be simple enough.
---559023410-33463914-980868786=:5342
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="contify.new.fun"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.3.95.1010130103306.5342E@hoho.cs.cornell.edu>
Content-Description:
KCogQ29weXJpZ2h0IChDKSAxOTk3LTE5OTkgTkVDIFJlc2VhcmNoIEluc3RpdHV0ZS4NCiAqIFBs
ZWFzZSBzZWUgdGhlIGZpbGUgTElDRU5TRSBmb3IgbGljZW5zZSBpbmZvcm1hdGlvbi4NCiAqKQ0K
KCoNC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ICAgPT4gbGV0IA0KCQkJCSB2YWwgRnVuY0RhdGEuVCB7bm9kZSwgLi4ufSA9IGdldEZ1bmNEYXRh
IG5hbWUNCgkJCSAgICAgICBpbiANCgkJCQkgbm9kZSA6PSBOT05FDQoJCQkgICAgICAgZW5kKQ0K
CSAgZW5kDQoNCiAgICAgICgqIE5vdyBkZWZpbmUgYSBkaXJlY3RlZCBncmFwaCBHID0gKE5vZGUs
IEVkZ2UpIHdoZXJlDQogICAgICAgKiAgICAgIE5vZGUgPSBKdW1wIFUgRnVuIFUge1Jvb3R9DQog
ICAgICAgKiAgICAgIEVkZ2UgPSB7KFJvb3QsIGZtKX0NCiAgICAgICAqICAgICAgICAgICAgIFUg
eyhSb290LCBqKSB8IGogaW4gSnVtcH0NCiAgICAgICAqICAgICAgICAgICAgIFUgeyhSb290LCBm
KSB8IG5vdChSZWFjaChmKSl9DQogICAgICAgKiAgICAgICAgICAgICBVIHsoZiwgZykgfCAoZiwg
ZykgaW4gVCBhbmQgUmVhY2goZil9DQogICAgICAgKiAgICAgICAgICAgICBVIHsoaiwgZykgfCAo
ZiwgZywgaikgaW4gTiBhbmQgUmVhY2goZil9DQogICAgICAgKg0KICAgICAgICogTGV0IEQgYmUg
dGhlIGRvbWluYXRvciB0cmVlIG9mIEcgcm9vdGVkIGF0IFJvb3QuDQogICAgICAgKiBGb3IgZiBp
biBGdW4sIGxldCBpZG9tKGYpIGJlIHRoZSBwYXJlbnQgb2YgZiBpbiBELg0KICAgICAgICoNCiAg
ICAgICAqIERlZmluZSBhbiBhbmFseXNpcywgQSwgYmFzZWQgb24gQScgYW5kIEQgYXMgZm9sbG93
czoNCiAgICAgICAqICAgICAgQShmKSA9IA0KICAgICAgICogICAgICAgICAgIGlmIGlkb20oZikg
PSBSb290DQogICAgICAgKiAgICAgICAgICAgICB0aGVuIGlmIFJlYWNoKGYpIHRoZW4gVW5rbm93
biBlbHNlIFVuY2FsbGVkDQogICAgICAgKiAgICAgICAgICAgICBlbHNlIHRo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