Test "other/nat-lit-sub"
Expected: 👍 accept · Size: 30.0 KB · Lines: 561 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source
Nat.sub on two literals truncates at zero: Nat.sub 1000000 1000001 = 0.
Same Nat-literal extension as nat-lit-add; the numerals are large enough
that unfolding Nat.sub to a Nat.succ recursor is not a practical path.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | 👍 | 0.737 ms | 30.0 MB | |||
| gruszka | 👍 | 2.07 ms | 103.8 MB | |||
| mathgraph | 👍 | 1.30 ms | 29.5 MB | |||
| sokonanoda | 👍 | 1.10 ms | 29.6 MB | |||
| pestka | 👍 | 2.71 ms | 19.0 MB | |||
| kefir | 👍 | 1.77 ms | 6.3 MB | |||
| kefir-wasm | 👍 | 182 ms | 91.3 MB | |||
| con-ron | 👍 | 29.8 ms | 39.4 MB | |||
| con-ron-stream | 👍 | 30.4 ms | 45.2 MB | |||
| con-agua | 👍 | 21.2 ms | 17.3 MB | |||
| nanobruijn | 👍 | 2.20 ms | 16.7 MB | |||
| nanoda | 👍 | 1.34 ms | 3.3 MB | |||
| con-leche | 👍 | 5.10 ms | 25.2 MB | |||
| pestka-wasm | 👍 | 530 ms | 322.0 MB | |||
| official-nightly | 👍 | 35.3 ms | 107.4 MB | |||
| eink0rn | 👍 | 2.51 ms | 13.4 MB | |||
| official | 👍 | 34.2 ms | 92.3 MB | |||
| ind-models | 👍 | 108 ms | 99.6 MB | |||
| kiota | 👍 | 1.96 ms | 11.2 MB | |||
| tenet | 👍 | 148 ms | 46.1 MB | |||
| tenet-hs | 👍 | 2.71 ms | 11.8 MB | |||
| logos-kernel | 👍 | 0.683 ms | 4.6 MB | |||
| evmlean | 👍 | 5.10 s | 255.3 MB | |||
| mini | 🚫 | 35.6 ms | 73.9 MB | |||
| overfull | ⌛ | — | — | |||
| lean4lean | 👍 | 32.2 ms | 89.3 MB | |||
| lean4cobol | 👍 | 21.4 ms | 13.7 MB | |||
| tenet-jvm | 👍 | 136 ms | 77.5 MB | |||
| nanoclo | 👍 | 1.15 ms | 51.3 MB | |||
| vow-lean-kernel | 👍 | 267 ms | 14.6 MB | |||
| canonical-min | ✋ | 389 ms | 1.1 GB | |||
| lazylean | 👍 | 1.64 ms | 21.3 MB | |||
| rpylean | 👍 | 1.09 ms | 11.4 MB | |||
| metalean-slow | 🚫 | 36.8 ms | 68.3 MB | |||
| metalean-fast | 👍 | 33.7 ms | 65.2 MB | |||
| nanoclo-fortran | 👍 | 2.28 ms | 4.4 MB |