The Imandra X Extension (and its dependencies) is recommended to fully utilise formalized code.
The Python Extension is recommended to provide symbol analysis (identifying functions) on Python files.
Extension Settings
You can configure CodeLogician with the following settings:
imandra.codeLogician.apiKey: Set your Imandra Universe API key here. By default, this is inferred from the IMANDRA_API_KEY environment variable and then from the contents of ~/.config/imandra/api_key (or ~/.config/imandrax/api_key).
imandra.codeLogician.formalization.refactorFirst: Controls whether to refactor Python code before formalizing. Refactoring code first can improve the formalization of challenging Python code, but risks introducing behavioural changes. Options are:
always: Always refactor Python code before formalizing.
never: Formalize Python code directly without refactoring.