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

Theorem fnwe2 8205
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 8200 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 8203 . . . . 5 ((𝜑 ∧ (𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅)) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐)
1211ex 418 . . . 4 (𝜑 → ((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
1312alrimiv 1969 . . 3 (𝜑 → ∀𝑎((𝑎 ⊆ 𝐴 ∧ 𝑎 ≠ ∅) → ∃𝑐 ∈ 𝑎 ∀𝑑 ∈ 𝑎 ¬ 𝑑𝑇𝑐))
14 df-fr 5619 . . 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 8204 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐴)) → (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
2221ralrimivva 3220 . 2 (𝜑 → ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐴 (𝑎𝑇𝑏 ∨ 𝑎 = 𝑏 ∨ 𝑏𝑇𝑎))
23 dfwe2 7839 . 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 1103  ∀wal 1570   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101  {crab 3423   ⊆ wss 3907  ∅c0 4288   class class class wbr 5116  {copab 5181   Fr wfr 5616   We wwe 5618   ↾ cres 5668  ⟶wf 6575  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fv 6587
This theorem is used by:  werankwe  35955  werankwe2  35956  aomclem4  44423
  Copyright terms: Public domain W3C validator