Lean Kernel Arena (Preview) / official / bugs/unit-rec-rule

Checker "official" on test "bugs/unit-rec-rule"

Checker: official · Version: nightly-2026-12-03 · 📄 Declaration

Test: bugs/unit-rec-rule · Expected: ✋ reject · Size: 3.2 KB · Lines: 54 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 Declaration

Result: ✋ rejected · exit code 1 · wall time: 41.8 ms · instructions: 253.5 M · max rss memory: 114.1 MB · run 2026-12-03 13:11:33 UTC

stdout:
Lean default kernel rejects the solution: while replaying declaration 'badR':
(kernel) declaration type mismatch, 'badR' has type
  PUnit
but it is expected to have type
  PUnit.rec EmptyProp PUnit.unit