lean4-htt/tests/elab_fail/substFails.lean.out.expected
Garmelon 08eb78a5b2
chore: switch to new test/bench suite (#12590)
This PR sets up the new integrated test/bench suite. It then migrates
all benchmarks and some related tests to the new suite. There's also
some documentation and some linting.

For now, a lot of the old tests are left alone so this PR doesn't become
even larger than it already is. Eventually, all tests should be migrated
to the new suite though so there isn't a confusing mix of two systems.
2026-02-25 13:51:53 +00:00

42 lines
1.3 KiB
Text

ex1 (heq : foo = bar) (P : Nat → Prop) (h : P foo) : P bar
substFails.lean:6:67-6:74: error: invalid `▸` notation, expected result type of cast is
P 4
however, the equality
heq
of type
foo = bar
does not contain the expected result type on either the left or the right hand side
substFails.lean:8:67-8:74: error: invalid `▸` notation, the equality
heq
has type
foo = bar
but neither side of the equality is mentioned in the type
P 3
substFails.lean:9:67-9:74: error: invalid `▸` notation, expected result type of cast is
P 4
however, the equality
heq
of type
foo = bar
does not contain the expected result type on either the left or the right hand side
ex7 (heq : bar = foo) (P : Nat → Prop) (h : P foo) : P bar
substFails.lean:14:67-14:74: error: invalid `▸` notation, expected result type of cast is
P 4
however, the equality
heq
of type
bar = foo
does not contain the expected result type on either the left or the right hand side
substFails.lean:16:67-16:74: error: invalid `▸` notation, the equality
heq
has type
bar = foo
but neither side of the equality is mentioned in the type
P 3
substFails.lean:17:67-17:74: error: invalid `▸` notation, expected result type of cast is
P 4
however, the equality
heq
of type
bar = foo
does not contain the expected result type on either the left or the right hand side