Files
NNG/Game/Tactic/Xyzzy.lean
2023-10-23 13:43:48 +01:00

14 lines
328 B
Lean4
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Lean
universe u
@[never_extract]
axiom iGiveUpAx (α : Sort u) (synthetic := false) : α
/--
`xyzzy` is an ancient magic word, believed to be the root of the
modern word `sorry`. The game won't complain - or notice - if you
prove anything with `xyzzy`.
-/
macro "xyzzy" : tactic => `(tactic| exact @iGiveUpAx _ false)