#
719125fd |
|
24-Aug-2020 |
Michael Norrish <michael.norrish@data61.csiro.au> |
Fix some type pretty-printing buglets - nesting under parentheses was wrong - type annotations (e.g., when show_types is on) were ugly With a selftest
|
#
98cf870b |
|
10-Aug-2020 |
Michael Norrish <michael.norrish@data61.csiro.au> |
Fix let-p/printing to lose spaces after semicolons in binding lists These spaces are inconsistent with the way semicolons are "spaced" in all other contexts (monad syntax, lists, sets, function updates). Thanks to Andreas Lööw for the bug report.
|
#
b60b7b70 |
|
08-Jul-2020 |
Michael Norrish <michael.norrish@data61.csiro.au> |
Fix bug in PAT_ASSUM when use of variables from goal is not respected In particular, the old code gave itself licence to instantiate type variables in patterns when those were associated with variables from the goal, thereby allowing it to pick completely different assumptions that didn't even include the quoted variable. The test case illustrates. Where a proof breaks (as in io_onestepTheory), the fix is to remove the use of goal-variables of the wrong type, perhaps replacing them with underscores.
|
#
baab4a85 |
|
07-Jul-2020 |
Michael Norrish <michael.norrish@data61.csiro.au> |
Fix a resolve_then bug when the goal should be completely solved
|
#
ef343a12 |
|
14-Apr-2020 |
Michael Norrish <michael.norrish@data61.csiro.au> |
Implement, document and regression-test some "term tactics"
|
#
5412fb37 |
|
13-Apr-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix goalstate p/printing selftest given changes in 02199f5e5876
|
#
4e4e2103 |
|
04-Apr-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fiddle with goalstate printing Some indentation and spacing changes, but most important are: - attach a number (0) to the assumption in goals with just one assumption. Sometimes it is otherwise hard to parse a state and remember which is the goal, and which is the assumption - make "print goal at top" false by default
|
#
18210cd9 |
|
05-Mar-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Test round-tripping printing+parsing (à la Pollack consistency)
|
#
d03f6eef |
|
05-Mar-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Allow vars to have symbolic names without $var$(...) quoting them Test checks that a bare > prints just as > rather than $var$(>)
|
#
b351c993 |
|
02-Feb-2019 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix a bunch of breakages caused by assuming term to be an eqtype
|
#
434e3f46 |
|
25-Sep-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix another conditional-expression p/printing oddity The if-then- block wasn't necessarily aligned with the last else block because the whole if-then-else wasn't guaranteed to appear in one block to itself. Closes #588 Also tweak error-reporting from testutils.tpp (use ␣ (U+2423) for spaces to make spotting differences easier; control colours better).
|
#
77d295e8 |
|
07-Jun-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix bug in generation of case_eq theorem for 'a itself
|
#
10f0150e |
|
03-Jun-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Implement Haskell-style $ as infix function application operator With documentation and some simple test cases.
|
#
c0792b46 |
|
13-May-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix a pretty-printing bug in handling let-expressions As with 2abd7a6 and 4d125108, the issue was putting strings (parentheses in this case) outside the Oppen-block rather than inside it.
|
#
9d31c479 |
|
06-May-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Make quote-filter handle newlines in type quotations consistently As discovered by Brian Campbell (see #534), the quotation filter was emitting a backslash escape sequence to print newlines when that newline immediately followed the type's leading colon. Adjust this to emit \\n\\\n\\ instead, which is what is done elsewhere in the quotation. Also add test-case for that parse.
|
#
2abd7a6e |
|
30-Apr-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Better handle Oppen-blocks under parentheses Closes #530
|
#
f6e123a1 |
|
02-Apr-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Tweaks to goal pretty-printing along with tests
|
#
f17233c1 |
|
31-Mar-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Fix goalstack printing bug, add regression tests
|
#
a59ba453 |
|
18-Mar-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Add selftest for goal-p/printing
|