Test "perf/proj-applied-struct-arg-bad"
Expected: ✋ reject · Size: 111.6 KB · Lines: 2.1 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source
The argument twin of proj-applied-struct:
(gC slowA c).fn x = (gC' slowA c).fn (x + 1)
(and two variants) must be rejected. After unfolding gC' the heads are
identical and only the arguments differ, so a checker that takes equal
heads as equal without comparing arguments accepts it. The existing
proj-applied-struct-bad (= x + c) checks a different error, a right
side equal only propositionally. A checker may evaluate slowA on the way.