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

Theorem fnwe2 8156
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 8151 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 8154 . . . . 5 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐)
1211ex 418 . . . 4 (𝜑 → ((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
1312alrimiv 1959 . . 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 8155 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
2221ralrimivva 3205 . 2 (𝜑 → ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐴 (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
23 dfwe2 7792 . 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 1567   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  {crab 3412   ⊆ wss 3896  ∅c0 4277   class class class wbr 5102  {copab 5166   Fr wfr 5601   We wwe 5603   ↾ cres 5653  ⟶wf 6539  ‘cfv 6543
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-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
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 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  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 6497  df-fun 6545  df-fn 6546  df-f 6547  df-fv 6551
This theorem is used by:  werankwe  35797  werankwe2  35798  aomclem4  44196
  Copyright terms: Public domain W3C validator