Lean Kernel Arena / logos-kernel / bugs/nested-name-capture

Checker "logos-kernel" on test "bugs/nested-name-capture"

Checker: logos-kernel · Version: 1e6ad5b · 📄 Declaration · 🔗 Source

Test: bugs/nested-name-capture · Expected: ✋ reject · Size: 26.1 KB · Lines: 433 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 Declaration

Result: ✋ rejected · exit code 1 · wall time: 2.80 ms · instructions: 3.4 M · max rss memory: 4.4 MB · run 2026-11-08 11:08:24 UTC

stderr:
rejected: declaration 'Shadow': the exported 'Shadow.rec' differs from the declaration the kernel derives
  rule for 'Shadow.node': derived fun (x0 : Shadow → Sort (u)) => fun (x1 : (Cov Shadow) → Sort (u)) => fun (x2 : x0 Shadow.base) => fun (x3 : (x3 : Cov Shadow) → (x4 : x1 x3) → x0 (Shadow.node x3)) => fun (x4 : (x4 : U → Shadow) → (x5 : (x5 : U) → x0 (x4 x5)) → x1 (Cov.mk Shadow x4)) => fun (x5 : Cov Shadow) => x3 x5 (Shadow.rec_1 x0 x1 x2 x3 x4 x5) with 1 fields
  exported fun (x0 : Shadow → Sort (u)) => fun (x1 : (Cov Shadow) → Sort (u)) => fun (x2 : x0 Shadow.base) => fun (x3 : (x3 : Cov Shadow) → (x4 : x1 x3) → x0 (Shadow.node x3)) => fun (x4 : (x4 : U → Shadow) → (x5 : (x5 : U) → x0 (x4 x5)) → x1 (Cov.mk Shadow x4)) => fun (x5 : Cov Shadow) => x3 x5 (_nested.Cov_1.rec x0 x1 x2 x3 x4 (_nested.Cov_1.mk x5.1)) with 1 fields