Lean Kernel Arena / logos-kernel / perf/short-circuit-and-bad

Checker "logos-kernel" on test "perf/short-circuit-and-bad"

Checker: logos-kernel · Version: 1e6ad5b · 📄 Declaration · 🔗 Source

Test: perf/short-circuit-and-bad · Expected: ✋ reject · Size: 3.8 MB · Lines: 77.5 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 5.98 s · instructions: 6.5 G · max rss memory: 1.3 GB · run 2026-11-22 03:28:32 UTC

stderr:
rejected: declaration 'short_circuit_and_bad': declaration type mismatch
  the value has type
    (Nat) → fun (x0 : Nat) => Eq.refl Bool (Bool.and Bool.true (Nat.beq #1 x0))
  but is declared with type
    (Nat) → (x0 : Nat) → Eq Bool (Bool.and Bool.true (eqA (OfNat.ofNat Nat 600 (instOfNatNat 600)) (unpack (OfNat.ofNat Nat 600 (instOfNatNat 600)) (OfNat.ofNat Nat 11 (instOfNatNat 11)) #1) (unpack (OfNat.ofNat Nat 600 (instOfNatNat 600)) (OfNat.ofNat Nat 11 (instOfNatNat 11)) x0))) (Bool.and Bool.true (Nat.beq #1 x0))