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

Theorem fmucndlem 23351
Description: Lemma for fmucnd 23352. (Contributed by Thierry Arnoux, 19-Nov-2017.)
Assertion
Ref Expression
fmucndlem ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ((𝐹𝐴) × (𝐹𝐴)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐹,𝑦   𝑥,𝑋,𝑦

Proof of Theorem fmucndlem
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 df-ima 5593 . . 3 ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ran ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴))
2 simpr 484 . . . . 5 ((𝐹 Fn 𝑋𝐴𝑋) → 𝐴𝑋)
3 resmpo 7372 . . . . 5 ((𝐴𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
42, 3sylancom 587 . . . 4 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
54rneqd 5836 . . 3 ((𝐹 Fn 𝑋𝐴𝑋) → ran ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
61, 5eqtrid 2790 . 2 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
7 vex 3426 . . . . . . . . . . . . 13 𝑥 ∈ V
8 vex 3426 . . . . . . . . . . . . 13 𝑦 ∈ V
97, 8op1std 7814 . . . . . . . . . . . 12 (𝑝 = ⟨𝑥, 𝑦⟩ → (1st𝑝) = 𝑥)
109fveq2d 6760 . . . . . . . . . . 11 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐹‘(1st𝑝)) = (𝐹𝑥))
117, 8op2ndd 7815 . . . . . . . . . . . 12 (𝑝 = ⟨𝑥, 𝑦⟩ → (2nd𝑝) = 𝑦)
1211fveq2d 6760 . . . . . . . . . . 11 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐹‘(2nd𝑝)) = (𝐹𝑦))
1310, 12opeq12d 4809 . . . . . . . . . 10 (𝑝 = ⟨𝑥, 𝑦⟩ → ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
1413mpompt 7366 . . . . . . . . 9 (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)
1514eqcomi 2747 . . . . . . . 8 (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩)
1615rneqi 5835 . . . . . . 7 ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = ran (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩)
17 fvexd 6771 . . . . . . 7 ((⊤ ∧ 𝑝 ∈ (𝐴 × 𝐴)) → (𝐹‘(1st𝑝)) ∈ V)
18 fvexd 6771 . . . . . . 7 ((⊤ ∧ 𝑝 ∈ (𝐴 × 𝐴)) → (𝐹‘(2nd𝑝)) ∈ V)
1916, 17, 18fliftrel 7159 . . . . . 6 (⊤ → ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ⊆ (V × V))
2019mptru 1546 . . . . 5 ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ⊆ (V × V)
2120sseli 3913 . . . 4 (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) → 𝑝 ∈ (V × V))
2221adantl 481 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)) → 𝑝 ∈ (V × V))
23 xpss 5596 . . . . 5 ((𝐹𝐴) × (𝐹𝐴)) ⊆ (V × V)
2423sseli 3913 . . . 4 (𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴)) → 𝑝 ∈ (V × V))
2524adantl 481 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴))) → 𝑝 ∈ (V × V))
26 eqid 2738 . . . . . . . . 9 (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)
27 opex 5373 . . . . . . . . 9 ⟨(𝐹𝑥), (𝐹𝑦)⟩ ∈ V
2826, 27elrnmpo 7388 . . . . . . . 8 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ∃𝑥𝐴𝑦𝐴 ⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
29 eqcom 2745 . . . . . . . . . 10 (⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ⟨(𝐹𝑥), (𝐹𝑦)⟩ = ⟨(1st𝑝), (2nd𝑝)⟩)
30 fvex 6769 . . . . . . . . . . 11 (1st𝑝) ∈ V
31 fvex 6769 . . . . . . . . . . 11 (2nd𝑝) ∈ V
3230, 31opth2 5389 . . . . . . . . . 10 (⟨(𝐹𝑥), (𝐹𝑦)⟩ = ⟨(1st𝑝), (2nd𝑝)⟩ ↔ ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
3329, 32bitri 274 . . . . . . . . 9 (⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
34332rexbii 3178 . . . . . . . 8 (∃𝑥𝐴𝑦𝐴 ⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ∃𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
35 reeanv 3292 . . . . . . . 8 (∃𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
3628, 34, 353bitri 296 . . . . . . 7 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
37 fvelimab 6823 . . . . . . . 8 ((𝐹 Fn 𝑋𝐴𝑋) → ((1st𝑝) ∈ (𝐹𝐴) ↔ ∃𝑥𝐴 (𝐹𝑥) = (1st𝑝)))
38 fvelimab 6823 . . . . . . . 8 ((𝐹 Fn 𝑋𝐴𝑋) → ((2nd𝑝) ∈ (𝐹𝐴) ↔ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
3937, 38anbi12d 630 . . . . . . 7 ((𝐹 Fn 𝑋𝐴𝑋) → (((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴)) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝))))
4036, 39bitr4id 289 . . . . . 6 ((𝐹 Fn 𝑋𝐴𝑋) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴))))
41 opelxp 5616 . . . . . 6 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴)) ↔ ((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴)))
4240, 41bitr4di 288 . . . . 5 ((𝐹 Fn 𝑋𝐴𝑋) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
4342adantr 480 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
44 1st2nd2 7843 . . . . . 6 (𝑝 ∈ (V × V) → 𝑝 = ⟨(1st𝑝), (2nd𝑝)⟩)
4544adantl 481 . . . . 5 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → 𝑝 = ⟨(1st𝑝), (2nd𝑝)⟩)
4645eleq1d 2823 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)))
4745eleq1d 2823 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴)) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
4843, 46, 473bitr4d 310 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ 𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴))))
4922, 25, 48eqrdav 2737 . 2 ((𝐹 Fn 𝑋𝐴𝑋) → ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = ((𝐹𝐴) × (𝐹𝐴)))
506, 49eqtrd 2778 1 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ((𝐹𝐴) × (𝐹𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wtru 1540  wcel 2108  wrex 3064  Vcvv 3422  wss 3883  cop 4564  cmpt 5153   × cxp 5578  ran crn 5581  cres 5582  cima 5583   Fn wfn 6413  cfv 6418  cmpo 7257  1st c1st 7802  2nd c2nd 7803
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-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
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-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-fv 6426  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805
This theorem is referenced by:  fmucnd  23352
  Copyright terms: Public domain W3C validator