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

Theorem fnwe2lem4 8185
Description: Lemma for fnwe2 8186. Trichotomy. (Contributed by Stefan O'Rear, 19-Jan-2015.)
Hypotheses
Ref Expression
fnwe2.su (𝑧 = (𝐹‘𝑥) → 𝑆 = 𝑈)
fnwe2.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑈𝑦))}
fnwe2.s ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
fnwe2.f (𝜑 → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
fnwe2.r (𝜑 → 𝑅 We 𝐵)
fnwe2lem4.a (𝜑 → 𝑎 ∈ 𝐴)
fnwe2lem4.b (𝜑 → 𝑏 ∈ 𝐴)
Assertion
Ref Expression
fnwe2lem4 (𝜑 → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
Distinct variable groups:   𝑦,𝑈,𝑧,𝑎,𝑏   𝑥,𝑆,𝑦,𝑎,𝑏   𝑥,𝑅,𝑦,𝑎,𝑏   𝜑,𝑥,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧,𝑎,𝑏   𝑥,𝐹,𝑦,𝑧,𝑎,𝑏   𝑇,𝑎,𝑏   𝐵,𝑎,𝑏
Allowed substitution hints:   𝜑(𝑎, 𝑏)   𝐵(𝑥, 𝑦, 𝑧)   𝑅(𝑧)   𝑆(𝑧)   𝑇(𝑥, 𝑦, 𝑧)   𝑈(𝑥)

Proof of Theorem fnwe2lem4
StepHypRef Expression
1 animorrl 996 . . . 4 ((𝜑 ∧ (𝐹‘𝑎)𝑅(𝐹‘𝑏)) → ((𝐹‘𝑎)𝑅(𝐹‘𝑏) ∨ ((𝐹‘𝑎) = (𝐹‘𝑏) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏)))
2 fnwe2.su . . . . 5 (𝑧 = (𝐹‘𝑥) → 𝑆 = 𝑈)
3 fnwe2.t . . . . 5 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑈𝑦))}
42, 3fnwe2lem1 8182 . . . 4 (𝑎𝑇𝑏 ↔ ((𝐹‘𝑎)𝑅(𝐹‘𝑏) ∨ ((𝐹‘𝑎) = (𝐹‘𝑏) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏)))
51, 4sylibr 237 . . 3 ((𝜑 ∧ (𝐹‘𝑎)𝑅(𝐹‘𝑏)) → 𝑎𝑇𝑏)
653mix1d 1355 . 2 ((𝜑 ∧ (𝐹‘𝑎)𝑅(𝐹‘𝑏)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
7 simplr 781 . . . . . . 7 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → (𝐹‘𝑎) = (𝐹‘𝑏))
8 simpr 490 . . . . . . 7 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏)
97, 8jca 521 . . . . . 6 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → ((𝐹‘𝑎) = (𝐹‘𝑏) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏))
109olcd 888 . . . . 5 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → ((𝐹‘𝑎)𝑅(𝐹‘𝑏) ∨ ((𝐹‘𝑎) = (𝐹‘𝑏) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏)))
1110, 4sylibr 237 . . . 4 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → 𝑎𝑇𝑏)
12113mix1d 1355 . . 3 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
13 3mix2 1350 . . . 4 (𝑎 = 𝑏 → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
1413adantl 487 . . 3 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑎 = 𝑏) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
15 simplr 781 . . . . . . . 8 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → (𝐹‘𝑎) = (𝐹‘𝑏))
1615eqcomd 2769 . . . . . . 7 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → (𝐹‘𝑏) = (𝐹‘𝑎))
17 csbeq1 3854 . . . . . . . . . 10 ((𝐹‘𝑎) = (𝐹‘𝑏) → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 = ⦋(𝐹‘𝑏) / 𝑧⦌𝑆)
1817adantl 487 . . . . . . . . 9 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 = ⦋(𝐹‘𝑏) / 𝑧⦌𝑆)
1918breqd 5119 . . . . . . . 8 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎 ↔ 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎))
2019biimpa 482 . . . . . . 7 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎)
2116, 20jca 521 . . . . . 6 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → ((𝐹‘𝑏) = (𝐹‘𝑎) ∧ 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎))
2221olcd 888 . . . . 5 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → ((𝐹‘𝑏)𝑅(𝐹‘𝑎) ∨ ((𝐹‘𝑏) = (𝐹‘𝑎) ∧ 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎)))
232, 3fnwe2lem1 8182 . . . . 5 (𝑏𝑇𝑎 ↔ ((𝐹‘𝑏)𝑅(𝐹‘𝑎) ∨ ((𝐹‘𝑏) = (𝐹‘𝑎) ∧ 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎)))
2422, 23sylibr 237 . . . 4 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → 𝑏𝑇𝑎)
25243mix3d 1357 . . 3 (((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) ∧ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
26 fnwe2lem4.a . . . . . . 7 (𝜑 → 𝑎 ∈ 𝐴)
27 fnwe2.s . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
282, 3, 27fnwe2lem2 8183 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝐴) → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
2926, 28mpdan 700 . . . . . 6 (𝜑 → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
30 weso 5649 . . . . . 6 (⦋(𝐹‘𝑎) / 𝑧⦌𝑆 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)} → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 Or {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
3129, 30syl 18 . . . . 5 (𝜑 → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 Or {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
3231adantr 486 . . . 4 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → ⦋(𝐹‘𝑎) / 𝑧⦌𝑆 Or {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
33 fveqeq2 6925 . . . . 5 (𝑦 = 𝑎 → ((𝐹‘𝑦) = (𝐹‘𝑎) ↔ (𝐹‘𝑎) = (𝐹‘𝑎)))
3426adantr 486 . . . . 5 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → 𝑎 ∈ 𝐴)
35 eqidd 2764 . . . . 5 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝐹‘𝑎) = (𝐹‘𝑎))
3633, 34, 35elrabd 3650 . . . 4 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → 𝑎 ∈ {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
37 fveqeq2 6925 . . . . 5 (𝑦 = 𝑏 → ((𝐹‘𝑦) = (𝐹‘𝑎) ↔ (𝐹‘𝑏) = (𝐹‘𝑎)))
38 fnwe2lem4.b . . . . . 6 (𝜑 → 𝑏 ∈ 𝐴)
3938adantr 486 . . . . 5 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → 𝑏 ∈ 𝐴)
40 simpr 490 . . . . . 6 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝐹‘𝑎) = (𝐹‘𝑏))
4140eqcomd 2769 . . . . 5 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝐹‘𝑏) = (𝐹‘𝑎))
4237, 39, 41elrabd 3650 . . . 4 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → 𝑏 ∈ {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})
43 solin 5593 . . . 4 ((⦋(𝐹‘𝑎) / 𝑧⦌𝑆 Or {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)} ∧ (𝑎 ∈ {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)} ∧ 𝑏 ∈ {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑎)})) → (𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎))
4432, 36, 42, 43syl12anc 850 . . 3 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝑎⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏⦋(𝐹‘𝑎) / 𝑧⦌𝑆𝑎))
4512, 14, 25, 44mpjao3dan 1460 . 2 ((𝜑 ∧ (𝐹‘𝑎) = (𝐹‘𝑏)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
46 animorrl 996 . . . 4 ((𝜑 ∧ (𝐹‘𝑏)𝑅(𝐹‘𝑎)) → ((𝐹‘𝑏)𝑅(𝐹‘𝑎) ∨ ((𝐹‘𝑏) = (𝐹‘𝑎) ∧ 𝑏⦋(𝐹‘𝑏) / 𝑧⦌𝑆𝑎)))
4746, 23sylibr 237 . . 3 ((𝜑 ∧ (𝐹‘𝑏)𝑅(𝐹‘𝑎)) → 𝑏𝑇𝑎)
48473mix3d 1357 . 2 ((𝜑 ∧ (𝐹‘𝑏)𝑅(𝐹‘𝑎)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
49 fnwe2.r . . . 4 (𝜑 → 𝑅 We 𝐵)
50 weso 5649 . . . 4 (𝑅 We 𝐵 → 𝑅 Or 𝐵)
5149, 50syl 18 . . 3 (𝜑 → 𝑅 Or 𝐵)
5226fvresd 6936 . . . 4 (𝜑 → ((𝐹 ↾ 𝐴)‘𝑎) = (𝐹‘𝑎))
53 fnwe2.f . . . . 5 (𝜑 → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
5453, 26ffvelcdmd 7117 . . . 4 (𝜑 → ((𝐹 ↾ 𝐴)‘𝑎) ∈ 𝐵)
5552, 54eqeltrrd 2865 . . 3 (𝜑 → (𝐹‘𝑎) ∈ 𝐵)
5638fvresd 6936 . . . 4 (𝜑 → ((𝐹 ↾ 𝐴)‘𝑏) = (𝐹‘𝑏))
5753, 38ffvelcdmd 7117 . . . 4 (𝜑 → ((𝐹 ↾ 𝐴)‘𝑏) ∈ 𝐵)
5856, 57eqeltrrd 2865 . . 3 (𝜑 → (𝐹‘𝑏) ∈ 𝐵)
59 solin 5593 . . 3 ((𝑅 Or 𝐵 ∧ ((𝐹‘𝑎) ∈ 𝐵 ∧ (𝐹‘𝑏) ∈ 𝐵)) → ((𝐹‘𝑎)𝑅(𝐹‘𝑏) ∨ (𝐹‘𝑎) = (𝐹‘𝑏) ∨ (𝐹‘𝑏)𝑅(𝐹‘𝑎)))
6051, 55, 58, 59syl12anc 850 . 2 (𝜑 → ((𝐹‘𝑎)𝑅(𝐹‘𝑏) ∨ (𝐹‘𝑎) = (𝐹‘𝑏) ∨ (𝐹‘𝑏)𝑅(𝐹‘𝑎)))
616, 45, 48, 60mpjao3dan 1460 1 (𝜑 → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   ∨ w3o 1102   = wceq 1570   ∈ wcel 2147  {crab 3416  ⦋csb 3851   class class class wbr 5108  {copab 5173   Or wor 5565   We wwe 5610   ↾ cres 5660  ⟶wf 6562  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574
This theorem is used by:  fnwe2  8186
  Copyright terms: Public domain W3C validator