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

Theorem joinval 18010
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 18007 . . . . . 6 (𝐾𝑉 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
51, 4syl 17 . . . . 5 (𝜑 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
65oveqd 7272 . . . 4 (𝜑 → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
76adantr 480 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
8 simpr 484 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → {𝑋, 𝑌} ∈ dom 𝑈)
9 eqidd 2739 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))
10 joindef.x . . . . . 6 (𝜑𝑋𝑊)
11 joindef.y . . . . . 6 (𝜑𝑌𝑍)
12 fvexd 6771 . . . . . 6 (𝜑 → (𝑈‘{𝑋, 𝑌}) ∈ V)
13 preq12 4668 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑥, 𝑦} = {𝑋, 𝑌})
1413eleq1d 2823 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
15143adant3 1130 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
16 simp3 1136 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → 𝑧 = (𝑈‘{𝑋, 𝑌}))
1713fveq2d 6760 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
18173adant3 1130 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
1916, 18eqeq12d 2754 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑧 = (𝑈‘{𝑥, 𝑦}) ↔ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})))
2015, 19anbi12d 630 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦})) ↔ ({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))))
21 moeq 3637 . . . . . . . 8 ∃*𝑧 𝑧 = (𝑈‘{𝑥, 𝑦})
2221moani 2553 . . . . . . 7 ∃*𝑧({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))
23 eqid 2738 . . . . . . 7 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}
2420, 22, 23ovigg 7396 . . . . . 6 ((𝑋𝑊𝑌𝑍 ∧ (𝑈‘{𝑋, 𝑌}) ∈ V) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2510, 11, 12, 24syl3anc 1369 . . . . 5 (𝜑 → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2625adantr 480 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
278, 9, 26mp2and 695 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌}))
287, 27eqtrd 2778 . 2 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
292, 3, 1, 10, 11joindef 18009 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ dom ↔ {𝑋, 𝑌} ∈ dom 𝑈))
3029notbid 317 . . . . 5 (𝜑 → (¬ ⟨𝑋, 𝑌⟩ ∈ dom ↔ ¬ {𝑋, 𝑌} ∈ dom 𝑈))
31 df-ov 7258 . . . . . 6 (𝑋 𝑌) = ( ‘⟨𝑋, 𝑌⟩)
32 ndmfv 6786 . . . . . 6 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → ( ‘⟨𝑋, 𝑌⟩) = ∅)
3331, 32eqtrid 2790 . . . . 5 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → (𝑋 𝑌) = ∅)
3430, 33syl6bir 253 . . . 4 (𝜑 → (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑋 𝑌) = ∅))
3534imp 406 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = ∅)
36 ndmfv 6786 . . . 4 (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑈‘{𝑋, 𝑌}) = ∅)
3736adantl 481 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = ∅)
3835, 37eqtr4d 2781 . 2 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
3928, 38pm2.61dan 809 1 (𝜑 → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  c0 4253  {cpr 4560  cop 4564  dom cdm 5580  cfv 6418  (class class class)co 7255  {coprab 7256  lubclub 17942  joincjn 17944
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-lub 17979  df-join 17981
This theorem is referenced by:  joincl  18011  joinval2  18014  joincomALT  18034  lubsn  18115  posjidm  46154  toplatjoin  46176
  Copyright terms: Public domain W3C validator