Re: [Hol-info] proof replay?

2021-01-25 Thread Mark Adams
Hi Dan, So, in a nutshell, you've got N proof scripts in HOL Light that you want to fit together as one coherent proof in a single session, but that would take far too much processing to do so in practice. So you want to execute these in N parallel HOL Light sessions, recording the kernel-le

Re: [Hol-info] Visualizing subgoals in a proof script

2020-08-07 Thread Mark Adams
Hi Mario, Yes, as Freek says, Tactician would do the sort of thing you need, but is only for HOL Light. It works on the vast majority of tactic proofs as they are typically written in HOL Light, say perhaps 1 in every 1,000 proof script lines might trip it up. It could be ported to HOL4, but

Re: [Hol-info] grammar for HOL Light terms

2019-11-09 Thread Mark Adams
And for HOL Zero there is Appendix C of the User Manual that gives a formal grammar of the HOL Zero concrete syntax. Again, this is fairly similar to HOL Light's and HOL4's, but there are numerous small differences. Note that the formal grammar hasn't actually been checked (as far as I'm awar

Re: [Hol-info] 0 / 0 = 0 ???

2019-02-15 Thread Mark Adams
I think there is definitely an advantage in keeping ``x/y`` undefined (even granted that it will always be possible to prove ``?y. x/0 = y``), namely that it means that your proofs are much more likely to directly translate to other formalisms of real numbers where '/' is not total. Of course

Re: [Hol-info] String of term with type information?

2018-06-29 Thread Mark Adams
Hi, I don't know of any function in HOL Light (although I'm don't know about most recent versions). To write your own, a simple approach would be to print primitive term syntax, with all constants and variables annotated with their type, and to put parentheses around everything at every leve

Re: [Hol-info] Fwd: Re: Tracking lemmas used by REWRITE_CONV

