lean4-htt/tests/lean/interactive/1403.lean.expected.out
Leonardo de Moura c95acef20e fix: ignore syntax nodes with nullKind at hoverableInfoAt?
It fixes one of the problems reported at #1403
2022-08-01 12:18:36 -07:00

8 lines
844 B
Text

{"textDocument": {"uri": "file://1403.lean"},
"position": {"line": 1, "character": 2}}
{"range":
{"start": {"line": 1, "character": 2}, "end": {"line": 1, "character": 12}},
"contents":
{"value":
"`rewrite [e]` applies identity `e` as a rewrite rule to the target of the main goal.\nIf `e` is preceded by left arrow (`←` or `<-`), the rewrite is applied in the reverse direction.\nIf `e` is a defined constant, then the equational theorems associated with `e` are used. This provides a convenient way to unfold `e`.\n- `rewrite [e₁, ..., eₙ]` applies the given rules sequentially.\n- `rewrite [e] at l` rewrites `e` at location(s) `l`, where `l` is either `*` or a list of hypotheses in the local context. In the latter case, a turnstile `⊢` or `|-` can also be used, to signify the target of the goal.\n",
"kind": "markdown"}}