Commit 3fb0874
Create a Kore.Reachability context (#2141)
* mv Kore.Strategies.Goal Kore.Reachability.Claim
* Kore.Reachability.Claim: Remove unprovenNodes and proven
* Import Kore.Reachability.Claim as Claim
* Rename ReachabilityRule to ReachabilityClaim
* Kore.Repl.Data: Remove Claim type synonym
* Rename Goal to Claim
* Move data family Rule into Claim class
* Rename ProofState to ClaimState
The data type does not represent the state of the entire proof, but only the
state of a single claim.
* ClaimState: Rename constructors
* Extract Kore.Reachability.Prim from Kore.Reachability.ClaimState
* mv Kore.Strategies.Verification Kore.Reachability.Prove
* Kore.Reachability.Prove: rename verify to proveClaims
* mv Test.Kore.Strategies Test.Kore.Reachability
* Kore.Reachability: AllPathClaim, OnePathClaim, SomeClaim
* Rename ReachabilityClaim to SomeClaim
There are three types which represent reachability logic claims (AllPathClaim,
OnePathClaim, and SomeClaim) so it did not make sense to call out SomeClaim as
_the_ ReachabilityClaim. The prefix Some- matches the typical naming convention
of collecting multiple subtypes in a sum type.
* HLint cleanup
* kore-exec: fix build
* Test.Kore.Reachability: move all prove tests to Prove.hs, remove duplicates
* Test.Kore.Reachability.Prove: clean-up exports
* Move Test.Kore.Strategies.OnePath.Step
* Update kore/src/Kore/Reachability/ClaimState.hs
Co-authored-by: ana-pantilie <[email protected]>
* Kore.Reachability.ClaimState: Alignment
* OnePathClaim: Remove obsolete comment
* SentenceVerifier: Use extractClaim
* Add Test.Expect.expectJust
* QualifiedAxiomPattern: Remove reachability claims
* Remove Kore.Reachability.SomeClaim.toSentence
* MockAllPath: Rename Goal to MockClaim
* MockAllPath: HLint
Co-authored-by: ana-pantilie <[email protected]>
Co-authored-by: ana-pantilie <[email protected]>1 parent 6ab0ba3 commit 3fb0874
File tree
45 files changed
+2892
-3253
lines changed- kore
- app/exec
- src/Kore
- ASTVerifier
- Log
- Reachability
- Repl
- Step
- Rule
- Strategies
- test/Test
- Kore
- ASTVerifier/DefinitionVerifier
- Reachability
- Repl
- Step
- Rule
- Strategies
- AllPath
- OnePath
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+2892
-3253
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
135 | 140 | | |
136 | 141 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
| |||
611 | 608 | | |
612 | 609 | | |
613 | 610 | | |
614 | | - | |
| 611 | + | |
615 | 612 | | |
616 | | - | |
| 613 | + | |
617 | 614 | | |
618 | 615 | | |
619 | 616 | | |
| |||
697 | 694 | | |
698 | 695 | | |
699 | 696 | | |
700 | | - | |
| 697 | + | |
701 | 698 | | |
702 | 699 | | |
703 | 700 | | |
| |||
733 | 730 | | |
734 | 731 | | |
735 | 732 | | |
736 | | - | |
| 733 | + | |
737 | 734 | | |
738 | 735 | | |
739 | 736 | | |
| |||
753 | 750 | | |
754 | 751 | | |
755 | 752 | | |
| 753 | + | |
756 | 754 | | |
757 | 755 | | |
758 | 756 | | |
759 | 757 | | |
760 | | - | |
| 758 | + | |
761 | 759 | | |
762 | 760 | | |
| 761 | + | |
763 | 762 | | |
764 | 763 | | |
765 | 764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
406 | 405 | | |
407 | 406 | | |
408 | 407 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
415 | 413 | | |
416 | 414 | | |
417 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
108 | 121 | | |
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 125 | | |
117 | 126 | | |
118 | 127 | | |
| |||
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
| 418 | + | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | | - | |
656 | | - | |
657 | | - | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | | - | |
689 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
716 | 713 | | |
717 | 714 | | |
718 | 715 | | |
719 | 716 | | |
720 | 717 | | |
721 | 718 | | |
722 | | - | |
723 | | - | |
724 | | - | |
| 719 | + | |
| 720 | + | |
725 | 721 | | |
726 | 722 | | |
727 | 723 | | |
728 | | - | |
| 724 | + | |
729 | 725 | | |
730 | 726 | | |
731 | 727 | | |
732 | 728 | | |
733 | 729 | | |
734 | | - | |
| 730 | + | |
735 | 731 | | |
736 | 732 | | |
737 | 733 | | |
738 | 734 | | |
739 | 735 | | |
740 | 736 | | |
741 | | - | |
742 | | - | |
| 737 | + | |
| 738 | + | |
743 | 739 | | |
744 | 740 | | |
745 | 741 | | |
| |||
748 | 744 | | |
749 | 745 | | |
750 | 746 | | |
751 | | - | |
| 747 | + | |
752 | 748 | | |
753 | 749 | | |
754 | 750 | | |
| |||
Lines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
0 commit comments