Lean Kernel Arena / rpylean / bugs/pi-closure-context

Checker "rpylean" on test "bugs/pi-closure-context"

Checker: rpylean · Version: v2026.9.1 · 📄 Declaration · 🔗 Source

Test: bugs/pi-closure-context · Expected: ✋ reject · Size: 1.5 KB · Lines: 26 · lean4export: 3.1.0 · Lean: 4.35.0 · 📄 Declaration

Result: ✋ rejected · exit code 1 · wall time: 6.02 ms · instructions: 2.7 M · max rss memory: 4.1 MB · run 2026-10-27 15:43:24 UTC

stderr:
def bad : TrueTy → FalseTy :=
  fun [anonymous] ↦ FalseTy
  ^^^^^^^^^^^^^^^^^^^^^^^^^
  has type
    TrueTy → Prop
  but is expected to have type
    TrueTy → FalseTy
summary: 5/5 decls checked, peak 32 MB, allocated 0 MB, heartbeats 0
checked in 0.000243s