Prover StudioThis Visual Studio Code extension provides support for several languages and formats: It is developed by Prover. RequirementsThe following dependencies need to be installed before you can use Prover Studio:
Features
Setting up your workspaceThe following doesn't apply if you are using HLL and/or sHLL only. Prover Studio will look through your workspace for any package directories (directories containing a "package.xml" file) and project directories (directories containing ".isy" files). Make sure to add these folders to your workspace to make Prover Studio recognize them. For project directories, only files in the "config" directory will be considered by the extension. Files outside the "config" directory are not picked up (unless explicitly opened in VS code). Multi-file projects for HLL and sHLLUse a Prover Studio project file to create multi-file models (for HLL and sHLL):
Several Prover Studio projects in the same folder, and active project:
If an error is found in the project, the project file will be red in the explorer. Open it to see the details and fix the problem. Semantic checks for HLLSemantic checks for HLL rely on Prover Expander 1 which is distributed with Prover Certifier. Make sure you have it installed with a valid license. Then go to the extensions settings and:
Once everything is set up properly, semantic errors will appear in the editor, including for properly configured multi-file projects (see above). In the current version, sHLL is not covered. Reachability ObligationsProver Studio has rudimentary support for Reachability Obligations for now. This means that the syntax checks are performed, but for the semantic checks it requires Prover Expander 1 version 3.3 or later. For earlier versions of Prover Expander 1, it is recommended to isolate all Reachability Obligations into a separate file, as Prover Expander 1 will stop at the first syntax error. sHLL debuggingsHLL debugging requires that Prover PSL 6.0.6 or later is installed and available on the PATH. To debug a sHLL model, open the model in the editor, and select the "Run and debug" panel. Click the "create a launch.json file" link. This will open a debug configuration file. Save the file and click the "Start debugging" button in the debug panel to launch the debugger. You can manually configure which HLL and sHLL files are passed on to Prover PSL using the "hllFiles" and "shllFiles" settings in the launch.json file. If these settings are left out, the files to use are determined as follows:
By default, Prover PSL will be launched using its default strategy. You can override the strategy to use with the "strategy" setting in the launch.json file. Editing LCF tablesThe extension provides a spreadsheet-style editor for LCF tables. To open the editor, right click on the file containing the table you want to edit, and select "Open With..." and then "LCF table editor". Alternatively, right click on one of your open editor tabs and select "Reopen Editor With..." in the context menu.
Visualize the Prover PSL why outputThe extension provides a visualizer for the Prover PSL why output. The output file can either be a txt file or an xml file. Both files are created by Prover PSL. For more information about the creation of these files take a look at the Prover PSL help.
Extension SettingsYou can configure the extension through Visual Studio's settings interface. Go to "File"->"Preferences"->"Settings". Search for "Prover Studio" to list all available settings. We recommend to configure the settings on the workspace level whenever possible. Known IssuesNo known issues, but see Release notes. References |