Test "bugs/nat-log2-not-native"
Expected: 👍 accept · Size: 48.8 KB · Lines: 789 · lean4export: 3.1.0 · Lean: 4.35.0 · 📄 Declaration
Nat.log2 is an ordinary definition: it reduces by unfolding its body,
not by native computation on literals.
The export brings its own def Nat.log2 : Nat → Nat := fun n => n (see
bugs/nat-log2-not-native-bad) and proves
T.t : Nat.log2 8 = 8 := rfl
which the reference kernel accepts. A checker that computes Nat.log2 8
natively gets 3 and rejects it.
nano-lean rejects it as of v0.4.3 (issue).
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | 👍 | 1.39 ms | 32.0 MB | |||
| gruszka | 👍 | 2.73 ms | 108.1 MB | |||
| mathgraph | 👍 | 2.07 ms | 29.8 MB | |||
| sokonanoda | 👍 | 1.77 ms | 31.7 MB | |||
| pestka | 👍 | 3.50 ms | 20.9 MB | |||
| kefir | 👍 | 2.49 ms | 6.1 MB | |||
| kefir-wasm | 👍 | 193 ms | 99.8 MB | |||
| con-ron | 👍 | 30.1 ms | 41.6 MB | |||
| con-ron-stream | 👍 | 30.7 ms | 45.1 MB | |||
| con-agua | 👍 | 21.5 ms | 17.9 MB | |||
| nanobruijn | 👍 | 2.67 ms | 17.0 MB | |||
| nanoda | 👍 | 1.70 ms | 3.1 MB | |||
| con-leche | 👍 | 5.51 ms | 25.0 MB | |||
| pestka-wasm | 👍 | 534 ms | 322.2 MB | |||
| official-nightly | 👍 | 36.4 ms | 96.9 MB | |||
| eink0rn | 👍 | 4.29 ms | 16.3 MB | |||
| official | 👍 | 35.4 ms | 101.1 MB | |||
| ind-models | 👍 | 111 ms | 110.4 MB | |||
| kiota | 👍 | 2.59 ms | 11.2 MB | |||
| tenet | 👍 | 150 ms | 46.2 MB | |||
| tenet-hs | 👍 | 3.42 ms | 13.3 MB | |||
| logos-kernel | 👍 | 1.00 ms | 4.9 MB | |||
| evmlean | 👍 | 8.91 s | 296.5 MB | |||
| mini | 👍 | 47.2 ms | 73.3 MB | |||
| overfull | ⌛ | — | — | |||
| lean4lean | 👍 | 33.4 ms | 101.4 MB | |||
| lean4cobol | 👍 | 30.0 ms | 13.9 MB | |||
| tenet-jvm | ✋ | 167 ms | 80.9 MB | |||
| nanoclo | 👍 | 1.83 ms | 57.5 MB | |||
| vow-lean-kernel | 👍 | 339 ms | 14.6 MB | |||
| canonical-min | ✋ | 390 ms | 1.1 GB | |||
| lazylean | 👍 | 2.41 ms | 21.5 MB | |||
| rpylean | 👍 | 1.59 ms | 12.2 MB | |||
| metalean-slow | 🚫 | 59.7 ms | 75.5 MB | |||
| metalean-fast | 👍 | 35.6 ms | 80.5 MB | |||
| nanoclo-fortran | 👍 | 2.86 ms | 4.7 MB |