Checker "official" on test "corner-cases/eta-rec-struct"
Checker: official · Version: v4.35.0 · 📄 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: 40.6 ms · instructions: 199.4 M · max rss memory: 93.5 MB · run 2026-11-19 15:53:52 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