leanprover-community / mathlib

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

Zulip Chat Archive

Stream: mathlib4

Topic: unknown free variable in norm_num


Eric Wieser (Dec 05 2023 at 16:02):

The combination of replace (or symm at) and norm_num seems to cause a bizarre error

import Mathlib

example (a b : ℕ) (h : a * b = 1) :  a * b = 1 := by
  replace h := h.symm -- needs this line to fail
  norm_num [*] at * -- unknown free variable '_uniq.140'

Eric Rodriguez (Dec 05 2023 at 16:18):

@Thomas Murrills, does your fix fix this?


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll