leanprover-community / mathlib

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

Zulip Chat Archive

Stream: lean4

Topic: metavariables in refine vs show


Eric Wieser (May 30 2024 at 11:31):

Is this behavior difference expected?

example : 1 + 2 = 3 := by
  -- works
  refine (?_ : ?lhs = 3); let lhs := ?lhs
  sorry

example : 1 + 2 = 3 := by
  -- fails
  show ?lhs = 3; let lhs := ?lhs
  sorry

Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll