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

Theorem joinval 18619
Description: Join value. Since both sides evaluate to ∅ when they don't exist, for convenience we drop the {𝑋, 𝑌} ∈ dom 𝑈 requirement. (Contributed by NM, 9-Sep-2018.)
Hypotheses
Ref Expression
joindef.u 𝑈 = (lub‘𝐾)
joindef.j ∨ = (join‘𝐾)
joindef.k (𝜑 → 𝐾 ∈ 𝑉)
joindef.x (𝜑 → 𝑋 ∈ 𝑊)
joindef.y (𝜑 → 𝑌 ∈ 𝑍)
Assertion
Ref Expression
joinval (𝜑 → (𝑋 ∨ 𝑌) = (𝑈‘{𝑋, 𝑌}))

Proof of Theorem joinval
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 joindef.k . . . . . 6 (𝜑 → 𝐾 ∈ 𝑉)
2 joindef.u . . . . . . 7 𝑈 = (lub‘𝐾)
3 joindef.j . . . . . . 7 ∨ = (join‘𝐾)
42, 3joinfval2 18616 . . . . . 6 (𝐾 ∈ 𝑉 → ∨ = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))})
51, 4syl 18 . . . . 5 (𝜑 → ∨ = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))})
65oveqd 7479 . . . 4 (𝜑 → (𝑋 ∨ 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
76adantr 486 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 ∨ 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
8 simpr 490 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → {𝑋, 𝑌} ∈ dom 𝑈)
9 eqidd 2770 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))
10 joindef.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝑊)
11 joindef.y . . . . . 6 (𝜑 → 𝑌 ∈ 𝑍)
12 fvexd 6941 . . . . . 6 (𝜑 → (𝑈‘{𝑋, 𝑌}) ∈ V)
13 preq12 4701 . . . . . . . . . 10 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → {𝑥, 𝑦} = {𝑋, 𝑌})
1413eleq1d 2855 . . . . . . . . 9 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
15143adant3 1151 . . . . . . . 8 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌 ∧ 𝑧 = (𝑈‘{𝑋, 𝑌})) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
16 simp3 1157 . . . . . . . . 9 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌 ∧ 𝑧 = (𝑈‘{𝑋, 𝑌})) → 𝑧 = (𝑈‘{𝑋, 𝑌}))
1713fveq2d 6930 . . . . . . . . . 10 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
18173adant3 1151 . . . . . . . . 9 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌 ∧ 𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
1916, 18eqeq12d 2785 . . . . . . . 8 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌 ∧ 𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑧 = (𝑈‘{𝑥, 𝑦}) ↔ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})))
2015, 19anbi12d 644 . . . . . . 7 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌 ∧ 𝑧 = (𝑈‘{𝑋, 𝑌})) → (({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦})) ↔ ({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))))
21 moeq 3670 . . . . . . . 8 ∃*𝑧 𝑧 = (𝑈‘{𝑥, 𝑦})
2221moani 2585 . . . . . . 7 ∃*𝑧({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))
23 eqid 2769 . . . . . . 7 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}
2420, 22, 23ovigg 7608 . . . . . 6 ((𝑋 ∈ 𝑊 ∧ 𝑌 ∈ 𝑍 ∧ (𝑈‘{𝑋, 𝑌}) ∈ V) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2510, 11, 12, 24syl3anc 1401 . . . . 5 (𝜑 → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2625adantr 486 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
278, 9, 26mp2and 712 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈 ∧ 𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌}))
287, 27eqtrd 2804 . 2 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 ∨ 𝑌) = (𝑈‘{𝑋, 𝑌}))
292, 3, 1, 10, 11joindef 18618 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ dom ∨ ↔ {𝑋, 𝑌} ∈ dom 𝑈))
3029notbid 321 . . . . 5 (𝜑 → (¬ ⟨𝑋, 𝑌⟩ ∈ dom ∨ ↔ ¬ {𝑋, 𝑌} ∈ dom 𝑈))
31 df-ov 7465 . . . . . 6 (𝑋 ∨ 𝑌) = ( ∨ ‘⟨𝑋, 𝑌⟩)
32 ndmfv 6958 . . . . . 6 (¬ ⟨𝑋, 𝑌⟩ ∈ dom ∨ → ( ∨ ‘⟨𝑋, 𝑌⟩) = ∅)
3331, 32eqtrid 2816 . . . . 5 (¬ ⟨𝑋, 𝑌⟩ ∈ dom ∨ → (𝑋 ∨ 𝑌) = ∅)
3430, 33biimtrrdi 257 . . . 4 (𝜑 → (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑋 ∨ 𝑌) = ∅))
3534imp 412 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 ∨ 𝑌) = ∅)
36 ndmfv 6958 . . . 4 (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑈‘{𝑋, 𝑌}) = ∅)
3736adantl 487 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = ∅)
3835, 37eqtr4d 2807 . 2 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 ∨ 𝑌) = (𝑈‘{𝑋, 𝑌}))
3928, 38pm2.61dan 825 1 (𝜑 → (𝑋 ∨ 𝑌) = (𝑈‘{𝑋, 𝑌}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ∅c0 4283  {cpr 4592  ⟨cop 4843  dom cdm 5661  ‘cfv 6573  (class class class)co 7462  {coprab 7463  lubclub 18553  joincjn 18555
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7465  df-oprab 7466  df-lub 18588  df-join 18590
This theorem is used by:  joincl  18620  joinval2  18623  joincomALT  18643  lubsn  18726  posjidm  50545  toplatjoin  50575
  Copyright terms: Public domain W3C validator