Lean Kernel Arena (Preview) / tutorial/077_sortElimProp2Rec

Test "tutorial/077_sortElimProp2Rec"

Expected: 馃憤 accept 路 Size: 6.4鈥疜B 路 Lines: 107 路 lean4export: 3.2.0 路 Lean: 4.38.0-nightly-2026-12-03 路 馃搫 Declaration 路 馃敆 Source 路 馃摉 Tutorial

Inductive predicates eliminate into Sort if they have one constructors and it carries data, but the data is known from the type, e.g. a parameter or an index. However, it must occur directly in the result type, with no intervening reduction.

Checker Result 鈴憋笍 馃
gruszka 馃憤 1.83鈥痬s 80.3鈥疢B
nano-lean 馃憤 0.541鈥痬s 19.8鈥疢B
pestka 馃憤 2.12鈥痬s 16.6鈥疢B
con-leche 馃憤 4.09鈥痬s 23.2鈥疢B
con-ron 馃憤 28.4鈥痬s 41.6鈥疢B
nucleus 馃毇 24.6鈥痬s 13.7鈥疢B
official 馃憤 42.4鈥痬s 112.6鈥疢B