Commit 9dfdfda
fix: Address review feedback on Lean prover status and witness inference
- LeanProver: use ProofStatus.default_for_solver_result() for failed
proofs instead of hardcoding REFUTED — a tactic insufficiency is
INCONCLUSIVE, not a definitive disproof
- LeanTranslator._exists: infer witness from property bounds (x > 5 → 6,
x >= 10 → 10, x = 3 → 3) instead of hardcoding 1
- Add test for witness inference
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4f52637 commit 9dfdfda
3 files changed
Lines changed: 58 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
179 | | - | |
| 182 | + | |
180 | 183 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | | - | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
259 | 289 | | |
260 | 290 | | |
261 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
705 | 724 | | |
706 | 725 | | |
707 | 726 | | |
| |||
775 | 794 | | |
776 | 795 | | |
777 | 796 | | |
778 | | - | |
| 797 | + | |
779 | 798 | | |
780 | 799 | | |
781 | 800 | | |
| |||
789 | 808 | | |
790 | 809 | | |
791 | 810 | | |
792 | | - | |
| 811 | + | |
793 | 812 | | |
794 | 813 | | |
795 | 814 | | |
| |||
836 | 855 | | |
837 | 856 | | |
838 | 857 | | |
839 | | - | |
| 858 | + | |
840 | 859 | | |
841 | 860 | | |
842 | 861 | | |
| |||
859 | 878 | | |
860 | 879 | | |
861 | 880 | | |
862 | | - | |
| 881 | + | |
863 | 882 | | |
864 | 883 | | |
865 | 884 | | |
| |||
0 commit comments