Commit 2025-11-18 14:10 a14e51d4
View on Github →feat(contrapose): cancel negations, and support ↔ (#31510)
This PR introduces two features for contrapose:
contraposeapplied to a goalp ↔ qcreates the goal¬p ↔ ¬q.- Instead of creating double negations, contrapose will try to cancel out double negations that it creates.
This will allow for replacing some occurrences of
contrapose!withcontrapose(TODO: write a linter for this?). It also allows avoiding classical logic in some cases. Zulip discussion