Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  naryfval Structured version   Visualization version   GIF version

Theorem naryfval 49955
Description: The set of the n-ary (endo)functions on a class 𝑋. (Contributed by AV, 13-May-2024.)
Hypothesis
Ref Expression
naryfval.i 𝐼 = (0..^𝑁)
Assertion
Ref Expression
naryfval (𝑁 ∈ ℕ0 → (𝑁-aryF 𝑋) = (𝑋 ↑m (𝑋 ↑m 𝐼)))

Proof of Theorem naryfval
Dummy variables 𝑛 𝑥 𝑓 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 490 . . . . 5 ((𝑛 = 𝑁 ∧ 𝑥 = 𝑋) → 𝑥 = 𝑋)
2 oveq2 7454 . . . . . . . 8 (𝑛 = 𝑁 → (0..^𝑛) = (0..^𝑁))
3 naryfval.i . . . . . . . 8 𝐼 = (0..^𝑁)
42, 3eqtr4di 2816 . . . . . . 7 (𝑛 = 𝑁 → (0..^𝑛) = 𝐼)
54adantr 486 . . . . . 6 ((𝑛 = 𝑁 ∧ 𝑥 = 𝑋) → (0..^𝑛) = 𝐼)
61, 5oveq12d 7464 . . . . 5 ((𝑛 = 𝑁 ∧ 𝑥 = 𝑋) → (𝑥 ↑m (0..^𝑛)) = (𝑋 ↑m 𝐼))
71, 6oveq12d 7464 . . . 4 ((𝑛 = 𝑁 ∧ 𝑥 = 𝑋) → (𝑥 ↑m (𝑥 ↑m (0..^𝑛))) = (𝑋 ↑m (𝑋 ↑m 𝐼)))
8 df-naryf 49954 . . . 4 -aryF = (𝑛 ∈ ℕ0, 𝑥 ∈ V ↦ (𝑥 ↑m (𝑥 ↑m (0..^𝑛))))
9 ovex 7479 . . . 4 (𝑋 ↑m (𝑋 ↑m 𝐼)) ∈ V
107, 8, 9ovmpoa 7602 . . 3 ((𝑁 ∈ ℕ0 ∧ 𝑋 ∈ V) → (𝑁-aryF 𝑋) = (𝑋 ↑m (𝑋 ↑m 𝐼)))
1110ex 418 . 2 (𝑁 ∈ ℕ0 → (𝑋 ∈ V → (𝑁-aryF 𝑋) = (𝑋 ↑m (𝑋 ↑m 𝐼))))
12 simpr 490 . . . 4 ((𝑁 ∈ ℕ0 ∧ 𝑋 ∈ V) → 𝑋 ∈ V)
13 df-naryf 49954 . . . . 5 -aryF = (𝑥 ∈ ℕ0, 𝑛 ∈ V ↦ (𝑛 ↑m (𝑛 ↑m (0..^𝑥))))
1413mpondm0 7688 . . . 4 (¬ (𝑁 ∈ ℕ0 ∧ 𝑋 ∈ V) → (𝑁-aryF 𝑋) = ∅)
1512, 14nsyl5 160 . . 3 (¬ 𝑋 ∈ V → (𝑁-aryF 𝑋) = ∅)
16 simpl 488 . . . 4 ((𝑋 ∈ V ∧ (𝑋 ↑m 𝐼) ∈ V) → 𝑋 ∈ V)
17 df-map 8880 . . . . 5 ↑m = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑓 ∣ 𝑓:𝑦⟶𝑥})
1817mpondm0 7688 . . . 4 (¬ (𝑋 ∈ V ∧ (𝑋 ↑m 𝐼) ∈ V) → (𝑋 ↑m (𝑋 ↑m 𝐼)) = ∅)
1916, 18nsyl5 160 . . 3 (¬ 𝑋 ∈ V → (𝑋 ↑m (𝑋 ↑m 𝐼)) = ∅)
2015, 19eqtr4d 2801 . 2 (¬ 𝑋 ∈ V → (𝑁-aryF 𝑋) = (𝑋 ↑m (𝑋 ↑m 𝐼)))
2111, 20pm2.61d1 182 1 (𝑁 ∈ ℕ0 → (𝑁-aryF 𝑋) = (𝑋 ↑m (𝑋 ↑m 𝐼)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  Vcvv 3454  ∅c0 4281  ⟶wf 6557  (class class class)co 7446   ↑m cmap 8878  0cc0 11230  ℕ0cn0 12636  ..^cfzo 13818  -aryF cnaryf 49953
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-iota 6515  df-fun 6563  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-map 8880  df-naryf 49954
This theorem is used by:  naryfvalixp  49956  naryfvalel  49957
  Copyright terms: Public domain W3C validator