Lean Kernel Arena / bugs/rec-rule-proof-irrel-nested

Test "bugs/rec-rule-proof-irrel-nested"

Expected: ✋ reject · Size: 32.4 KB · Lines: 584 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Proof of False via an ill-typed rule of the auxiliary recursor of a nested inductive.

A variant of bugs/rec-rule-proof-irrel for a nested inductive:

inductive N : Prop
  | n1 : N
  | n2 : N ∧ N → N

N is nested through And, so the auxiliary type N ∧ N is a Prop as well, and the right-hand sides of the rules of N.rec_1 are proofs. The export replaces the rule for And.intro by

fun motive_1 motive_2 n1 n2 intro l r => @id (motive_2 (And.intro l r)) (Box.mk true)

A checker that rejects bugs/rec-rule-proof-irrel can still accept this one if it skips its checks for the rules of an auxiliary recursor.

Checker Result ⏱️ 🧠
nano-lean ✋ 1.49 ms 32.4 MB
gruszka ✋ 2.06 ms 47.6 MB
sokonanoda ✋ 1.27 ms 31.7 MB
rpylean ✋ 1.25 ms 11.2 MB
pestka ✋ 2.60 ms 14.0 MB
kefir ✋ 2.14 ms 6.5 MB
palladium ✋ 0.973 ms 18.7 MB
con-ron ✋ 30.3 ms 38.8 MB
kefir-wasm ✋ 209 ms 109.5 MB
con-agua ✋ 21.0 ms 16.2 MB
nanobruijn ✋ 2.26 ms 15.6 MB
nanoda ✋ 1.40 ms 3.2 MB
con-leche ✋ 5.05 ms 21.6 MB
pestka-wasm ✋ 117 ms 118.0 MB
tenet-jvm ✋ 149 ms 66.8 MB
official-nightly ✋ 36.0 ms 108.9 MB
eink0rn ✋ 2.91 ms 14.5 MB
official ✋ 35.0 ms 93.6 MB
ind-models ✋ 103 ms 98.2 MB
tenet ✋ 147 ms 46.1 MB
tenet-hs ✋ 2.81 ms 12.1 MB
kiota ✋ 2.04 ms 11.0 MB
ocaml4lean ✋ 15.1 ms 25.8 MB
logos-kernel ✋ 0.640 ms 4.7 MB
evmlean ✋ 4.15 s 254.3 MB
mini 🚫 35.7 ms 74.5 MB
overfull ✋ 99.6 s 49.6 MB
lean4cobol ✋ 20.7 ms 13.7 MB
lean4lean ✋ 31.3 ms 88.4 MB
canonical-min 🚫 389 ms 1.1 GB
nanoclo 👍 1.20 ms 55.3 MB
vow-lean-kernel 👍 291 ms 14.6 MB
lazylean 👍 1.69 ms 21.2 MB
metalean-slow 👍 39.0 ms 68.5 MB
metalean-fast 👍 33.2 ms 70.6 MB
nanoclo-fortran 👍 2.46 ms 4.7 MB
mathgraph 👍 1.12 ms 39.3 MB