lean.js icon indicating copy to clipboard operation
lean.js copied to clipboard

state doesn't work

Open fpvandoorn opened this issue 9 years ago • 2 comments

The state tactic doesn't print any output in the online version:

example : bool := by state; exact bool.tt

fpvandoorn avatar Dec 19 '15 12:12 fpvandoorn

It's because --flycheck option doesn't change the output for the state tactic (while we expect that the use of --flycheck option wraps the output so that we can extract the output). For example, this is what we have for now:

$lean test.lean
test.lean:1:21: proof state

⊢ bool
$ lean test.lean --flycheck
test.lean:1:21: proof state

⊢ bool

Leo is on vacation now. I'll check what I can do with this.

soonhokong avatar Dec 19 '15 13:12 soonhokong

Leo is on vacation now. I'll check what I can do with this.

This is not at all high priority, so don't worry too much if this is something Leo can do better.

fpvandoorn avatar Dec 19 '15 14:12 fpvandoorn