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

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

Checker: mini · Version: 3a88e8c · 📄 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: 26.7 ms · instructions: 217.8 M · max rss memory: 74.1 MB · run 2026-11-19 15:21:54 UTC

stdout:
Rejecting declaration ``andMajorEta:
Expected definitional equality between #1 and ``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3), but they differ.
… whnfed down to #1 =?= ``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3)
… while checking #1 =?= ``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3)
… whnfed down to #1 (``And.left #4 #3 #0) =?= ``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3) #1
… while checking #1 (``And.left #4 #3 #0) =?= ``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3) #1
… whnfed down to #1 (``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
… while checking ``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
… whnfed down to ``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))) =?= ``Eq.{1} #2 (``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3) #1 #0)
… while checking ``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))) =?= ``Eq.{1} #2 (``And.rec.{1} #4 #3 (fun ``x._@.Test.3893811644._hygCtx._hyg.27 : ``And #4 #3 => #3) #1 #0)
… whnfed down to ``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) =?= ``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)
… while checking ``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) =?= ``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)
… whnfed down to ∀ ``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) =?= ∀ ``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)
… while checking ∀ ``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) =?= ∀ ``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)
… whnfed down to ∀ ``f : (#2 → #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) =?= ∀ ``f : (#2 → #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)
… while checking ∀ ``f : (#2 → #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) =?= ∀ ``f : (#2 → #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)
… whnfed down to ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``A : Type, ∀ ``f : (#2 → #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)
… while checking ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``A : Type, ∀ ``f : (#2 → #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)
… whnfed down to ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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)
… while checking ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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)
… whnfed down to ∀ ``P : Prop, ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``P : Prop, ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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)
… while checking ∀ ``P : Prop, ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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) =?= ∀ ``P : Prop, ∀ ``Q : Prop, ∀ ``A : Type, ∀ ``f : (#2 → #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)
… while checking declaration ``andMajorEta