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

Theorem joinval 17603
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 17600 . . . . . 6 (𝐾𝑉 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
51, 4syl 17 . . . . 5 (𝜑 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
65oveqd 7162 . . . 4 (𝜑 → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
76adantr 481 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
8 simpr 485 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → {𝑋, 𝑌} ∈ dom 𝑈)
9 eqidd 2819 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))
10 joindef.x . . . . . 6 (𝜑𝑋𝑊)
11 joindef.y . . . . . 6 (𝜑𝑌𝑍)
12 fvexd 6678 . . . . . 6 (𝜑 → (𝑈‘{𝑋, 𝑌}) ∈ V)
13 preq12 4663 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑥, 𝑦} = {𝑋, 𝑌})
1413eleq1d 2894 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
15143adant3 1124 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
16 simp3 1130 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → 𝑧 = (𝑈‘{𝑋, 𝑌}))
1713fveq2d 6667 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
18173adant3 1124 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
1916, 18eqeq12d 2834 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑧 = (𝑈‘{𝑥, 𝑦}) ↔ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})))
2015, 19anbi12d 630 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦})) ↔ ({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))))
21 moeq 3695 . . . . . . . 8 ∃*𝑧 𝑧 = (𝑈‘{𝑥, 𝑦})
2221moani 2630 . . . . . . 7 ∃*𝑧({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))
23 eqid 2818 . . . . . . 7 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}
2420, 22, 23ovigg 7284 . . . . . 6 ((𝑋𝑊𝑌𝑍 ∧ (𝑈‘{𝑋, 𝑌}) ∈ V) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2510, 11, 12, 24syl3anc 1363 . . . . 5 (𝜑 → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2625adantr 481 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
278, 9, 26mp2and 695 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌}))
287, 27eqtrd 2853 . 2 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
292, 3, 1, 10, 11joindef 17602 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ dom ↔ {𝑋, 𝑌} ∈ dom 𝑈))
3029notbid 319 . . . . 5 (𝜑 → (¬ ⟨𝑋, 𝑌⟩ ∈ dom ↔ ¬ {𝑋, 𝑌} ∈ dom 𝑈))
31 df-ov 7148 . . . . . 6 (𝑋 𝑌) = ( ‘⟨𝑋, 𝑌⟩)
32 ndmfv 6693 . . . . . 6 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → ( ‘⟨𝑋, 𝑌⟩) = ∅)
3331, 32syl5eq 2865 . . . . 5 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → (𝑋 𝑌) = ∅)
3430, 33syl6bir 255 . . . 4 (𝜑 → (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑋 𝑌) = ∅))
3534imp 407 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = ∅)
36 ndmfv 6693 . . . 4 (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑈‘{𝑋, 𝑌}) = ∅)
3736adantl 482 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = ∅)
3835, 37eqtr4d 2856 . 2 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
3928, 38pm2.61dan 809 1 (𝜑 → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  w3a 1079   = wceq 1528  wcel 2105  Vcvv 3492  c0 4288  {cpr 4559  cop 4563  dom cdm 5548  cfv 6348  (class class class)co 7145  {coprab 7146  lubclub 17540  joincjn 17542
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-riota 7103  df-ov 7148  df-oprab 7149  df-lub 17572  df-join 17574
This theorem is referenced by:  joincl  17604  joinval2  17607  joincomALT  17627  lubsn  17692
  Copyright terms: Public domain W3C validator