You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Mathlib.Tactic.Lift
abbrev MyNat := ℕ
example (n : ℤ) (hn : n ≥ 0) : True := by
lift n to MyNat using hn
-- type of `n` is `ℕ` instead of `MyNat`, in the goal state
trivial
This means that we can not use dot-notation on n for all the juicy decls in the MyNat namespace.
A concrete example of this is LieIdeal K L which is an abbreviation of LieSubmodule K L L.
The text was updated successfully, but these errors were encountered:
This means that we can not use dot-notation on
n
for all the juicy decls in theMyNat
namespace.A concrete example of this is
LieIdeal K L
which is an abbreviation ofLieSubmodule K L L
.The text was updated successfully, but these errors were encountered: