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

Theorem fnwe2 8149
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 8144 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 8147 . . . . 5 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐)
1211ex 418 . . . 4 (𝜑 → ((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
1312alrimiv 1960 . . 3 (𝜑 → ∀𝑎((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
14 df-fr 5604 . . 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 8148 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
2221ralrimivva 3206 . 2 (𝜑 → ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐴 (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
23 dfwe2 7788 . 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 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  {crab 3413   ⊆ wss 3899  ∅c0 4279   class class class wbr 5103  {copab 5167   Fr wfr 5601   We wwe 5603   ↾ cres 5653  ⟶wf 6534  ‘cfv 6538
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  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 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546
This theorem is used by:  werankwe  35739  aomclem4  44058
  Copyright terms: Public domain W3C validator