This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: 2 + 2 = 4 for ordinal numbers. Ordinal numbers are modeled as Von Neumann ordinals; see df-suc . For the usual proof using complex numbers, see 2p2e4 . (Contributed by NM, 18-Aug-2021) Avoid ax-rep , from a comment by Sophie. (Revised by SN, 23-Mar-2024)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | o2p2e4 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2on | ||
| 2 | df-1o | ||
| 3 | peano1 | ||
| 4 | peano2 | ||
| 5 | 3 4 | ax-mp | |
| 6 | 2 5 | eqeltri | |
| 7 | onasuc | ||
| 8 | 1 6 7 | mp2an | |
| 9 | df-2o | ||
| 10 | 9 | oveq2i | |
| 11 | df-3o | ||
| 12 | oa1suc | ||
| 13 | 1 12 | ax-mp | |
| 14 | 11 13 | eqtr4i | |
| 15 | suceq | ||
| 16 | 14 15 | ax-mp | |
| 17 | 8 10 16 | 3eqtr4i | |
| 18 | df-4o | ||
| 19 | 17 18 | eqtr4i |