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

Theorem elovmpt3rab1 6853
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 6850 . . 3 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
3 simprl 793 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elfvdm 6182 . . . . . . 7 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → 𝑍 ∈ dom (𝑋𝑂𝑌))
5 simpl 473 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
65adantr 481 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑋 ∈ V)
7 simplr 791 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑌 ∈ V)
8 simprl 793 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐾𝑈)
9 simprr 795 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐿𝑇)
10 ovmpt3rab1.m . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
11 ovmpt3rab1.n . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
121, 10, 11ovmpt3rabdm 6852 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
136, 7, 8, 9, 12syl31anc 1326 . . . . . . . . . . . . 13 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → dom (𝑋𝑂𝑌) = 𝐾)
1413eleq2d 2684 . . . . . . . . . . . 12 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍 ∈ dom (𝑋𝑂𝑌) ↔ 𝑍𝐾))
1514biimpcd 239 . . . . . . . . . . 11 (𝑍 ∈ dom (𝑋𝑂𝑌) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1615adantr 481 . . . . . . . . . 10 ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1716imp 445 . . . . . . . . 9 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝑍𝐾)
18 simpl 473 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝑍𝐾)
19 simplr 791 . . . . . . . . . . . . 13 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
2019adantl 482 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
21 simpl 473 . . . . . . . . . . . . . . . . 17 ((𝐾𝑈𝐿𝑇) → 𝐾𝑈)
2221anim2i 592 . . . . . . . . . . . . . . . 16 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
23 df-3an 1038 . . . . . . . . . . . . . . . 16 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
2422, 23sylibr 224 . . . . . . . . . . . . . . 15 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
2524ad2antll 764 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
26 sbceq1a 3432 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
27 sbceq1a 3432 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
2826, 27sylan9bbr 736 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
29 nfsbc1v 3441 . . . . . . . . . . . . . . . 16 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2761 . . . . . . . . . . . . . . . . 17 𝑦𝑋
31 nfsbc1v 3441 . . . . . . . . . . . . . . . . 17 𝑦[𝑌 / 𝑦]𝜑
3230, 31nfsbc 3443 . . . . . . . . . . . . . . . 16 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
331, 10, 11, 28, 29, 32ovmpt3rab1 6851 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → (𝑋𝑂𝑌) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
3433fveq1d 6155 . . . . . . . . . . . . . 14 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
3525, 34syl 17 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
36 rabexg 4777 . . . . . . . . . . . . . . . 16 (𝐿𝑇 → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3736adantl 482 . . . . . . . . . . . . . . 15 ((𝐾𝑈𝐿𝑇) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3837ad2antll 764 . . . . . . . . . . . . . 14 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
39 nfcv 2761 . . . . . . . . . . . . . . 15 𝑧𝑍
40 nfsbc1v 3441 . . . . . . . . . . . . . . . 16 𝑧[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑
41 nfcv 2761 . . . . . . . . . . . . . . . 16 𝑧𝐿
4240, 41nfrab 3115 . . . . . . . . . . . . . . 15 𝑧{𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
43 sbceq1a 3432 . . . . . . . . . . . . . . . 16 (𝑧 = 𝑍 → ([𝑋 / 𝑥][𝑌 / 𝑦]𝜑[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
4443rabbidv 3180 . . . . . . . . . . . . . . 15 (𝑧 = 𝑍 → {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
45 eqid 2621 . . . . . . . . . . . . . . 15 (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4639, 42, 44, 45fvmptf 6262 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4738, 46sylan2 491 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4835, 47eqtr2d 2656 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = ((𝑋𝑂𝑌)‘𝑍))
4920, 48eleqtrrd 2701 . . . . . . . . . . 11 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
50 elrabi 3346 . . . . . . . . . . 11 (𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝐴𝐿)
5149, 50syl 17 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴𝐿)
5218, 51jca 554 . . . . . . . . 9 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑍𝐾𝐴𝐿))
5317, 52mpancom 702 . . . . . . . 8 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
5453exp31 629 . . . . . . 7 (𝑍 ∈ dom (𝑋𝑂𝑌) → (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿))))
554, 54mpcom 38 . . . . . 6 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿)))
5655imp 445 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
573, 56jca 554 . . . 4 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿)))
5857exp32 630 . . 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 384  w3a 1036   = wceq 1480  wcel 1987  {crab 2911  Vcvv 3189  [wsbc 3421  cmpt 4678  dom cdm 5079  cfv 5852  (class class class)co 6610  cmpt2 6612
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-ov 6613  df-oprab 6614  df-mpt2 6615
This theorem is referenced by:  elovmpt3rab  6854  elovmptnn0wrd  13294
  Copyright terms: Public domain W3C validator