Comments (6)
There is a tutorial for HOL Light (https://www.cl.cam.ac.uk/~jrh13/hol-light/tutorial.pdf). Its installation instruction is a bit outdated, but the remaining sections are still valid.
I typically use HOL Light VSCode plugin (https://github.com/monadius/vscode-hol-light) to edit a proof.
from hol-light.
thank you, it's really helpful.i have almost finished
vscode
I have already download vscode in my window system, and it says I needn't to download an aditional one in wsl, which have caused a collision.I ran the vscode in my wsl by a "$code" command(a error about unc host was encoutered and i fixed it by adding wsl.localhost to allowed hosts in settings).
hol-light plug-in
i installed the hol-light extension,and configured the hol-light path. then I create a hl file named "hello_world.hl" in vscode. as the extension suggest, the file can be recognised and the completion hover is offerred (but no highlight) as i'm typing.
interactive way in the CLI
i find in the pdf you offerred that i can access the hol-light in the ocaml CLI, with ocaml as the toplevel basics and hol-light being a library, just through a single use command.but i come across a sequence of errors such like "Error: Unbound module Num" ,which seems miss of num lib, caused by incomplete dependency building or something.
problems
i want to use hol-light in a script, and the only thing left is how to excute or parse it.
the uncommon highlight and the error of "use command" is irrelevant but may indicate something wrong with my deployment
from hol-light.
interactive way in the CLI
For installation, probably you will want to read README of this HOL Light repository. You can use make switch
to install dependent packages.
from hol-light.
thank you. i solved the "unbound module num" problem by installing the "num" module .and eventually i have my first hol-light term defined in the interactive way.
what about the vscode-plugin. how to parse it supposing i create a file named "hello_world.hl" containing one line "x+1
;;" in vscode
from hol-light.
alright, i find the solution in the extension's introduction about commands ,Alt + E can Sends selected text to HOL Light. thanks, the problems are solved
from hol-light.
Could you close this issue if the problem is resolved?
from hol-light.
Related Issues (20)
- Compatibility with camlp5-7.07? HOT 1
- Installing for Apple/Mac's Unix HOT 6
- Forum for HOL Light questions, collaborations etc HOT 5
- Failure with camlp5 7.11 (+ Debian patch) HOT 2
- "Comms::Receive failed" when inference the whole val dataset to generate proof_log
- Illegal begin of top_parse HOT 1
- unable to install hol-light on mac or centos 7.4
- unnecessary hyp in TAN_ADD HOT 1
- make error HOT 5
- [INFO] HOL Light Native HOT 1
- HOL light installation problem on macos HOT 6
- opam installation HOT 2
- `instantiate` can produce terms that are not parsable HOT 1
- HOL Terminal Basic Issues, Syntax and Related Commands HOT 4
- HOL-Light with recent versions of ocaml & camlp5 ? HOT 5
- How to use Map.Make after "hol.ml"? HOT 2
- Logic/canon.ml fails HOT 1
- Updating update_database.ml for OCaml 5 HOT 1
- No release - and none with OCaml 5 support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hol-light.