Checker "rpylean" on test "bugs/nat-rec-k-lie"
Checker: rpylean · Version: v2026.11.6 · 📄 Declaration · 🔗 Source
Test: bugs/nat-rec-k-lie · Expected: ✋ reject · Size: 6.3 KB · Lines: 106 · lean4export: 3.1.0 · Lean: 4.29.1 · 📄 Declaration
Result: ✋ rejected · exit code 1 · wall time: 7.14 ms · instructions: 5.5 M · max rss memory: 9.8 MB · run 2026-11-21 22:10:17 UTC
stderr:
recursor Nat.rec.{u} : {motive : Nat → Sort u} →
motive Nat.zero → ((n : Nat) → motive n → motive (Nat.succ n)) → (t : Nat) → motive t
recursor is wrong about supporting K-like reduction
theorem k1 : (n : Nat) → g n :=
fun n ↦ True.intro
^^^^^^^^^^^^^^^^^^
has type
∀ (n : Nat), True
but is expected to have type
(n : Nat) → g n
summary: 12/12 decls checked, peak 32 MB, allocated 0 MB
checked in 0.001407s