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

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

Checker: lazylean · Version: 0.3.0 · 📄 Declaration · 🔗 Source

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: 20.6 ms · instructions: 7.6 M · max rss memory: 21.1 MB · run 2026-11-19 16:07:59 UTC

stderr:
loaded 5 declarations, 130 exprs (130 unique), 36 names in 0.000336371s
declaration order verified in 3.176e-06s
environment built in 1.9667e-05s; checking with 4 worker processes
FAIL andMajorEta (line 175): declaration type mismatch for 'andMajorEta'
  inferred: ((P : Sort(0)) -> ((Q : Sort(0)) -> ((A : Sort(1)) -> ((f : ((a._@._internal._hyg.0 : #2) -> ((a._@._internal._hyg.0 : #2) -> #2))) -> ((x : ((And #3) #2)) -> (((Eq.{1} #2) (((((And.rec.{1} #4) #3) (fun (x._@.Test.3893811644._hygCtx._hyg.27 : ((And #4) #3)) => #3)) #1) #0)) (((((And.rec.{1} #4) #3) (fun (x._@.Test.3893811644._hygCtx._hyg.27 : ((And #4) #3)) => #3)) #1) #0)))))))
  declared: ((P : Sort(0)) -> ((Q : Sort(0)) -> ((A : Sort(1)) -> ((f : ((a._@._internal._hyg.0 : #2) -> ((a._@._internal._hyg.0 : #2) -> #2))) -> ((x : ((And #3) #2)) -> (((Eq.{1} #2) (((((And.rec.{1} #4) #3) (fun (x._@.Test.3893811644._hygCtx._hyg.27 : ((And #4) #3)) => #3)) #1) ((((And.intro #4) #3) (((And.left #4) #3) #0)) (((And.right #4) #3) #0)))) (((((And.rec.{1} #4) #3) (fun (x._@.Test.3893811644._hygCtx._hyg.27 : ((And #4) #3)) => #3)) #1) #0)))))))
checked 4 declarations, 1 failed, in 0.00440226s wall (2.48941e-06 core-hours over 4 workers); 0 reduction steps; peak 20 MB in one worker