Lean Kernel Arena / other/nat-lit-add

Test "other/nat-lit-add"

Expected: 👍 accept · Size: 25.7 KB · Lines: 473 · lean4export: 3.1.0 · Lean: 4.29.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 ⏱️ 🧠
mathgraph 👍 1 ms 39.6 MB
sokonanoda 👍 1 ms 35.6 MB
nanoclo 👍 1 ms 43.5 MB
con-ron 👍 24 ms 60.7 MB
lazylean 👍 2 ms 21.5 MB
nanoda 👍 1 ms 3.0 MB
nanobruijn 👍 2 ms 11.9 MB
con-leche 👍 5 ms 26.4 MB
eink0rn 👍 3 ms 13.2 MB
ind-models 👍 65 ms 108.9 MB
official 👍 29 ms 65.6 MB
lean4lean 👍 30 ms 97.4 MB
tenet 👍 144 ms 44.7 MB
nanoclo-fortran 👍 2 ms 4.6 MB
lean4cobol 👍 18 ms 13.8 MB
evmlean 👍 4.0 s 134.5 MB
mini 🚫 36 ms 73.4 MB
overfull 👍 1.5 m 49.3 MB
kiota 👍 2 ms 9.1 MB
canonical-min 👍 388 ms 1.1 GB
rpylean 👍 1 ms 5.3 MB
vow-lean-kernel 👍 161 ms 8.6 MB
official-v4.28.0 👍 36 ms 73.4 MB
still-nanoda 👍 1 ms 3.0 MB
nyaya ✋ 25 ms 15.5 MB
parse-only 👍 29 ms 65.5 MB