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 数学
每月165 次下载
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