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

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

Checker: lean4lean · Version: arena (bce3448) · 📄 Declaration · 🔗 Source

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: 33.8 ms · instructions: 188.8 M · max rss memory: 88.4 MB · run 2026-11-19 15:08:29 UTC

stderr:
uncaught exception: at badRecType: (kernel) application type mismatch
  @Q.rec (fun h x => @Eq Bool (read Bool.false h) Bool.true) (@rfl Bool Bool.true)
argument has type
  @Eq Bool Bool.true Bool.true
but function has type
  (@fun h x => @Eq Bool (read Bool.false h) Bool.true) (Box.mk Bool.false) Q.mk →
    {a : Box Bool.false} → (t : Q a) → (@fun h x => @Eq Bool (read Bool.false h) Bool.true) a t