Lean Kernel Arena (Preview) / other/nat-lit-add

Test "other/nat-lit-add"

Expected: 馃憤 accept 路 Size: 26.4鈥疜B 路 Lines: 478 路 lean4export: 3.2.0 路 Lean: 4.38.0-nightly-2026-12-03 路 馃搫 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鈫攕ucc 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 鈴憋笍 馃
gruszka 馃憤 2.11鈥痬s 104.3鈥疢B
nano-lean 馃憤 0.709鈥痬s 28.2鈥疢B
pestka 馃憤 2.62鈥痬s 19.0鈥疢B
con-leche 馃憤 4.86鈥痬s 25.2鈥疢B
con-ron 馃憤 29.1鈥痬s 41.8鈥疢B
nucleus 馃毇 95.6鈥痬s 13.8鈥疢B
official 馃憤 43.9鈥痬s 112.6鈥疢B