Checker "rpylean" on test "bugs/nested-unused-param"
Checker: rpylean · Version: v2026.11.6 · 📄 Declaration · 🔗 Source
Test: bugs/nested-unused-param · Expected: ✋ reject · Size: 61.1 KB · Lines: 1.1 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source
Result: ✋ rejected · exit code 1 · wall time: 9.58 ms · instructions: 10.3 M · max rss memory: 13.1 MB · run 2026-11-21 22:10:17 UTC
stderr:
E.rec_1 : {w : W} →
{motive_1 : E w → Sort u} →
{motive_2 : L (E w) w.b.b → Sort u} →
((l : L (E w) w.b.b) → motive_2 l → motive_1 (E.mk w l)) → motive_2 (L.mk) → (t : L (E w) w.b.b) → motive_2 t
invalid projection C.0: expected a value of type C, got one of type W
E.rec : {w : W} →
{motive_1 : E w → Sort u} →
{motive_2 : L (E w) w.b.b → Sort u} →
((l : L (E w) w.b.b) → motive_2 l → motive_1 (E.mk w l)) → motive_2 (L.mk) → (t : E w) → motive_1 t
invalid projection C.0: expected a value of type C, got one of type W
inductive E : W → Type
| mk : (w : W) → L (E w) w.b.b → E w
^
expected a value of type C, got one of type W
theorem bad : T ((fun x ↦ Bool.false) 78670) :=
let a := E.mk (W.mk (P.mk ((fun x ↦ Bool.false) 78670))) e.l
^^^
has type
L (E (W.mk (P.mk ((fun x ↦ Bool.true) 24083)))) (W.mk (P.mk ((fun x ↦ Bool.true) 24083))).b.b
but is expected to have type
L (E (W.mk (P.mk ((fun x ↦ Bool.false) 78670)))) (W.mk (P.mk ((fun x ↦ Bool.false) 78670))).b.b
summary: 68/68 decls checked, peak 32 MB, allocated 0 MB
checked in 0.003633s