Lean Kernel Arena / mini / corner-cases/subject-reduction-redex

Checker "mini" on test "corner-cases/subject-reduction-redex"

Checker: mini · Version: 3a88e8c · 📄 Declaration · 🔗 Source

Test: corner-cases/subject-reduction-redex · Expected: 🤷 either · Size: 66.6 KB · Lines: 1.2 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 83.8 ms · instructions: 955.4 M · max rss memory: 74.1 MB · run 2026-11-19 15:21:54 UTC

stdout:
Rejecting declaration ``redex:
Expected definitional equality between ``Nat.zero and ``Nat.succ 0, but they differ.
… whnfed down to ``Nat.zero =?= ``Nat.succ 0
… while checking 0 =?= ``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)
… whnfed down to ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) 0 =?= ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1))
… while checking ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) 0 =?= ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1))
… whnfed down to ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) 0 (``Acc.rec.{0, 1} ``Nat (``LT.lt.{0} ``Nat ``instLTNat) (fun ``x._@.Init.WF.3294888691._hygCtx._hyg.23 : ``Nat => fun ``x._@.Init.WF.3294888691._hygCtx._hyg.22 : ``Acc.{1} ``Nat (``LT.lt.{0} ``Nat ``instLTNat) #0 => ``LT.lt.{0} ``Nat ``instLTNat 0 #1 → ``Acc.{1} ``Nat (``LT.lt.{0} ``Nat ``instLTNat) 0) (fun ``x._@.Init.WF.3294888691._hygCtx._hyg.28 : ``Nat => fun ``ac₁ : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (``LT.lt.{0} ``Nat ``instLTNat) #1 => fun ``x._@.Init.WF.3294888691._hygCtx._hyg.31 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #2 → ``LT.lt.{0} ``Nat ``instLTNat 0 #1 → ``Acc.{1} ``Nat (``LT.lt.{0} ``Nat ``instLTNat) 0 => fun ``h₂ : ``LT.lt.{0} ``Nat ``instLTNat 0 #2 => #2 0 #0) (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) #3 (``Nat.lt_succ_self 0)) =?= ``Acc.rec.{1, 1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) (fun ``x._@.Test.1043551373._hygCtx._hyg.21 : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.20 : ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #0 => ``Bool) (fun ``x : ``Nat => fun ``x._@.Test.1043551373._hygCtx._hyg.27 : ∀ ``y : ``Nat, ``LT.lt.{0} ``Nat ``instLTNat #0 #1 → ``Acc.{1} ``Nat (fun ``x1._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => fun ``x2._@.Test.1043551373._hygCtx._hyg.6 : ``Nat => ``LT.lt.{0} ``Nat ``instLTNat #1 #0) #1 => ``step #1) (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) #3
… while checking ``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) (``redex._proof_2 #3) =?= ``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) #3
… whnfed down to #2 (``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) (``redex._proof_2 #3)) =?= #2 (``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) #3)
… while checking #2 (``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) (``redex._proof_2 #3)) =?= #2 (``f (``OfNat.ofNat.{0} ``Nat 1 (``instOfNatNat 1)) #3)
… while checking declaration ``redex