Lean Kernel Arena (Preview) / official / perf/loop-unfolded-once-bad

Checker "official" on test "perf/loop-unfolded-once-bad"

Checker: official · Version: nightly-2026-12-03 · 📄 Declaration

Test: perf/loop-unfolded-once-bad · Expected: ✋ reject · Size: 4.1 MB · Lines: 84.9 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 7.01 s · instructions: 90.8 G · max rss memory: 124.6 MB · run 2026-12-03 13:11:33 UTC

stdout:
Lean default kernel rejects the solution: while replaying declaration 'loop_unfolded_once_bad':
(kernel) declaration type mismatch, 'loop_unfolded_once_bad' has type
  ∀ (w : Nat) (g : Nat → Nat → Bool),
    Eq
      (Decidable.decide
        (Eq ((HSub.hSub 300 0).allTR fun k x => (fun i => g w (HAdd.hAdd i 1)) (HAdd.hAdd 0 k)) Bool.true))
      (Decidable.decide
        (Eq ((HSub.hSub 300 0).allTR fun k x => (fun i => g w (HAdd.hAdd i 1)) (HAdd.hAdd 0 k)) Bool.true))
but it is expected to have type
  ∀ (w : Nat) (g : Nat → Nat → Bool),
    Eq (allInK 0 300 fun i => g w i)
      (Decidable.decide
        (Eq ((HSub.hSub 300 0).allTR fun k x => (fun i => g w (HAdd.hAdd i 1)) (HAdd.hAdd 0 k)) Bool.true))