Commit a63c327
committed
Fix test_predtest's idea of what weak refutation means.
I'd initially supposed that predicate_refuted_by(..., true) ought to
say that "A refutes B" means "non-falsity of A implies non-truth of B".
But it seems better to define it as "truth of A implies non-truth of B".
This is more useful in the current system, slightly easier to prove,
and in closer correspondence to the existing code behavior.
With this change, test_predtest no longer claims that any existing
test cases show false proof reports, though there still are cases
where we could prove something and fail to.
Discussion: https://postgr.es/m/5983.1520487191@sss.pgh.pa.us1 parent 960df2a commit a63c327Copy full SHA for a63c327
File tree
Expand file treeCollapse file tree
2 files changed
+11
-9
lines changedOpen diff view settings
Filter options
- src/test/modules/test_predtest
- expected
Expand file treeCollapse file tree
2 files changed
+11
-9
lines changedOpen diff view settings
Collapse file
src/test/modules/test_predtest/expected/test_predtest.out
Copy file name to clipboardExpand all lines: src/test/modules/test_predtest/expected/test_predtest.out+5-7Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
119 | 119 | |
120 | 120 | |
121 | 121 | |
122 | | - |
123 | 122 | |
124 | 123 | |
125 | 124 | |
| ||
128 | 127 | |
129 | 128 | |
130 | 129 | |
131 | | - |
| 130 | + |
132 | 131 | |
133 | 132 | |
134 | 133 | |
| ||
176 | 175 | |
177 | 176 | |
178 | 177 | |
179 | | - |
180 | 178 | |
181 | 179 | |
182 | 180 | |
| ||
185 | 183 | |
186 | 184 | |
187 | 185 | |
188 | | - |
| 186 | + |
189 | 187 | |
190 | 188 | |
191 | 189 | |
| ||
214 | 212 | |
215 | 213 | |
216 | 214 | |
217 | | - |
| 215 | + |
218 | 216 | |
219 | 217 | |
220 | 218 | |
| ||
650 | 648 | |
651 | 649 | |
652 | 650 | |
653 | | - |
| 651 | + |
654 | 652 | |
655 | 653 | |
656 | 654 | |
| ||
664 | 662 | |
665 | 663 | |
666 | 664 | |
667 | | - |
| 665 | + |
668 | 666 | |
669 | 667 | |
670 | 668 | |
|
Collapse file
src/test/modules/test_predtest/test_predtest.c
Copy file name to clipboardExpand all lines: src/test/modules/test_predtest/test_predtest.c+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
104 | 104 | |
105 | 105 | |
106 | 106 | |
| 107 | + |
| 108 | + |
107 | 109 | |
108 | 110 | |
| 111 | + |
109 | 112 | |
110 | 113 | |
| 114 | + |
111 | 115 | |
112 | 116 | |
113 | | - |
114 | | - |
| 117 | + |
| 118 | + |
115 | 119 | |
116 | 120 | |
117 | 121 | |
|
0 commit comments