Commit 3fd34f9
Infer that terms are defined to send to SMT solver (#2292)
* Mock SMT env: add function for declaring arbitrary symbols
* Separate translatePattern from translatePredicateWith
* Export translatePattern, add warning
* Test pattern translator, add tests for expected behavior
* Fix nesting in expected result
* Make Translator a newtype; change test data
* Translator: use RWST instead of StateT
* Add TranslatorEnv as Reader of Translator; use it to send defined patts to SMT
* Comment out failing tests
* Switch env to True whenever we find Defined at top
* Clean-up
* Add documentation
* Update kore/src/Kore/Step/SMT/Translate.hs
Co-authored-by: Thomas Tuegel <ttuegel@mailbox.org>
* Address review comment
* Add MonadSimplify instance
Co-authored-by: Thomas Tuegel <ttuegel@mailbox.org>
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>1 parent bd765b7 commit 3fd34f9
File tree
5 files changed
+322
-135
lines changed- kore
- src/Kore/Step/SMT
- test/Test/Kore/Step
- SMT
5 files changed
+322
-135
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | | - | |
| 217 | + | |
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
| 228 | + | |
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
| |||
277 | 276 | | |
278 | 277 | | |
279 | 278 | | |
280 | | - | |
| 279 | + | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
286 | | - | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments