<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAnswer_set_programming</id>
	<title>Talk:Answer set programming - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Talk%3AAnswer_set_programming"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Answer_set_programming&amp;action=history"/>
	<updated>2026-10-26T15:52:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Answer_set_programming&amp;diff=1824151&amp;oldid=prev</id>
		<title>imported&gt;Cewbot: Maintain {{WPBS}} and vital articles: 1 WikiProject template. Create {{WPBS}}. Keep majority rating &quot;Start&quot; in {{WPBS}}. Remove 1 same rating as {{WPBS}} in {{WikiProject Computer science}}.</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Answer_set_programming&amp;diff=1824151&amp;oldid=prev"/>
		<updated>2024-01-25T02:48:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki143/index.php?title=User:Cewbot/log/20200122/configuration&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Cewbot/log/20200122/configuration (page does not exist)&quot;&gt;Maintain {{WPBS}} and vital articles&lt;/a&gt;: 1 WikiProject template. Create {{WPBS}}. Keep majority rating &amp;quot;Start&amp;quot; in {{WPBS}}. Remove 1 same rating as {{WPBS}} in {{WikiProject Computer science}}.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Talk header}}&lt;br /&gt;
{{WikiProject banner shell|class=Start|&lt;br /&gt;
{{WikiProject Computer science|importance=low}}&lt;br /&gt;
}}&lt;br /&gt;
== Article is completely opaque for anyone who isn&amp;#039;t already an expert ==&lt;br /&gt;
Can someone attempt to rewrite this article for benefit of people who aren&amp;#039;t already 100% aware of answer set programming is? Relevant examples would be a huge help.  &amp;lt;span style=&amp;quot;font-size: smaller;&amp;quot; class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/38.99.133.121|38.99.133.121]] ([[User talk:38.99.133.121|talk]]) 18:56, 3 October 2012 (UTC)&amp;lt;/span&amp;gt;&amp;lt;!-- Template:Unsigned IP --&amp;gt; &amp;lt;!--Autosigned by SineBot--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== tail/body ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;An answer set program is composed of a set of rules, each rules being composed of an head and a tail: &amp;#039;head &amp;lt;-- body&amp;#039;&amp;quot;  is that supposed to be &amp;quot;head &amp;lt;-- tail&amp;quot;?&lt;br /&gt;
:Actually, it&amp;#039;s &amp;quot;body&amp;quot; the correct term; &amp;quot;tail&amp;quot; was my mistake. Changed. - [[User:Paolo Liberatore|Liberatore]]([[User talk:Paolo Liberatore|T]]) 23:03, 12 May 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
Afaik there are no negations allowed in the head, so my guess is that these examples are wrong [[User:Kermesbeere|Kermesbeere]] 16:05, 8 January 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
:V. Lifschitz (2002) disagrees with you: &amp;quot;The negation as failure symbol is allowed to occur in the head of a rule, and not only in the body as in traditional logic programming.&amp;quot; (page 41, lines 8-9). If don&amp;#039;t have access to that article see [http://citeseer.ist.psu.edu/inoue98negation.html]. [[User talk:Tizio|Tizio]] 17:00, 8 January 2007 (UTC) &lt;br /&gt;
:: Negation as failure in the head may well be permissible in the language discussed in that paper, but that should be considered as an extension -- and not part of the usual syntax for answer set programs [[User:Zootalures|Zootalures]] 17:59, 18 February 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
Either way, negation as failure is currently not defined in the article at all.  The &amp;quot;not&amp;quot; symbol is used in some of the examples, but is nowhere defined.  See [[Stable model semantics]].  [[Special:Contributions/141.157.47.37|141.157.47.37]] ([[User talk:141.157.47.37|talk]]) 11:59, 26 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Start of Clean up ==&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve made a go at cleaning up the article a bit, although it&amp;#039;s still not perfect. The Math sections which were in the syntax section before looked messy (and IMHO the example rules given were not representative of the &amp;quot;standard&amp;quot; ASP syntax (see for instance [http://portal.acm.org/citation.cfm?id=582493&amp;amp;dl=] for a good overview of the &amp;quot;basic&amp;quot; syntax and a number of extensions). &lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d prefer it if the rule sections that i&amp;#039;ve added were in math blocks using the &amp;quot;formal&amp;quot; syntax (i.e. &amp;lt;math&amp;gt;\neg&amp;lt;/math&amp;gt; and  &amp;lt;math&amp;gt;\leftarrow&amp;lt;/math&amp;gt;instead of &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;:-&amp;lt;/code&amp;gt; , but the latex converter was a bit fickle and it was hard to get a given program to look consistent (parts seemed to be translated to png, and others to HTML, which looked ugly).&lt;br /&gt;
&lt;br /&gt;
It would be nice to see some coverage of disjunction and choice in the head (i.e. dlv head choice and smodels choice rules), also something about variable expansion, and function symbols (and possibly how they are considered in relation to predicates in prolog)&lt;br /&gt;
&lt;br /&gt;
Also there should probably be some context and history relating to [[Datalog]] but I&amp;#039;m not well enough versed to provide this.&lt;br /&gt;
&lt;br /&gt;
There should also be a link to or merge with [[Stable model semantics]]. &lt;br /&gt;
&lt;br /&gt;
[[User:Zootalures|Zootalures]] 00:41, 19 February 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
From stable model semantics you get both ASP (credulous reasoning) and Well-founded Semantics as implemented e.g. by [[XSB]] using the SLG-WAM which are two competing ways to represent knowledge.  ASP is not synonymous with stable models. --anon user&lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
[[User:Ricardo.6ik|Ricardo.6ik]] 01:39, 19 June 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
I have significantly extended [[Stable model semantics]], and I plan to add a few more sections about constructs used in ASP -- classical negation, constraints, disjunctive rules, choice rules and aggregates.  Then that article will completely supersede the current version of [[Answer set programming]].  Here is my proposal: let&amp;#039;s rewrite [[Answer set programming]] from scratch, with a different emphasis.  It will be about ASP as a &amp;#039;&amp;#039;programming methodology&amp;#039;&amp;#039;, about applications of stable models and answer set solvers, such as smodels, to knowledge representation and search.  For theoretical background related to stable models, the reader will be referred to [[Stable model semantics]].&lt;br /&gt;
&lt;br /&gt;
That would require that we replace the current version of [[Answer set programming]] by a new stub.  If there are no objections then I&amp;#039;ll try to do that. [[User:Vlifschitz|Vlifschitz]] 20:54, 7 September 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
The earlier version is replaced by a new stub, with apologies to the editors who have invested their time in cleaning up the original text.&lt;br /&gt;
[[User:Vlifschitz|Vlifschitz]] 19:03, 3 October 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
can this be disambiguated vs. asp.net? Thanks![[User:Highland8410|Highland8410]] ([[User talk:Highland8410|talk]]) 19:51, 2 June 2016 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Merge with answer set programming ==&lt;br /&gt;
&lt;br /&gt;
The recent edit by Vladimir Lifschitz confirms that stable models have an independent significance from answer set programming. This article is worth keeping separate.  &amp;lt;small&amp;gt;—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Logperson|Logperson]] ([[User talk:Logperson|talk]] • [[Special:Contributions/Logperson|contribs]]) 20:25, August 29, 2007 (UTC)&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt; &amp;lt;!--Autosigned by SineBot--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The computational process ==&lt;br /&gt;
&lt;br /&gt;
It would be useful to have more information in the article about the computational process. Otherwise, it is hard to be sure that answer set programs are really declarative. The link to the DPLL algorithm does not give enough information about the treatment of negation.[[Special:Contributions/136.187.112.90|136.187.112.90]] ([[User talk:136.187.112.90|talk]]) 02:22, 25 March 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
== confused! ==&lt;br /&gt;
The article says:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1{p,q,r}2.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This rule says: choose at least 1 of the atoms &amp;lt;math&amp;gt;p,q,r&amp;lt;/math&amp;gt;, but not more than 2.  The meaning of this rule under the stable model semantics is represented by the [[propositional formula]]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(p\lor\neg p)\land(q\lor\neg q)\land(r\lor\neg r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\land\,(p\lor q\lor r)\land\neg(p\land q\land r).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Yet the answer contains p,q, and r in at least 2 of the clauses! Please clarify. Perhaps an example of 1{p,q,r}3 or something would help.&lt;br /&gt;
&lt;br /&gt;
[[Special:Contributions/72.48.91.117|72.48.91.117]] ([[User talk:72.48.91.117|talk]]) 15:32, 21 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
:It is not the number or size of clauses that matters but the assignment of true or false to p, q and r such that the formula is satisfied. Let&amp;#039;s consider satisfying none of p, q and r: for the first three clauses, that works but then we can&amp;#039;t satisfy the fourth clause. Let&amp;#039;s consider each of p, q and r: for the first four clauses, that works but then we can&amp;#039;t satisfy the last clause. Satisfying the formula with 1 or 2 of p, q and r is possible however. - [[User:Simeon|Simeon]] ([[User talk:Simeon|talk]]) 01:45, 9 June 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
::Another remark on this example: the first line of the formula does not make any difference, since that part is a tautology, i.e. it evaluates always to true. Only the second part is needed:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;(p\lor q\lor r)\land\neg(p\land q\land r).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::[[User:Eray|Eray]] ([[User talk:Eray|talk]]) 08:22, 16 July 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Relationship to [[QBF]] ? ==&lt;br /&gt;
&lt;br /&gt;
This is a naive or stupid question or both: but what exactly is the relationship to [[QBF]]?  I noticed, just from hands-on experience writing some ASP programs, that most clauses/sentences that one writes are of the form &amp;quot;there exists&amp;quot; (i.e. if this is true(i.e. exists) then that is true (i.e. exists)), while aggregates tend to have a &amp;quot;for-all&amp;quot; flavor to them. Now, one can&amp;#039;t nest these arbitrarily (clasp/clingo spews an error about &amp;quot;unstratified predicates&amp;quot; or something like that), but still, ASP seems to somehow have a there-exists/for-all-like structure, nested to (no more than) one level.  Can this be expressed formally?  Or perhaps in the [[stable model semantics]] article?  [[User:Linas|linas]] ([[User talk:Linas|talk]]) 04:38, 25 April 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== External links modified ==&lt;br /&gt;
&lt;br /&gt;
Hello fellow Wikipedians,&lt;br /&gt;
&lt;br /&gt;
I have just modified {{plural:1|one external link|1 external links}} on [[Answer set programming]]. Please take a moment to review [https://en.wikipedia.org/w/index.php?diff=prev&amp;amp;oldid=744429569 my edit]. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit [[User:Cyberpower678/FaQs#InternetArchiveBot|this simple FaQ]] for additional information. I made the following changes:&lt;br /&gt;
*Added archive https://web.archive.org/web/20080223132705/http://asparagus.cs.uni-potsdam.de:80/contest/ to http://asparagus.cs.uni-potsdam.de/contest/&lt;br /&gt;
&lt;br /&gt;
When you have finished reviewing my changes, please set the &amp;#039;&amp;#039;checked&amp;#039;&amp;#039; parameter below to &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;failed&amp;#039;&amp;#039;&amp;#039; to let others know (documentation at {{tlx|Sourcecheck}}).&lt;br /&gt;
&lt;br /&gt;
{{sourcecheck|checked=false}}&lt;br /&gt;
&lt;br /&gt;
Cheers.—[[User:InternetArchiveBot|&amp;#039;&amp;#039;&amp;#039;&amp;lt;span style=&amp;quot;color:darkgrey;font-family:monospace&amp;quot;&amp;gt;InternetArchiveBot&amp;lt;/span&amp;gt;&amp;#039;&amp;#039;&amp;#039;]] &amp;lt;span style=&amp;quot;color:green;font-family:Rockwell&amp;quot;&amp;gt;([[User talk:InternetArchiveBot|Report bug]])&amp;lt;/span&amp;gt; 04:42, 15 October 2016 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Plagiarism? ==&lt;br /&gt;
&lt;br /&gt;
I notice the opening to this article and the History section are taken almost verbatim from an unreferenced AAAI 2008 research paper due to Vladimir Lifschitz:&lt;br /&gt;
https://www.aaai.org/Papers/AAAI/2008/AAAI08-270.pdf&lt;br /&gt;
&lt;br /&gt;
I suggest a cleanup.  &amp;lt;!-- Template:Unsigned IP --&amp;gt;&amp;lt;small class=&amp;quot;autosigned&amp;quot;&amp;gt;—&amp;amp;nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/49.127.106.93|49.127.106.93]] ([[User talk:49.127.106.93#top|talk]]) 00:55, 20 September 2019 (UTC)&amp;lt;/small&amp;gt; &amp;lt;!--Autosigned by SineBot--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is the correct case for &amp;quot;Lparse&amp;quot;? ==&lt;br /&gt;
&lt;br /&gt;
What is the correct case for the language &amp;quot;Lparse&amp;quot;, note that it is a specific word. Is the correct case &amp;quot;Lparse&amp;quot; as in &amp;quot;[[Python (programming language)|Python]]&amp;quot;? or the correct case is &amp;quot;lparse&amp;quot; as in [[eC (programming language)|eC]] or [[occam]]. It is sometimes written as &amp;quot;lparse&amp;quot;. Thanks, [[User:Hooman Mallahzadeh|Hooman Mallahzadeh]] ([[User talk:Hooman Mallahzadeh|talk]]) 13:15, 29 May 2021 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Apparently, the authors of Lparse themselves are inconsistent in their own usage.&lt;br /&gt;
: Look at the papers that mention lparse, when you type lparse into Google Scholar.[[User:Logperson|Logperson]] ([[User talk:Logperson|talk]]) 21:05, 29 May 2021 (UTC)&lt;/div&gt;</summary>
		<author><name>imported&gt;Cewbot</name></author>
	</entry>
</feed>