leanprover-community / mathlib

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

Zulip Chat Archive

Stream: general

Topic: Where's the equation lemma for `not`?


Eric Wieser (Sep 21 2021 at 16:22):

Why does src#not have no equation lemmas, but my identical definition below does?

def not2 (a : Prop) := a → false

-- not2.equations._eqn_1 : ∀ (a : Prop), not2 a = (a → false)
#check not2.equations._eqn_1

-- doesn't exist
#check not.equations._eqn_1

Mario Carneiro (Sep 22 2021 at 00:29):

Because not is defined before eq


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll