Lean Kernel Arena (Preview) / tutorial/117_reflOccInIndex

Test "tutorial/117_reflOccInIndex"

Expected: ✋ reject · Size: 4.1 KB · Lines: 65 · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source · 📖 Tutorial

Rejection: recursive occurrence in index position, behind a further arrow.

We build an indexed inductive I : Prop → Prop with a constructor argument Nat → I (I α), so the recursive occurrence appears as an index argument. (It is a proposition so that its field α : Prop is allowed; for that it is impredicative.)

Checker Result ⏱️ 🧠
gruszka ✋ 1.81 ms 66.0 MB
nano-lean ✋ 0.510 ms 17.5 MB
pestka ✋ 2.05 ms 14.5 MB
con-leche ✋ 3.43 ms 19.9 MB
con-ron ✋ 0.686 ms 9.9 MB
nucleus 🚫 24.1 ms 13.7 MB
official ✋ 42.2 ms 113.1 MB