leanprover-community / mathlib

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

Zulip Chat Archive

Stream: mathlib4

Topic: Possible to remove rename_i here?


Arien Malec (Jan 13 2023 at 20:08):

I have

private def decidable_good : DecidablePred (good p)
  | n => by cases' n with a a <;>
         unfold good <;> rename_i x <;> cases x <;> dsimp <;> infer_instance

x is introduced by the unfold. I don't think it's possible to name x during the unfold?

Gabriel Ebner (Jan 13 2023 at 21:17):

Can you post the definition of good as well? #mwe


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll