Test "other/nat-lit-sub"
Expected: 👍 accept · Size: 29.7 KB · Lines: 556 · lean4export: 3.1.0 · Lean: 4.29.1 · 📄 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 | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| mathgraph | 👍 | 1 ms | 39.7 MB | |||
| sokonanoda | 👍 | 1 ms | 35.6 MB | |||
| nanoclo | 👍 | 1 ms | 53.6 MB | |||
| con-ron | 👍 | 24 ms | 60.6 MB | |||
| lazylean | 👍 | 2 ms | 21.4 MB | |||
| nanoda | 👍 | 1 ms | 3.1 MB | |||
| nanobruijn | 👍 | 2 ms | 13.8 MB | |||
| con-leche | 👍 | 5 ms | 26.2 MB | |||
| eink0rn | 👍 | 3 ms | 13.7 MB | |||
| ind-models | 👍 | 65 ms | 107.6 MB | |||
| official | 👍 | 30 ms | 66.2 MB | |||
| lean4lean | 👍 | 30 ms | 97.4 MB | |||
| tenet | 👍 | 144 ms | 45.0 MB | |||
| nanoclo-fortran | 👍 | 2 ms | 4.4 MB | |||
| lean4cobol | 👍 | 21 ms | 13.8 MB | |||
| evmlean | 👍 | 4.6 s | 137.6 MB | |||
| mini | 🚫 | 36 ms | 73.8 MB | |||
| overfull | 💥 | 1.7 m | 49.7 MB | |||
| kiota | 👍 | 2 ms | 9.0 MB | |||
| canonical-min | 👍 | 389 ms | 1.1 GB | |||
| rpylean | 👍 | 1 ms | 5.4 MB | |||
| vow-lean-kernel | 👍 | 178 ms | 8.4 MB | |||
| official-v4.28.0 | 👍 | 37 ms | 73.3 MB | |||
| still-nanoda | 👍 | 1 ms | 3.2 MB | |||
| nyaya | ✋ | 26 ms | 15.4 MB | |||
| parse-only | 👍 | 29 ms | 65.4 MB |