Zulip Chat Archive
Stream: lean4
Topic: Tactic for changing hypothesis
Chris Hughes (Aug 15 2021 at 13:22):
What's the canonical way of changing the type of a hypothesis in the context, given an Expr
for the new type, and another Expr
for the proof that the types are equal?
Leonardo de Moura (Aug 15 2021 at 13:28):
Theses functions might be useful
https://github.com/leanprover/lean4/blob/master/src/Lean/Meta/Tactic/Replace.lean
Last updated: Dec 20 2023 at 11:08 UTC