Zulip Chat Archive
Stream: general
Topic: Use of `have' in lean4game
Ma, Jia-Jun (Apr 02 2025 at 03:43):
I am trying to develop a game. But failed to utilize `have' to introduce a new intermediate goal in the game.
In the web interface, I tried
have hh : ∀ a:G, a⁻¹ = a
The error message says :
unexpected end of input; expected '|'
Any suggestions?
Ma, Jia-Jun (Apr 02 2025 at 03:51):
Ma, Jia-Jun said:
I tried again, and magically it worked.
I am trying to develop a game. But failed to utilize `have' to introduce a new intermediate goal in the game.
In the web interface, I tried
have hh : ∀ a:G, a⁻¹ = a
Jon Eugster (Apr 02 2025 at 08:35):
import mathlib's have
, or copy-paste its definition into your game.
I think it's import Mathlib.Tactic.Have
or something
Last updated: May 02 2025 at 03:31 UTC