Lean Kernel Arena / official-nightly / corner-cases/eta-rec-struct

Checker "official-nightly" on test "corner-cases/eta-rec-struct"

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

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

Result: ✋ rejected · exit code 1 · wall time: 62.0 ms · instructions: 206.1 M · max rss memory: 108.9 MB · run 2026-11-19 15:56:19 UTC

stdout:
Lean default kernel rejects the solution: while replaying declaration 'etaRecStruct':
(kernel) declaration type mismatch, 'etaRecStruct' has type
  ∀ (a : Prod Bool Bool → Bool), Eq a a
but it is expected to have type
  ∀ (a : Prod Bool Bool → Bool), Eq (Prod.rec fun b c => a (Prod.mk b c)) a