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

Theorem elovmpt3rab1 7061
Description: Implications for the value of an operation defined by the maps-to notation with a function into a class abstraction as a result having an element. The domain of the function and the base set of the class abstraction may depend on the operands, using implicit substitution. (Contributed by AV, 16-Jul-2018.) (Revised by AV, 16-May-2019.)
Hypotheses
Ref Expression
ovmpt3rab1.o 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑧𝑀 ↦ {𝑎𝑁𝜑}))
ovmpt3rab1.m ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
ovmpt3rab1.n ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
Assertion
Ref Expression
elovmpt3rab1 ((𝐾𝑈𝐿𝑇) → (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿))))
Distinct variable groups:   𝑥,𝐾,𝑦,𝑧   𝐿,𝑎,𝑥,𝑦   𝑁,𝑎   𝑥,𝑈,𝑦   𝑋,𝑎,𝑥,𝑦,𝑧   𝑌,𝑎,𝑥,𝑦,𝑧   𝑧,𝐿   𝑧,𝑇   𝑧,𝑈   𝐴,𝑎   𝑍,𝑎,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑎)   𝐴(𝑥,𝑦,𝑧)   𝑇(𝑥,𝑦,𝑎)   𝑈(𝑎)   𝐾(𝑎)   𝑀(𝑥,𝑦,𝑧,𝑎)   𝑁(𝑥,𝑦,𝑧)   𝑂(𝑥,𝑦,𝑧,𝑎)   𝑍(𝑥,𝑦)

Proof of Theorem elovmpt3rab1
StepHypRef Expression
1 ovmpt3rab1.o . . . 4 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑧𝑀 ↦ {𝑎𝑁𝜑}))
21elovmpt3imp 7058 . . 3 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
3 simprl 776 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elfvdm 6378 . . . . . . 7 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → 𝑍 ∈ dom (𝑋𝑂𝑌))
5 simpl 469 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
65adantr 467 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑋 ∈ V)
7 simplr 774 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑌 ∈ V)
8 simprl 776 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐾𝑈)
9 simprr 778 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐿𝑇)
10 ovmpt3rab1.m . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
11 ovmpt3rab1.n . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
121, 10, 11ovmpt3rabdm 7060 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
136, 7, 8, 9, 12syl31anc 1482 . . . . . . . . . . . . 13 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → dom (𝑋𝑂𝑌) = 𝐾)
1413eleq2d 2839 . . . . . . . . . . . 12 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍 ∈ dom (𝑋𝑂𝑌) ↔ 𝑍𝐾))
1514biimpcd 240 . . . . . . . . . . 11 (𝑍 ∈ dom (𝑋𝑂𝑌) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1615adantr 467 . . . . . . . . . 10 ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1716imp 394 . . . . . . . . 9 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝑍𝐾)
18 simpl 469 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝑍𝐾)
19 simplr 774 . . . . . . . . . . . . 13 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
2019adantl 468 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
21 simpl 469 . . . . . . . . . . . . . . . . 17 ((𝐾𝑈𝐿𝑇) → 𝐾𝑈)
2221anim2i 604 . . . . . . . . . . . . . . . 16 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
23 df-3an 1100 . . . . . . . . . . . . . . . 16 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
2422, 23sylibr 225 . . . . . . . . . . . . . . 15 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
2524ad2antll 709 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
26 sbceq1a 3604 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
27 sbceq1a 3604 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
2826, 27sylan9bbr 501 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
29 nfsbc1v 3613 . . . . . . . . . . . . . . . 16 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2916 . . . . . . . . . . . . . . . . 17 𝑦𝑋
31 nfsbc1v 3613 . . . . . . . . . . . . . . . . 17 𝑦[𝑌 / 𝑦]𝜑
3230, 31nfsbc 3615 . . . . . . . . . . . . . . . 16 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
331, 10, 11, 28, 29, 32ovmpt3rab1 7059 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → (𝑋𝑂𝑌) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
3433fveq1d 6350 . . . . . . . . . . . . . 14 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
3525, 34syl 17 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
36 rabexg 4959 . . . . . . . . . . . . . . . 16 (𝐿𝑇 → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3736adantl 468 . . . . . . . . . . . . . . 15 ((𝐾𝑈𝐿𝑇) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3837ad2antll 709 . . . . . . . . . . . . . 14 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
39 nfcv 2916 . . . . . . . . . . . . . . 15 𝑧𝑍
40 nfsbc1v 3613 . . . . . . . . . . . . . . . 16 𝑧[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑
41 nfcv 2916 . . . . . . . . . . . . . . . 16 𝑧𝐿
4240, 41nfrab 3276 . . . . . . . . . . . . . . 15 𝑧{𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
43 sbceq1a 3604 . . . . . . . . . . . . . . . 16 (𝑧 = 𝑍 → ([𝑋 / 𝑥][𝑌 / 𝑦]𝜑[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
4443rabbidv 3343 . . . . . . . . . . . . . . 15 (𝑧 = 𝑍 → {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
45 eqid 2774 . . . . . . . . . . . . . . 15 (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4639, 42, 44, 45fvmptf 6460 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4738, 46sylan2 581 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4835, 47eqtr2d 2809 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = ((𝑋𝑂𝑌)‘𝑍))
4920, 48eleqtrrd 2856 . . . . . . . . . . 11 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
50 elrabi 3516 . . . . . . . . . . 11 (𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝐴𝐿)
5149, 50syl 17 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴𝐿)
5218, 51jca 502 . . . . . . . . 9 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑍𝐾𝐴𝐿))
5317, 52mpancom 669 . . . . . . . 8 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
5453exp31 407 . . . . . . 7 (𝑍 ∈ dom (𝑋𝑂𝑌) → (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿))))
554, 54mpcom 38 . . . . . 6 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿)))
5655imp 394 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
573, 56jca 502 . . . 4 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿)))
5857exp32 408 . . 3 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) → ((𝐾𝑈𝐿𝑇) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿)))))
592, 58mpd 15 . 2 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → ((𝐾𝑈𝐿𝑇) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿))))
6059com12 32 1 ((𝐾𝑈𝐿𝑇) → (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  w3a 1098   = wceq 1634  wcel 2148  {crab 3068  Vcvv 3355  [wsbc 3593  cmpt 4876  dom cdm 5263  cfv 6042  (class class class)co 6812  cmpt2 6814
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1873  ax-4 1888  ax-5 1994  ax-6 2060  ax-7 2096  ax-8 2150  ax-9 2157  ax-10 2177  ax-11 2193  ax-12 2206  ax-13 2411  ax-ext 2754  ax-rep 4917  ax-sep 4928  ax-nul 4936  ax-pow 4988  ax-pr 5048
This theorem depends on definitions:  df-bi 198  df-an 384  df-or 864  df-3an 1100  df-tru 1637  df-ex 1856  df-nf 1861  df-sb 2053  df-eu 2625  df-mo 2626  df-clab 2761  df-cleq 2767  df-clel 2770  df-nfc 2905  df-ne 2947  df-ral 3069  df-rex 3070  df-reu 3071  df-rab 3073  df-v 3357  df-sbc 3594  df-csb 3689  df-dif 3732  df-un 3734  df-in 3736  df-ss 3743  df-nul 4074  df-if 4236  df-sn 4327  df-pr 4329  df-op 4333  df-uni 4586  df-iun 4667  df-br 4798  df-opab 4860  df-mpt 4877  df-id 5171  df-xp 5269  df-rel 5270  df-cnv 5271  df-co 5272  df-dm 5273  df-rn 5274  df-res 5275  df-ima 5276  df-iota 6005  df-fun 6044  df-fn 6045  df-f 6046  df-f1 6047  df-fo 6048  df-f1o 6049  df-fv 6050  df-ov 6815  df-oprab 6816  df-mpt2 6817
This theorem is referenced by:  elovmpt3rab  7062  elovmptnn0wrd  13567
  Copyright terms: Public domain W3C validator