Skip to content
#

formal-methods

Here are 180 public repositories matching this topic...

jamesbarne
jamesbarne commented Apr 25, 2019

How do I include the Hacl* library in the lib folder when extracting my code to OCaml?

Currently I am stuck with this, which can extract successfully for F* codes only using the F* libraries.

fstar.exe  --z3cliopt 'timeout=600000' --use_hints --use_hint_hashes  --odir out --codegen OCaml <modulename>.fst
OCAMLPATH="../../fstar/bin" ocamlfind opt -package fstarlib -linkpkg -g  out/<m
vscode-tlaplus
alygin
alygin commented Oct 4, 2019

The TlaDocumentSymbolsProvider stumbles on operators while parsing constants and doesn't report them as model symbols. As a result, const operator names don't appear in the outline panel and in completion suggestions. Such operators also prevent parsing of the following constants.

A simple case:

CONSTANT Foo(_), Bar

Neither Foo nor Bar makes it to the model symbols list

senier
senier commented Sep 14, 2019

When building the IP sniffer test, I forgot to run Verify_Message before checking Structural_Valid_Message. While this was not a correctness issue (the context of cause was invalid), it took me some time to realize that. I wonder if we should add a predicate to those convenience operations that work on a whole message that states/requires that a verification has been attempted on a context. Th

pjljvandelaar
pjljvandelaar commented Dec 13, 2018

The following model is accepted by TorXakis:

PROCDEF p [Input1, Input2 :: Int; Output :: Int] () ::=
        Input1 ? x 
    >-> Input2 ? y [[ x <> y ]] 
    >-> Output ! x + y | Input1 ?x | Input2 ?y [[ x == y ]]
    >-> Output ! x + y
    >-> STOP
ENDDEF

CHANDEF chans ::= Input1,Input2, Output :: Int ENDDEF

MODELDEF M ::=
    CHAN IN Input1, Input2
    CHAN OUT Output
    SY

Improve this page

Add a description, image, and links to the formal-methods topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the formal-methods topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.