Zulip Chat Archive

Stream: general

Topic: error: failed to unify


Johan Commelin (May 25 2018 at 14:40):

I am at a stage where I am currently hitting errors of the following type

invalid apply tactic, failed to unify
  p.fst = q.fst
with
  ?m_2 = ?m_3

I have no clue why Lean can't unify those... probably there are some hidden metavariables somewhere... how do I get more info?

Johannes Hölzl (May 25 2018 at 14:43):

can you try to use set_option pp.all true and inspect the term again

Johan Commelin (May 25 2018 at 14:56):

Thanks, the response by Lean was a little bit overwhelming. But it solved my problem!


Last updated: Dec 20 2023 at 11:08 UTC