Checker "official-nightly" on test "bugs/nat-rec-rules"
Checker: official-nightly · Version: nightly-2026-11-14 · 📄 Declaration
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: 47.8 ms · instructions: 211.0 M · max rss memory: 109.1 MB · run 2026-11-16 12:54:37 UTC
stdout:
Lean default kernel rejects the solution: while replaying declaration 'proof_of_false':
(kernel) application type mismatch
Nat.rec True.intro fun n ih => True.intro
argument has type
∀ (n : Nat), (fun n => Bool.rec False True (n.beq 0)) n → True
but function has type
(∀ (n : Nat), (fun n => Bool.rec False True (n.beq 0)) n → (fun n => Bool.rec False True (n.beq 0)) n.succ) →
∀ (t : Nat), (fun n => Bool.rec False True (n.beq 0)) t