Test "tutorial/073_BogusRecursor"
Expected: ✋ reject · Size: 1.8 KB · Lines: 27 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source · 📖 Tutorial
A kernel must not blindly trust the recursors it is handed. If we write
inductive BogusRecursor : Type where
| mk : BogusRecursor
then the recursor BogusRecursor.rec will be correctly derived with type
{motive : BogusRecursor → Sort u} → motive .mk → (t : BogusRecursor) → motive t.
This test instead claims that the recursor is a constant of type False, and
then uses it to prove bogusRecursorFalse : False. A kernel that validates
the recursors it is handed rejects the bogus recursor itself; a kernel that
ignores them and derives the recursors anew rejects the proof of False
(the derived recursor neither has type False nor zero universe parameters).
Either way, this test must be rejected.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | ✋ | 0.490 ms | 13.9 MB | |||
| gruszka | ✋ | 1.78 ms | 70.0 MB | |||
| mathgraph | ✋ | 0.707 ms | 17.7 MB | |||
| sokonanoda | ✋ | 0.736 ms | 25.7 MB | |||
| pestka | ✋ | 2.00 ms | 14.4 MB | |||
| kefir | ✋ | 0.436 ms | 6.2 MB | |||
| kefir-wasm | ✋ | 105 ms | 82.4 MB | |||
| con-ron | ✋ | 0.698 ms | 10.0 MB | |||
| con-ron-stream | ✋ | 4.34 ms | 36.7 MB | |||
| con-agua | ✋ | 0.614 ms | 3.1 MB | |||
| nanobruijn | ✋ | 0.517 ms | 3.5 MB | |||
| nanoda | ✋ | 0.509 ms | 3.1 MB | |||
| con-leche | ✋ | 3.41 ms | 19.9 MB | |||
| pestka-wasm | ✋ | 512 ms | 311.7 MB | |||
| official-nightly | ✋ | 33.2 ms | 108.0 MB | |||
| eink0rn | ✋ | 1.31 ms | 11.3 MB | |||
| official | ✋ | 31.9 ms | 92.8 MB | |||
| ind-models | ✋ | 99.8 ms | 96.4 MB | |||
| kiota | ✋ | 0.588 ms | 11.1 MB | |||
| tenet | ✋ | 131 ms | 45.0 MB | |||
| tenet-hs | ✋ | 1.10 ms | 8.1 MB | |||
| logos-kernel | ✋ | 0.405 ms | 3.4 MB | |||
| evmlean | ✋ | 1.03 s | 252.6 MB | |||
| mini | ✋ | 33.9 ms | 74.3 MB | |||
| overfull | ✋ | 3.05 s | 45.6 MB | |||
| lean4lean | ✋ | 29.8 ms | 89.6 MB | |||
| lean4cobol | ✋ | 1.91 ms | 13.4 MB | |||
| tenet-jvm | ✋ | 107 ms | 77.0 MB | |||
| nanoclo | ✋ | 0.661 ms | 41.5 MB | |||
| vow-lean-kernel | ✋ | 126 ms | 14.5 MB | |||
| canonical-min | 🚫 | 387 ms | 1.0 GB | |||
| lazylean | ✋ | 1.09 ms | 21.2 MB | |||
| rpylean | ✋ | 0.850 ms | 9.2 MB | |||
| metalean-slow | ✋ | 29.7 ms | 65.7 MB | |||
| metalean-fast | ✋ | 29.7 ms | 60.6 MB | |||
| nanoclo-fortran | ✋ | 0.683 ms | 4.3 MB |