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

Theorem wemapso 9548
Description: Construct lexicographic order on a function space based on a well-ordering of the indices and a total ordering of the values. (Contributed by Stefan O'Rear, 18-Jan-2015.) (Revised by Mario Carneiro, 8-Feb-2015.) (Revised by AV, 21-Jul-2024.)
Hypothesis
Ref Expression
wemapso.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)))}
Assertion
Ref Expression
wemapso ((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) → 𝑇 Or (𝐵 ↑m 𝐴))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑤,𝑦,𝑧,𝐴   𝑤,𝑅,𝑥,𝑦,𝑧   𝑤,𝑆,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐵(𝑦, 𝑧, 𝑤)   𝑇(𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem wemapso
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wemapso.t . 2 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧 ∈ 𝐴 ((𝑥‘𝑧)𝑆(𝑦‘𝑧) ∧ ∀𝑤 ∈ 𝐴 (𝑤𝑅𝑧 → (𝑥‘𝑤) = (𝑦‘𝑤)))}
2 ssid 3930 . 2 (𝐵 ↑m 𝐴) ⊆ (𝐵 ↑m 𝐴)
3 weso 5641 . . 3 (𝑅 We 𝐴 → 𝑅 Or 𝐴)
43adantr 486 . 2 ((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) → 𝑅 Or 𝐴)
5 simpr 490 . 2 ((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) → 𝑆 Or 𝐵)
6 vex 3454 . . . . . 6 𝑎 ∈ V
76difexi 5291 . . . . 5 (𝑎 ∖ 𝑏) ∈ V
87dmex 7921 . . . 4 dom (𝑎 ∖ 𝑏) ∈ V
98a1i 11 . . 3 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → dom (𝑎 ∖ 𝑏) ∈ V)
10 wefr 5640 . . . 4 (𝑅 We 𝐴 → 𝑅 Fr 𝐴)
1110ad2antrr 739 . . 3 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑅 Fr 𝐴)
12 difss 4072 . . . . 5 (𝑎 ∖ 𝑏) ⊆ 𝑎
13 dmss 5883 . . . . 5 ((𝑎 ∖ 𝑏) ⊆ 𝑎 → dom (𝑎 ∖ 𝑏) ⊆ dom 𝑎)
1412, 13ax-mp 5 . . . 4 dom (𝑎 ∖ 𝑏) ⊆ dom 𝑎
15 simprll 791 . . . . 5 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑎 ∈ (𝐵 ↑m 𝐴))
16 elmapi 8872 . . . . 5 (𝑎 ∈ (𝐵 ↑m 𝐴) → 𝑎:𝐴⟶𝐵)
1715, 16syl 18 . . . 4 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑎:𝐴⟶𝐵)
1814, 17fssdm 6729 . . 3 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → dom (𝑎 ∖ 𝑏) ⊆ 𝐴)
19 simprr 785 . . . 4 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑎 ≠ 𝑏)
2017ffnd 6710 . . . . . 6 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑎 Fn 𝐴)
21 simprlr 792 . . . . . . . 8 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑏 ∈ (𝐵 ↑m 𝐴))
22 elmapi 8872 . . . . . . . 8 (𝑏 ∈ (𝐵 ↑m 𝐴) → 𝑏:𝐴⟶𝐵)
2321, 22syl 18 . . . . . . 7 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑏:𝐴⟶𝐵)
2423ffnd 6710 . . . . . 6 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → 𝑏 Fn 𝐴)
25 fndmdifeq0 7043 . . . . . 6 ((𝑎 Fn 𝐴 ∧ 𝑏 Fn 𝐴) → (dom (𝑎 ∖ 𝑏) = ∅ ↔ 𝑎 = 𝑏))
2620, 24, 25syl2anc 596 . . . . 5 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → (dom (𝑎 ∖ 𝑏) = ∅ ↔ 𝑎 = 𝑏))
2726necon3bid 2999 . . . 4 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → (dom (𝑎 ∖ 𝑏) ≠ ∅ ↔ 𝑎 ≠ 𝑏))
2819, 27mpbird 260 . . 3 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → dom (𝑎 ∖ 𝑏) ≠ ∅)
29 fri 5608 . . 3 (((dom (𝑎 ∖ 𝑏) ∈ V ∧ 𝑅 Fr 𝐴) ∧ (dom (𝑎 ∖ 𝑏) ⊆ 𝐴 ∧ dom (𝑎 ∖ 𝑏) ≠ ∅)) → ∃𝑐 ∈ dom (𝑎 ∖ 𝑏)∀𝑑 ∈ dom (𝑎 ∖ 𝑏) ¬ 𝑑𝑅𝑐)
309, 11, 18, 28, 29syl22anc 852 . 2 (((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) ∧ ((𝑎 ∈ (𝐵 ↑m 𝐴) ∧ 𝑏 ∈ (𝐵 ↑m 𝐴)) ∧ 𝑎 ≠ 𝑏)) → ∃𝑐 ∈ dom (𝑎 ∖ 𝑏)∀𝑑 ∈ dom (𝑎 ∖ 𝑏) ¬ 𝑑𝑅𝑐)
311, 2, 4, 5, 30wemapsolem 9547 1 ((𝑅 We 𝐴 ∧ 𝑆 Or 𝐵) → 𝑇 Or (𝐵 ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ⊆ wss 3895   ∖ cdif 4045  ∅c0 4278   class class class wbr 5102  {copab 5166   Or wor 5557   Fr wfr 5600   We wwe 5602  dom cdm 5650   Fn wfn 6533  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420   ↑m cmap 8850
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-map 8852
This theorem is used by:  opsrtoslem2  22370  wepwso  44143
  Copyright terms: Public domain W3C validator