Revision as of 23:38, 22 June 2010 editUntalker (talk | contribs)104 edits tried to clean it up a bit by bringing in more recent work by Kowalski and Hewitt that provides a more unified frameowork.← Previous edit | Latest revision as of 08:47, 20 October 2024 edit undoCewbot (talk | contribs)Bots7,901,927 editsm Maintain {{WPBS}}: 2 WikiProject templates. The article is listed in the level 5 page: Software development: General.Tag: Talk banner shell conversion | ||
(120 intermediate revisions by 35 users not shown) | |||
Line 1: | Line 1: | ||
{{Talk header}} | |||
{{WikiProject Computing|class=B|importance=}} | |||
{{WikiProject |
{{WikiProject banner shell|class=C|vital=yes|1= | ||
{{WikiProject Computing |importance=Mid |science=yes |science-importance=Top |software=yes |software-importance=Mid}} | |||
{{WikiProject Computer science|importance=Top}} | |||
}} | |||
{{todo}} | |||
{{merged from|Relational programming}} | |||
== |
== Delete redirect ]? == | ||
Although logic programming and constraint programming are closely related, I don't believe it's accurate to treat them as synonyms, or one as a subtype of the other. I have drafted a couple of paragraphs to clarify the difference and suggest why one is more appropriate than the other in various problem domains. Question: since the two have already been conflated, and there are multiple redirects to this page, what is the best way to make them again distinct? | |||
] 02:05, 21 Apr 2004 (UTC) | |||
According to the header of this talk page, ] was merged to ]. However, the term "relation programming" isn't mentioned at ] at all, and apparently no content was actually merged when ] was turned into a redirect to ]. So perhaps ] should be deleted? – ] (]) 12:11, 30 June 2018 (UTC) | |||
:Hi, you're right, the two aren't synonyms. But I think they can be discussed on the same page. ]. -- ] 03:09, 21 Apr 2004 (UTC) | |||
:It would be better to add something about Relational programming here. The type of material we need is hinted at in {{url|http://wiki.c2.com/?RelationalProgramming}}. There was an but it's not very clear. At a minimum, we ought to have something that clarifies the connection between logic programming and relational programming. ] (]) 15:57, 30 June 2018 (UTC) | |||
:: "Relational programming" seems to be the name for logic programming, preferred by many functional programmers. See for example: Friedman, D.P., Byrd, W.E., Kiselyov, O. and Hemann, J., 2018. The reasoned schemer. MIT Press. Here is a quote from the MIT Press web page: "Summary A new edition of a book, written in a humorous question-and-answer style, that shows how to implement and use an elegant little programming language for logic programming. The goal of this book is to show the beauty and elegance of relational programming, which captures the essence of logic programming. The book shows how to implement a relational programming language in Scheme, or in any other functional language, and demonstrates the remarkable flexibility of the resulting relational programs."] (]) 15:26, 9 July 2018 (UTC) | |||
Hmm, is "commercial" an appropriate description of Mercury ? At least it's implementation is released under the GPL. Perhaps a better word might be "industrial-strength", "real-world" or something similar. (Mayhaps something about "programming-in-the-large", "robust", "modular" or something.) Just a Suggestion. ] 23:32, 29 Apr 2004 (CEST) | |||
:: A section, Relationship with relational programming, has now been added to the article, and the redirect has been changed to redirect to the section. <!-- Template:Unsigned --><small class="autosigned">— Preceding ] comment added by ] (] • ]) 14:43, 17 February 2024 (UTC)</small> | |||
==Title== | |||
I've never heard the phrase "logical programming" before reading this article. "Logic programming" gets 543,000 hits on google, "Logical programming" gets 5520, most of the first hits being derived from this article. I suggest we change. ---- ] 11:50, 24 Sep 2004 (UTC) | |||
== Include discussion of kanren, miniKanren, microKanren == | |||
:Just a thought after the fact: yes, logic programming is the accepted name. ] 22:00, 12 Dec 2004 (UTC) | |||
See an excellent overview of the , and don't forget Mercury, Curry, Gödel. ] (]) 22:23, 23 December 2019 (UTC) | |||
::Right: I asked ] to do the shift a couple of monyhs ago (see ]; I should have put a comment to that effect here. I think the name "logical programming" was started because it sounds more in keeping with the list on ]. ---- ] 09:35, 14 Dec 2004 (UTC) | |||
== The make Program is a Logical Programming Language == | |||
== Added discussion about claim to be declarative == | |||
make is a program that should be included in this discussion of Logical Programming. It is the most frequently used Logical Programming Language. ] (]) 22:11, 14 January 2022 (UTC) | |||
] reverted my contributions. | |||
:: I do not believe that ] is a logic programming language. Can you provide reliable sources that say otherwise? | |||
So I have added some discussion to the article.--] 05:39, 13 July 2005 (UTC) | |||
:] (]) 16:25, 5 March 2023 (UTC) | |||
::Here is a quote from Adams, P. and Solomon, M., 1993, An overview of the CAPITL software development environment. In ''International Workshop on Software Configuration Management'' (pp. 1-34). Berlin, Heidelberg: Springer Berlin Heidelberg. | |||
::"The similarity between the rules and dependency statements in a makefile and a logic programming language has been noted by others. Logic and logic-programming languages have been used as description languages and as the basis for build tools like Make. All these systems share the desire to use the power of logic languages for consistency checking and make good use of the richer data model provided by terms." | |||
::Unfortunately, the authors do not give any references for the "others" who have also noted the similarity. In any case, it is mentioned in the paper only as a similarity, rather than as an explicit instance. ] (]) 20:41, 10 October 2023 (UTC) | |||
== Restructuring the article == | |||
Okay so basically the two changes you made were: | |||
I have made a start on restructuring the article, mainly to acknowledge the greater importance of negation in the bodies of clauses. I started to edit the semantics subsection of the Concepts section. But it is now becoming too complicated, and I think it needs to be moved to the end of the section and after the subsection on negation. This is the new order that I propose for the Concepts section: Logic and Control, negation (and not just negation as failure), knowledge representation, problem solving, semantics and goal solution strategies. Maybe there should also be a subsection on LP and human thinking, reflecting the work of Stenning and van Lambalgen and others. See Stenning, K. and Van Lambalgen, M., 2012. Human reasoning and cognitive science. MIT Press. with 676 citations on google scholar.] (]) 09:44, 2 October 2023 (UTC) | |||
# Add reference to the ] | |||
# Delete reference to relevant literature. | |||
These and other changes have now been made. The most significant change is that the semantics subsection has been simplified, so that it now deals only with the Horn clause case, and it comes between the A=L+C and negation subsections. The problem solving subsection has been absorbed into the A=L+C section. The negation subsection now contains a discussion of the semantics of negation more generally. The metalogic programming subsection has been moved from Extensions to Concepts. A new subsection on LP and human thinking has been added. ] (]) 09:27, 2 December 2023 (UTC) | |||
I deleted the first one as that article does not explain ''at all'' that this has anything to do with logic programming, Adapt that page first and then add back the reference here. I re-added the second one because it refers to bakctracking, which is absolutely relevant. ] 12:05, 13 July 2005 (UTC) | |||
== Logic Programming != prolog == | |||
While this article reflects the early history of logic programming (and how many people) have come to see the term, in the academic community the term "Logic Programming" is typically applied to a much larger class of of system than those restricted to Horn Clauses. For instance, there has been a lot of recent(ish) interest in finite-domain nonmonotonic logic programming paradims like Gelfond & Lifschitz's stable models semantics http://citeseer.csail.mit.edu/gelfond88stable.html (Aka Answer Set programming or Datalog) and Disjunctive logic programming, both of which can account for both classical (i can show this isn't true) and epistemic (I can't show that this is true) negation, and disjunction in the heads of rules, while these systems are not turing complete (as they are limited to finite domains) they can be used for a lot of interesting problems because you aren't stuck with the constraints of programming in horn-clauses as you are with prolog. | |||
I'm not trying to criticise the existing article, but imho "Logic Programming" needs broadening a bit. | |||
::I concur that it would be good to broaden the discussion. Regards,--] 21:29, 31 October 2005 (UTC) | |||
::I certainly concur as well. I added a paragraph about linear logic programming to help make the point. I can add other issues about logic and declarativeness as I get a chance. -Dale Miller (9 Dec 2006) <small>—The preceding ] comment was added by ] (]) 10:25, 9 December 2006 (UTC).</small><!-- HagermanBot Auto-Unsigned --> | |||
:The pendulum has maybe swung too far the other way now: the history section doesn't regard the invention of PROLOG as worth a mention... --- ] 21:13, 31 October 2005 (UTC) | |||
::The history section discusses Kowalski's claims although perhaps too briefly. Regards,--] 21:29, 31 October 2005 (UTC) | |||
==Citations and references== | |||
IMO articles read better if we use the Harvard citation style together with a format for references which gives authors and dates together, eg. the APA style. So the first item: | |||
::*John McCarthy. '''Programs with common sense''' Symposium on Mechanization of Thoght Processes. National Physical Laboratory. Teddington, England. 1958. | |||
:becomes (with some copyedits) either: | |||
:#John McCarthy. (1959). 'Programs with common sense'. In ''Proceedings of the Symposium on Mechanisation of Thought Processes'' held at the National Physical Laboratory, Teddington (1958). London: HMO Stationery Office. | |||
:#::(the APA style) | |||
:#:or: | |||
:#John McCarthy, 1959. 'Programs with common sense'. In ''Proceedings of the Symposium on Mechanisation of Thought Processes'' held at the National Physical Laboratory, Teddington (1958). HMO Stationery Office, London. | |||
:#:(the style that I have been preferring, which just moves the date from the default latex position). | |||
I know Carl Hewitt has put many such references, and it may be more effort than he is willing to invest to change this, but I would like to begin to follow this referencing policy. Other "logic in CS/AI" articles have been following this, and Paolo Libertore has software allowing the automatic formatting of WP markup from .bib entries. | |||
Some other points of style: | |||
* When it exists, the date of publication should be preferred for references. So 1959, the date of publication of the proceedings is to be preferred to 1958, the date of McCarthy's talk. | |||
* Single quotes should be used for articles and contributions to edited volumes and italicised emphasis for names of books, journals and conference proceedings. Bold is generally too loud for references sections. | |||
If there is agreement to the above, I shall reformat the references section, at least for this article. --- ] 21:11, 31 October 2005 (UTC) | |||
:It is fine with me for you to reformat. Regards,--] 21:19, 31 October 2005 (UTC) | |||
==Rule-based programming== | |||
Whilst editing ], I've found that ] is redirected to ]. I think they are different enough to warrant separate articles. Specifically, the former form the basis of many computer algebra systems, which have comparatively little to do with logic programming. Is that fair? | |||
:Yes, this seems fair to me. Regards,--] 06:34, 29 November 2005 (UTC) | |||
==Opening Sentence== | |||
"Logic programming (sometimes called logical programming) is a programming paradigm that is claimed to be declarative (i.e., based on mathematical logic) but this claim is controversial (see Limitations of Prolog as logic programming below)." Prolog may be controversial, but incorporating such weirdness into the definition of logic programming isn't particularly helpful. This is an article about logic programming, and debates about which schools of practice best reflect logic programming should be down in the article body. | |||
Google definitions shows that this article once began with "Logic programming is a declarative programming paradigm in which a set of attributes that a solution should have are specified rather than set of steps to obtain such a solution. The most widely used logic programming language is Prolog. Other, more modern include Mercury, Visual Prolog, Oz and the Scientific Community Metaphor." This explains a bit more and I'm putting it back in modified version. Scientific Community Metaphor doesn't really seem to belong in this list, which is otherwise of programming languages~ I'm replacing it with ], which deserves mention. | |||
:The phrase ''declarative programming paradigm in which a set of attributes that a solution should have are specified rather than set of steps to obtain such a solution'' doesn't make much sense. So it has been replaced with more accurate statements.--] 09:10, 21 February 2006 (UTC) | |||
"There are two families of ]: an original sequential form ] and a later concurrent form." Concurrency has certainly entered into later implementations of logic programming languages, but if we're going to suggest that this is the defining factor that creates the two main families of programming languages, we had best put a source on this rather bold decision. Also it doesn't really belong in this top part. | |||
:Put in reference to Shapiro . Article needs to report on situation in Logic Programming in general, not just sequential backtracking dialects.--] 09:10, 21 February 2006 (UTC) | |||
Then what's this about "logical deduction was incapable of carrying out concurrent computation in open systems"? Perhaps there should be a section on concurrency and logic programming. If this relates more to Prolog specifically, which is not really such a good representation of logic programming anymore, then it could go into discussions on Prolog instead. | |||
:Good idea to put in section on Concurrency in Logic Programming.--] 09:10, 21 February 2006 (UTC) | |||
Thanks. ] 08:19, 21 February 2006 (UTC) | |||
---- | |||
"kind of programming that is related to mathematical logic" isn't a useful description (I've never heard of a programming language that isn't related to mathematical logic). Perhaps it's more accurate than "in which a set of attributes that a solution should have are specified rather than set of steps to obtain such a solution" but it's also more useless. Perhaps someone can come up with a better opening definition. The comment about the history of logic programming don't help explain what it is, either: those should go down in the history section. ] 09:13, 21 February 2006 (UTC) | |||
:Good idea to tighten this up. --] 09:50, 21 February 2006 (UTC) | |||
== Philosophy == | |||
The last section describes John McCarthy's advice taker proposal. This idea inspired many researchers working in Artificial Intelligence during the following years, myself included. I particularly remember Pat Hayes in Edinburgh visiting McCarthy in the late 60s to work with him on the advice taker. One result of this was the famous situation calculus paper, which appeared in 1969. Pat later contributed to the beginnings of logic programming, as the history section of this article mentions. | |||
The first paragraph quotes McCarthy as writing: | |||
"programs to manipulate in a suitable formal language (most likely a part of the predicate calculus) common instrumental statements. The basic program will draw immediate conclusions from a list of premises. These conclusions will be either declarative or imperative sentences. When an imperative sentence is deduced the program takes a corresponding action.” | |||
It is not obvious to me how this relates to logic programming as it is commonly understood, even in the broader sense of this article. In particular, the last sentence of the quote seems to be more of a description of condition-action rules in production systems than it is a description of logic programming. | |||
It could be said that production systems are the suitable formal language that McCarthy was describing, in which case this section is more appropriate for the ] article. On the other hand, the next paragraph of this section suggests that the section would be more appropriate for the article on ] or for a new article on the advice taker. | |||
] 12:21, 10 January 2007 (UTC) | |||
I recommend starting a new article on the advice taker with references to it from logic programming and common sense.] 14:40, 13 January 2007 (UTC) | |||
Perhaps what is needed here is a section on knowledge representation, which subsumes both this section and the applications section as well. ] 18:05, 13 January 2007 (UTC) | |||
I would totally agree with this, except that then a forced reference would be | |||
http://en.wikipedia.org/Knowledge_Representation which is not exactly very useful | |||
when it comes to philosophy. --] 21:40, 30 January 2007 (UTC) | |||
I deleted the philosophy section, which is now in the ] article. I agree that the knowledge representation section here needs to be expanded/changed. Also, there should be links to the ] article, from the ] and ], which are now missing. | |||
I deleted the Applications section, because it gives a misleading impression that logic programming has limited applications. A new section on Knowledge Representation is badly needed. Also a section on Problem-solving, i.e. different ways of executing logic programs, would be very useful. | |||
== Disputed == | |||
We've gone through this before. ] and company are among the few who believe that that part of concurrent programming that can be analyzed ''at all'' can be analyzed through mathematical logic. — ] | ] 16:24, 30 March 2007 (UTC) | |||
:It would be useful if you could provide citations to the published literature to support your dispute. --] 18:36, 30 March 2007 (UTC) | |||
::I claim that Hewitt, himself, is not a ] in the field. If you rewrite to state that ] claims that concurrent programming cannot be implemented through mathematical logic, or if you can find sources other than Hewitt and his students, I have no objection. — ] | ] 20:07, 30 March 2007 (UTC) | |||
:::The claim seems to have originated with Hewitt and his students. However, it has been published in the refereed literature many times and there does not appear to be any counterclaim in the published literature. What is the basis of your objection? --] 20:32, 30 March 2007 (UTC) | |||
::::What about Kowalski? ]? — ] | ] 21:46, 30 March 2007 (UTC) | |||
:::::I put in a clarification in ]. --] 22:25, 30 March 2007 (UTC) | |||
::::Besides, aren't you banned from editing articles related to ]? — ] | ] 21:47, 30 March 2007 (UTC) | |||
:::::The ban expired on 17 February 2007.--] 22:28, 30 March 2007 (UTC) | |||
:::::: You still haven't stopped Wikilawyering, have you? Please read ] more carefully: there was no time limit placed on your probation and banning from autobiographical editing. —'']'' 23:31, 30 March 2007 (UTC) | |||
I have reverted Hewitt's changes to the version which significantly revised by no one less than ] himself. —'']'' 00:12, 31 March 2007 (UTC) | |||
== Reversion by Ruud Koot == | |||
What do you think of the reversion by Ruud Koot? --] 02:28, 31 March 2007 (UTC) | |||
I agree with these changes, for two main reasons. First, these recent edits reintroduce Carl Hewitt's earlier characterization of logic programming as logic used for computing in a much more general sense than logic programming is generally understood, as characterised for example by the Association for Logic Programming http://www.cs.kuleuven.ac.be/~dtai/projects/ALP/. | |||
:It's interesting that this web page does not actually define "logic programming". Do you have a proposed definition?--] 20:30, 2 April 2007 (UTC) | |||
Second, they reintroduce Carl Hewitt's criticism of logic programming, as he redefines it, as not universal. This kind of criticism could be made against virtually any technology and it is both irrelevant and unnecessarily hostile.] 09:56, 31 March 2007 (UTC) | |||
:These are legitimate points of controversy. | |||
:* Some of the followers of Kowalski would like to restrict the definition of Logic Programming to ]. The grounds for this restriction seem to be that Prolog was restricted to backward chaining and so a tradition grew up in some parts of the literature to adhere to this restriction. Other parts of the literature beginning with the earlier Planner language and its successors to this day do not adhere to this restriction, which seems somewhat arbitrary. For example McCarthy's original proposal for logic programming used ] which was incorporated in successor work. | |||
:* Also the current article is unnecessarily hostile to Kowalski and Hayes in that it seems likely that what they had in mind when they propounded their theses was computation (as in Turing Machines and the lambda calculus) and they did not envisage that current computation would turn out differently. So the article should be changed to reflect this. Also the article might mention the Representation Theorem for concurrent computation so all of this doesn't seem so mysterious. | |||
:* At the same time, it is remarkable that logic programming (in the general sense of what can be programmed in logic) turned out not to be universal for computation (in the sense that there are concurrent computations that cannot be implemented in logic) and this published result should be reported in the article with no attempt at suppression. | |||
:What do you think of these proposed revisions?--] 15:57, 31 March 2007 (UTC) | |||
::The current article ''would be'' unnecessarily hostile to Kowalski if it implied that his interpretation ''did not'' apply to "current computation" without specific sources that he did not intend it to. I think only ] and students believe that "current computation would turn out differently" and that "logic programming ... turned out not to be universal for computation". Hewitt is a prolific writer, but I haven't seen evidence that his views are ''accepted'' by the computer science community. | |||
::As for the Representation Theorem, the article probably should reference it if it really is a "theorem", as opposed to a redefinition of concurrent computation. — ] | ] 16:41, 31 March 2007 (UTC) | |||
:::I think that you have got Kowalski's position exactly wrong (based on some communications on mailing lists). You should contact Kowalski directly. At this point it is widely accepted that logic programming is not universal, ''e.g.'', from seminars and conversations at CMU, MIT, Stanford, and SRI and elsewhere by those who have read the published literature. | |||
:::As for the Representation Theorem, you can review the proof yourself in: | |||
:::*Carl Hewitt. COIN@AAMAS. April 27, 2006.--] 20:48, 31 March 2007 (UTC) | |||
::::Thanks for the reference. That clearly applies only to the ], which appears ''not'' to be mainstream. It does not ''need'' to be in any article not specifically about that model. — ] | ] 02:51, 1 April 2007 (UTC) | |||
:::::Since the ] is very general, the Representation Theorem applies to the other main stream models as well. For example it applies to ] and ] models via a 2-phase commit protocol to handle the synchronization. The relevance of the Representation Theorem is that it helps explain how it is possible to have a logical representation of concurrent computations without it being possible for logic to actually carry out the concurrent computations.--] 17:25, 1 April 2007 (UTC) | |||
::::::I do not concur that the ] is "very general", nor that the Representation Theorem applies to any other methodology. Is there any source other than Hewitt et. al. for the ''validity'' of the Representation Theorem to other asynchronous computing models? — ] | ] 20:47, 2 April 2007 (UTC) | |||
:::::::As I understand it, the purpose of the Misplaced Pages it not to decide truth but rather to report on published work (please correct me if I am wrong). The Representation Theorem was published in the refereed proceedings of a workshop of AAMAS and then the paper was selected for inclusion in a published volume of Springer Verlag. Also the paper is available on line. Do you see some problem with the proof? | |||
:::::::There is a section on the application of the ] in ] which shows how to carry out the required construction. --] 02:16, 3 April 2007 (UTC) | |||
::::::::It's not ''entirely'' correct to say that the purpose of Misplaced Pages is to ... report on published work. The '''Undue weight''' clause ''requires'' us to decide which works represent the ''mainstream'' view, and to give space in articles accordingly. I don't see the ] as mainstream, nor any refutation of the assertion that Kowalski represents the mainstream view that logic can model ''any'' computation. — ] | ] 15:35, 3 April 2007 (UTC) | |||
:::::::::You don't seem to understand that the Representation Theorem says exactly how logic can '''model''' any computation. It's just that logic is not capable of '''implementing''' certain concurrent computations. Also you are wrong about the the ] not being part of the mainstream. Are you aware of the ] who have contributed to its development? At the this point the two most prominent models of concurrency are the ] and ]. | |||
:::::::::Also you have very badly misrepresented the current position of Kowalski. For example see the following: | |||
:::::::::*Robert Kowalski. "The Logical Way to be Artificially Intelligent." ''CLIMA VI.'' Springer Verlag. 2006.--] 02:28, 4 April 2007 (UTC) | |||
::::::::::The Representation Theorem, as noted in that paper, is philosophical in content, rather than being related to computation theory. | |||
:::::::::::A reading of the paper reveals that the Representation Theorem ''is'' related to computation theory. It is a mathematical theorem of computation that is formally stated and proved in the paper. --] 14:34, 4 April 2007 (UTC) | |||
::::::::::As for Kowalski's views, we'll have to let him decide. He edits here from time to time. — ] | ] 05:23, 4 April 2007 (UTC) | |||
:::::::::::Excellent suggestion!--] 14:34, 4 April 2007 (UTC) | |||
One issue is whether logic programming is to be understood, as the current version of the article characterizes it, as: "based upon the fact that a backwards reasoning theorem-prover applied to declarative sentences in the form of implications | |||
B1 and … and Bn implies H | |||
treats the implications as goal-reduction procedures | |||
to show/solve H, show/solve B1 and … and Bn." | |||
I believe that this is the generally accepted view of logic programming. It is a very restricted form of logic, but it is sufficient for Turing-computability. | |||
This view is much more restrictive than Carl Hewitt's notion that it is | |||
"the use of mathematical logic for computer programming". | |||
This broader view might be called "logical programming", as Carl Hewitt suggested in an earlier version of the logic programming article. I see no problem with having a separate article called "logical programming", to deal with this broader view. | |||
:Good idea! So should we establish a separate article on ]?--] 14:34, 4 April 2007 (UTC) | |||
The other issue is whether "logic programming is universal". However, this issue is concerned with the broader questions of whether "mathematical logic for computer programming" is universal and whether Turing-computability is universal. As it happens, I agree with Carl Hewitt, that both logic and Turing-computability are not universal (in some sense). However, it seems to me that the issues involved are more suitable for the articles on logic and on computability than they are for the article on logic programming. ] 10:30, 4 April 2007 (UTC) | |||
:Excellent points. Do you think that these issues should be addressed in the new article on ]?--] 14:34, 4 April 2007 (UTC) | |||
::Almost certainly not. ] is a '''very''' bad name. ] is questionable; perhaps it should be renamed to ] or ]. — ] | ] 17:55, 4 April 2007 (UTC) | |||
:::Why do you think that the name is bad? Your suggestion ] is certainly off the mark in that it is not about the logic of programming. Likewise your suggestion ] is also off the mark because it is not about logic in programming.--] 18:44, 4 April 2007 (UTC) | |||
:::: The article appears to be about how logic can model programming or a specific logical model ''of'' programming; how could ] possibly the correct term. — ] | ] 22:43, 4 April 2007 (UTC) | |||
:::::The thrust of Kowalski's contribution seems to be that just as ] is a kind of programming; so ] is a more general kind of programming that can be implemented "logically" , ''i.e.'', using mathematical logic.--] 06:29, 5 April 2007 (UTC) | |||
::And the question of universality should possibly be in a an article on computability, rather than on programming. — ] | ] 17:55, 4 April 2007 (UTC) | |||
:: And "71.198.216.63", aka Carl, you '''definitely''' shouldn't be editing this article if you're considering adding one of his previous suggestions.) — ] | ] 17:55, 4 April 2007 (UTC) | |||
:: And I was wrong about the Representation Theorem being philosophical. It's a badly phrased definition. — ] | ] 17:55, 4 April 2007 (UTC) | |||
:::The published paper states a theorem and gives a proof. Why do you think that the Representation Theorem is a definition? --] 18:44, 4 April 2007 (UTC) | |||
::::I fail to see how the set of "computations of ''S''" can be different from the set of time abstractions of progressions of operations from/in ''S'', especially since there's no definition of "computation" in the paper. — ] | ] 22:43, 4 April 2007 (UTC) | |||
:::::You seem to have missed that <tt>'''Denote'''<sub>S</sub></tt> is the least fixed point of <tt>'''Progression'''<sub>S</sub></tt> and obeys all of the Laws for Actors which axiomatically define computation.--] 07:29, 5 April 2007 (UTC) | |||
::::::So the "theorem" is primarily a definition of "computation" in the ]. — ] | ] 13:29, 5 April 2007 (UTC) | |||
:::::::You seem to have missed the point of the just previous comment that '''the Laws for Actors axiomatically ''define'' and ''characterize'' computation.''' It is then necessary to '''prove''' the Representation Theorem.--] 17:19, 5 April 2007 (UTC) | |||
::::::::I think not. The statement | |||
The denotation <tt>Denote</tt><sub>S</sub> of an Actor system '''S''' is the set of all computations of '''S'''. | |||
::::::::Looks as if it might be more a definition of "computation" than of <tt>Denote</tt>, making the theorem a definition. I suppose "denote" or <tt>Denote</tt> may mean something different in Actor systems than in English. But even if "computation" is defined elsewhere, the theorem reads that "computations" are exactly time-abstracted timed progressions from the initial state. This ''should'' be trivial, and is trivial in all definitions of computation that I'm familiar with. | |||
:::::::::Can you explain how "computation" is defined so this not trivial? — ] | ] 17:40, 5 April 2007 (UTC) | |||
::::::::::Computation is defined and characterized earlier in the paper in terms of Actor laws. Because of the problem of ], it is not trivial to develop a denotational characterization of the computations, which was first accomplished by Will Clinger in his dissertation that is highly recommended reading. just has a simpler construction than Clinger. '''Concurrent computation is not the same as nondeterministic Turing Machine and lambda calculus computation.'''--] 19:32, 5 April 2007 (UTC) | |||
::::::::::::I disagree. The ''word'' "computation" doesn't appear earlier in the paper. — ] | ] 20:58, 5 April 2007 (UTC) | |||
:::::::::::::It seems that you missed the immediately preceding section 3 titled "Actors and Events" whose first sentence is "'''Actors are the universal primitives of concurrent digital computation.'''" This section presents some Actor laws which define and characterize concurrent computation.--] 21:57, 5 April 2007 (UTC) | |||
(outdent) | |||
:Exactly. (Actor model) computations are exactly the time-abstracted timed progressions of (Actor) events. If that's not trivial, then there's something fundamentally ''wrong'' with the Actor model. (And what this might have to do with "logic programming", "logical programming", "logic of programming", or "login in programming" is not at all clear.) | |||
::The relationship is clearly explained in the previous version of ] that was reverted by Ruud Koot: Computations that cannot be implemented by ] are outside the capabilities of the nondeterministic lambda calculus. Likewise the Representation Theorem for concurrency is a generalization of the denotational models of the nondeterministic lambda calculus (that do not embody ]). Note that ] as defined by Kowalski is a generalization of Logic Programming. Consequently Logic Programming is even more limited than Logical Programming.--] 17:56, 6 April 2007 (UTC) | |||
:For what it's worth, there's no evidence that the paper is published, so we can't use it a reference, anyway, other than as to Carl's opinion. — ] | ] 22:16, 5 April 2007 (UTC) | |||
::The paper was published in the refereed proceedings of COIN at AAMAS'06. A revised version is published in ''Springer Verlag Lecture Notes in Artificial Intelligence'' edited by Javier Vázquez-Salceda and Pablo Noriega.--] 18:00, 6 April 2007 (UTC) | |||
== Opening sentences and references should reflect widely-held views == | |||
The opening sentences of the current version of this article do not reflect widely-held views about logic programming. They criticize logic programming by suggesting it is a flawed variant of something else called "logical programming". In doing so, they steer the reader toward the article on "logical programming", which emphasizes the contribution of Carl Hewitt and other American AI researchers toward understanding the relationship between logic and computation. I have never heard of "logical programming" as distinct from logic programming, and this view of logic programming would surely not be endorsed by the logic programming community. (This is to say nothing of the fact that the current opening sentence is run-on and ungrammatical.) | |||
The references section contains references that have very little to do with logic programming per se, and vastly overemphasize American AI researchers such as Sussman, Cordell Green, Hewitt, McCarthy and Winograd. All of these researchers are very important in the general field of logic as applied to AI, but have had little or no impact on logic programming per se. A rather egregious example of this is the presence of Hewitt's paper "The repeated demise of logic programming", a recent (2006) very informal workshop paper, when seminal papers from people like Colmerauer, van Emden, and David H. D. Warren are absent. | |||
It's hard to escape the conclusion that the article was edited by someone with an overinflated view of Carl Hewitt's influence on logic programming. Hewitt's PLANNER system was very influential to AI in general -- there is no question of that. It is certainly important to point out the connection in this article. But it is completely unnecessary, and rather insulting to the field of logic programming, to suggest that logic programming is merely a flawed variant of Hewitt's and other American researchers' ideas. | |||
A little about me: I did my PhD on semantics of logic programming languages in 1991, my thesis was published by Cambridge University Press, I have had articles on logic programming published in Theoretical Computer Science and Journal of Logic Programming, I originated the comp.lang.prolog FAQ and maintained it for several years, and I wrote the article on Prolog for the Macmillan Handbook of Programming Languages (ed. Peter Salus). I have had no bone to pick with Carl Hewitt before this day -- in fact, I found the article only because I was searching for a more printable version of "The repeated demise of logic programming". | |||
I have been a Misplaced Pages contributor for a few months. I am not editing this article yet because I don't want to get into an edit war, and the article history seems to suggest that that will be the result. However, I certainly want to register my opposition to the opening sentences and the references section of the current article, and to state my opinion that they do not reflect widely-held views of logic programming. | |||
] 23:28, 10 April 2007 (UTC)JamesHAndrews | |||
:I have a question. What exactly is logic programming? The term seems to be used in various ways. For example “Algorithm = Logic + Control” uses forward reasoning as well as backward reasoning.--] 17:07, 15 April 2007 (UTC) | |||
I agree with James Andrews and object to the edit "Revision as of 20:12, 9 April 2007 | |||
171.66.51.202 (Talk)(We think that Kowalski's proposal should be adopted that "logical programming" be used for the general sense of using logic as the language of programming.)" | |||
I certainly did not propose this major alteration of the logic programming article. I had hoped that that the supporters of Carl Hewitt would be satisfied with presenting their own views in a new article on logical programming and would allow the logic progamming article to deal with its subject in its own terms.] 12:33, 11 April 2007 (UTC) | |||
:It looks like some people at Stanford attempted to start a new article on ] as you suggested but that it was reverted for some reason. Maybe you can do better.--] 01:08, 14 April 2007 (UTC) | |||
:It's the Brits vs the Americans!--] 04:57, 16 April 2007 (UTC) | |||
==What is Logic Programming?== | |||
That's a good question. I, for one, do not have an "exact" definition. I have written or contributed to three encylopedia articles about logic programming: | |||
Hogger, C. and Kowalski, R., "Logic Programming" in Encyclopedia of Artificial Intelligence, (ed. S. Stuart) John Wiley and Sons Inc., 1987, pp. 544-558. Also revised article in second edition, 1992, pp. 873-891. | |||
Kowalski, R., "Logic Programming Principles", in Encyclopedia of Computer Science and Engineering, Revised Edition, (eds. A. Ralston and E. Reilly), Van Nostrand Reinhold Company Inc., 1993 pp. 778-783. Fourth edition (eds. A Ralston , D Hemmendinger , E. Reilly) 2000. | |||
Kowalski, R.A., “Logic Programming”, MIT Encyclopaedia of Cognitive Science (eds. R A Wilson and F C Keil) MIT Press, 1999, pp. 484-486. | |||
The MIT Encyclopaedia article skirts the issue with the following characterisation: | |||
"Logic programming is the use of logic to represent programs and of deduction to execute programs in logical form. To this end, many different forms of logic and many varieties of deduction have been investigated. The simplest form of logic, which is the basis of most logic programming, is the Horn clause subset of logic....." | |||
The second sentence of the Algorithm = Logic + Contol paper, on the other hand, states: | |||
"In this paper, we are concerned not only with the use of predicate logic as a programming language in its own right, but with its tool for the analysis of algortithms." | |||
Like most concepts, the concept of logic programming does not seem to have an exact definition. However, there is a generally accepted view of logic progamming, which my three encyclopedia articles attempted to capture. This view is quite close to the current version of the wikipedia article,and rather different from Carl Hewitt's recent views. In fact, I was not aware that Carl Hewitt held such different views until he started editing the wikipedia article. ] 11:43, 16 April 2007 (UTC) | |||
:I don't understand. How do your views differ from Carl Hewitt?--] 16:27, 16 April 2007 (UTC) | |||
It is a matter of getting the balance right. If you type "logic programming" into Google Scholar or just plain Google, you will get a good idea about the range of topics associated with logic programming. In my opinon, the wikipedia article should broadly reflect that range of activity. At the moment, it is not too bad, except for a large number of idiocyncratic references at the end of the article. On the other hand, there are several topics, such as inductive logic programming, datalog and meta-programming, still missing.] 10:12, 17 April 2007 (UTC) | |||
:OK, but what is the disagreement with Hewitt?--] 15:12, 17 April 2007 (UTC) | |||
Probably the best way to understand the disagreement with Hewitt is to look at the history of edits to the logic programming article.] 17:22, 17 April 2007 (UTC) | |||
We looked at the history and it's not clear what the disagreement is.--] 18:06, 17 April 2007 (UTC) | |||
:Is that the royal "we", the editoral "we", or a comment that multiple people are using the IP address (meaning all edits in the CH-dominated articles from that IP address should be reverted). — ] | ] 22:30, 17 April 2007 (UTC) | |||
We are on wireless at a conference in which the Misplaced Pages is being cited as a great success!--] 00:02, 18 April 2007 (UTC) | |||
BTW, wasn't Carl Hewitt banned?--] 16:59, 18 April 2007 (UTC) | |||
: He is banned from making autobiographical edits. As long as he doesn't repeatedly violate that ban he won't be fully banned from editing, meaning he is currently allowed to discuss issues on the talk page. This should be constructive comments, unless he wants to risk being ignored by the people who can decided to make changes to the article based on his comments. —'']'' 19:28, 18 April 2007 (UTC) | |||
== I don't get it == | |||
This article reads like one Ph.D. precisely defining logic programming to another Ph.D. who already knows what they're talking about. Definitions like "B1 and … and Bn implies H" don't help if you don't explain further. Break it ''down'' for me. How can you do anything with "B1 and … and Bn implies H"? This page would be a lot more useful if people who haven't already been exposed to logic programming can walk away understanding the gist of it. ] 20:41, 8 October 2007 (UTC) | |||
:I think all that's needed here is a simple and concrete (i.e. real world) example of backward and forward chaining, written so that a high school student could understand it. (Think "Sunday supplement"/"Time Magazine" level of detail and type of prose.) That should do the trick for the general reader. Otherwise, this is an excellent article. ---- ] (]) 00:09, 7 December 2007 (UTC) | |||
I agree that some examples would be helpful. I wonder why ] | ] reverted the example by Logperson.] (]) 09:58, 7 December 2007 (UTC) | |||
:Primarily the damaged Wikiformat. It's reinserted and reformatted, now. — ] | ] 13:31, 7 December 2007 (UTC) | |||
== Have the issues brought up in April 07 been resolved? == | |||
Does the article, as it stands today, represent a consensus view of what logic programming is? It's not clear from the discussion if these issues finally got resolved, or were just dropped. ---- ] (]) 00:14, 7 December 2007 (UTC) | |||
:I think all editors without severe COI issues concur, but that's just me and ]. — ] | ] 00:53, 7 December 2007 (UTC) | |||
::Good to know. That's what it looked like. Thanks. ---- ] (]) 02:21, 7 December 2007 (UTC) | |||
:::Since then a new contribution has appeared: . Since Hewitt is prohibited from editing the article, I added it to the external links.--] (]) 20:13, 8 March 2008 (UTC) | |||
What does "COI" mean? I think the biggest remaining problem is the biased list of references at the end of the article, as point out by ]. Also, there are some areas, such as constraint logic programming, inductive logic programming and metaprogramming, missing. ] (]) 09:58, 7 December 2007 (UTC) | |||
:COI is ], conflict of interest. I had forgotten about you, but most of the rest of the editors were essentially ], who is banned from editing articles about him or his work. That has led some of us to keep CH's material in the rare instances that it actually appears to be relevant to the article, because '''he''' is banned from adding it. — ] | ] 13:39, 7 December 2007 (UTC) | |||
== Curry-Howard isomorphism == | |||
The Curry-Howard isomorphism is quite different from logic programming in the sense of this article. In this article, axioms are programs and proofs are computations. In the Curry-Howard isomorphism, proofs are programs, which is very different. A quick google search reveals no research relating the two. <small>—Preceding ] comment added by ] (] • ]) 12:33, 26 February 2008 (UTC)</small><!-- Template:Unsigned --> <!--Autosigned by SineBot--> | |||
==History of Logic Programming by Carl Hewitt== | |||
Please add to the external links.--] (]) 20:43, 11 March 2008 (UTC) | |||
The article became famous here when it was censored by the Misplaced Pages. Does anyone know why it was censored?--] (]) 20:25, 14 March 2008 (UTC) | |||
:Our professor says that Kowalski objected to the article which led to it being excised from the Misplaced Pages. He also said that the article is by far the best one on the history of logic programming (even though it is from Hewitt's point of view).--] (]) 20:44, 15 March 2008 (UTC) | |||
::Kowalski has nothing to do with. In fact, he seemed to agree that Hewitt's articles are signficant. No, this reference to Carl's article was deleted from this Misplaced Pages article because it appears to be a class project to add it, and Hewitt and his students are forbidden from adding material about Hewitt or by Hewitt. — ] ] 22:00, 15 March 2008 (UTC) | |||
:::Perhaps they are referring to Kowalski's complaint to Ruud Koot on November 10, 2007--] (]) 05:15, 17 March 2008 (UTC) | |||
Funny, same thing happened here. <small>—Preceding ] comment added by ] (]) 00:05, 15 March 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
:Carl ''and his students'' are banned from editing information related to Carl, per an ArbComm decision. If someone else in the field, preferrably someone with an account, would add the material, it might stay. However, it appears the Carl means something completely different by "Logic programming" than we do, so it still couldn't be in ''this'' article. — ] ] 06:59, 15 March 2008 (UTC) | |||
::There is an interesting discussion in the article about the controversy between Kowalski and Hewitt as to what is logic programming. Sounds like the Misplaced Pages is firmly on the side of Kowalski--] (]) 20:44, 15 March 2008 (UTC) | |||
:::I don't think Kowalski commented on this article. At least, I took no notice of it at the time. — ] ] 22:00, 15 March 2008 (UTC) | |||
::::Perhaps they are referring to the fact that you are taking Kowalski's side in the controversy with Hewitt over the definition of logic programming.--] (]) 05:15, 17 March 2008 (UTC) | |||
:::::It is not Kowalski's side of the controversy. It is the commonly accepted notion of logic programming versus Hewitt's definition, which is actually a redefinition of a commonly understood concept, which can be found defined, as in this article, in all the usual AI textbooks, such as Russell-Norvig, Poole-Goebel-Mackworth, Lugar, and Nilsson. If there is a place in Misplaced Pages for this external link to Hewitt's views on this matter, it is better in the article on Carl Hewitt than in the article on logic programming. ] (]) 05:34, 17 March 2008 (UTC) | |||
::::::The article by Hewitt says that Logic Programming is ''"the logical deduction of computational steps".'' I looked at the Misplaced Pages article and in the textbooks, but there is no common short definition of Logic Programming. What do you think is the commonly accepted definition?--] (]) 20:30, 17 March 2008 (UTC) | |||
:::::Logic programming is evolving concept. Originally it meant only Horn clauses executed by SLD, which is complete for deriving logical consequences and also Turing complete,but was extended to Horn clauses with negation as failure executed by SLDNF. Other extensions include abductive logic programming and answer set programming. All these extensions share the idea that computation can be reduced to deduction. | |||
:::::Hewitt’s definition "the logical deduction of computational steps" is too vague to be definition. If you try to make it more precise it doesn’t make sense. In any case, why should one person redefine concept that has generally accepted understanding, even if it doesn’t have rigid definition. ] (]) 01:14, 18 March 2008 (UTC) | |||
::::::It does seem that our understand of logic programming has evolved with time. Arguably, the original ''logical'' lambda calculus of Church (the one with logical propositions) was the first real logic programming language. | |||
::::::Horn clause execution by SLD seems more like a hack because it only does backward chaining. Even Kowalski (who evidently coined the term "logic programming") has used forward chaining over the years. | |||
::::::Using the definition in his article, Hewitt argued persuasively that (at least for concurrent systems) that '''computation cannot be reduced to deduction.''' So we had better not take that as the definition :-) | |||
::::::So it seems that Hewitt's definition is good for some things. But I agree that is not as precise as we would like. So the question is: ''How can the Hewitt definition be improved?''--] (]) 01:36, 18 March 2008 (UTC) | |||
:::::::We concur :-) --] (]) 02:10, 18 March 2008 (UTC) | |||
:::::OK. So maybe not all computation can or should be reduced to deduction. But it is fair to say that logic programming is concerned with the part of computation that can be reduced to deduction. Certainly Turing computability can be reduced to deduction. On the other hand, there is no good purpose served by taking a familiar concept, which has a commonly accepted understanding and terminology, and changing that terminology to mean something different. We would then need new term for the old concept. Natural language then becomes unusable. It is more practical to introduce new term for new concept, such as “logical programming” for Hewitt’s idea, as he earlier suggested. ] (]) 03:26, 18 March 2008 (UTC) | |||
::::::Yes, it seems perfectly consistent with Hewitt's definition to say that logic programming is concerned with that part of computation that can be reduced to deduction. And you are right that Turing computability and indeed all of sequential nondeterministic computing can be reduced to deduction. Also all of the parallel lambda calculus can be reduced to deduction. All of these examples involve the logical deduction of computational steps. So there doesn't seem to be any conflict.--] (]) 04:54, 18 March 2008 (UTC) | |||
:::::But Hewitt’s “definition” is not really definition. Computation as deduction is also vague. Logic programming has generally understood meaning within a community of researchers, textbook writers and students. It is not correct for one person to impose own definition on everyone else. ] (]) 07:06, 18 March 2008 (UTC) | |||
::::::It seems that the ''"logical deduction of computational steps"'' is the best short form definition that we have so far. (Although Hewitt has clearly been a proponent of this definition; it is not clear that he first invented it.) Of course, anyone who has a better idea is free to propose it so certainly no one person has a monopoly here. | |||
::::::Also the community seems to be deeply divided between a resolution camp and a concurrency camp, both of which go back to the genesis of the field. So there doesn't seem to be a single generally understood meaning of logic programming.--] (]) 08:05, 18 March 2008 (UTC) | |||
:::::Look in any AI textbook. Do a google search. You will see there is generally understood notion of logic programming. It does not have rigid and precise definition. If you want to introduce a new or different notion, you should use a different name, maybe logical programming, for example. ] (]) 08:24, 18 March 2008 (UTC) | |||
::::::The divide is deeply entrenched in the literature of some four decades. Google Scholar has plenty of publications by both sides. | |||
::::::I'm afraid that trying to introduce "logical programming" at this point would simply cause more confusion. What would we say is the difference between "logical programming" and "logic programming"? --] (]) 14:47, 18 March 2008 (UTC) | |||
:::::::I'd like to see evidence that anyone other than Hewitt uses "logic programming" the way Hewitt does. Many of his concepts are unique to him and are more-or-less rejected by the consensus of all who use the related concepts. — ] ] 15:10, 18 March 2008 (UTC) | |||
::::::::It would be useful to know which related concepts you have in mind. That way we could have a better idea who you are talking about.--] (]) 18:07, 18 March 2008 (UTC) | |||
:::::::It seems that this controversy snuck up on Kowalski and Hewitt. They didn't realize that they had been talking past each other for decades!--] (]) 16:45, 18 March 2008 (UTC) | |||
What I find most curious is that Kowalski doesn't have a succinct counterproposal to defining logic programming as the logical deduction of computational steps.--] (]) 14:10, 19 March 2008 (UTC) | |||
::We were also wondering.--] (]) 01:54, 20 March 2008 (UTC) | |||
:::'''If Kowalski's position is so wishy-washy, why does it have any credibility?'''--] (]) 17:12, 22 March 2008 (UTC) | |||
::::"We" were wondering while all the IPs and ] refer to themselves as "we". We (most Wikipedians reading this discussion) believe this to be a class project, and therefore subject to deletion. We (Misplaced Pages) do not recognize "role accounts", and it's policy that they should be blocked. — ] ] 17:24, 22 March 2008 (UTC) | |||
:::::You dodged an interesting question, namely, ''"Why has the Kowalski 'wishy-washy' approach persisted?"'' There must be sociotechnical reasons.--] (]) 21:23, 22 March 2008 (UTC) | |||
:What I find curious is that this well-defined definition has retained use, in spite of the fact that it redefines ''both'' words of the term in order to make it fit. I think we would need references, other than Hewitt's works, that use the term as he defines it, in order for it to be included. As an aside, could the multiple IPs identify themselves? I think most of them are students in one of Carl's (or his student's) classes, or possibly as class project to get Hewitt's definition in Misplaced Pages. — ] ] 14:27, 19 March 2008 (UTC) | |||
:::Now I get it: NPOV is any published point of view except Hewitt's :-) <small>—Preceding ] comment added by ] (]) 02:45, 21 March 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
::::Hewitt's point of view is notable, in an article other than one specifically about him and his concepts, only if someone ''other than'' he or his students thinks it's notable. That restricts the scope considerably. — ] ] 13:23, 21 March 2008 (UTC) | |||
:::::'''In other words, *you* think it's not notable.'''--] (]) 20:45, 21 March 2008 (UTC) | |||
::::::Well, I ''do'' think it's not notable, but, because Hewitt spammed all articles about subject in which he made a contribution, no matter how minor, we can't take his word about anything any more. So we need ''independent'' sources that his contributions are notable before they can be included. Kowalski would probably do. — ] ] 23:46, 21 March 2008 (UTC) | |||
:::::::Most curious, this opinion by Arthur Rubin! Who is he? <small>—Preceding ] comment added by ] (]) 06:16, 9 April 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
::::::::I'm basing my opinion, not on any special knowledge of ], but on the on-Misplaced Pages actions of those championing ]'s views. Unless you want to revisit the ArbComm decision banning Carl ''and his students'' from editing Misplaced Pages articles about Carl or his views, this definition of ] cannot stand without ''proof'' of notability. — ] ] 12:59, 9 April 2008 (UTC) | |||
:::::::::And what do you have against Hewitt's artice? Everybody in the field seems to know about it and the controversy with Kowalski. <small>—Preceding ] comment added by ] (]) 14:34, 9 April 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
::::::::::All the anons posting here know about Hewitt's article. Whether anyone else does has yet to be determined. — ] ] 21:56, 9 April 2008 (UTC) | |||
::::::::::::Why so dense, Arthur. Do you ''really'' believe that there are any active researchers that don't know about the article? <small>—Preceding ] comment added by ] (]) 00:02, 18 June 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
:::::::::::Do you actually personally know any of the members of the community?] (]) 09:32, 10 April 2008 (UTC) | |||
::::::::I disagree. We have lots of things about Hewitt here.--] (]) 18:49, 2 April 2008 (UTC) | |||
:::::::::Another entry in the ] drawer. — ] ] 20:01, 2 April 2008 (UTC) | |||
:::::::Yeah, it would be good to hear from Kowalski. Didn't he use to edit the Misplaced Pages?--] (]) 05:24, 22 March 2008 (UTC) | |||
::Logic Programming has probably retained use because it describes certain phenomena. The question is "Can we scientifically characterize the phenomena?" | |||
::PS. You don't seem to know much about Silicon Valley :-) --] (]) 02:22, 20 March 2008 (UTC) | |||
===New paper available=== | |||
There is a new paper ''"History of Logic Programming: What went wrong, What was done about it, and What it might mean for the future"'' available at | |||
It was discussed on Lambda the Ultimate at .--] (]) 18:31, 15 June 2008 (UTC) | |||
:Hmmm. Is there a ] ''involved'' here? There certainly isn't one listed. — ] ] 21:27, 15 June 2008 (UTC) | |||
== ] the photographer == | |||
Can somebody please unlink the name ] in the article? The link is going to a photographer, not the logician. Thanks, ] (]) 15:25, 13 May 2008 (UTC) | |||
Yes, please. The logician's page is at http://www.cis.upenn.edu/~pereira/. Short bio at the bottom. | |||
I just don't know how to handle the disambiguation ... <small>—Preceding ] comment added by ] (]) 13:28, 1 July 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
==Development of Logic Programming: What went wrong, What was done about it, and What it might mean for the future== | |||
There is a new published paper that has been mysteriously deleted from the article: | |||
*Carl Hewitt. What Went Wrong and Why: Lessons from AI Research and Applications; papers from the 2008 AAAI Workshop. Technical Report WS-08-14. AAAI Press. July 2008. | |||
The paper was presented at AAAI'08 in Chicago and was well received by the audience. | |||
--] (]) 07:45, 14 July 2008 (UTC) | |||
It seems that the reference to the paper was deleted because of concerns about ]. This is must curious because the reference is for an academic peer-reviewed publication and ] says "Academic and peer-reviewed publications are highly valued and usually the most reliable sources in areas where they are available"--] (]) 07:59, 14 July 2008 (UTC) | |||
:I'm afraid we only have ]'s word that it's relevant. As he and his students have been actively editing Misplaced Pages to — enhance — his reputation beyond belief, we now need an independent source of relevance for any new contributions. See, for example. ]. — ] ] 12:16, 14 July 2008 (UTC) | |||
How do you think that the paper came to be refereed, published and then presented at AAAI'08? Did Hewitt and his students do this all by themselves? The AAAI would never allow Hewitt's students to referee the paper because of conflict of interest. <small>—Preceding ] comment added by ] (]) 16:36, 14 July 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
:Carl frequently redefines terms, so even if this ''were'' refereed — noting that conference proceedings are ''not'' normally refereed, at least in the hard sciences — we only have your, and possibly his, word that this is relevant to what the real world calls ]. (As an aside, I can assure you that one of my papers in a conference proceedings journal was ''not'' refereed. But ''I'' only suggest ''my'' papers as references for articles on talk pages, not on the articles, themselves.) — ] ] 17:25, 14 July 2008 (UTC) | |||
In Computer Science these proceedings are normally refereed. In the particular case of the "What Went Wrong" series, the proceedings themselves say that that were refereed.--] (]) 19:33, 14 July 2008 (UTC) | |||
'''I just noticed that the article already has a reference to Hewitt's work from a previous proceedings in the same series!''' Doesn't it make sense to update it with the more recent publication?--] (]) 19:38, 14 July 2008 (UTC) | |||
:It probably makes more sense to remove Hewitt from the article entirely. — ] ] 21:10, 14 July 2008 (UTC) | |||
Arthur, | |||
I don't care about your silly feud with Hewitt. Please repair your changes to the article.--] (]) 10:12, 15 July 2008 (UTC) | |||
:Hewitt's attempt to "enhance" his reputation by putting links to his papers and opinions where they are not notable is what we are talking about. Perhaps he (and his students) have reformed, and this ''particular'' paper is notable and relevant. I wouldn't want to bet on it, though. The ArbComm ruling I reported earlier suggests that any reference to Hewitt or one of his papers, which is ''not'' made by an estabished editor, may be reverted. — ] ] 13:40, 15 July 2008 (UTC) | |||
::I think that you are wrong about this. Academics do not believe that Misplaced Pages can enhance their reputation. For example, it would be absurd for a hiring, promotion, or awards committee to take into account what Misplaced Pages says about someone. | |||
::Instead academics seem to have a very different motivation: it really bugs them to have articles that are inaccurate. So they try to correct articles to make them more accurate.--] (]) 00:01, 16 July 2008 (UTC) | |||
:::I used to think that, also. Dr. Hewitt convinced me otherwise. — ] ] 00:43, 16 July 2008 (UTC) | |||
'''This is weird. You seem to know next to nothing. Yet, you have very strong opinions about what the community thinks. And judging from the AAAI, your opinions are the opposite of the consensus of the community.'''--] (]) 16:01, 15 July 2008 (UTC) | |||
:What community? (I can't say what I think of Hewitt without violating ], so suffice it to say that the papers of his that I read sense not make.) — ] ] 18:14, 15 July 2008 (UTC) | |||
:::'''The consensus is that because of the sustained incredible hostility that Misplaced Pages has expressed towards academics, they should steer clear of contributing to it.'''--] (]) 22:50, 16 July 2008 (UTC) | |||
::::Misplaced Pages (to the extent that it has a single POV) is hostile to trolls, not to academics. Dr. Hewitt was acting like a troll, so he's being treated as one. If he were to return, and comment on articles in his field ''to the extent they don't mention him'', he'd probably be welcome. — ] ] 23:49, 16 July 2008 (UTC) | |||
::Interesting, people in the AAAI don't seem to have your particular problem. However, they do offer tutorials that might be able to help you with it.--] (]) 00:12, 16 July 2008 (UTC) | |||
== Reorganizing the references == | |||
I have reorganized the references to reflect how they are used to ] the article. ---- ] (]) 22:19, 6 September 2008 (UTC) | |||
== Middle History of Logic Programming == | |||
Hewitt has published his version on Google Knol. See . <span style="font-size: smaller;" class="autosigned">—Preceding ] comment added by ] (]) 16:48, 23 September 2008 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
==Development of Logic Programming== | |||
A more general treatment by the same author as above has been published on Google Knol. See . --] (]) 07:22, 1 October 2008 (UTC) | |||
== Protection of Carl Hewitt edits == | |||
As soon as protection is removed from the logic programming article, an anonymous editor adds references to Hewitt's work. The page is then protected again, but Hewitt's edits remain. The overall effect is to prevent other anonymous editors from removing Hewitt's banned editing. Is this the intention of the protection? Or merely an unintended result? ] (]) 08:32, 11 December 2008 (UTC) | |||
:It's probably people rubbernecking at the controversy between Kowalski and Hewitt that seems to have moved from here to Google Knol. See the following: | |||
::* | |||
::* <span style="font-size: smaller;" class="autosigned">—Preceding ] comment added by ] (]) 17:40, 11 December 2008 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
==In CACM, Hassan Aït-Kaci recently argued against the Kowalski's restrictive view of Logic Programming== | |||
Recently Hassan Aït-Kaci has pointed out: | |||
:''It would be like saying Prolog and SLD-Resolution is the only way to do Logic Programming. To some extent, the LP'' ''community's insistence on clinging to this "exclusive method" has contributed to the relative disinterest in LP following its development in the 1980's and 1990's.'' <ref> Hassan Aït-Kaci. ''Children's Magic Won't Deliver the Semantic Web'' CACM. March 2009.</ref> | |||
{{reflist|2}}--] (]) 05:26, 13 March 2009 (UTC) | |||
::There is no reason to get personal. Like it or not, SLD-Resolution is the standard textbook definition of logic programming. ] (]) 12:01, 13 March 2009 (UTC) | |||
::According to "": | |||
:::"Kowalski's approach leads directly to the conclusion that Logic Programming is not computationally universal (see section above). On the other hand since 1969, Hewitt et. al. have sought to use the term ''logic programming'' in the more general sense of this article, namely, ''The logical deduction of computational steps.'' Even with this more general approach, computation is not reducible to Logic Programming. Nevertheless, Logic Programming provides an important contribution to computing with its own valuable properties. | |||
:::If the more general definition of Logic Programming (i.e. ''the logical deduction of computational steps'') is accepted, then the field has a very long history with contributions by Bruce Anderson, Bruce Baumgart, Fischer Black, Eugene Charniak, Alonzo Church, Alain Colmerauer, Julian Davies, Jan Derksen, Ted Elcock, Scott Fahlman, Richard Fikes, Frederick Fitch, Gerhard Gentzen, Cordell Green, Pat Hayes, Carl Hewitt, Robert Kowalski, Bill Kornfeld, Drew McDermott, Zohar Manna, John McCarthy, Nils Nilsson, Alan Robinson, Philippe Roussel, Jeff Rulifson, Earl Sacerdoti, Erik Sandewall, Gerry Sussman, Richard Waldinger, Terry Winograd, etc.'' | |||
:::Keith Clark, Alain Colmerauer, Pat Hayes, Robert Kowalski, Alan Robinson, Philippe Roussel, etc. deserve a lot of credit for promoting the concept of logic programming and helping to build the logic programming community. And the traditions of this community should not be disrespected. At the same time, the term ''logic programming'' (like ''functional programming'') is highly descriptive and should mean something. Over the course of history, the term ''functional programming'' has grown more precise and technical as the field has matured. Logic Programming should be on a similar trajectory. Accordingly, ''Logic Programming'' should have a precise and general characterization, i.e., ''the logical deduction of computational steps.''" | |||
:::--] (]) 14:53, 13 March 2009 (UTC) | |||
::::Misplaced Pages is not the place to change accepted definitions of terms that have a well-established usage. If you want to change the definition, you should convince the academic community first. ] (]) 18:04, 13 March 2009 (UTC) | |||
::::The academic community is deeply divided on this one. According to the references in , Hewitt, ''et. al.'' got there first in 1969 with Kowalski, ''et. al.'' coming along later in belated reaction when Pat Hayes returned from Stanford with news for Kowalski about Planner and then Papert and Sussman pronounced uniform proof procedures using resolution a "losing approach" in their famous seminar at Edinburgh.--] (]) 18:28, 13 March 2009 (UTC) | |||
::::in reaction to ], ''et. al.'', ], ''et. al.'' created ], which is a subset of ]!!!--] (]) 01:29, 14 March 2009 (UTC) | |||
Ah, the natives are getting restless. But that's the usual consequence of censorship. <span style="font-size: smaller;" class="autosigned">—Preceding ] comment added by ] (]) 19:58, 15 March 2009 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> | |||
:Interesting. As Planner was never actually implemented, that makes it even more confused as to who was "first" with a valid approach. Carl, still, is not allowed to edit Misplaced Pages articles which refer to him. | |||
: You (the anon IPs pretending to be "friends of Carl") are the cause of the so-called censorship. Self-promotion is grounds for expulsion from any collabortive editing system. — ] ] 20:44, 15 May 2009 (UTC) | |||
::Unfortunately, you are dead wrong. Planner was fully implemented in Popler by Julian Davies at Edinburgh. The most complete academic history is "Middle History of Logic Programming" on ArXiv.] (]) 15:29, 16 May 2009 (UTC) | |||
:::That's Carl's interpretation. It may be accurate, but the article here on ] says it was never implemented. (As I'm not watching it, if you can find a ''real'' source that it was implemented, go ahead and add it.) — ] ] 21:03, 16 May 2009 (UTC) | |||
:::::Actually, the article here on ] says that it was implemented as described by others below.] (]) 22:34, 4 June 2009 (UTC) | |||
::::The reference is as follows: | |||
:::::*Julian Davies. ''Popler 1.6 Reference Manual'' University of Edinburgh, TPU Report No. 1, May 1973.] (]) 22:13, 16 May 2009 (UTC) | |||
::::According to an email by Aaron Sloman on March 2,1994: | |||
:::::Popler "provided the most complete implementation of the language Planner designed by Carl Hewitt at MIT and reported in his PhD thesis around 1971."] (]) 03:46, 17 May 2009 (UTC) | |||
== Cleanup == | |||
An editor recently added the {{tl|cleanup}} tag to this article. I would like to see some description of what cleanup might be needed, or the tag should probably be removed. — ] ] 19:33, 21 June 2010 (UTC) | |||
: The lead section should be a synthesis of the article. Some of its material, namely the example, should be in the body of the article. | |||
: The article looks like a list of disconnected topics, and does not provide an overall picture of LP to someone not in the field. | |||
: The article should relate the various logic programming models to each other, and explain their advantages and disadvantages. | |||
: ] (]) 09:37, 22 June 2010 (UTC) | |||
::A lot of the problem seems to come from the unhelpful distinction between broad sense and narrow sense of logic programming. The discussion of the broad sense seems to be a leftover from the days when Carl Hewitt was editing the article to give prominence to PLANNER. | |||
::I believe there is a good case for dropping the distinction and focussing on the standard notion as represented by the logic programming conferences, journal, and textbooks. This will make the article much more coherent, because the different logic programming models are then all extensions of the basic Horn clause logic programming model.] (]) 19:04, 22 June 2010 (UTC) | |||
:::I tried to clean it up a bit by bringing in more recent work by Kowalski and Hewitt that provides a more unified frameowork.] (]) 23:38, 22 June 2010 (UTC) |
Latest revision as of 08:47, 20 October 2024
This is the talk page for discussing improvements to the Logic programming article. This is not a forum for general discussion of the article's subject. |
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1 |
This level-5 vital article is rated C-class on Misplaced Pages's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||
|
To-do list for Logic programming: edit · history · watch · refresh · Updated 2024-02-17
|
The contents of the Relational programming page were merged into Logic programming. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
Delete redirect Relational programming?
According to the header of this talk page, Relational programming was merged to Logic programming. However, the term "relation programming" isn't mentioned at Logic programming at all, and apparently no content was actually merged when Relational programming was turned into a redirect to Logic programming. So perhaps Relational programming should be deleted? – Tea2min (talk) 12:11, 30 June 2018 (UTC)
- It would be better to add something about Relational programming here. The type of material we need is hinted at in wiki
.c2 .com?RelationalProgramming. There was an old article on Relational programming that you can still see under the Relational programming redirect but it's not very clear. At a minimum, we ought to have something that clarifies the connection between logic programming and relational programming. EdJohnston (talk) 15:57, 30 June 2018 (UTC)
- "Relational programming" seems to be the name for logic programming, preferred by many functional programmers. See for example: Friedman, D.P., Byrd, W.E., Kiselyov, O. and Hemann, J., 2018. The reasoned schemer. MIT Press. Here is a quote from the MIT Press web page: "Summary A new edition of a book, written in a humorous question-and-answer style, that shows how to implement and use an elegant little programming language for logic programming. The goal of this book is to show the beauty and elegance of relational programming, which captures the essence of logic programming. The book shows how to implement a relational programming language in Scheme, or in any other functional language, and demonstrates the remarkable flexibility of the resulting relational programs."Logperson (talk) 15:26, 9 July 2018 (UTC)
- A section, Relationship with relational programming, has now been added to the article, and the redirect has been changed to redirect to the section. — Preceding unsigned comment added by Robert Kowalski (talk • contribs) 14:43, 17 February 2024 (UTC)
Include discussion of kanren, miniKanren, microKanren
See an excellent overview of the miniKanren logic programming approach vs Prolog, and don't forget Mercury, Curry, Gödel. ★NealMcB★ (talk) 22:23, 23 December 2019 (UTC)
The make Program is a Logical Programming Language
make is a program that should be included in this discussion of Logical Programming. It is the most frequently used Logical Programming Language. 50.206.176.154 (talk) 22:11, 14 January 2022 (UTC)
- I do not believe that make is a logic programming language. Can you provide reliable sources that say otherwise?
- siddharthist (talk) 16:25, 5 March 2023 (UTC)
- Here is a quote from Adams, P. and Solomon, M., 1993, An overview of the CAPITL software development environment. In International Workshop on Software Configuration Management (pp. 1-34). Berlin, Heidelberg: Springer Berlin Heidelberg.
- "The similarity between the rules and dependency statements in a makefile and a logic programming language has been noted by others. Logic and logic-programming languages have been used as description languages and as the basis for build tools like Make. All these systems share the desire to use the power of logic languages for consistency checking and make good use of the richer data model provided by terms."
- Unfortunately, the authors do not give any references for the "others" who have also noted the similarity. In any case, it is mentioned in the paper only as a similarity, rather than as an explicit instance. Robert Kowalski (talk) 20:41, 10 October 2023 (UTC)
Restructuring the article
I have made a start on restructuring the article, mainly to acknowledge the greater importance of negation in the bodies of clauses. I started to edit the semantics subsection of the Concepts section. But it is now becoming too complicated, and I think it needs to be moved to the end of the section and after the subsection on negation. This is the new order that I propose for the Concepts section: Logic and Control, negation (and not just negation as failure), knowledge representation, problem solving, semantics and goal solution strategies. Maybe there should also be a subsection on LP and human thinking, reflecting the work of Stenning and van Lambalgen and others. See Stenning, K. and Van Lambalgen, M., 2012. Human reasoning and cognitive science. MIT Press.Human reasoning and cognitive science with 676 citations on google scholar.Robert Kowalski (talk) 09:44, 2 October 2023 (UTC)
These and other changes have now been made. The most significant change is that the semantics subsection has been simplified, so that it now deals only with the Horn clause case, and it comes between the A=L+C and negation subsections. The problem solving subsection has been absorbed into the A=L+C section. The negation subsection now contains a discussion of the semantics of negation more generally. The metalogic programming subsection has been moved from Extensions to Concepts. A new subsection on LP and human thinking has been added. Robert Kowalski (talk) 09:27, 2 December 2023 (UTC)
Categories:- C-Class level-5 vital articles
- Misplaced Pages level-5 vital articles in Technology
- C-Class vital articles in Technology
- C-Class Computing articles
- Mid-importance Computing articles
- C-Class software articles
- Mid-importance software articles
- C-Class software articles of Mid-importance
- All Software articles
- C-Class Computer science articles
- Top-importance Computer science articles
- All Computing articles
- WikiProject Computer science articles
- Misplaced Pages pages with to-do lists