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 50571
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 6131 . 2 Rel ((𝐵 × 𝐶) ∘ 𝐹)
2 relxp 5684 . 2 Rel (𝐴 × 𝐶)
3 vex 3465 . . . . . . . . . . 11 𝑥 ∈ V
4 vex 3465 . . . . . . . . . . 11 𝑧 ∈ V
53, 4breldm 5910 . . . . . . . . . 10 (𝑥𝐹𝑧 → 𝑥 ∈ dom 𝐹)
65ad2antrl 741 . . . . . . . . 9 ((𝐹:𝐴⟶𝐵 ∧ (𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → 𝑥 ∈ dom 𝐹)
7 fdm 6767 . . . . . . . . . 10 (𝐹:𝐴⟶𝐵 → dom 𝐹 = 𝐴)
87adantr 486 . . . . . . . . 9 ((𝐹:𝐴⟶𝐵 ∧ (𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → dom 𝐹 = 𝐴)
96, 8eleqtrd 2877 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ (𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → 𝑥 ∈ 𝐴)
10 brxp 5715 . . . . . . . . . 10 (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝐶))
1110simprbi 503 . . . . . . . . 9 (𝑧(𝐵 × 𝐶)𝑦 → 𝑦 ∈ 𝐶)
1211ad2antll 742 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ (𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → 𝑦 ∈ 𝐶)
139, 12jca 521 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ (𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶))
1413ex 418 . . . . . 6 (𝐹:𝐴⟶𝐵 → ((𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦) → (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)))
1514exlimdv 1975 . . . . 5 (𝐹:𝐴⟶𝐵 → (∃𝑧(𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦) → (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)))
1615imp 412 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ ∃𝑧(𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦)) → (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶))
17 ffvelcdm 7131 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐵)
1817adantrr 730 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → (𝐹‘𝑥) ∈ 𝐵)
19 ffvbr 50570 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥𝐹(𝐹‘𝑥))
2019adantrr 730 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → 𝑥𝐹(𝐹‘𝑥))
21 simprr 785 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → 𝑦 ∈ 𝐶)
22 brxp 5715 . . . . . . 7 ((𝐹‘𝑥)(𝐵 × 𝐶)𝑦 ↔ ((𝐹‘𝑥) ∈ 𝐵 ∧ 𝑦 ∈ 𝐶))
2318, 21, 22sylanbrc 595 . . . . . 6 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → (𝐹‘𝑥)(𝐵 × 𝐶)𝑦)
2420, 23jca 521 . . . . 5 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → (𝑥𝐹(𝐹‘𝑥) ∧ (𝐹‘𝑥)(𝐵 × 𝐶)𝑦))
25 breq2 5120 . . . . . 6 (𝑧 = (𝐹‘𝑥) → (𝑥𝐹𝑧 ↔ 𝑥𝐹(𝐹‘𝑥)))
26 breq1 5119 . . . . . 6 (𝑧 = (𝐹‘𝑥) → (𝑧(𝐵 × 𝐶)𝑦 ↔ (𝐹‘𝑥)(𝐵 × 𝐶)𝑦))
2725, 26anbi12d 644 . . . . 5 (𝑧 = (𝐹‘𝑥) → ((𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥𝐹(𝐹‘𝑥) ∧ (𝐹‘𝑥)(𝐵 × 𝐶)𝑦)))
2818, 24, 27spcedv 3563 . . . 4 ((𝐹:𝐴⟶𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)) → ∃𝑧(𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦))
2916, 28impbida 813 . . 3 (𝐹:𝐴⟶𝐵 → (∃𝑧(𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶)))
30 vex 3465 . . . 4 𝑦 ∈ V
313, 30brco 5868 . . 3 (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦 ↔ ∃𝑧(𝑥𝐹𝑧 ∧ 𝑧(𝐵 × 𝐶)𝑦))
32 brxp 5715 . . 3 (𝑥(𝐴 × 𝐶)𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶))
3329, 31, 323bitr4g 317 . 2 (𝐹:𝐴⟶𝐵 → (𝑥((𝐵 × 𝐶) ∘ 𝐹)𝑦 ↔ 𝑥(𝐴 × 𝐶)𝑦))
341, 2, 33eqbrrdiv 5787 1 (𝐹:𝐴⟶𝐵 → ((𝐵 × 𝐶) ∘ 𝐹) = (𝐴 × 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156   class class class wbr 5116   × cxp 5664  dom cdm 5666   ∘ ccom 5670  ⟶wf 6575  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fv 6587
This theorem is used by:  prcofdiag  51131
  Copyright terms: Public domain W3C validator