2018-01-31 Thread Mark Adams
try the black box method myself (I won't be using this very often and the accuracy is not quite important). I saw a directory Proofrecording in the root directory of HOL Light. There's also anther implementation of dependency tracking as part of anther project here [1] These might b

Re: [Hol-info] Tracking lemmas used by REWRITE_CONV

2018-01-31 Thread Mark Adams
Hi Yaqing, I could enhance my Tactician tool to do this sort of thing. In fact, a new release is long overdue, so I'll try to find the time to do this soon (but am too busy in the next few weeks). But you say you're looking for a quick patch. One approach would be to apply the original con

Re: [Hol-info] INST

2018-01-07 Thread Mark Adams
Hi Michael, Yes, Konrad's right about how types are determined in term quotations, and I too don't know of an INST in HOL Light that unifies the types of its arguments. To get a listing of the types of the free variables in 'th', you can do: map dest_var (frees th);; or to return the type

Re: [Hol-info] [Metamath] Articles on Hale's Kepler Conjecture proof

2017-06-25 Thread Mark Adams
implementations that have this property of Pollack-consistency. It's good to see that these properties are being taken seriously. In the case of R0, this even holds for full proofs, and the property of faithfulness is also implemented: "Generally, definitions once introduced cannot

Re: [Hol-info] Pollack-consistency (HOL Light, Isabelle, and others); Introductions to HOL4 and HOL Zero

2017-02-13 Thread Mark Adams
k in correspondingly wrongly (so, for example, print & parse "true" as "false" and vice versa). Mark. On 13/02/2017 15:38, Ken Kubota wrote: > Dear List Members, > > Through Mark Adams' paper "HOL Zero's Solutions for > Pollack-Inconsistency&quo

Re: [Hol-info] Genesis of Church's simple theory of types, Wiedijk's criticism concerning the (current) HOL family

2016-10-22 Thread Mark Adams
billion primitive inference steps. Another intended role is a pedagogical example of a basic HOL system, with a simple coding style and lots of code comments explaining what is going on, which also helps trustworthiness. Mark Adams. On 22/10/2016 03:41, Ken Kubota wrote: > … I have now ad

Re: [Hol-info] Type checking issue

2016-07-03 Thread Mark Adams
Hello Abid, The term quotation fails type checking simply because the types of LHS and RHS of the equality are different: `:real^((N,P)finite_sum,Q)finite_sum^M` (with type vars N, P, Q, M) `:real^(N,(P,Q)finite_sum)finite_sum^M` (with type vars N, P, Q, M) As I understand it (I may be

Re: [Hol-info] A question about the theorem in HOL4?

2016-06-22 Thread Mark Adams
It's a bit confusing. The expressions you enter in the session are not actually in HOL - they are in the functional programming language ML. This is the language used to implement HOL4. You are in an ML toplevel (also called "read-eval-print loop" or "REPL"), with HOL4 already incorporated. ML

Re: [Hol-info] Fwd: Re: HOL-Light Beginner Questions

2016-06-17 Thread Mark Adams
'). So I think you should get what you intend by transforming it to something logically equivalent, i.e. change "A ==> B ==> C" to "A /\ B ==> C". The error messages could be much better here. Mark. On 17/06/2016 10:51, Heiko Becker wrote: > Hello, > On

Re: [Hol-info] Fwd: Re: HOL-Light Beginner Questions

2016-06-16 Thread Mark Adams
Hi Heiko, That's strange, your corrected version goes through fine on my computer. Do you still get the same problem if you restart HOL Light and enter the corrected script? What version of HOL Light are you using? Mark. On 16/06/2016 10:01, Heiko Becker wrote: > Forwarded Message --

Re: [Hol-info] How to transform the proof form

2015-11-27 Thread Mark Adams
For HOL Light I've got a tool called Tactician that would be ideal for that: http://www.proof-technologies.com/tactician/ but it doesn't work for HOL4. One day I hope to port it, but that's unlikely to be done in the near future. Mark. on 27/11/15 8:20 AM, Ada wrote: > Hey guys, > > I am

Re: [Hol-info] proof structure in Coq

2015-11-18 Thread Mark Adams
) >> >> Of course in Flyspeck many (most?) proofs are the other >> way around, where there is just a list of tactics that is >> processed like you would successively "e" them interactively. >> I think Mark Adams tactician is exa

Re: [Hol-info] Emacs Macros for HOL Light Proof

2015-11-06 Thread Mark Adams
Hi Petros/Joe, I must admit that I'm not particularly familiar with any of these Emacs/etc modes for HOL Light and HOL4, although I have seen Proof General, and ProofTree that interacts with it. How do these other facilities compare? > Tactician is more general and gives you a full breakdown of

Re: [Hol-info] Question about camlp5

2015-05-28 Thread Mark Adams
Hi Robert, Could you provide more information about the circumstances when it fails? Specifically, which versions of OCaml and Camlp5 are you using? Execute the following in a terminal window: ocaml -version camlp5 -v Does this error arise when building HOL Light from source in an OCaml se

Re: [Hol-info] Theorems Produced by Type Definitions

2014-10-16 Thread Mark Adams
Seems a good idea to me. Given ETA_AX, it's easy to show equivalence with current HOL Light, and it's always better to have closed formulae coming out of definition commands. One small point: the formulae as written in the linked message do not have the intended syntactic form (due to bracketing)

Re: [Hol-info] advice on installing Ocaml, camlp5 & HOL Light on Mac OS X 10.8.5?

2014-09-17 Thread Mark Adams
_ > From: marco.magg...@gmail.com [marco.magg...@gmail.com] on behalf of Marco > Maggesi [magg...@math.unifi.it] > Sent: 17 September 2014 08:15 > To: Mark Adams > Cc: Nela Cicmil; hol-info@lists.sourceforge.net > Subject: Re: [Hol-info] advice on installing Ocaml

[Hol-info] Flyspeck Project completion

2014-09-16 Thread Mark Adams
, Alexey Solovyev, Hoang Le Truong, and the Flyspeck Team August 10, 2014 CREDITS Project Director: Thomas Hales Project Managers: Ta Thi Hoai An, Mark Adams HOL Light libraries and support: John Harrison, Isabelle Tame Graph Classification: Gertrud Bauer, Tobias Nipkow, Chief Programmer:

Re: [Hol-info] advice on installing Ocaml, camlp5 & HOL Light on Mac OS X 10.8.5?

2014-09-16 Thread Mark Adams
Hi Nela, There have been various problems over the years, but I get no problems with recent versions of HOL Light (downloaded since May 2014, including SVN version 197 downloaded in mid-August) with OCaml 4.01.0 and Camlp5 6.11 running on Fedora 17. Do you know the HOL Light SVN version (or other

Re: [Hol-info] Learning HOL Light

2014-03-21 Thread Mark Adams
Hi Bill, on 21/3/14 4:28 PM, Bill Richter wrote: > ... BTW where is the constant = defined in HOL Light? I see now that > the line in bool.ml override_interface ("<=>",`(=):bool->bool->bool`);; > just means that <=> is being defined as a synonym for = in this special > case. In general = has t

Re: [Hol-info] Learning HOL Light

2014-03-21 Thread Mark Adams
I should have said '@' instead of '?' here. The constant '?' is actually defined in these axiomatisations (using '@'). Mark. on 21/3/14 9:10 AM, Mark Adams wrote: > ... In HOL Light's axiomatisation, the only such entities are the 'bool&

Re: [Hol-info] Learning HOL Light

2014-03-21 Thread Mark Adams
Hi Bill, on 21/3/14 6:19 AM, Bill Richter wrote: > ... > > T = ((λxbool . x) = (λxbool . x)) > > So it looks to me that HOL Light is defining Tom's primitive = in terms of > the Ocaml =. Is that correct? And maybe that just means that the HOL Light > primitive = is "represented" in Ocaml as th

Re: [Hol-info] Learning HOL Light

2014-03-21 Thread Mark Adams
Hi Bill, Have you tried looking at the HOL Zero source code? I think you will find it illustrative for your purposes. It has a simple core like HOL Light, but the source code explains more of what is going on. In file 'corethy.ml' I try to motivate the axioms and constant definitions used in th

Re: [Hol-info] More on set comprehensions

2014-01-08 Thread Mark Adams
Ah yes, point taken. on 8/1/14 10:13 AM, Rob Arthan wrote: > Mark, > > On 8 Jan 2014, at 03:22, Mark Adams wrote: > >> Not wanting to be too picky here (because I very much agree with the > thrust >> of what Rob is saying), but isn't ProofPower term quotation par

Re: [Hol-info] More on set comprehensions

2014-01-07 Thread Mark Adams
Not wanting to be too picky here (because I very much agree with the thrust of what Rob is saying), but isn't ProofPower term quotation parsing sensitive to the subgoal package state (specifically, free variables in term quotations pick up the types of existing free variables in the subgoal package

Re: [Hol-info] Trouble building HOL light

2013-10-15 Thread Mark Adams
Oops. That last email contains an error in the detail. The HOL Light adaption of 'plexer.ml' and 'pa_o.ml' is called 'pa_j.ml'. Mark. on 15/10/13 2:29 PM, Mark Adams wrote: > Hi Rob, > > Yes, you not only need a sufficiently recent version of Camlp5 for

Re: [Hol-info] Trouble building HOL light

2013-10-15 Thread Mark Adams
Hi Rob, Yes, you not only need a sufficiently recent version of Camlp5 for your version of OCaml, you also need to create a sufficiently recent adapted-for-HOL-Light version of pa_j.ml (adapted from Camlp5 source code files etc/). You are right that you can work out what adaptions to do by diffin

[Hol-info] HOL glossary

2011-04-20 Thread Mark Adams
to suggestions for improvement and/or debate about appropriate choice of names/descriptions/scope. Mark Adams -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of