Closed htzh closed 5 years ago
mmj2 expects to be proving theorems of the form |- thing to prove
. I think you have to declare your "logical typecode" to be term
if you want your theorems to have the form term bla
instead of |- bla
, but mmj2 assumes there is only one logical typecode. (I made some attempts to generalize this but I forget how far I got.)
You will also want to disable macros if you are getting an error in transformations.js
; this file assumes you are working on set.mm or one of its derivatives, and there is no good way to detect if this is actually the case.
You need to set ProvableLogicStmtType
and LogicStmtType
if you want to change the default logical typecodes.
That makes sense. I added a turnstile assertion and the exception did go away. I don't have a problem with using the turnstile. I saw your message at the Google group as well. Thanks a lot for the help! I will close the issue now and ask further questions over at the group.
I tried to get mmj2 to start on a small file (proved and saved from metamath) and it failed with:
I had noticed earlier that I had to add the constants
$c wff |- set class $.
from set.mm to even get this far. The content is very minimal right now:And RunParms look like