Lean Kernel Arena / official / corner-cases/eta-struct-major-and

Checker "official" on test "corner-cases/eta-struct-major-and"

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

Test: corner-cases/eta-struct-major-and · Expected: 🤷 either · Size: 9.4 KB · Lines: 175 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 43.1 ms · instructions: 201.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 'andMajorEta':
(kernel) declaration type mismatch, 'andMajorEta' has type
  ∀ (P Q : Prop) (A : Type) (f : P → Q → A) (x : And P Q), Eq (And.rec f x) (And.rec f x)
but it is expected to have type
  ∀ (P Q : Prop) (A : Type) (f : P → Q → A) (x : And P Q), Eq (And.rec f ⋯) (And.rec f x)