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 49332
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 6073 . 2 Rel ((𝐵 × 𝐶) ∘ 𝐹)
2 relxp 5649 . 2 Rel (𝐴 × 𝐶)
3 vex 3433 . . . . . . . . . . 11 𝑥 ∈ V
4 vex 3433 . . . . . . . . . . 11 𝑧 ∈ V
53, 4breldm 5863 . . . . . . . . . 10 (𝑥𝐹𝑧𝑥 ∈ dom 𝐹)
65ad2antrl 729 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥 ∈ dom 𝐹)
7 fdm 6677 . . . . . . . . . 10 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
87adantr 480 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → dom 𝐹 = 𝐴)
96, 8eleqtrd 2838 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑥𝐴)
10 brxp 5680 . . . . . . . . . 10 (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝑧𝐵𝑦𝐶))
1110simprbi 497 . . . . . . . . 9 (𝑧(𝐵 × 𝐶)𝑦𝑦𝐶)
1211ad2antll 730 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → 𝑦𝐶)
139, 12jca 511 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
1413ex 412 . . . . . 6 (𝐹:𝐴𝐵 → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1514exlimdv 1935 . . . . 5 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) → (𝑥𝐴𝑦𝐶)))
1615imp 406 . . . 4 ((𝐹:𝐴𝐵 ∧ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦)) → (𝑥𝐴𝑦𝐶))
17 ffvelcdm 7033 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
1817adantrr 718 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥) ∈ 𝐵)
19 ffvbr 49331 . . . . . . 7 ((𝐹:𝐴𝐵𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
2019adantrr 718 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑥𝐹(𝐹𝑥))
21 simprr 773 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → 𝑦𝐶)
22 brxp 5680 . . . . . . 7 ((𝐹𝑥)(𝐵 × 𝐶)𝑦 ↔ ((𝐹𝑥) ∈ 𝐵𝑦𝐶))
2318, 21, 22sylanbrc 584 . . . . . 6 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝐹𝑥)(𝐵 × 𝐶)𝑦)
2420, 23jca 511 . . . . 5 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
25 breq2 5089 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑥𝐹𝑧𝑥𝐹(𝐹𝑥)))
26 breq1 5088 . . . . . 6 (𝑧 = (𝐹𝑥) → (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝐹𝑥)(𝐵 × 𝐶)𝑦))
2725, 26anbi12d 633 . . . . 5 (𝑧 = (𝐹𝑥) → ((𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐹(𝐹𝑥) ∧ (𝐹𝑥)(𝐵 × 𝐶)𝑦)))
2818, 24, 27spcedv 3540 . . . 4 ((𝐹:𝐴𝐵 ∧ (𝑥𝐴𝑦𝐶)) → ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
2916, 28impbida 801 . . 3 (𝐹:𝐴𝐵 → (∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐴𝑦𝐶)))
30 vex 3433 . . . 4 𝑦 ∈ V
313, 30brco 5825 . . 3 (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦 ↔ ∃𝑧(𝑥𝐹𝑧𝑧(𝐵 × 𝐶)𝑦))
32 brxp 5680 . . 3 (𝑥(𝐴 × 𝐶)𝑦 ↔ (𝑥𝐴𝑦𝐶))
3329, 31, 323bitr4g 314 . 2 (𝐹:𝐴𝐵 → (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦𝑥(𝐴 × 𝐶)𝑦))
341, 2, 33eqbrrdiv 5750 1 (𝐹:𝐴𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wex 1781  wcel 2114   class class class wbr 5085   × cxp 5629  dom cdm 5631  ccom 5635  wf 6494  cfv 6498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-12 2185  ax-ext 2708  ax-sep 5231  ax-nul 5241  ax-pr 5375
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-ne 2933  df-ral 3052  df-rex 3062  df-rab 3390  df-v 3431  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4274  df-if 4467  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4851  df-br 5086  df-opab 5148  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-iota 6454  df-fun 6500  df-fn 6501  df-f 6502  df-fv 6506
This theorem is referenced by:  prcofdiag  49869
  Copyright terms: Public domain W3C validator