简体   繁体   English

有没有办法在smtlib中包含另一个文件?

[英]is there a way to include another file in smtlib?

Similar to #include in C in importing functions and axioms that are defined in another file. 与C中的#include相似,用于导入另一个文件中定义的函数和公理。 I wasn't able to find such functionality described in the SMTLIB documentation or from the online examples. 我找不到SMTLIB文档或在线示例中描述的此类功能。 Any hints? 有什么提示吗?

SMTLib has no means of #include 'ing or importing other files. SMTLib无法#include '导入或导入其他文件。 This might look like a shortcoming, but it is quite rare for people to hand-write SMTLib files: It is almost always machine generated from a higher level language, and it is assumed that whoever generates the SMTLib can simply spit out one big file that includes everything you need. 这看似一个缺点,但是人们手写SMTLib文件的情况很少见:几乎总是使用高级语言由机器生成的,并且假定生成SMTLib的人可以简单地吐出一个大文件,包括您需要的一切。

Having said that, I think this would be a useful feature to have indeed. 话虽如此,我认为这是一个非常有用的功能有确实如此。 SMTLib standard is always evolving and such features are usually discussed in their mailing list: SMTLib标准一直在发展,通常在其邮件列表中讨论这些功能:

https://groups.google.com/forum/#!forum/smt-lib https://groups.google.com/forum/#!forum/smt-lib

Feel free to join the discussion and make a request! 随时加入讨论并提出要求!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM