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

Theorem fmucndlem 22302
Description: Lemma for fmucnd 22303. (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 5318 . . 3 ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ran ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴))
2 simpr 473 . . . . 5 ((𝐹 Fn 𝑋𝐴𝑋) → 𝐴𝑋)
3 resmpt2 6982 . . . . 5 ((𝐴𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
42, 3sylancom 578 . . . 4 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
54rneqd 5548 . . 3 ((𝐹 Fn 𝑋𝐴𝑋) → ran ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↾ (𝐴 × 𝐴)) = ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
61, 5syl5eq 2848 . 2 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩))
7 vex 3390 . . . . . . . . . . . . 13 𝑥 ∈ V
8 vex 3390 . . . . . . . . . . . . 13 𝑦 ∈ V
97, 8op1std 7402 . . . . . . . . . . . 12 (𝑝 = ⟨𝑥, 𝑦⟩ → (1st𝑝) = 𝑥)
109fveq2d 6406 . . . . . . . . . . 11 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐹‘(1st𝑝)) = (𝐹𝑥))
117, 8op2ndd 7403 . . . . . . . . . . . 12 (𝑝 = ⟨𝑥, 𝑦⟩ → (2nd𝑝) = 𝑦)
1211fveq2d 6406 . . . . . . . . . . 11 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐹‘(2nd𝑝)) = (𝐹𝑦))
1310, 12opeq12d 4596 . . . . . . . . . 10 (𝑝 = ⟨𝑥, 𝑦⟩ → ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
1413mpt2mpt 6976 . . . . . . . . 9 (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)
1514eqcomi 2811 . . . . . . . 8 (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩)
1615rneqi 5547 . . . . . . 7 ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = ran (𝑝 ∈ (𝐴 × 𝐴) ↦ ⟨(𝐹‘(1st𝑝)), (𝐹‘(2nd𝑝))⟩)
17 fvexd 6417 . . . . . . 7 ((⊤ ∧ 𝑝 ∈ (𝐴 × 𝐴)) → (𝐹‘(1st𝑝)) ∈ V)
18 fvexd 6417 . . . . . . 7 ((⊤ ∧ 𝑝 ∈ (𝐴 × 𝐴)) → (𝐹‘(2nd𝑝)) ∈ V)
1916, 17, 18fliftrel 6776 . . . . . 6 (⊤ → ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ⊆ (V × V))
2019mptru 1645 . . . . 5 ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ⊆ (V × V)
2120sseli 3788 . . . 4 (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) → 𝑝 ∈ (V × V))
2221adantl 469 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)) → 𝑝 ∈ (V × V))
23 xpss 5321 . . . . 5 ((𝐹𝐴) × (𝐹𝐴)) ⊆ (V × V)
2423sseli 3788 . . . 4 (𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴)) → 𝑝 ∈ (V × V))
2524adantl 469 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴))) → 𝑝 ∈ (V × V))
26 fvelimab 6468 . . . . . . . 8 ((𝐹 Fn 𝑋𝐴𝑋) → ((1st𝑝) ∈ (𝐹𝐴) ↔ ∃𝑥𝐴 (𝐹𝑥) = (1st𝑝)))
27 fvelimab 6468 . . . . . . . 8 ((𝐹 Fn 𝑋𝐴𝑋) → ((2nd𝑝) ∈ (𝐹𝐴) ↔ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
2826, 27anbi12d 618 . . . . . . 7 ((𝐹 Fn 𝑋𝐴𝑋) → (((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴)) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝))))
29 eqid 2802 . . . . . . . . 9 (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)
30 opex 5116 . . . . . . . . 9 ⟨(𝐹𝑥), (𝐹𝑦)⟩ ∈ V
3129, 30elrnmpt2 6997 . . . . . . . 8 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ∃𝑥𝐴𝑦𝐴 ⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
32 eqcom 2809 . . . . . . . . . 10 (⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ⟨(𝐹𝑥), (𝐹𝑦)⟩ = ⟨(1st𝑝), (2nd𝑝)⟩)
33 fvex 6415 . . . . . . . . . . 11 (1st𝑝) ∈ V
34 fvex 6415 . . . . . . . . . . 11 (2nd𝑝) ∈ V
3533, 34opth2 5132 . . . . . . . . . 10 (⟨(𝐹𝑥), (𝐹𝑦)⟩ = ⟨(1st𝑝), (2nd𝑝)⟩ ↔ ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
3632, 35bitri 266 . . . . . . . . 9 (⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
37362rexbii 3226 . . . . . . . 8 (∃𝑥𝐴𝑦𝐴 ⟨(1st𝑝), (2nd𝑝)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩ ↔ ∃𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)))
38 reeanv 3291 . . . . . . . 8 (∃𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (1st𝑝) ∧ (𝐹𝑦) = (2nd𝑝)) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
3931, 37, 383bitri 288 . . . . . . 7 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ (∃𝑥𝐴 (𝐹𝑥) = (1st𝑝) ∧ ∃𝑦𝐴 (𝐹𝑦) = (2nd𝑝)))
4028, 39syl6rbbr 281 . . . . . 6 ((𝐹 Fn 𝑋𝐴𝑋) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴))))
41 opelxp 5340 . . . . . 6 (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴)) ↔ ((1st𝑝) ∈ (𝐹𝐴) ∧ (2nd𝑝) ∈ (𝐹𝐴)))
4240, 41syl6bbr 280 . . . . 5 ((𝐹 Fn 𝑋𝐴𝑋) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
4342adantr 468 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
44 1st2nd2 7431 . . . . . 6 (𝑝 ∈ (V × V) → 𝑝 = ⟨(1st𝑝), (2nd𝑝)⟩)
4544adantl 469 . . . . 5 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → 𝑝 = ⟨(1st𝑝), (2nd𝑝)⟩)
4645eleq1d 2866 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩)))
4745eleq1d 2866 . . . 4 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴)) ↔ ⟨(1st𝑝), (2nd𝑝)⟩ ∈ ((𝐹𝐴) × (𝐹𝐴))))
4843, 46, 473bitr4d 302 . . 3 (((𝐹 Fn 𝑋𝐴𝑋) ∧ 𝑝 ∈ (V × V)) → (𝑝 ∈ ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) ↔ 𝑝 ∈ ((𝐹𝐴) × (𝐹𝐴))))
4922, 25, 48eqrdav 2801 . 2 ((𝐹 Fn 𝑋𝐴𝑋) → ran (𝑥𝐴, 𝑦𝐴 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) = ((𝐹𝐴) × (𝐹𝐴)))
506, 49eqtrd 2836 1 ((𝐹 Fn 𝑋𝐴𝑋) → ((𝑥𝑋, 𝑦𝑋 ↦ ⟨(𝐹𝑥), (𝐹𝑦)⟩) “ (𝐴 × 𝐴)) = ((𝐹𝐴) × (𝐹𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384   = wceq 1637  wtru 1638  wcel 2155  wrex 3093  Vcvv 3387  wss 3763  cop 4370  cmpt 4916   × cxp 5303  ran crn 5306  cres 5307  cima 5308   Fn wfn 6090  cfv 6095  cmpt2 6870  1st c1st 7390  2nd c2nd 7391
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2067  ax-7 2103  ax-8 2157  ax-9 2164  ax-10 2184  ax-11 2200  ax-12 2213  ax-13 2419  ax-ext 2781  ax-sep 4968  ax-nul 4977  ax-pow 5029  ax-pr 5090  ax-un 7173
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2060  df-eu 2633  df-mo 2634  df-clab 2789  df-cleq 2795  df-clel 2798  df-nfc 2933  df-ne 2975  df-ral 3097  df-rex 3098  df-rab 3101  df-v 3389  df-sbc 3628  df-csb 3723  df-dif 3766  df-un 3768  df-in 3770  df-ss 3777  df-nul 4111  df-if 4274  df-sn 4365  df-pr 4367  df-op 4371  df-uni 4624  df-iun 4707  df-br 4838  df-opab 4900  df-mpt 4917  df-id 5213  df-xp 5311  df-rel 5312  df-cnv 5313  df-co 5314  df-dm 5315  df-rn 5316  df-res 5317  df-ima 5318  df-iota 6058  df-fun 6097  df-fn 6098  df-f 6099  df-fv 6103  df-oprab 6872  df-mpt2 6873  df-1st 7392  df-2nd 7393
This theorem is referenced by:  fmucnd  22303
  Copyright terms: Public domain W3C validator