MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nnecl Structured version   Visualization version   GIF version

Theorem nnecl 8679
Description: Closure of exponentiation of natural numbers. Proposition 8.17 of [TakeutiZaring] p. 63. Theorem 2.20 of [Schloeder] p. 6. (Contributed by NM, 24-Mar-2007.) (Proof shortened by Andrew Salmon, 22-Oct-2011.)
Assertion
Ref Expression
nnecl ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ↑o 𝐵) ∈ ω)

Proof of Theorem nnecl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7478 . . . . 5 (𝑥 = 𝐵 → (𝐴 ↑o 𝑥) = (𝐴 ↑o 𝐵))
21eleq1d 2860 . . . 4 (𝑥 = 𝐵 → ((𝐴 ↑o 𝑥) ∈ ω ↔ (𝐴 ↑o 𝐵) ∈ ω))
32imbi2d 343 . . 3 (𝑥 = 𝐵 → ((𝐴 ∈ ω → (𝐴 ↑o 𝑥) ∈ ω) ↔ (𝐴 ∈ ω → (𝐴 ↑o 𝐵) ∈ ω)))
4 oveq2 7478 . . . . 5 (𝑥 = ∅ → (𝐴 ↑o 𝑥) = (𝐴 ↑o ∅))
54eleq1d 2860 . . . 4 (𝑥 = ∅ → ((𝐴 ↑o 𝑥) ∈ ω ↔ (𝐴 ↑o ∅) ∈ ω))
6 oveq2 7478 . . . . 5 (𝑥 = 𝑦 → (𝐴 ↑o 𝑥) = (𝐴 ↑o 𝑦))
76eleq1d 2860 . . . 4 (𝑥 = 𝑦 → ((𝐴 ↑o 𝑥) ∈ ω ↔ (𝐴 ↑o 𝑦) ∈ ω))
8 oveq2 7478 . . . . 5 (𝑥 = suc 𝑦 → (𝐴 ↑o 𝑥) = (𝐴 ↑o suc 𝑦))
98eleq1d 2860 . . . 4 (𝑥 = suc 𝑦 → ((𝐴 ↑o 𝑥) ∈ ω ↔ (𝐴 ↑o suc 𝑦) ∈ ω))
10 nnon 7936 . . . . . 6 (𝐴 ∈ ω → 𝐴 ∈ On)
11 oe0 8587 . . . . . 6 (𝐴 ∈ On → (𝐴 ↑o ∅) = 1o)
1210, 11syl 18 . . . . 5 (𝐴 ∈ ω → (𝐴 ↑o ∅) = 1o)
13 df-1o 8533 . . . . . 6 1o = suc ∅
14 peano1 7953 . . . . . . 7 ∅ ∈ ω
15 peano2 7954 . . . . . . 7 (∅ ∈ ω → suc ∅ ∈ ω)
1614, 15ax-mp 5 . . . . . 6 suc ∅ ∈ ω
1713, 16eqeltri 2871 . . . . 5 1o ∈ ω
1812, 17eqeltrdi 2883 . . . 4 (𝐴 ∈ ω → (𝐴 ↑o ∅) ∈ ω)
19 nnmcl 8678 . . . . . . . 8 (((𝐴 ↑o 𝑦) ∈ ω ∧ 𝐴 ∈ ω) → ((𝐴 ↑o 𝑦) ·o 𝐴) ∈ ω)
2019expcom 419 . . . . . . 7 (𝐴 ∈ ω → ((𝐴 ↑o 𝑦) ∈ ω → ((𝐴 ↑o 𝑦) ·o 𝐴) ∈ ω))
2120adantr 486 . . . . . 6 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐴 ↑o 𝑦) ∈ ω → ((𝐴 ↑o 𝑦) ·o 𝐴) ∈ ω))
22 nnesuc 8674 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → (𝐴 ↑o suc 𝑦) = ((𝐴 ↑o 𝑦) ·o 𝐴))
2322eleq1d 2860 . . . . . 6 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐴 ↑o suc 𝑦) ∈ ω ↔ ((𝐴 ↑o 𝑦) ·o 𝐴) ∈ ω))
2421, 23sylibrd 262 . . . . 5 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → ((𝐴 ↑o 𝑦) ∈ ω → (𝐴 ↑o suc 𝑦) ∈ ω))
2524expcom 419 . . . 4 (𝑦 ∈ ω → (𝐴 ∈ ω → ((𝐴 ↑o 𝑦) ∈ ω → (𝐴 ↑o suc 𝑦) ∈ ω)))
265, 7, 9, 18, 25finds2 7963 . . 3 (𝑥 ∈ ω → (𝐴 ∈ ω → (𝐴 ↑o 𝑥) ∈ ω))
273, 26vtoclga 3547 . 2 (𝐵 ∈ ω → (𝐴 ∈ ω → (𝐴 ↑o 𝐵) ∈ ω))
2827impcom 413 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ↑o 𝐵) ∈ ω)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∅c0 4288  Oncon0 6401  suc csuc 6403  (class class class)co 7470  ωcom 7930  1oc1o 8526   ·o comu 8531   ↑o coe 8532
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-oadd 8537  df-omul 8538  df-oexp 8539
This theorem is used by:  nnamecl  44718  nnoeomeqom  44743
  Copyright terms: Public domain W3C validator