I need a working tutorial on Isabelle and Sledgehammer -


i installed latest isabelle/jedit package windows computer. used official package isabelle website. opened tutorials on isabelle webpage , started computer experiments. realized many examples presented in these tutorials not work in installation! example, in tutorial on page 5 following basic example of isabelle program presented:

theory test imports main begin lemma "[a]=[b] ⟹ a=b" sledgehammer 

nothing of worked in installation!

  1. isabelle complained formula "[a]═[b] ⟹ a=b" has inner lexical error: "failed parse prop"
  2. when replaced formula working 1 "(a & b) ⟹ a" command 'sledgehammer' did not work. received message in goals field

    goal (1 subgoal)

    1. ( a&b ⟹ a) &&& sledgehammer

instead of applying strange sledgehammer. attempt call sledgehammer button of jedit failed, received error message "missing print function 'sledgehammer'"

so, question community. there working tutorial of isabelle sledgehammer, latest version? or @ least collection of working examples on beginner level.

both examples work without problems on installation of isabelle 2015 (and should surprised if different on isabelle 2014 or 2013).

the reason why isabelle gives lexical error on [a]═[b] ⟹ a=b first equals sign in formula not equals sign, boy-drawing character. have no idea how managed character in there, if replace equals sign, works.

in second example, appears somehow, ‘sledgehammer’ parsed term, not command. have no idea how can (especially not without seeing exact code entered), following works fine on installation:

theory scratch imports main begin  lemma "(a & b) ⟹ a" sledgehammer 

edit: ah, failed see using isabelle windows. have no experience isabelle windows, guess there problem sledgehammer , isabelle on windows in case. if example printed before not work on installation, suggest write email mailing list , report problem, because absolutely should work.

in case, have heard, isabelle on windows painful , 1 should ideally use linux or mac os.

on other hand, sledgehammer no means essential component of isabelle. can use , learn isabelle without sledgehammer. tutorial, can recommend book concrete semantics. (free pdf version)


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -