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

Theorem fnwe2 8186
Description: A well-ordering can be constructed on a partitioned set by patching together well-orderings on each partition using a well-ordering on the partitions themselves. Similar to fnwe 8181 but does not require the within-partition ordering to be globally well. (Contributed by Stefan O'Rear, 19-Jan-2015.)
Hypotheses
Ref Expression
fnwe2.su (𝑧 = (𝐹‘𝑥) → 𝑆 = 𝑈)
fnwe2.t 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑈𝑦))}
fnwe2.s ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
fnwe2.f (𝜑 → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
fnwe2.r (𝜑 → 𝑅 We 𝐵)
Assertion
Ref Expression
fnwe2 (𝜑 → 𝑇 We 𝐴)
Distinct variable groups:   𝑦,𝑈,𝑧   𝑥,𝑆,𝑦   𝑥,𝑅,𝑦   𝜑,𝑥,𝑦,𝑧   𝑥,𝐴,𝑦,𝑧   𝑥,𝐹,𝑦,𝑧
Allowed substitution hints:   𝐵(𝑥, 𝑦, 𝑧)   𝑅(𝑧)   𝑆(𝑧)   𝑇(𝑥, 𝑦, 𝑧)   𝑈(𝑥)

Proof of Theorem fnwe2
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnwe2.su . . . . . 6 (𝑧 = (𝐹‘𝑥) → 𝑆 = 𝑈)
2 fnwe2.t . . . . . 6 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑈𝑦))}
3 fnwe2.s . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
43adantlr 728 . . . . . 6 (((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
5 fnwe2.f . . . . . . 7 (𝜑 → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
65adantr 486 . . . . . 6 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
7 fnwe2.r . . . . . . 7 (𝜑 → 𝑅 We 𝐵)
87adantr 486 . . . . . 6 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → 𝑅 We 𝐵)
9 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → 𝑎 ⊆ 𝐴)
10 simprr 785 . . . . . 6 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → 𝑎 ≠ ∅)
111, 2, 4, 6, 8, 9, 10fnwe2lem3 8184 . . . . 5 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐)
1211ex 418 . . . 4 (𝜑 → ((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
1312alrimiv 1962 . . 3 (𝜑 → ∀𝑎((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
14 df-fr 5611 . . 3 (𝑇 Fr 𝐴 ↔ ∀𝑎((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
1513, 14sylibr 237 . 2 (𝜑 → 𝑇 Fr 𝐴)
163adantlr 728 . . . 4 (((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) ∧ 𝑥 ∈ 𝐴) → 𝑈 We {𝑦 ∈ 𝐴 ∣ (𝐹‘𝑦) = (𝐹‘𝑥)})
175adantr 486 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → (𝐹 ↾ 𝐴):𝐴⟶𝐵)
187adantr 486 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → 𝑅 We 𝐵)
19 simprl 783 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → 𝑎 ∈ 𝐴)
20 simprr 785 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → 𝑏 ∈ 𝐴)
211, 2, 16, 17, 18, 19, 20fnwe2lem4 8185 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
2221ralrimivva 3209 . 2 (𝜑 → ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐴 (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
23 dfwe2 7820 . 2 (𝑇 We 𝐴 ↔ (𝑇 Fr 𝐴 ∧ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐴 (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎)))
2415, 22, 23sylanbrc 595 1 (𝜑 → 𝑇 We 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∨ w3o 1102  ∀wal 1568   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  {crab 3416   ⊆ wss 3900  ∅c0 4281   class class class wbr 5108  {copab 5173   Fr wfr 5608   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-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
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-nfc 2913  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-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  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-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574
This theorem is used by:  werankwe  35862  werankwe2  35863  aomclem4  44325
  Copyright terms: Public domain W3C validator