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

Theorem joinval 17005
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 17002 . . . . . 6 (𝐾𝑉 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
51, 4syl 17 . . . . 5 (𝜑 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))})
65oveqd 6667 . . . 4 (𝜑 → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
76adantr 481 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌))
8 simpr 477 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → {𝑋, 𝑌} ∈ dom 𝑈)
9 eqidd 2623 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))
10 joindef.x . . . . . 6 (𝜑𝑋𝑊)
11 joindef.y . . . . . 6 (𝜑𝑌𝑍)
12 fvexd 6203 . . . . . 6 (𝜑 → (𝑈‘{𝑋, 𝑌}) ∈ V)
13 preq12 4270 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑥, 𝑦} = {𝑋, 𝑌})
1413eleq1d 2686 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
15143adant3 1081 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → ({𝑥, 𝑦} ∈ dom 𝑈 ↔ {𝑋, 𝑌} ∈ dom 𝑈))
16 simp3 1063 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → 𝑧 = (𝑈‘{𝑋, 𝑌}))
1713fveq2d 6195 . . . . . . . . . 10 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
18173adant3 1081 . . . . . . . . 9 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑈‘{𝑥, 𝑦}) = (𝑈‘{𝑋, 𝑌}))
1916, 18eqeq12d 2637 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (𝑧 = (𝑈‘{𝑥, 𝑦}) ↔ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})))
2015, 19anbi12d 747 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌𝑧 = (𝑈‘{𝑋, 𝑌})) → (({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦})) ↔ ({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌}))))
21 moeq 3382 . . . . . . . 8 ∃*𝑧 𝑧 = (𝑈‘{𝑥, 𝑦})
2221moani 2525 . . . . . . 7 ∃*𝑧({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))
23 eqid 2622 . . . . . . 7 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}
2420, 22, 23ovigg 6781 . . . . . 6 ((𝑋𝑊𝑌𝑍 ∧ (𝑈‘{𝑋, 𝑌}) ∈ V) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2510, 11, 12, 24syl3anc 1326 . . . . 5 (𝜑 → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
2625adantr 481 . . . 4 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (({𝑋, 𝑌} ∈ dom 𝑈 ∧ (𝑈‘{𝑋, 𝑌}) = (𝑈‘{𝑋, 𝑌})) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌})))
278, 9, 26mp2and 715 . . 3 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋{⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ({𝑥, 𝑦} ∈ dom 𝑈𝑧 = (𝑈‘{𝑥, 𝑦}))}𝑌) = (𝑈‘{𝑋, 𝑌}))
287, 27eqtrd 2656 . 2 ((𝜑 ∧ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
292, 3, 1, 10, 11joindef 17004 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ dom ↔ {𝑋, 𝑌} ∈ dom 𝑈))
3029notbid 308 . . . . 5 (𝜑 → (¬ ⟨𝑋, 𝑌⟩ ∈ dom ↔ ¬ {𝑋, 𝑌} ∈ dom 𝑈))
31 df-ov 6653 . . . . . 6 (𝑋 𝑌) = ( ‘⟨𝑋, 𝑌⟩)
32 ndmfv 6218 . . . . . 6 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → ( ‘⟨𝑋, 𝑌⟩) = ∅)
3331, 32syl5eq 2668 . . . . 5 (¬ ⟨𝑋, 𝑌⟩ ∈ dom → (𝑋 𝑌) = ∅)
3430, 33syl6bir 244 . . . 4 (𝜑 → (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑋 𝑌) = ∅))
3534imp 445 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = ∅)
36 ndmfv 6218 . . . 4 (¬ {𝑋, 𝑌} ∈ dom 𝑈 → (𝑈‘{𝑋, 𝑌}) = ∅)
3736adantl 482 . . 3 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑈‘{𝑋, 𝑌}) = ∅)
3835, 37eqtr4d 2659 . 2 ((𝜑 ∧ ¬ {𝑋, 𝑌} ∈ dom 𝑈) → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
3928, 38pm2.61dan 832 1 (𝜑 → (𝑋 𝑌) = (𝑈‘{𝑋, 𝑌}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wcel 1990  Vcvv 3200  c0 3915  {cpr 4179  cop 4183  dom cdm 5114  cfv 5888  (class class class)co 6650  {coprab 6651  lubclub 16942  joincjn 16944
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-lub 16974  df-join 16976
This theorem is referenced by:  joincl  17006  joinval2  17009  joincomALT  17029  lubsn  17094
  Copyright terms: Public domain W3C validator