🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #302

Re: Term rewriting and denotation

#302
From: Joshua D. Guttman
Date: Wed, 13 Jun 1990 20:41
31 lines
2245 bytes
In article <15484@dime.cs.umass.edu> yodaiken@freal.cs.umass.edu (victor yodaiken) writes:
>   In article <GUTTMAN.90Jun12105623@darjeeling.mitre.org> guttman@mitre.org (Joshua D. Guttman) writes:
>   >In article <15421@dime.cs.umass.edu> yodaiken@freal.cs.umass.edu (victor yodaiken) writes:
>   >   >This seems like an opportune time to put in a plug for the Primitive
>   >   >Recursive arithmetic [1]. 
>
>   >But doesn't PRA have the intrinsic problem that it contains much too small a
>   >set of functions?  
>
>   Too small for what? I have yet to see an example of a proposed or
>   implemented digital computer that can actually compute an unbounded search,
>   and do not understand why a programming language would need to be able to
>   expressive functions that are not feasible.  

An example too cheap to put much weight on is the non-terminating function 

(lambda (x)
  (let loop ((x x))
    (if #T
	(loop x)
	2)))

which is non PR simply because PR functions are total.  But I think a more
valuable point is that there are programming language idioms that (in the ideal
sense) allow many non-PR algorithms to be expressed, and which are too useful
to do without.  That is, to replace them by a PR expression that would do the
same computation in the cases of practical interest would require an impossibly
fine analysis of which cases will be of practical interest, and what
termination-guaranteeing conditions will be true in those cases.  

	Josh
Technical Details
Message-ID: <GUTTMAN.90Jun13164126@darjeeling.mitre.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!samsung!xylogics!merk!alliant!linus!guttman
References: <3417@rex.cs.tulane.edu> <1555@sys.uea.ac.uk> <15341@dime.cs.umass.edu> <3570@rex.cs.tulane.edu> <15421@dime.cs.umass.edu> <GUTTMAN.90Jun12105623@darjeeling.mitre.org> <15484@dime.cs.umass.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!samsung!xylogics!merk!alliant!linus!guttman
From: guttman@mitre.org (Joshua D. Guttman)
Newsgroups: comp.lang.functional
Subject: Re: Term rewriting and denotation
Message-ID: <GUTTMAN.90Jun13164126@darjeeling.mitre.org>
Date: 13 Jun 90 20:41:26 GMT
References: <3417@rex.cs.tulane.edu> <1555@sys.uea.ac.uk>
 <15341@dime.cs.umass.edu> <3570@rex.cs.tulane.edu>
 <15421@dime.cs.umass.edu> <GUTTMAN.90Jun12105623@darjeeling.mitre.org>
 <15484@dime.cs.umass.edu>
Sender: guttman@linus.mitre.org
Organization: Mitre Corporation, Bedford, MA.
Lines: 31
In-reply-to: yodaiken@freal.cs.umass.edu's message of 12 Jun 90 20:52:26 GMT