Test "other/nat-lit-sub"
Expected: 👍 accept · Size: 30.0 KB · Lines: 561 · lean4export: 3.1.0 · Lean: 4.34.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 | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| sokonanoda | 👍 | 1 ms | 36.2 MB | |||
| mathgraph | 👍 | 1 ms | 39.6 MB | |||
| nanoclo | 👍 | 1 ms | 51.6 MB | |||
| con-ron | 👍 | 24 ms | 56.8 MB | |||
| nanobruijn | 👍 | 2 ms | 15.7 MB | |||
| nanoda | 👍 | 1 ms | 3.2 MB | |||
| lazylean | 👍 | 2 ms | 21.9 MB | |||
| con-leche | 👍 | 6 ms | 22.2 MB | |||
| eink0rn | 👍 | 3 ms | 14.6 MB | |||
| official | 👍 | 30 ms | 66.0 MB | |||
| ind-models | 👍 | 108 ms | 106.0 MB | |||
| lean4lean | 👍 | 30 ms | 95.3 MB | |||
| tenet | 👍 | 144 ms | 45.4 MB | |||
| tenet-hs | 👍 | 3 ms | 12.2 MB | |||
| lean4cobol | 👍 | 21 ms | 13.9 MB | |||
| evmlean | 👍 | 5.1 s | 278.8 MB | |||
| mini | 🚫 | 36 ms | 75.0 MB | |||
| overfull | ⌛ | 0 ms | 0 B | |||
| metalean-slow | 🚫 | 37 ms | 73.5 MB | |||
| tenet-jvm | 👍 | 141 ms | 67.0 MB | |||
| nanoclo-fortran | 👍 | 2 ms | 4.5 MB | |||
| kiota | 👍 | 2 ms | 9.2 MB | |||
| metalean-fast | 👍 | 34 ms | 76.2 MB | |||
| canonical-min | ✋ | 390 ms | 1.1 GB | |||
| rpylean | 👍 | 1 ms | 5.3 MB | |||
| vow-lean-kernel | 👍 | 182 ms | 8.8 MB | |||
| parse-only | 👍 | 29 ms | 66.3 MB |