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

Theorem caonncan 7477
Description: Transfer nncan 11005-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 6873 . . . 4 ((𝜑𝑧𝐼) → (𝐴𝑧) ∈ 𝑆)
3 caonncan.b . . . . 5 (𝜑𝐵:𝐼𝑆)
43ffvelrnda 6873 . . . 4 ((𝜑𝑧𝐼) → (𝐵𝑧) ∈ 𝑆)
5 caonncan.z . . . . . 6 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
65ralrimivva 3104 . . . . 5 (𝜑 → ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
76adantr 484 . . . 4 ((𝜑𝑧𝐼) → ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦)
8 id 22 . . . . . . 7 (𝑥 = (𝐴𝑧) → 𝑥 = (𝐴𝑧))
9 oveq1 7189 . . . . . . 7 (𝑥 = (𝐴𝑧) → (𝑥𝑀𝑦) = ((𝐴𝑧)𝑀𝑦))
108, 9oveq12d 7200 . . . . . 6 (𝑥 = (𝐴𝑧) → (𝑥𝑀(𝑥𝑀𝑦)) = ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)))
1110eqeq1d 2741 . . . . 5 (𝑥 = (𝐴𝑧) → ((𝑥𝑀(𝑥𝑀𝑦)) = 𝑦 ↔ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = 𝑦))
12 oveq2 7190 . . . . . . 7 (𝑦 = (𝐵𝑧) → ((𝐴𝑧)𝑀𝑦) = ((𝐴𝑧)𝑀(𝐵𝑧)))
1312oveq2d 7198 . . . . . 6 (𝑦 = (𝐵𝑧) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))))
14 id 22 . . . . . 6 (𝑦 = (𝐵𝑧) → 𝑦 = (𝐵𝑧))
1513, 14eqeq12d 2755 . . . . 5 (𝑦 = (𝐵𝑧) → (((𝐴𝑧)𝑀((𝐴𝑧)𝑀𝑦)) = 𝑦 ↔ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧)))
1611, 15rspc2va 3540 . . . 4 ((((𝐴𝑧) ∈ 𝑆 ∧ (𝐵𝑧) ∈ 𝑆) ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝑀(𝑥𝑀𝑦)) = 𝑦) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧))
172, 4, 7, 16syl21anc 837 . . 3 ((𝜑𝑧𝐼) → ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧))) = (𝐵𝑧))
1817mpteq2dva 5135 . 2 (𝜑 → (𝑧𝐼 ↦ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧)))) = (𝑧𝐼 ↦ (𝐵𝑧)))
19 caonncan.i . . 3 (𝜑𝐼𝑉)
20 fvexd 6701 . . 3 ((𝜑𝑧𝐼) → (𝐴𝑧) ∈ V)
21 ovexd 7217 . . 3 ((𝜑𝑧𝐼) → ((𝐴𝑧)𝑀(𝐵𝑧)) ∈ V)
221feqmptd 6749 . . 3 (𝜑𝐴 = (𝑧𝐼 ↦ (𝐴𝑧)))
23 fvexd 6701 . . . 4 ((𝜑𝑧𝐼) → (𝐵𝑧) ∈ V)
243feqmptd 6749 . . . 4 (𝜑𝐵 = (𝑧𝐼 ↦ (𝐵𝑧)))
2519, 20, 23, 22, 24offval2 7456 . . 3 (𝜑 → (𝐴f 𝑀𝐵) = (𝑧𝐼 ↦ ((𝐴𝑧)𝑀(𝐵𝑧))))
2619, 20, 21, 22, 25offval2 7456 . 2 (𝜑 → (𝐴f 𝑀(𝐴f 𝑀𝐵)) = (𝑧𝐼 ↦ ((𝐴𝑧)𝑀((𝐴𝑧)𝑀(𝐵𝑧)))))
2718, 26, 243eqtr4d 2784 1 (𝜑 → (𝐴f 𝑀(𝐴f 𝑀𝐵)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2114  wral 3054  Vcvv 3400  cmpt 5120  wf 6345  cfv 6349  (class class class)co 7182  f cof 7435
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-rep 5164  ax-sep 5177  ax-nul 5184  ax-pr 5306
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3402  df-sbc 3686  df-csb 3801  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4807  df-iun 4893  df-br 5041  df-opab 5103  df-mpt 5121  df-id 5439  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-rn 5546  df-res 5547  df-ima 5548  df-iota 6307  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-ov 7185  df-oprab 7186  df-mpo 7187  df-of 7437
This theorem is referenced by:  psropprmul  21025
  Copyright terms: Public domain W3C validator