Lean Kernel Arena / official-nightly / perf/loop-unfolded-once-bad

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

Checker: official-nightly · Version: nightly-2026-11-14 · 📄 Declaration

Test: perf/loop-unfolded-once-bad · Expected: ✋ reject · Size: 4.1 MB · Lines: 84.7 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 7.19 s · instructions: 90.6 G · max rss memory: 109.1 MB · run 2026-11-22 02:10:26 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))