leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: new members

Topic: prepositions in `variable` not found


Jafar Tanoukhi (Aug 03 2025 at 18:30):

variable (a b : Nat) (h1 : a = b)

theorem test : a = b := h1

unknown identifier 'h1'

but when written as :

example : a = b := h1

work perfectly fine

Kyle Miller (Aug 03 2025 at 18:30):

#new members > Variable inclusion defs vs. theorems @ 💬


Last updated: Dec 20 2025 at 21:32 UTC

Theme Simple by wildflame © 2016 Powered by jekyll