Test "perf/ite-taken-branch-bad"
Expected: ✋ reject · Size: 4.3 MB · Lines: 88.8 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · Timeout: 1.83 min · 📄 Declaration · 🔗 Source
ite-taken-branch with the branch the condition does not take:
(if false = true then piA else tA) = piA
must be rejected: the left side is the permutation table tA, the right
side its inverse. A checker must decide the condition rather than assume
the branch that matches the other side; refuting tA = piA may evaluate
piA on the way.