lean2/tests/lean/elab_bug1.lean.expected.out
Leonardo de Moura 17cce340f6 fix(library/elaborator): in optimization for metavariable free terms
The optimization was incorrect if the term indirectly contained a metavariable.
It could happen if the term contained a free variable that was assigned in the context to a term containing a metavariable.

This commit also adds a new test that exposes the problem.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-22 18:06:00 -08:00

5 lines
229 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
Set: lean::pp::implicit
let P : → Bool := λ x : , @neq x 0, Q : ∀ x : , P (x + 1) := λ x : , Nat::succ_nz x in Q :
∀ x : , (λ x : , @neq x 0) (x + 1)