mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
update guide
This commit is contained in:
parent
f024fe821e
commit
337a0696f1
1 changed files with 8 additions and 8 deletions
16
doc/guide.md
16
doc/guide.md
|
|
@ -211,7 +211,7 @@ Sidekick_smt_solver.Solver.Sat
|
||||||
(model
|
(model
|
||||||
(false := false)
|
(false := false)
|
||||||
(q := true)
|
(q := true)
|
||||||
((= Bool p q) := true)
|
((box (= Bool p q)) := true)
|
||||||
(true := true)
|
(true := true)
|
||||||
(p := true))
|
(p := true))
|
||||||
```
|
```
|
||||||
|
|
@ -247,10 +247,10 @@ Note that this doesn't affect satisfiability without assumptions:
|
||||||
Sidekick_smt_solver.Solver.Sat
|
Sidekick_smt_solver.Solver.Sat
|
||||||
(model
|
(model
|
||||||
(false := false)
|
(false := false)
|
||||||
(q := false)
|
(q := true)
|
||||||
((= Bool p q) := true)
|
((box (= Bool p q)) := true)
|
||||||
(true := true)
|
(true := true)
|
||||||
(p := false))
|
(p := true))
|
||||||
```
|
```
|
||||||
|
|
||||||
We can therefore add more formulas and see where it leads us.
|
We can therefore add more formulas and see where it leads us.
|
||||||
|
|
@ -265,12 +265,12 @@ We can therefore add more formulas and see where it leads us.
|
||||||
Sidekick_smt_solver.Solver.Sat
|
Sidekick_smt_solver.Solver.Sat
|
||||||
(model
|
(model
|
||||||
(false := false)
|
(false := false)
|
||||||
(q := false)
|
(q := true)
|
||||||
|
((box (= Bool p q)) := true)
|
||||||
(r := true)
|
(r := true)
|
||||||
((= Bool p q) := true)
|
|
||||||
((box (or r (not p) false)) := true)
|
((box (or r (not p) false)) := true)
|
||||||
(true := true)
|
(true := true)
|
||||||
(p := false))
|
(p := true))
|
||||||
```
|
```
|
||||||
|
|
||||||
Still satisfiable, but now we see `r` in the model, too. And now:
|
Still satisfiable, but now we see `r` in the model, too. And now:
|
||||||
|
|
@ -331,11 +331,11 @@ We can play with assertions now:
|
||||||
- : Solver.res =
|
- : Solver.res =
|
||||||
Sidekick_smt_solver.Solver.Sat
|
Sidekick_smt_solver.Solver.Sat
|
||||||
(model
|
(model
|
||||||
|
(b := 0)
|
||||||
(false := false)
|
(false := false)
|
||||||
((box (<= (+ a ((* -1) b)) 0)) := true)
|
((box (<= (+ a ((* -1) b)) 0)) := true)
|
||||||
($_le_comb[0] := 0)
|
($_le_comb[0] := 0)
|
||||||
(a := 0)
|
(a := 0)
|
||||||
(b := 0)
|
|
||||||
(true := true))
|
(true := true))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue