contradiction
tries to make use of constructor disjunction for proof equalities
#6515
Open
3 tasks done
Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
If there is an equality of proofs in context, where the proofs use different constructors,
contradiction
will try reasoning usingnoConfusion
, leading to a kernel typechecking error.Context
Reported on Zulip.
Steps to Reproduce
With the following:
Expected behavior:
contradiction
should fail to find a contradictionActual behavior:
contradiction
succeeds, but then there is a "(kernel) unknown constant 'Or.noConfusion'" error.Versions
Lean 4.16.0-nightly-2025-01-02
Target: x86_64-unknown-linux-gnu
Additional Information
Perhaps other "no-confusion-like" tactics should be audited for similar errors.
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: