Lean Kernel Arena / official / bugs/rec-type-proof-irrel

Checker "official" on test "bugs/rec-type-proof-irrel"

Checker: official · Version: v4.35.0 · 📄 Declaration

Test: bugs/rec-type-proof-irrel · Expected: ✋ reject · Size: 24.9 KB · Lines: 462 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 40.7 ms · instructions: 209.4 M · max rss memory: 93.7 MB · run 2026-11-19 15:53:52 UTC

stdout:
Lean default kernel rejects the solution: while replaying declaration 'badRecType':
(kernel) application type mismatch
  @Q.rec (fun h x => Eq (read h) Bool.true) rfl
argument has type
  Eq Bool.true Bool.true
but function has type
  (fun h x => Eq (read h) Bool.true) ⋯ Q.mk → ∀ {a : Box Bool.false} (t : Q a), (fun h x => Eq (read h) Bool.true) a t