Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
https://hackmd.io/J2B9Co2sTtKE5NI7KomV7g
https://github.com/dangtv/BIRDS/blob/c3cb32c4fed9dd38c0b3483349714c1f3123bbd3/src/debugger.ml からcounterexample 機能を移植してduneのコマンドとして追加しました
使い方
実行にはRacketとRosetteが必要です
https://github.com/proof-ninja/docker-verify-BIRDS をご利用ください
counterexampleを生成したいpropertyを
getput
,putget
,disdelta
(delta disjointness) から選んでください未実装機能
元のコードの中にあった以下のオプションは未実装です-> 実装しましたlog
: 詳細ログ出力するか。現在false(出さない)固定cex_max
: 出力するcounterexampleの最大。現在は5個固定timeout
: racketを呼び出すときのタイムアウト。現在は180秒固定実行例
https://github.com/proof-ninja/docker-verify-BIRDS のコンテナ内で実行しました
verify_invalid_getput1.dl
log=true のとき
verify_invalid_getput2.dl
log=true のとき
verify_invalid_putget1.dl
log=true のとき
verify_invalid_putget2.dl
log=true のとき
verify_valid1.dl