Skip to content

Commit

Permalink
add: draft bdd model, prob needs another pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tnelson committed Feb 24, 2025
1 parent 5bf2358 commit b938c23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions forge/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ While many of these examples are commented heavily, the [Forge documentation](ht
* `examples/ltlf` contains a model of finite-trace linear temporal logic.
* `examples/network` contains a basic model of network forwarding.



For more advanced examples, see:

* `examples/prim`, which contains a model of Prim's MST algorithm, with notes on verification.
Expand Down
2 changes: 1 addition & 1 deletion forge/last-checker.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
(define codomain-type (expression-type-type (checkExpression run-or-state (mexpr-expr codomain) quantvars checker-hash)))
(if (not (member (car output-type) codomain-type))
(raise-forge-error
#:msg (format "The output of function ~a is of incorrect type. Got ~a, expected in ~a" name (car output-type) codomain-type)
#:msg (format "The output of function ~a is of incorrect type. Got ~a, expected in ~a" name output-type codomain-type)
#:context expanded)
(void))
(checkExpression-mult run-or-state expanded quantvars checker-hash)]
Expand Down

0 comments on commit b938c23

Please sign in to comment.