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

Theorem caonncan 7552
Description: Transfer nncan 11180-shaped laws to vectors of numbers. (Contributed by Stefan O'Rear, 27-Mar-2015.)
Hypotheses
Ref Expression
caonncan.i (𝜑𝐼𝑉)
caonncan.a (𝜑𝐴:𝐼𝑆)
caonncan.b (𝜑𝐵:𝐼𝑆)
caonncan.z ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
Assertion
Ref Expression
caonncan (𝜑 → (𝐴f 𝑀(𝐴f 𝑀𝐵)) = 𝐵)
Distinct variable groups:   𝜑,𝑥,𝑦   𝑥,𝐴,𝑦   𝑦,𝐵   𝑥,𝑀,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝐼(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem caonncan
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 caonncan.a . . . . 5 (𝜑𝐴:𝐼𝑆)
21ffvelrnda 6943 . . . 4 ((𝜑𝑧𝐼) → (𝐴𝑧) ∈ 𝑆)
3 caonncan.b . . . . 5 (𝜑𝐵:𝐼𝑆)
43ffvelrnda 6943 . . . 4 ((𝜑𝑧𝐼) → (𝐵𝑧) ∈ 𝑆)
5 caonncan.z . . . . . 6 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
65ralrimivva 3114 . . . . 5 (𝜑 → ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
76adantr 480 . . . 4 ((𝜑𝑧𝐼) → ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
8 id 22 . . . . . . 7 (𝑥 = (𝐴𝑧) → 𝑥 = (𝐴𝑧))
9 oveq1 7262 . . . . . . 7 (𝑥 = (𝐴𝑧) → (𝑥𝑀𝑦) = ((𝐴𝑧)𝑀𝑦))
108, 9oveq12d 7273 . . . . . 6 (𝑥 = (𝐴𝑧) → (𝑥𝑀(𝑥𝑀𝑦)) = ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)))
1110eqeq1d 2740 . . . . 5 (𝑥 = (𝐴𝑧) → ((𝑥𝑀(𝑥𝑀𝑦)) = 𝑦 ↔ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = 𝑦))
12 oveq2 7263 . . . . . . 7 (𝑦 = (𝐵𝑧) → ((𝐴𝑧)𝑀𝑦) = ((𝐴𝑧)𝑀(𝐵𝑧)))
1312oveq2d 7271 . . . . . 6 (𝑦 = (𝐵𝑧) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))))
14 id 22 . . . . . 6 (𝑦 = (𝐵𝑧) → 𝑦 = (𝐵𝑧))
1513, 14eqeq12d 2754 . . . . 5 (𝑦 = (𝐵𝑧) → (((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = 𝑦 ↔ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧)))
1611, 15rspc2va 3563 . . . 4 ((((𝐴𝑧) ∈ 𝑆 ∧ (𝐵𝑧) ∈ 𝑆) ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧))
172, 4, 7, 16syl21anc 834 . . 3 ((𝜑𝑧𝐼) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧))
1817mpteq2dva 5170 . 2 (𝜑 → (𝑧𝐼 ↦ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧)))) = (𝑧𝐼 ↦ (𝐵𝑧)))
19 caonncan.i . . 3 (𝜑𝐼𝑉)
20 fvexd 6771 . . 3 ((𝜑𝑧𝐼) → (𝐴𝑧) ∈ V)
21 ovexd 7290 . . 3 ((𝜑𝑧𝐼) → ((𝐴𝑧)𝑀(𝐵𝑧)) ∈ V)
221feqmptd 6819 . . 3 (𝜑𝐴 = (𝑧𝐼 ↦ (𝐴𝑧)))
23 fvexd 6771 . . . 4 ((𝜑𝑧𝐼) → (𝐵𝑧) ∈ V)
243feqmptd 6819 . . . 4 (𝜑𝐵 = (𝑧𝐼 ↦ (𝐵𝑧)))
2519, 20, 23, 22, 24offval2 7531 . . 3 (𝜑 → (𝐴f 𝑀𝐵) = (𝑧𝐼 ↦ ((𝐴𝑧)𝑀(𝐵𝑧))))
2619, 20, 21, 22, 25offval2 7531 . 2 (𝜑 → (𝐴f 𝑀(𝐴f 𝑀𝐵)) = (𝑧𝐼 ↦ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧)))))
2718, 26, 243eqtr4d 2788 1 (𝜑 → (𝐴f 𝑀(𝐴f 𝑀𝐵)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  f cof 7509
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511
This theorem is referenced by:  psropprmul  21319
  Copyright terms: Public domain W3C validator