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

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

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

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

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

stderr:
def reduct : (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 ↦ k x0
                   ^^
                   has type
                     D (f (OfNat.ofNat 1) a)
                   but is expected to have type
                     D (f (OfNat.ofNat 0) (redex._proof_1 a))
summary: 66/66 decls checked, peak 32 MB, allocated 0 MB
checked in 0.003678s