Open fblanqui opened 2 years ago
Ugh! It is a huge issue! It appeared in one of the update, since your example is the same as http://www.lsv.fr/~genestier/Documents/Publi/HOR_2019_Slides#page=9 but the answer is different. I will investigate it soon, and will push an update by the end of the week. Thanks for spotting it.
Ok, I investigated it today, it happens that the file you are suggesting is not a valid file of the termination competition. The
Action plan:
[ ] SCT should emit a warning whenever it did not identify any rule,
[ ] Add an option to SCT to check conformance of the input file with xtc.xsd (the extended version),
[ ] Fix the generator (so the export
command of lambdapi)
I fixed the generator. Thank you. (I got the same problem with Wanda and Cynthia answered the same thing to me; Wanda also did not emit any error message...) It would be very useful to have termination checkers check the validity of XTC files + typing + SR.
In https://github.com/fblanqui/rainbow/blob/master/ml_of_xsd.ml, we started to write a tool generating an XML parser from an XSD file, based on xml-light. Maybe it could be reused here.
starting lp file:
xml file obtained after
lambdapi export -o xtc
(using branch https://github.com/Deducteam/lambdapi/pull/871):Result:
But, if t=lam(\x:T.app(x,x)), then app(t,t) ->R (\x:T.app(x,x))t ->beta app(t,t).