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

Theorem bropfvvvv 7242
Description: If a binary relation holds for the result of an operation which is a function value, the involved classes are sets. (Contributed by AV, 31-Dec-2020.) (Revised by AV, 16-Jan-2021.)
Hypotheses
Ref Expression
bropfvvvv.o 𝑂 = (𝑎𝑈 ↦ (𝑏𝑉, 𝑐𝑊 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜑}))
bropfvvvv.oo ((𝐴𝑈𝐵𝑆𝐶𝑇) → (𝐵(𝑂𝐴)𝐶) = {⟨𝑑, 𝑒⟩ ∣ 𝜃})
bropfvvvv.s (𝑎 = 𝐴𝑉 = 𝑆)
bropfvvvv.t (𝑎 = 𝐴𝑊 = 𝑇)
bropfvvvv.p (𝑎 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
bropfvvvv ((𝑆𝑋𝑇𝑌) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
Distinct variable groups:   𝑈,𝑎   𝐴,𝑎,𝑏,𝑐,𝑑,𝑒   𝑆,𝑎,𝑏,𝑐   𝑇,𝑎,𝑏,𝑐   𝜓,𝑎
Allowed substitution hints:   𝜑(𝑒,𝑎,𝑏,𝑐,𝑑)   𝜓(𝑒,𝑏,𝑐,𝑑)   𝜃(𝑒,𝑎,𝑏,𝑐,𝑑)   𝐵(𝑒,𝑎,𝑏,𝑐,𝑑)   𝐶(𝑒,𝑎,𝑏,𝑐,𝑑)   𝐷(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑆(𝑒,𝑑)   𝑇(𝑒,𝑑)   𝑈(𝑒,𝑏,𝑐,𝑑)   𝐸(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑂(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑉(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑊(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑋(𝑒,𝑎,𝑏,𝑐,𝑑)   𝑌(𝑒,𝑎,𝑏,𝑐,𝑑)

Proof of Theorem bropfvvvv
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 brovpreldm 7239 . 2 (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → ⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴))
2 bropfvvvv.o . . . . . . . . . 10 𝑂 = (𝑎𝑈 ↦ (𝑏𝑉, 𝑐𝑊 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜑}))
32a1i 11 . . . . . . . . 9 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → 𝑂 = (𝑎𝑈 ↦ (𝑏𝑉, 𝑐𝑊 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜑})))
4 bropfvvvv.s . . . . . . . . . . 11 (𝑎 = 𝐴𝑉 = 𝑆)
5 bropfvvvv.t . . . . . . . . . . 11 (𝑎 = 𝐴𝑊 = 𝑇)
6 bropfvvvv.p . . . . . . . . . . . 12 (𝑎 = 𝐴 → (𝜑𝜓))
76opabbidv 4707 . . . . . . . . . . 11 (𝑎 = 𝐴 → {⟨𝑑, 𝑒⟩ ∣ 𝜑} = {⟨𝑑, 𝑒⟩ ∣ 𝜓})
84, 5, 7mpt2eq123dv 6702 . . . . . . . . . 10 (𝑎 = 𝐴 → (𝑏𝑉, 𝑐𝑊 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜑}) = (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}))
98adantl 482 . . . . . . . . 9 (((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) ∧ 𝑎 = 𝐴) → (𝑏𝑉, 𝑐𝑊 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜑}) = (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}))
10 simpl 473 . . . . . . . . 9 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → 𝐴𝑈)
11 simpr 477 . . . . . . . . 9 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V)
123, 9, 10, 11fvmptd 6275 . . . . . . . 8 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → (𝑂𝐴) = (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}))
1312dmeqd 5315 . . . . . . 7 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → dom (𝑂𝐴) = dom (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}))
1413eleq2d 2685 . . . . . 6 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) ↔ ⟨𝐵, 𝐶⟩ ∈ dom (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓})))
15 dmoprabss 6727 . . . . . . . . 9 dom {⟨⟨𝑏, 𝑐⟩, 𝑧⟩ ∣ ((𝑏𝑆𝑐𝑇) ∧ 𝑧 = {⟨𝑑, 𝑒⟩ ∣ 𝜓})} ⊆ (𝑆 × 𝑇)
1615sseli 3591 . . . . . . . 8 (⟨𝐵, 𝐶⟩ ∈ dom {⟨⟨𝑏, 𝑐⟩, 𝑧⟩ ∣ ((𝑏𝑆𝑐𝑇) ∧ 𝑧 = {⟨𝑑, 𝑒⟩ ∣ 𝜓})} → ⟨𝐵, 𝐶⟩ ∈ (𝑆 × 𝑇))
17 bropfvvvv.oo . . . . . . . . . 10 ((𝐴𝑈𝐵𝑆𝐶𝑇) → (𝐵(𝑂𝐴)𝐶) = {⟨𝑑, 𝑒⟩ ∣ 𝜃})
182, 17bropfvvvvlem 7241 . . . . . . . . 9 ((⟨𝐵, 𝐶⟩ ∈ (𝑆 × 𝑇) ∧ 𝐷(𝐵(𝑂𝐴)𝐶)𝐸) → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))
1918ex 450 . . . . . . . 8 (⟨𝐵, 𝐶⟩ ∈ (𝑆 × 𝑇) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
2016, 19syl 17 . . . . . . 7 (⟨𝐵, 𝐶⟩ ∈ dom {⟨⟨𝑏, 𝑐⟩, 𝑧⟩ ∣ ((𝑏𝑆𝑐𝑇) ∧ 𝑧 = {⟨𝑑, 𝑒⟩ ∣ 𝜓})} → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
21 df-mpt2 6640 . . . . . . . 8 (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) = {⟨⟨𝑏, 𝑐⟩, 𝑧⟩ ∣ ((𝑏𝑆𝑐𝑇) ∧ 𝑧 = {⟨𝑑, 𝑒⟩ ∣ 𝜓})}
2221dmeqi 5314 . . . . . . 7 dom (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) = dom {⟨⟨𝑏, 𝑐⟩, 𝑧⟩ ∣ ((𝑏𝑆𝑐𝑇) ∧ 𝑧 = {⟨𝑑, 𝑒⟩ ∣ 𝜓})}
2320, 22eleq2s 2717 . . . . . 6 (⟨𝐵, 𝐶⟩ ∈ dom (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
2414, 23syl6bi 243 . . . . 5 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))
2524com23 86 . . . 4 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))
2625a1d 25 . . 3 ((𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → ((𝑆𝑋𝑇𝑌) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
27 ianor 509 . . . . 5 (¬ (𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) ↔ (¬ 𝐴𝑈 ∨ ¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V))
282fvmptndm 6294 . . . . . . . . . . 11 𝐴𝑈 → (𝑂𝐴) = ∅)
2928dmeqd 5315 . . . . . . . . . 10 𝐴𝑈 → dom (𝑂𝐴) = dom ∅)
3029eleq2d 2685 . . . . . . . . 9 𝐴𝑈 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) ↔ ⟨𝐵, 𝐶⟩ ∈ dom ∅))
31 dm0 5328 . . . . . . . . . 10 dom ∅ = ∅
3231eleq2i 2691 . . . . . . . . 9 (⟨𝐵, 𝐶⟩ ∈ dom ∅ ↔ ⟨𝐵, 𝐶⟩ ∈ ∅)
3330, 32syl6bb 276 . . . . . . . 8 𝐴𝑈 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) ↔ ⟨𝐵, 𝐶⟩ ∈ ∅))
34 noel 3911 . . . . . . . . 9 ¬ ⟨𝐵, 𝐶⟩ ∈ ∅
3534pm2.21i 116 . . . . . . . 8 (⟨𝐵, 𝐶⟩ ∈ ∅ → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
3633, 35syl6bi 243 . . . . . . 7 𝐴𝑈 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))
3736a1d 25 . . . . . 6 𝐴𝑈 → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
38 notnotb 304 . . . . . . . 8 (𝐴𝑈 ↔ ¬ ¬ 𝐴𝑈)
39 elex 3207 . . . . . . . . . . . . . 14 (𝑆𝑋𝑆 ∈ V)
40 elex 3207 . . . . . . . . . . . . . 14 (𝑇𝑌𝑇 ∈ V)
4139, 40anim12i 589 . . . . . . . . . . . . 13 ((𝑆𝑋𝑇𝑌) → (𝑆 ∈ V ∧ 𝑇 ∈ V))
4241adantl 482 . . . . . . . . . . . 12 ((𝐴𝑈 ∧ (𝑆𝑋𝑇𝑌)) → (𝑆 ∈ V ∧ 𝑇 ∈ V))
43 mpt2exga 7231 . . . . . . . . . . . 12 ((𝑆 ∈ V ∧ 𝑇 ∈ V) → (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V)
4442, 43syl 17 . . . . . . . . . . 11 ((𝐴𝑈 ∧ (𝑆𝑋𝑇𝑌)) → (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V)
4544pm2.24d 147 . . . . . . . . . 10 ((𝐴𝑈 ∧ (𝑆𝑋𝑇𝑌)) → (¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
4645ex 450 . . . . . . . . 9 (𝐴𝑈 → ((𝑆𝑋𝑇𝑌) → (¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))))
4746com23 86 . . . . . . . 8 (𝐴𝑈 → (¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))))
4838, 47sylbir 225 . . . . . . 7 (¬ ¬ 𝐴𝑈 → (¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))))
4948imp 445 . . . . . 6 ((¬ ¬ 𝐴𝑈 ∧ ¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
5037, 49jaoi3 1010 . . . . 5 ((¬ 𝐴𝑈 ∨ ¬ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
5127, 50sylbi 207 . . . 4 (¬ (𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → ((𝑆𝑋𝑇𝑌) → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
5251com34 91 . . 3 (¬ (𝐴𝑈 ∧ (𝑏𝑆, 𝑐𝑇 ↦ {⟨𝑑, 𝑒⟩ ∣ 𝜓}) ∈ V) → ((𝑆𝑋𝑇𝑌) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))))
5326, 52pm2.61i 176 . 2 ((𝑆𝑋𝑇𝑌) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (⟨𝐵, 𝐶⟩ ∈ dom (𝑂𝐴) → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V)))))
541, 53mpdi 45 1 ((𝑆𝑋𝑇𝑌) → (𝐷(𝐵(𝑂𝐴)𝐶)𝐸 → (𝐴𝑈 ∧ (𝐵𝑆𝐶𝑇) ∧ (𝐷 ∈ V ∧ 𝐸 ∈ V))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3a 1036   = wceq 1481  wcel 1988  Vcvv 3195  c0 3907  cop 4174   class class class wbr 4644  {copab 4703  cmpt 4720   × cxp 5102  dom cdm 5104  cfv 5876  (class class class)co 6635  {coprab 6636  cmpt2 6637
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-rep 4762  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-reu 2916  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-1st 7153  df-2nd 7154
This theorem is referenced by:  wlkonprop  26535  wksonproplem  26582
  Copyright terms: Public domain W3C validator