From rda at lemma-one.com Fri Jan 1 23:00:29 2016 From: rda at lemma-one.com (Rob Arthan) Date: Fri, 1 Jan 2016 23:00:29 +0000 Subject: [opentheory-users] Is OpenTheory usable with Coq? In-Reply-To: References: Message-ID: <6F1FAA0C-6A5A-4EE8-969E-572EA34ECFB3@lemma-one.com> > On 30 Dec 2015, at 03:54, Yannick wrote: > > > > ------- Forwarded message ------- > From: Yannick > To: "Ramana Kumar" > Cc: > Subject: Re: [opentheory-users] Is OpenTheory usable with Coq? > Date: Wed, 30 Dec 2015 02:46:31 +0100 > > On Tue, 29 Dec 2015 13:25:44 +0100, Ramana Kumar wrote: > > I should add that for HOL4 (and HOL Light, I think) there are editor-based interfaces (for Vim and for Emacs, at least) so you are not confined to using only the read-eval-print loop. > > Precisely the two editors I'm afraid of :-D . Don't mind, I will setup what I need if I'm really not OK with the SML interpreter interface. > The ProofPower user interface (called xpp) is at heart just a simple mouse- and menu -driven wisiwyg text editor that lets you execute selections from the text you are editing in the read-eval-print loop of an interactive program. I routinely use it to develop scripts not just for ProofPower but for HOL Light, HOL4 and other programs like sh, bc and gnuplot. I believe it was quite popular for developing HOL Light code with some of the Flyspeck team in Vietnam. Regards, Rob. From joe at gilith.com Sun Jan 3 07:43:05 2016 From: joe at gilith.com (Joe Leslie-Hurd) Date: Sat, 2 Jan 2016 23:43:05 -0800 Subject: [opentheory-users] Funny copy/paste error In-Reply-To: References: Message-ID: Hi Yannick, Thanks for pointing that out, I've fixed the error. Cheers, Joe On Thu, Dec 31, 2015 at 2:54 AM, Yannick wrote: > A web page says: ?I strongly recommend using MLton (or Poly/ML) over Moscow > ML to run opentheory, for reasons of speed?. > > Okay, except it's a page about Metis :-D > > http://www.gilith.com/software/metis/faq.html > > > -- > Yannick Duch?ne > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > From joe at gilith.com Sun Jan 3 07:44:09 2016 From: joe at gilith.com (Joe Leslie-Hurd) Date: Sat, 2 Jan 2016 23:44:09 -0800 Subject: [opentheory-users] Curl dependency not in doc In-Reply-To: References: Message-ID: Hi Yannick, Thanks for the suggestion, I've added a FAQ entry for it: http://www.gilith.com/research/opentheory/faq.html#what-does-the-tool-depend-on Cheers, Joe On Tue, Dec 29, 2015 at 9:47 PM, Yannick wrote: > Just a tiny thing, however which should be mentioned in > http://www.gilith.com/software/opentheory/install.html : OpenTheory depends > on Curl (also, resuming after installing it, still fails, one have to clean > everything and restart the whole build). > > -- > Yannick Duch?ne > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > From yannick_duchene at yahoo.fr Mon Jan 4 05:14:54 2016 From: yannick_duchene at yahoo.fr (Yannick =?UTF-8?B?RHVjaMOqbmU=?=) Date: Mon, 4 Jan 2016 06:14:54 +0100 Subject: [opentheory-users] Is OpenTheory usable with Coq? In-Reply-To: <6F1FAA0C-6A5A-4EE8-969E-572EA34ECFB3@lemma-one.com> References: <6F1FAA0C-6A5A-4EE8-969E-572EA34ECFB3@lemma-one.com> Message-ID: <20160104061454.187aef3a@cardamome> On Sat, 02 Jan 2016 00:00:29 +0100 "Rob Arthan" wrote: > The ProofPower user interface (called xpp) is at heart just a simple mouse- and menu -driven wisiwyg text editor that lets you execute selections from the text you are editing in the read-eval-print loop of an interactive program. I routinely use it to develop scripts not just for ProofPower but for HOL Light, HOL4 and other programs like sh, bc and gnuplot. I believe it was quite popular for developing HOL Light code with some of the Flyspeck team in Vietnam. > > Regards, > > Rob. > Oh, thanks for the tip! I though ProofPower was only a prover which was to be used with Emacs. I never suspected it has an editor?? will give it a try. From ramana at member.fsf.org Fri Jan 29 08:36:42 2016 From: ramana at member.fsf.org (Ramana Kumar) Date: Fri, 29 Jan 2016 19:36:42 +1100 Subject: [opentheory-users] removing definitions from theories Message-ID: Hi, Is it possible to take a theory that makes definitions of types/constants, and then re-present the same theory _without_ making the definitions (instead taking them as ungrounded constants, and the definitional theorems as axioms). I know there is already this command: opentheory info --theorems ... which removes all the proofs, but it still keeps the definitions in. Can I also remove the definitions? In essence, I want a totally axiomatic presentation of a theory. Thanks, Ramana -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at gilith.com Fri Jan 29 16:52:38 2016 From: joe at gilith.com (Joe Leslie-Hurd) Date: Fri, 29 Jan 2016 08:52:38 -0800 Subject: [opentheory-users] removing definitions from theories In-Reply-To: References: Message-ID: Hi Ramana, There's currently no tool support for this, but I don't think it would be too difficult to implement. What is your use-case? Cheers, Joe On Fri, Jan 29, 2016 at 12:36 AM, Ramana Kumar wrote: > Hi, > > Is it possible to take a theory that makes definitions of types/constants, > and then re-present the same theory _without_ making the definitions > (instead taking them as ungrounded constants, and the definitional theorems > as axioms). > > I know there is already this command: > > opentheory info --theorems ... > > which removes all the proofs, but it still keeps the definitions in. > > Can I also remove the definitions? > > In essence, I want a totally axiomatic presentation of a theory. > > Thanks, > Ramana > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > From ramana at member.fsf.org Sat Jan 30 01:57:47 2016 From: ramana at member.fsf.org (Ramana Kumar) Date: Sat, 30 Jan 2016 12:57:47 +1100 Subject: [opentheory-users] removing definitions from theories In-Reply-To: References: Message-ID: I am trying to build a compatibility bridge between HOL4's standard library and the OpenTheory standard library. I've thought about (and started trying) various approaches. The latest idea (due mostly to Michael Norrish) is: 1. Record a theory containing the HOL4 standard library, entirely in the HOL4 namespace, depending only on the axioms of HOL. 2. Remove from this theory all definitions of things that are already in the OpenTheory standard library. The constants should then become ungrounded, and where they were defined the article should instead add the definitional axioms as axioms. 3. Instantiate all the ungrounded constants with constants from the OpenTheory standard library, and then also add the OpenTheory standard library. 4. Prove any remaining axioms. The feature I requested is for step 2. I realise now that I need to be able to remove definitions selectively, not just remove them all. There may be some way to accomplish that even if the primitive functionality is to remove them all, though. On 30 January 2016 at 03:52, Joe Leslie-Hurd wrote: > Hi Ramana, > > There's currently no tool support for this, but I don't think it would > be too difficult to implement. What is your use-case? > > Cheers, > > Joe > > On Fri, Jan 29, 2016 at 12:36 AM, Ramana Kumar > wrote: > > Hi, > > > > Is it possible to take a theory that makes definitions of > types/constants, > > and then re-present the same theory _without_ making the definitions > > (instead taking them as ungrounded constants, and the definitional > theorems > > as axioms). > > > > I know there is already this command: > > > > opentheory info --theorems ... > > > > which removes all the proofs, but it still keeps the definitions in. > > > > Can I also remove the definitions? > > > > In essence, I want a totally axiomatic presentation of a theory. > > > > Thanks, > > Ramana > > > > _______________________________________________ > > opentheory-users mailing list > > opentheory-users at gilith.com > > http://www.gilith.com/mailman/listinfo/opentheory-users > > > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: