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

Theorem fnse 7945
Description: Condition for the well-order in fnwe 7944 to be set-like. (Contributed by Mario Carneiro, 25-Jun-2015.)
Hypotheses
Ref Expression
fnse.1 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
fnse.2 (𝜑𝐹:𝐴𝐵)
fnse.3 (𝜑𝑅 Se 𝐵)
fnse.4 (𝜑 → (𝐹𝑤) ∈ V)
Assertion
Ref Expression
fnse (𝜑𝑇 Se 𝐴)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑤,𝐵   𝑥,𝑤,𝑦,𝐹   𝜑,𝑤   𝑤,𝑅,𝑥,𝑦   𝑥,𝑆,𝑦   𝑤,𝑇
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑤)   𝐵(𝑥,𝑦)   𝑆(𝑤)   𝑇(𝑥,𝑦)

Proof of Theorem fnse
Dummy variables 𝑧 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnse.3 . . . . . . 7 (𝜑𝑅 Se 𝐵)
2 fnse.2 . . . . . . . 8 (𝜑𝐹:𝐴𝐵)
32ffvelrnda 6943 . . . . . . 7 ((𝜑𝑧𝐴) → (𝐹𝑧) ∈ 𝐵)
4 seex 5542 . . . . . . 7 ((𝑅 Se 𝐵 ∧ (𝐹𝑧) ∈ 𝐵) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
51, 3, 4syl2an2r 681 . . . . . 6 ((𝜑𝑧𝐴) → {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V)
6 snex 5349 . . . . . 6 {(𝐹𝑧)} ∈ V
7 unexg 7577 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∈ V ∧ {(𝐹𝑧)} ∈ V) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
85, 6, 7sylancl 585 . . . . 5 ((𝜑𝑧𝐴) → ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V)
9 imaeq2 5954 . . . . . . . . 9 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → (𝐹𝑤) = (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
109eleq1d 2823 . . . . . . . 8 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝐹𝑤) ∈ V ↔ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1110imbi2d 340 . . . . . . 7 (𝑤 = ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) → ((𝜑 → (𝐹𝑤) ∈ V) ↔ (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)))
12 fnse.4 . . . . . . 7 (𝜑 → (𝐹𝑤) ∈ V)
1311, 12vtoclg 3495 . . . . . 6 (({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V → (𝜑 → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V))
1413impcom 407 . . . . 5 ((𝜑 ∧ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ∈ V) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
158, 14syldan 590 . . . 4 ((𝜑𝑧𝐴) → (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ∈ V)
16 inss2 4160 . . . . . 6 (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝑇 “ {𝑧})
17 vex 3426 . . . . . . . . . 10 𝑤 ∈ V
1817eliniseg 5991 . . . . . . . . 9 (𝑧 ∈ V → (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧))
1918elv 3428 . . . . . . . 8 (𝑤 ∈ (𝑇 “ {𝑧}) ↔ 𝑤𝑇𝑧)
20 fveq2 6756 . . . . . . . . . . . 12 (𝑥 = 𝑤 → (𝐹𝑥) = (𝐹𝑤))
21 fveq2 6756 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝐹𝑦) = (𝐹𝑧))
2220, 21breqan12d 5086 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥)𝑅(𝐹𝑦) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
2320, 21eqeqan12d 2752 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → ((𝐹𝑥) = (𝐹𝑦) ↔ (𝐹𝑤) = (𝐹𝑧)))
24 breq12 5075 . . . . . . . . . . . 12 ((𝑥 = 𝑤𝑦 = 𝑧) → (𝑥𝑆𝑦𝑤𝑆𝑧))
2523, 24anbi12d 630 . . . . . . . . . . 11 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦) ↔ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)))
2622, 25orbi12d 915 . . . . . . . . . 10 ((𝑥 = 𝑤𝑦 = 𝑧) → (((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)) ↔ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
27 fnse.1 . . . . . . . . . 10 𝑇 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐴) ∧ ((𝐹𝑥)𝑅(𝐹𝑦) ∨ ((𝐹𝑥) = (𝐹𝑦) ∧ 𝑥𝑆𝑦)))}
2826, 27brab2a 5670 . . . . . . . . 9 (𝑤𝑇𝑧 ↔ ((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))))
292ffvelrnda 6943 . . . . . . . . . . . . . . . . 17 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐵)
3029adantrr 713 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝐹𝑤) ∈ 𝐵)
31 breq1 5073 . . . . . . . . . . . . . . . . 17 (𝑢 = (𝐹𝑤) → (𝑢𝑅(𝐹𝑧) ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3231elrab3 3618 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ 𝐵 → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3330, 32syl 17 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ↔ (𝐹𝑤)𝑅(𝐹𝑧)))
3433biimprd 247 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → ((𝐹𝑤)𝑅(𝐹𝑧) → (𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)}))
35 simpl 482 . . . . . . . . . . . . . . . 16 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) = (𝐹𝑧))
36 fvex 6769 . . . . . . . . . . . . . . . . 17 (𝐹𝑤) ∈ V
3736elsn 4573 . . . . . . . . . . . . . . . 16 ((𝐹𝑤) ∈ {(𝐹𝑧)} ↔ (𝐹𝑤) = (𝐹𝑧))
3835, 37sylibr 233 . . . . . . . . . . . . . . 15 (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)})
3938a1i 11 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧) → (𝐹𝑤) ∈ {(𝐹𝑧)}))
4034, 39orim12d 961 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)})))
41 elun 4079 . . . . . . . . . . . . 13 ((𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}) ↔ ((𝐹𝑤) ∈ {𝑢𝐵𝑢𝑅(𝐹𝑧)} ∨ (𝐹𝑤) ∈ {(𝐹𝑧)}))
4240, 41syl6ibr 251 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
43 simprl 767 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝑤𝐴)
4442, 43jctild 525 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
452ffnd 6585 . . . . . . . . . . . . 13 (𝜑𝐹 Fn 𝐴)
4645adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → 𝐹 Fn 𝐴)
47 elpreima 6917 . . . . . . . . . . . 12 (𝐹 Fn 𝐴 → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4846, 47syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})) ↔ (𝑤𝐴 ∧ (𝐹𝑤) ∈ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
4944, 48sylibrd 258 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝐴𝑧𝐴)) → (((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧)) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5049expimpd 453 . . . . . . . . 9 (𝜑 → (((𝑤𝐴𝑧𝐴) ∧ ((𝐹𝑤)𝑅(𝐹𝑧) ∨ ((𝐹𝑤) = (𝐹𝑧) ∧ 𝑤𝑆𝑧))) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5128, 50syl5bi 241 . . . . . . . 8 (𝜑 → (𝑤𝑇𝑧𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5219, 51syl5bi 241 . . . . . . 7 (𝜑 → (𝑤 ∈ (𝑇 “ {𝑧}) → 𝑤 ∈ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)}))))
5352ssrdv 3923 . . . . . 6 (𝜑 → (𝑇 “ {𝑧}) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5416, 53sstrid 3928 . . . . 5 (𝜑 → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5554adantr 480 . . . 4 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ⊆ (𝐹 “ ({𝑢𝐵𝑢𝑅(𝐹𝑧)} ∪ {(𝐹𝑧)})))
5615, 55ssexd 5243 . . 3 ((𝜑𝑧𝐴) → (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5756ralrimiva 3107 . 2 (𝜑 → ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
58 dfse2 5997 . 2 (𝑇 Se 𝐴 ↔ ∀𝑧𝐴 (𝐴 ∩ (𝑇 “ {𝑧})) ∈ V)
5957, 58sylibr 233 1 (𝜑𝑇 Se 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wral 3063  {crab 3067  Vcvv 3422  cun 3881  cin 3882  wss 3883  {csn 4558   class class class wbr 5070  {copab 5132   Se wse 5533  ccnv 5579  cima 5583   Fn wfn 6413  wf 6414  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-se 5536  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426
This theorem is referenced by:  r0weon  9699
  Copyright terms: Public domain W3C validator