Well, under Shen/Scheme, parsing this file into THORN first order axioms using Shen-YACC took 10.8 seconds.
Writing the resulting THORN axioms to file took 13.6 seconds. Compiling this knowledge base into executableShen via the THORN compiler takes a lot longer.
M.On Tuesday, 27 June 2023 at 13:42:35 UTC+1 dr.mt...@gmail.com wrote:One first-order theory is over 4 x 10^5 lines long (400, 991 to be exact), take a gander.I'm going to see if this can be parsed into THORN notation using Shen YACC. I've nevertried to parse a file of this size before and compiling it into THORN should be a challenge.M.On Thursday, 8 June 2023 at 22:25:02 UTC+1 dr.mt...@gmail.com wrote:Or Thousands of Problems for Theorem Provers is a cool site for those interested in testing ATPs. One problem is that the syntax of TPTP is not that of THORN and transcribing by hand is too tedious. It's a nice study for a Shen programmer to be able to type securely compile this enormous library into THORN notation and use it to test THORN.It's a good final year UG project.M.
--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/qilang/b8f47ade-aa1c-4ca9-9063-dca6d49ddd76n%40googlegroups.com.
Well, under Shen/Scheme, parsing this file into THORN first order axioms using Shen-YACC took 10.8 seconds.
Writing the resulting THORN axioms to file took 13.6 seconds. Compiling this knowledge base into executableShen via the THORN compiler takes a lot longer.Regarding this part "Writing the resulting THORN axioms to file took 13.6 seconds."How much data is it? and which functions are you using for writing the data? Shen/Scheme already tries to use fast native options when possible for the standard Shen I/O functions, but for your specific case there may be specific native calls that can speed it up.