lean4-htt/tests/lean/interactive/terminationBySuggestion.lean.expected.out
Joachim Breitner b9c4a7e51d
feat: termination_by? (#3514)
the user can now write `termination_by?` to see the termination argument
inferred by GuessLex, and turn it into `termination_by …` using the “Try
this” widget or a code action.

To be done later, maybe: Avoid writing `sizeOf` if it's not necessary.
2024-02-28 10:53:17 +00:00

12 lines
398 B
Text

{"title": "Try this: termination_by (sizeOf n, sizeOf m)",
"kind": "quickfix",
"isPreferred": true,
"edit":
{"documentChanges":
[{"textDocument":
{"version": 1, "uri": "file:///terminationBySuggestion.lean"},
"edits":
[{"range":
{"start": {"line": 5, "character": 0},
"end": {"line": 5, "character": 15}},
"newText": "termination_by (sizeOf n, sizeOf m)"}]}]}}