Documentation Gap

Searching for Models and Conterexamples

Documentation Gap

Postby RSchulz on Thu Sep 03, 2009 11:15 pm

Hi,

I am writing an LADR format parser and have been using the input files in the downloadable documentation bundle http://www.cs.unm.edu/~mccune/prover9/manual/prover9-manual-2009-02A.tar.gz as test cases.

In doing so, I came across this construct:
Input: Select all
list(distinct)
% ...

The only mention of this I could find anywhere is at http://forums.prover9.org/viewtopic.php?f=9&t=9&p=19 (look for the October 21, 2008 entry).

This construct is not documented anywhere that I can find by searching the PDF file "finalbook.pdf" contained in the documentation bundle.


Randall Schulz
RSchulz
 
Posts: 41
Joined: Mon Oct 06, 2008 10:32 pm
Location: San Francisco Bay Area

Re: Documentation Gap

Postby mkinyon on Thu Sep 03, 2009 11:55 pm

Yes, some updating is certainly need. For now, see the zebra2 example here:

http://www.cs.unm.edu/~mccune/prover9/manual/2009-02A/m4-arithmetic.html
mkinyon
 
Posts: 93
Joined: Fri Apr 11, 2008 6:05 pm
Location: Denver, CO, USA

Re: Documentation Gap

Postby RSchulz on Thu Sep 03, 2009 11:59 pm

mkinyon wrote:Yes, some updating is certainly need. For now, see the zebra2 example here:

http://www.cs.unm.edu/~mccune/prover9/manual/2009-02A/m4-arithmetic.html

Uh, that's what sent me looking for a description of what said list is for.


Randall Schulz
RSchulz
 
Posts: 41
Joined: Mon Oct 06, 2008 10:32 pm
Location: San Francisco Bay Area

Re: Documentation Gap

Postby mkinyon on Fri Sep 04, 2009 12:07 am

Oh, well, it's basically just a shortcut. For instance,
Code: Select all
list(distinct).
   [England,Spain,Ukraine,Japan,Norway].
end_of_list.

is just a shorthand for
Code: Select all
formulas(assumptions).
England != Spain. England != Ukraine. England != Japan. England != Norway.
Spain != Ukraine. Spain != Japan. Spain != Norway.
Ukraine != Japan. Ukraine != Norway.
Japan != Norway.
end_of_list.
mkinyon
 
Posts: 93
Joined: Fri Apr 11, 2008 6:05 pm
Location: Denver, CO, USA

Re: Documentation Gap

Postby RSchulz on Fri Sep 04, 2009 12:10 am

I do understand what it's for / what it means. I just wanted to point out that it should be documented.


RRS
RSchulz
 
Posts: 41
Joined: Mon Oct 06, 2008 10:32 pm
Location: San Francisco Bay Area


Return to Mace4

Who is online

Users browsing this forum: No registered users and 1 guest

cron