Commit c35bfa5
Remove defined marker (#2380)
* Add HashMap to SideCondition
* Rename assumptions to replacements
* Use simplifyConjunctionWithAssumptions to construct and combine SideCondition
* Hlint
* Use to and from SideCondition to simplify Condition
* Use Changed in simplifyConjunctions again
* Use replacements when simplifying terms, with exception
* Regenerate golden
* Comment out failing test, TODO fix
* Simplify Pattern with SideCondition in only special cases
* Use simplify instead of simplifyTopConfiguration
* Modify test which describes possibly wrong behavior
* Fixed onepath test
* TermLike.simplify unit tests; simplify with all replacements
* Remove unused imports
* Add Pretty instance for SideCondition
* Add documentation
* Add strictness to fields
* Add strict language pragma
* Make lazy binding
* Address review comments
* Clean-up
* Update kore/src/Kore/Step/Simplification/Condition.hs
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
* Update Debug.hs
* Modify simplification in checkImplication
* unifyKequalsEq should apply for both \and and \equals
* Tests for KEqual unification
* Add a HashSet of defined TermLikes to SideCondition
* Draft, incomplete implementation of assumeDefined
* Implement assumeDefined for assoc comm collections
* Fix
* Fixes and tests for generateNormalizedAcs
* Tests and fixes
* Keep term and predicate replacements together as terms
* Remove double import
* generateNormalizedAcs: clean-up
* Finish isDefined, add tests and clean-up
* Major test clean-up, include set tests
* Fix functional application case, add tests
* Remove Defined marker
* Materialize Nix expressions
* Propagate side condition in SMT translator
* Use definedness in translatePattern as well
* Add tests for defined SMT translation back
* Remove unused test module
* Get rid of isDefinedPattern in Matcher
* Materialize Nix expressions
* Carry SideCondition in Builtin modules; replace isDefinedPattern
* Remove rest of Defined node
* Fix isDefined case for 1-element, 1-opaque collections
* Add accidentally removed collection unification cases
* Temp: TODO and debugging info
* Fix unit test bugs
* SideCondition, Pattern: clean-up and documentation
* Add unit tests for values definedness
* Update TODO comment
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
* Update kore/src/Kore/Step/Simplification/Exists.hs
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
* Address review comment
Co-authored-by: Thomas Tuegel <thomas.tuegel@runtimeverification.com>
Co-authored-by: ana-pantilie <ana-pantilie@users.noreply.github.com>
Co-authored-by: rv-jenkins <admin@runtimeverification.com>1 parent 4195d94 commit c35bfa5
File tree
44 files changed
+477
-1108
lines changed- kore
- src
- Kore
- Builtin
- Equation
- Internal
- TermLike
- Reachability
- Step
- Axiom
- SMT
- Simplification
- test/Test
- Kore
- Builtin
- Internal
- Step
- Axiom
- SMT
- Simplification
- nix/kore.nix.d
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+477
-1108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
930 | 929 | | |
931 | 930 | | |
932 | 931 | | |
933 | | - | |
934 | 932 | | |
935 | 933 | | |
936 | 934 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
220 | 219 | | |
221 | 220 | | |
222 | 221 | | |
223 | | - | |
224 | 222 | | |
225 | 223 | | |
226 | 224 | | |
| |||
262 | 260 | | |
263 | 261 | | |
264 | 262 | | |
265 | | - | |
266 | 263 | | |
267 | 264 | | |
268 | 265 | | |
| |||
357 | 354 | | |
358 | 355 | | |
359 | 356 | | |
360 | | - | |
361 | | - | |
362 | 357 | | |
363 | 358 | | |
364 | 359 | | |
| |||
386 | 381 | | |
387 | 382 | | |
388 | 383 | | |
389 | | - | |
390 | 384 | | |
391 | 385 | | |
392 | 386 | | |
| |||
427 | 421 | | |
428 | 422 | | |
429 | 423 | | |
430 | | - | |
431 | 424 | | |
432 | 425 | | |
433 | 426 | | |
| |||
520 | 513 | | |
521 | 514 | | |
522 | 515 | | |
523 | | - | |
524 | | - | |
525 | 516 | | |
526 | 517 | | |
527 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
183 | | - | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
223 | | - | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
259 | 262 | | |
260 | 263 | | |
261 | 264 | | |
262 | | - | |
| 265 | + | |
263 | 266 | | |
264 | 267 | | |
265 | 268 | | |
| |||
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
276 | | - | |
| 279 | + | |
| 280 | + | |
277 | 281 | | |
278 | 282 | | |
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
282 | | - | |
| 286 | + | |
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
286 | | - | |
| 290 | + | |
287 | 291 | | |
288 | 292 | | |
289 | 293 | | |
290 | 294 | | |
291 | 295 | | |
292 | | - | |
| 296 | + | |
| 297 | + | |
293 | 298 | | |
294 | 299 | | |
295 | 300 | | |
| |||
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
302 | | - | |
| 307 | + | |
| 308 | + | |
303 | 309 | | |
304 | 310 | | |
305 | 311 | | |
306 | 312 | | |
307 | | - | |
| 313 | + | |
308 | 314 | | |
309 | | - | |
| 315 | + | |
| 316 | + | |
310 | 317 | | |
311 | 318 | | |
312 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 140 | | |
145 | 141 | | |
146 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
371 | | - | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| |||
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
391 | | - | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
397 | | - | |
| 398 | + | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| |||
0 commit comments