Lean Kernel Arena / rpylean / bugs/nat-rec-rules

Checker "rpylean" on test "bugs/nat-rec-rules"

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

Test: bugs/nat-rec-rules · Expected: ✋ reject · Size: 8.1 KB · Lines: 128 · lean4export: 3.1.0 · Lean: 4.29.1 · 📄 Declaration

Result: ✋ rejected · exit code 1 · wall time: 7.51 ms · instructions: 5.9 M · max rss memory: 10.0 MB · run 2026-11-21 22:10:17 UTC

stderr:
recursor False.rec.{u_1} : {motive : False → Sort u_1} → (t : False) → motive t
recursor is wrong about supporting K-like reduction
recursor Nat.rec.{u_1} : {motive : Nat → Sort u_1} →
  motive Nat.zero → ((n : Nat) → motive n → motive (Nat.succ n)) → (t : Nat) → motive t
rule for Nat.succ is not the one its inductive gives rise to
summary: 15/15 decls checked, peak 32 MB, allocated 0 MB
checked in 0.001739s