Test "other/nat-lit-add"
Expected: 👍 accept · Size: 26.0 KB · Lines: 478 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 Declaration · 🔗 Source
The kernel's Nat extension reduces Nat.add applied to two literals to a
literal, instead of unfolding the numerals to Nat.succ chains. The
arguments here are large enough that unfolding is not a practical
alternative, so a checker that only implements natLitEq-style
literal↔succ conversion will not get this for free.
Exported as natAddLit : Nat.add 123456789 987654321 = 1111111110 := rfl.
The application is Nat.add on .lits (not HAdd/OfNat).
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| sokonanoda | 👍 | 1 ms | 36.1 MB | |||
| mathgraph | 👍 | 1 ms | 39.6 MB | |||
| nanoclo | 👍 | 1 ms | 49.5 MB | |||
| con-ron | 👍 | 24 ms | 58.8 MB | |||
| nanobruijn | 👍 | 2 ms | 15.8 MB | |||
| nanoda | 👍 | 1 ms | 3.0 MB | |||
| lazylean | 👍 | 2 ms | 21.9 MB | |||
| con-leche | 👍 | 5 ms | 22.2 MB | |||
| eink0rn | 👍 | 2 ms | 13.8 MB | |||
| official | 👍 | 30 ms | 65.6 MB | |||
| ind-models | 👍 | 108 ms | 106.3 MB | |||
| lean4lean | 👍 | 30 ms | 94.9 MB | |||
| tenet | 👍 | 144 ms | 45.5 MB | |||
| tenet-hs | 👍 | 2 ms | 11.7 MB | |||
| lean4cobol | 👍 | 18 ms | 13.6 MB | |||
| evmlean | 👍 | 4.6 s | 257.7 MB | |||
| mini | 🚫 | 35 ms | 73.6 MB | |||
| overfull | 👍 | 1.5 m | 49.5 MB | |||
| metalean-slow | 🚫 | 45 ms | 73.7 MB | |||
| tenet-jvm | 👍 | 135 ms | 65.9 MB | |||
| nanoclo-fortran | 👍 | 2 ms | 4.6 MB | |||
| kiota | 👍 | 1 ms | 9.2 MB | |||
| metalean-fast | 👍 | 33 ms | 76.2 MB | |||
| canonical-min | ✋ | 389 ms | 1.1 GB | |||
| rpylean | 👍 | 1 ms | 5.1 MB | |||
| vow-lean-kernel | 👍 | 165 ms | 8.8 MB | |||
| parse-only | 👍 | 29 ms | 65.5 MB |