Lean Kernel Arena / rpylean / corner-cases/subject-reduction-redex

Checker "rpylean" on test "corner-cases/subject-reduction-redex"

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

Test: corner-cases/subject-reduction-redex · Expected: 🤷 either · Size: 66.6 KB · Lines: 1.2 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

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

stderr:
def redex : (a : Acc (fun x1 x2 ↦ LT.lt x1 x2) (OfNat.ofNat 1)) →
  (D : Bool → Type) →
    (D (f (OfNat.ofNat 0) (Acc.inv a (Nat.lt_succ_self (OfNat.ofNat 0)))) → Unit) → D (f (OfNat.ofNat 1) a) → Unit :=
  fun a D k x0 ↦ (fun y ↦ k y) x0
                            ^
                            has type
                              D (f (OfNat.ofNat 1) (redex._proof_2 a))
                            but is expected to have type
                              D (f (OfNat.ofNat 0) (redex._proof_1 a))
summary: 67/67 decls checked, peak 32 MB, allocated 0 MB
checked in 0.003773s