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

Theorem cusgrfilem2 26643
Description: Lemma 2 for cusgrfi 26645. (Contributed by Alexander van der Vekens, 13-Jan-2018.) (Revised by AV, 11-Nov-2020.)
Hypotheses
Ref Expression
cusgrfi.v 𝑉 = (Vtx‘𝐺)
cusgrfi.p 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})}
cusgrfi.f 𝐹 = (𝑥 ∈ (𝑉 ∖ {𝑁}) ↦ {𝑥, 𝑁})
Assertion
Ref Expression
cusgrfilem2 (𝑁𝑉𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃)
Distinct variable groups:   𝑥,𝐺   𝑁,𝑎,𝑥   𝑉,𝑎,𝑥   𝑥,𝑃
Allowed substitution hints:   𝑃(𝑎)   𝐹(𝑥,𝑎)   𝐺(𝑎)

Proof of Theorem cusgrfilem2
Dummy variables 𝑒 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eldifi 3894 . . . . 5 (𝑥 ∈ (𝑉 ∖ {𝑁}) → 𝑥𝑉)
2 id 22 . . . . 5 (𝑁𝑉𝑁𝑉)
3 prelpwi 5071 . . . . 5 ((𝑥𝑉𝑁𝑉) → {𝑥, 𝑁} ∈ 𝒫 𝑉)
41, 2, 3syl2anr 590 . . . 4 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} ∈ 𝒫 𝑉)
51adantl 473 . . . . 5 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → 𝑥𝑉)
6 eldifsni 4476 . . . . . . 7 (𝑥 ∈ (𝑉 ∖ {𝑁}) → 𝑥𝑁)
76adantl 473 . . . . . 6 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → 𝑥𝑁)
8 eqidd 2766 . . . . . 6 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} = {𝑥, 𝑁})
97, 8jca 507 . . . . 5 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁}))
10 id 22 . . . . . 6 (𝑥𝑉𝑥𝑉)
11 neeq1 2999 . . . . . . . 8 (𝑎 = 𝑥 → (𝑎𝑁𝑥𝑁))
12 preq1 4423 . . . . . . . . 9 (𝑎 = 𝑥 → {𝑎, 𝑁} = {𝑥, 𝑁})
1312eqeq2d 2775 . . . . . . . 8 (𝑎 = 𝑥 → ({𝑥, 𝑁} = {𝑎, 𝑁} ↔ {𝑥, 𝑁} = {𝑥, 𝑁}))
1411, 13anbi12d 624 . . . . . . 7 (𝑎 = 𝑥 → ((𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}) ↔ (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁})))
1514adantl 473 . . . . . 6 ((𝑥𝑉𝑎 = 𝑥) → ((𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}) ↔ (𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁})))
1610, 15rspcedv 3465 . . . . 5 (𝑥𝑉 → ((𝑥𝑁 ∧ {𝑥, 𝑁} = {𝑥, 𝑁}) → ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
175, 9, 16sylc 65 . . . 4 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁}))
18 cusgrfi.p . . . . . 6 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})}
1918eleq2i 2836 . . . . 5 ({𝑥, 𝑁} ∈ 𝑃 ↔ {𝑥, 𝑁} ∈ {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})})
20 eqeq1 2769 . . . . . . . 8 (𝑣 = {𝑥, 𝑁} → (𝑣 = {𝑎, 𝑁} ↔ {𝑥, 𝑁} = {𝑎, 𝑁}))
2120anbi2d 622 . . . . . . 7 (𝑣 = {𝑥, 𝑁} → ((𝑎𝑁𝑣 = {𝑎, 𝑁}) ↔ (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
2221rexbidv 3199 . . . . . 6 (𝑣 = {𝑥, 𝑁} → (∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
23 eqeq1 2769 . . . . . . . . 9 (𝑥 = 𝑣 → (𝑥 = {𝑎, 𝑁} ↔ 𝑣 = {𝑎, 𝑁}))
2423anbi2d 622 . . . . . . . 8 (𝑥 = 𝑣 → ((𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ (𝑎𝑁𝑣 = {𝑎, 𝑁})))
2524rexbidv 3199 . . . . . . 7 (𝑥 = 𝑣 → (∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁})))
2625cbvrabv 3348 . . . . . 6 {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})} = {𝑣 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑣 = {𝑎, 𝑁})}
2722, 26elrab2 3523 . . . . 5 ({𝑥, 𝑁} ∈ {𝑥 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁})} ↔ ({𝑥, 𝑁} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
2819, 27bitri 266 . . . 4 ({𝑥, 𝑁} ∈ 𝑃 ↔ ({𝑥, 𝑁} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁 ∧ {𝑥, 𝑁} = {𝑎, 𝑁})))
294, 17, 28sylanbrc 578 . . 3 ((𝑁𝑉𝑥 ∈ (𝑉 ∖ {𝑁})) → {𝑥, 𝑁} ∈ 𝑃)
3029ralrimiva 3113 . 2 (𝑁𝑉 → ∀𝑥 ∈ (𝑉 ∖ {𝑁}){𝑥, 𝑁} ∈ 𝑃)
31 simpl 474 . . . . . . . . . . 11 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → 𝑎𝑁)
3231anim2i 610 . . . . . . . . . 10 ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑎𝑉𝑎𝑁))
3332adantl 473 . . . . . . . . 9 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → (𝑎𝑉𝑎𝑁))
34 eldifsn 4472 . . . . . . . . 9 (𝑎 ∈ (𝑉 ∖ {𝑁}) ↔ (𝑎𝑉𝑎𝑁))
3533, 34sylibr 225 . . . . . . . 8 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → 𝑎 ∈ (𝑉 ∖ {𝑁}))
36 eqeq1 2769 . . . . . . . . . . . . . 14 (𝑒 = {𝑎, 𝑁} → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
3736adantl 473 . . . . . . . . . . . . 13 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
3837ad2antlr 718 . . . . . . . . . . . 12 (((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} ↔ {𝑎, 𝑁} = {𝑥, 𝑁}))
39 vex 3353 . . . . . . . . . . . . . 14 𝑎 ∈ V
40 vex 3353 . . . . . . . . . . . . . 14 𝑥 ∈ V
4139, 40preqr1 4531 . . . . . . . . . . . . 13 ({𝑎, 𝑁} = {𝑥, 𝑁} → 𝑎 = 𝑥)
4241equcomd 2116 . . . . . . . . . . . 12 ({𝑎, 𝑁} = {𝑥, 𝑁} → 𝑥 = 𝑎)
4338, 42syl6bi 244 . . . . . . . . . . 11 (((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} → 𝑥 = 𝑎))
4443adantll 705 . . . . . . . . . 10 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} → 𝑥 = 𝑎))
4512equcoms 2117 . . . . . . . . . . . . . . 15 (𝑥 = 𝑎 → {𝑎, 𝑁} = {𝑥, 𝑁})
4645eqeq2d 2775 . . . . . . . . . . . . . 14 (𝑥 = 𝑎 → (𝑒 = {𝑎, 𝑁} ↔ 𝑒 = {𝑥, 𝑁}))
4746biimpcd 240 . . . . . . . . . . . . 13 (𝑒 = {𝑎, 𝑁} → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
4847adantl 473 . . . . . . . . . . . 12 ((𝑎𝑁𝑒 = {𝑎, 𝑁}) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
4948adantl 473 . . . . . . . . . . 11 ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
5049ad2antlr 718 . . . . . . . . . 10 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑥 = 𝑎𝑒 = {𝑥, 𝑁}))
5144, 50impbid 203 . . . . . . . . 9 ((((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) ∧ 𝑥 ∈ (𝑉 ∖ {𝑁})) → (𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
5251ralrimiva 3113 . . . . . . . 8 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
5335, 52jca 507 . . . . . . 7 (((𝑁𝑉𝑒 ∈ 𝒫 𝑉) ∧ (𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁}))) → (𝑎 ∈ (𝑉 ∖ {𝑁}) ∧ ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
5453ex 401 . . . . . 6 ((𝑁𝑉𝑒 ∈ 𝒫 𝑉) → ((𝑎𝑉 ∧ (𝑎𝑁𝑒 = {𝑎, 𝑁})) → (𝑎 ∈ (𝑉 ∖ {𝑁}) ∧ ∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))))
5554reximdv2 3160 . . . . 5 ((𝑁𝑉𝑒 ∈ 𝒫 𝑉) → (∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁}) → ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
5655expimpd 445 . . . 4 (𝑁𝑉 → ((𝑒 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})) → ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎)))
57 eqeq1 2769 . . . . . . 7 (𝑥 = 𝑒 → (𝑥 = {𝑎, 𝑁} ↔ 𝑒 = {𝑎, 𝑁}))
5857anbi2d 622 . . . . . 6 (𝑥 = 𝑒 → ((𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ (𝑎𝑁𝑒 = {𝑎, 𝑁})))
5958rexbidv 3199 . . . . 5 (𝑥 = 𝑒 → (∃𝑎𝑉 (𝑎𝑁𝑥 = {𝑎, 𝑁}) ↔ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})))
6059, 18elrab2 3523 . . . 4 (𝑒𝑃 ↔ (𝑒 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉 (𝑎𝑁𝑒 = {𝑎, 𝑁})))
61 reu6 3554 . . . 4 (∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁} ↔ ∃𝑎 ∈ (𝑉 ∖ {𝑁})∀𝑥 ∈ (𝑉 ∖ {𝑁})(𝑒 = {𝑥, 𝑁} ↔ 𝑥 = 𝑎))
6256, 60, 613imtr4g 287 . . 3 (𝑁𝑉 → (𝑒𝑃 → ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁}))
6362ralrimiv 3112 . 2 (𝑁𝑉 → ∀𝑒𝑃 ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁})
64 cusgrfi.f . . 3 𝐹 = (𝑥 ∈ (𝑉 ∖ {𝑁}) ↦ {𝑥, 𝑁})
6564f1ompt 6571 . 2 (𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃 ↔ (∀𝑥 ∈ (𝑉 ∖ {𝑁}){𝑥, 𝑁} ∈ 𝑃 ∧ ∀𝑒𝑃 ∃!𝑥 ∈ (𝑉 ∖ {𝑁})𝑒 = {𝑥, 𝑁}))
6630, 63, 65sylanbrc 578 1 (𝑁𝑉𝐹:(𝑉 ∖ {𝑁})–1-1-onto𝑃)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384   = wceq 1652  wcel 2155  wne 2937  wral 3055  wrex 3056  ∃!wreu 3057  {crab 3059  cdif 3729  𝒫 cpw 4315  {csn 4334  {cpr 4336  cmpt 4888  1-1-ontowf1o 6067  cfv 6068  Vtxcvtx 26165
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pr 5062
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-ral 3060  df-rex 3061  df-reu 3062  df-rab 3064  df-v 3352  df-sbc 3597  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-op 4341  df-uni 4595  df-br 4810  df-opab 4872  df-mpt 4889  df-id 5185  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076
This theorem is referenced by:  cusgrfilem3  26644
  Copyright terms: Public domain W3C validator