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

Theorem elovmpt3rab1 7529
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 7526 . . 3 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
3 simprl 768 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
4 elfvdm 6806 . . . . . . 7 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → 𝑍 ∈ dom (𝑋𝑂𝑌))
5 simpl 483 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
65adantr 481 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑋 ∈ V)
7 simplr 766 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑌 ∈ V)
8 simprl 768 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐾𝑈)
9 simprr 770 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝐿𝑇)
10 ovmpt3rab1.m . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
11 ovmpt3rab1.n . . . . . . . . . . . . . . 15 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
121, 10, 11ovmpt3rabdm 7528 . . . . . . . . . . . . . 14 (((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
136, 7, 8, 9, 12syl31anc 1372 . . . . . . . . . . . . 13 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → dom (𝑋𝑂𝑌) = 𝐾)
1413eleq2d 2824 . . . . . . . . . . . 12 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍 ∈ dom (𝑋𝑂𝑌) ↔ 𝑍𝐾))
1514biimpcd 248 . . . . . . . . . . 11 (𝑍 ∈ dom (𝑋𝑂𝑌) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1615adantr 481 . . . . . . . . . 10 ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → 𝑍𝐾))
1716imp 407 . . . . . . . . 9 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝑍𝐾)
18 simpl 483 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝑍𝐾)
19 simplr 766 . . . . . . . . . . . . 13 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
2019adantl 482 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍))
21 simpl 483 . . . . . . . . . . . . . . . . 17 ((𝐾𝑈𝐿𝑇) → 𝐾𝑈)
2221anim2i 617 . . . . . . . . . . . . . . . 16 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
23 df-3an 1088 . . . . . . . . . . . . . . . 16 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝐾𝑈))
2422, 23sylibr 233 . . . . . . . . . . . . . . 15 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
2524ad2antll 726 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈))
26 sbceq1a 3727 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
27 sbceq1a 3727 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
2826, 27sylan9bbr 511 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
29 nfsbc1v 3736 . . . . . . . . . . . . . . . 16 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2907 . . . . . . . . . . . . . . . . 17 𝑦𝑋
31 nfsbc1v 3736 . . . . . . . . . . . . . . . . 17 𝑦[𝑌 / 𝑦]𝜑
3230, 31nfsbcw 3738 . . . . . . . . . . . . . . . 16 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
331, 10, 11, 28, 29, 32ovmpt3rab1 7527 . . . . . . . . . . . . . . 15 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → (𝑋𝑂𝑌) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
3433fveq1d 6776 . . . . . . . . . . . . . 14 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝐾𝑈) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
3525, 34syl 17 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑋𝑂𝑌)‘𝑍) = ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍))
36 rabexg 5255 . . . . . . . . . . . . . . . 16 (𝐿𝑇 → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3736adantl 482 . . . . . . . . . . . . . . 15 ((𝐾𝑈𝐿𝑇) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
3837ad2antll 726 . . . . . . . . . . . . . 14 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
39 nfcv 2907 . . . . . . . . . . . . . . 15 𝑧𝑍
40 nfsbc1v 3736 . . . . . . . . . . . . . . . 16 𝑧[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑
41 nfcv 2907 . . . . . . . . . . . . . . . 16 𝑧𝐿
4240, 41nfrabw 3318 . . . . . . . . . . . . . . 15 𝑧{𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
43 sbceq1a 3727 . . . . . . . . . . . . . . . 16 (𝑧 = 𝑍 → ([𝑋 / 𝑥][𝑌 / 𝑦]𝜑[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
4443rabbidv 3414 . . . . . . . . . . . . . . 15 (𝑧 = 𝑍 → {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
45 eqid 2738 . . . . . . . . . . . . . . 15 (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4639, 42, 44, 45fvmptf 6896 . . . . . . . . . . . . . 14 ((𝑍𝐾 ∧ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4738, 46sylan2 593 . . . . . . . . . . . . 13 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → ((𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})‘𝑍) = {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
4835, 47eqtr2d 2779 . . . . . . . . . . . 12 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} = ((𝑋𝑂𝑌)‘𝑍))
4920, 48eleqtrrd 2842 . . . . . . . . . . 11 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
50 elrabi 3618 . . . . . . . . . . 11 (𝐴 ∈ {𝑎𝐿[𝑍 / 𝑧][𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝐴𝐿)
5149, 50syl 17 . . . . . . . . . 10 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → 𝐴𝐿)
5218, 51jca 512 . . . . . . . . 9 ((𝑍𝐾 ∧ ((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)))) → (𝑍𝐾𝐴𝐿))
5317, 52mpancom 685 . . . . . . . 8 (((𝑍 ∈ dom (𝑋𝑂𝑌) ∧ 𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍)) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
5453exp31 420 . . . . . . 7 (𝑍 ∈ dom (𝑋𝑂𝑌) → (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿))))
554, 54mpcom 38 . . . . . 6 (𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) → (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇)) → (𝑍𝐾𝐴𝐿)))
5655imp 407 . . . . 5 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → (𝑍𝐾𝐴𝐿))
573, 56jca 512 . . . 4 ((𝐴 ∈ ((𝑋𝑂𝑌)‘𝑍) ∧ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝐾𝑈𝐿𝑇))) → ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑍𝐾𝐴𝐿)))
5857exp32 421 . . 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 396  w3a 1086   = wceq 1539  wcel 2106  {crab 3068  Vcvv 3432  [wsbc 3716  cmpt 5157  dom cdm 5589  cfv 6433  (class class class)co 7275  cmpo 7277
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280
This theorem is referenced by:  elovmpt3rab  7530  elovmptnn0wrd  14262
  Copyright terms: Public domain W3C validator