Zulip Chat Archive
Stream: general
Topic: meta keyword in Lean 4
Asei Inoue (Jun 08 2025 at 02:43):
meta keyword will come back?
https://github.com/leanprover/lean4/commit/8457342d335edc5863f4682f8561d6ce93966e2a
Aaron Liu (Jun 08 2025 at 02:48):
What will it do?
Asei Inoue (Jun 08 2025 at 02:49):
The keyword
metahas been currently removed from Lean 4. However, we may re-introduce it in the future, but with a much more limited purpose: marking meta code that should not be included in the executables produced by Lean.
https://lean-lang.org/lean4/doc/lean3changes.html#the-meta-keyword
Asei Inoue (Jun 08 2025 at 02:51):
In what situations is meta keyword necessary?
Kevin Buzzard (Jun 08 2025 at 06:37):
It's not necessary in any situations because it doesn't exist
Asei Inoue (Jun 08 2025 at 07:33):
will be necessary?
Robin Arnez (Jun 08 2025 at 07:38):
I think it's part of the module system, so it won't be necessary usually
Marc Huisinga (Jun 08 2025 at 08:14):
See also lean4#8660
Last updated: Dec 20 2025 at 21:32 UTC