22 个版本

0.3.11 2024年7月18日
0.3.10 2024年7月12日
0.3.6 2024年6月24日
0.3.5 2024年2月19日
0.1.1 2023年11月27日

#600 in 数学

Download history 138/week @ 2024-06-21 5/week @ 2024-06-28 167/week @ 2024-07-05 284/week @ 2024-07-12 51/week @ 2024-07-19 56/week @ 2024-07-26

每月165 次下载

LGPL-3.0-only

370KB
9K SLoC

转换与理论分析机

安装

sudo apt install z3
  • 安装 Tatam
cargo install tatam

安装 Vscode 扩展 tatam-lang (可选)

cd ~/.vscode/extensions
git clone https://github.com/DavidD12/tatam-lang.git

示例

cst x: Int
var y: Int

init inits {
    y = 0
}

inv invariants {
    x > y
}

trans tr_inc {
    y < 10 and y' = y + 1
}

trans tr_loop {
    y >= 10 and y' = 0
}

prop = G(F (y = 1))

search infinite solve

执行

tatam -f file.tat

文档

部分文档可在此处找到 here

依赖项

~7–21MB
~262K SLoC