Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running example error when using tactics g #27

Open
hoyeunglee opened this issue Jun 7, 2016 · 1 comment
Open

running example error when using tactics g #27

hoyeunglee opened this issue Jun 7, 2016 · 1 comment

Comments

@hoyeunglee
Copy link

hoyeunglee commented Jun 7, 2016

http://www.cl.cam.ac.uk/~jrh13/hol-light/tutorial.pdf
section 8.1 page 45

git clone https://github.com/jrh13/hol-light.git
cd ./hol-light
make

use "hol.ml";;

let hol_dir = "/home/martin/Downloads/hol-light";;

tutorial page 45

g '2 <= n /\ n <= 2 ==> f(2,2) + n < f(n,n) + 7';;
e DISCH_TAC;;

g '2 <= n /\ n <= 2 ==> f(2,2) + n < f(n,n) + 7';;

^

Parse error: ';;' expected after [str_item](in [top_phrase])

@koenraat
Copy link

koenraat commented Dec 10, 2016

All HOL Light terms are contained within `` not ' '. The conversion from `` to '' sometimes happens when you're copying from e.g. a PDF.

`2 <= n /\ n <= 2 ==> f(2,2) + n < f(n,n) + 7` should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants