Lean Kernel Arena / logos-kernel / corner-cases/eta-rec-struct

Checker "logos-kernel" on test "corner-cases/eta-rec-struct"

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

Test: corner-cases/eta-rec-struct · Expected: 🤷 either · Size: 9.5 KB · Lines: 174 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 2.66 ms · instructions: 2.8 M · max rss memory: 4.5 MB · run 2026-11-08 11:08:24 UTC

stderr:
rejected: declaration 'etaRecStruct': declaration type mismatch
  the value has type
    ((Prod Bool Bool) → Bool) → Eq.refl ((Prod Bool Bool) → Bool) #0
  but is declared with type
    ((Prod Bool Bool) → Bool) → Eq ((Prod Bool Bool) → Bool) (Prod.rec Bool Bool (fun (x0 : Prod Bool Bool) => Bool) (fun (x0 : Bool) => fun (x1 : Bool) => #2 (Prod.mk Bool Bool x0 x1))) #0