#
b5cdf470 |
|
13-Jun-2018 |
Gerwin Klein <gerwin.klein@data61.csiro.au> |
globally use session-qualified imports; add Lib session Session-qualified imports will be required for Isabelle2018 and help clarify the structure of sessions in the build tree. This commit mainly adds a new set of sessions for lib/, including a Lib session that includes most theories in lib/ and a few separate sessions for parts that have dependencies beyond CParser or are separate AFP sessions. The group "lib" collects all lib/ sessions. As a consequence, other theories should use lib/ theories by session name, not by path, which in turns means spec and proof sessions should also refer to each other by session name, not path, to avoid duplicate theory errors in theory merges later.
|
#
971c6782 |
|
09-Mar-2017 |
Thomas Sewell <Thomas.Sewell@data61.csiro.au> |
Support extra specs, ctzl, clzl in SimplExport. This patch permits the user to supply additional specs for functions whose bodies were not imported (DONT_TRANSLATE or not present in parsed C source). Those specs are exported by SimplExport. The existing apparatus can import builtin functions like ctzl/clzl in C sources by admitting them without bodies (DONT_TRANSLATE) and giving them axiomatic Hoare triples (FNSPEC). Translation validation then requires export of useful semantics. The user can supply a made-up body, and show that it is a refinement of the body that the parser created (derived from the FNSPEC and MODIFIES clauses). The body must export out the graph language correctly. For ctzl/clzl etc this is easy.
|