Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xpco2 Structured version   Visualization version   GIF version

Theorem xpco2 49347
Description: Composition of a Cartesian product with a function. (Contributed by Zhi Wang, 25-Nov-2025.)
Assertion
Ref Expression
xpco2 (𝐹:𝐴𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))

Proof of Theorem xpco2
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6060 . 2 Rel ((𝐵 × 𝐶) ∘ 𝐹)
2 relxp 5636 . 2 Rel (𝐴 × 𝐶)
3 vex 3435 . . . . . . . . . . 11 𝑥 ∈ V
4 vex 3435 . . . . . . . . . . 11 𝑧 ∈ V
53, 4breldm 5850 . . . . . . . . . 10 (𝑥𝐹𝑧𝑥 ∈ dom 𝐹)
65ad2antrl 734 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥 ∈ dom 𝐹)
7 fdm 6664 . . . . . . . . . 10 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
87adantr 481 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → dom 𝐹 = 𝐴)
96, 8eleqtrd 2841 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥𝐴)
10 brxp 5667 . . . . . . . . . 10 (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝑧𝐵𝑦𝐶))
1110simprbi 498 . . . . . . . . 9 (𝑧(𝐵 × 𝐶)𝑦𝑦𝐶)
1211ad2antll 735 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑦𝐶)
139, 12jca 516 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
1413ex 413 . . . . . 6 (𝐹:𝐴𝐵 → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1514exlimdv 1940 . . . . 5 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1615imp 407 . . . 4 ((𝐹:𝐴𝐵 ∧ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
17 ffvelcdm 7022 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
1817adantrr 723 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥) ∈ 𝐵)
19 ffvbr 49346 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
2019adantrr 723 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑥𝐹(𝐹𝑥))
21 simprr 778 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑦𝐶)
22 brxp 5667 . . . . . . 7 ((𝐹𝑥)(𝐵 × 𝐶)𝑦 ↔ ((𝐹𝑥) ∈ 𝐵𝑦𝐶))
2318, 21, 22sylanbrc 589 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥)(𝐵 × 𝐶)𝑦)
2420, 23jca 516 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
25 breq2 5076 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑥𝐹𝑧𝑥𝐹(𝐹𝑥)))
26 breq1 5075 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
2725, 26anbi12d 638 . . . . 5 (𝑧 = (𝐹𝑥) → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦)))
2818, 24, 27spcedv 3536 . . . 4 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
2916, 28impbida 806 . . 3 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐴𝑦𝐶)))
30 vex 3435 . . . 4 𝑦 ∈ V
313, 30brco 5812 . . 3 (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦 ↔ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
32 brxp 5667 . . 3 (𝑥(𝐴 × 𝐶)𝑦 ↔ (𝑥𝐴𝑦𝐶))
3329, 31, 323bitr4g 315 . 2 (𝐹:𝐴𝐵 → (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦𝑥(𝐴 × 𝐶)𝑦))
341, 2, 33eqbrrdiv 5737 1 (𝐹:𝐴𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wex 1786  wcel 2119   class class class wbr 5072   × cxp 5616  dom cdm 5618  ccom 5622  wf 6481  cfv 6485
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 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-12 2189  ax-ext 2711  ax-sep 5218  ax-nul 5228  ax-pr 5362
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-ne 2935  df-ral 3054  df-rex 3064  df-rab 3392  df-v 3433  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4262  df-if 4455  df-sn 4556  df-pr 4558  df-op 4562  df-uni 4839  df-br 5073  df-opab 5135  df-id 5513  df-xp 5624  df-rel 5625  df-cnv 5626  df-co 5627  df-dm 5628  df-rn 5629  df-iota 6441  df-fun 6487  df-fn 6488  df-f 6489  df-fv 6493
This theorem is referenced by:  prcofdiag  49884
  Copyright terms: Public domain W3C validator