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

Theorem 4cycl2vnunb 26544
 Description: In a 4-cycle, two distinct vertices have not a unique common neighbor. (Contributed by Alexander van der Vekens, 19-Nov-2017.)
Assertion
Ref Expression
4cycl2vnunb ((({𝐴, 𝐵} ∈ ran 𝐸 ∧ {𝐵, 𝐶} ∈ ran 𝐸) ∧ ({𝐶, 𝐷} ∈ ran 𝐸 ∧ {𝐷, 𝐴} ∈ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝑥,𝐸   𝑥,𝑉
Allowed substitution hint:   𝐷(𝑥)

Proof of Theorem 4cycl2vnunb
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 4cycl2v2nb 26543 . 2 ((({𝐴, 𝐵} ∈ ran 𝐸 ∧ {𝐵, 𝐶} ∈ ran 𝐸) ∧ ({𝐶, 𝐷} ∈ ran 𝐸 ∧ {𝐷, 𝐴} ∈ ran 𝐸)) → ({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸))
2 preq2 4213 . . . . . . . . . . . . . . . 16 (𝑥 = 𝐵 → {𝐴, 𝑥} = {𝐴, 𝐵})
3 preq1 4212 . . . . . . . . . . . . . . . 16 (𝑥 = 𝐵 → {𝑥, 𝐶} = {𝐵, 𝐶})
42, 3preq12d 4220 . . . . . . . . . . . . . . 15 (𝑥 = 𝐵 → {{𝐴, 𝑥}, {𝑥, 𝐶}} = {{𝐴, 𝐵}, {𝐵, 𝐶}})
54sseq1d 3595 . . . . . . . . . . . . . 14 (𝑥 = 𝐵 → ({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ↔ {{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸))
65anbi1d 737 . . . . . . . . . . . . 13 (𝑥 = 𝐵 → (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ↔ ({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸)))
7 neeq1 2844 . . . . . . . . . . . . 13 (𝑥 = 𝐵 → (𝑥𝑦𝐵𝑦))
86, 7anbi12d 743 . . . . . . . . . . . 12 (𝑥 = 𝐵 → ((({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦) ↔ (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝑦)))
9 preq2 4213 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐷 → {𝐴, 𝑦} = {𝐴, 𝐷})
10 preq1 4212 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐷 → {𝑦, 𝐶} = {𝐷, 𝐶})
119, 10preq12d 4220 . . . . . . . . . . . . . . 15 (𝑦 = 𝐷 → {{𝐴, 𝑦}, {𝑦, 𝐶}} = {{𝐴, 𝐷}, {𝐷, 𝐶}})
1211sseq1d 3595 . . . . . . . . . . . . . 14 (𝑦 = 𝐷 → ({{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸 ↔ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸))
1312anbi2d 736 . . . . . . . . . . . . 13 (𝑦 = 𝐷 → (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ↔ ({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸)))
14 neeq2 2845 . . . . . . . . . . . . 13 (𝑦 = 𝐷 → (𝐵𝑦𝐵𝐷))
1513, 14anbi12d 743 . . . . . . . . . . . 12 (𝑦 = 𝐷 → ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝑦) ↔ (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝐷)))
168, 15rspc2ev 3295 . . . . . . . . . . 11 ((𝐵𝑉𝐷𝑉 ∧ (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝐷)) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
17163expa 1257 . . . . . . . . . 10 (((𝐵𝑉𝐷𝑉) ∧ (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝐷)) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
1817expcom 450 . . . . . . . . 9 ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ 𝐵𝐷) → ((𝐵𝑉𝐷𝑉) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦)))
1918ex 449 . . . . . . . 8 (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) → (𝐵𝐷 → ((𝐵𝑉𝐷𝑉) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))))
2019com13 86 . . . . . . 7 ((𝐵𝑉𝐷𝑉) → (𝐵𝐷 → (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))))
21203impia 1253 . . . . . 6 ((𝐵𝑉𝐷𝑉𝐵𝐷) → (({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦)))
2221impcom 445 . . . . 5 ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
23 rexnal 2978 . . . . . 6 (∃𝑥𝑉 ¬ ∀𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ¬ ∀𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦))
24 rexnal 2978 . . . . . . . 8 (∃𝑦𝑉 ¬ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ¬ ∀𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦))
25 annim 440 . . . . . . . . . 10 ((({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ ¬ 𝑥 = 𝑦) ↔ ¬ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦))
26 df-ne 2782 . . . . . . . . . . . 12 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
2726bicomi 213 . . . . . . . . . . 11 𝑥 = 𝑦𝑥𝑦)
2827anbi2i 726 . . . . . . . . . 10 ((({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ ¬ 𝑥 = 𝑦) ↔ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
2925, 28bitr3i 265 . . . . . . . . 9 (¬ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
3029rexbii 3023 . . . . . . . 8 (∃𝑦𝑉 ¬ (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ∃𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
3124, 30bitr3i 265 . . . . . . 7 (¬ ∀𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ∃𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
3231rexbii 3023 . . . . . 6 (∃𝑥𝑉 ¬ ∀𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
3323, 32bitr3i 265 . . . . 5 (¬ ∀𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦) ↔ ∃𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) ∧ 𝑥𝑦))
3422, 33sylibr 223 . . . 4 ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∀𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦))
3534intnand 953 . . 3 ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ (∃𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ ∀𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦)))
36 preq2 4213 . . . . . 6 (𝑥 = 𝑦 → {𝐴, 𝑥} = {𝐴, 𝑦})
37 preq1 4212 . . . . . 6 (𝑥 = 𝑦 → {𝑥, 𝐶} = {𝑦, 𝐶})
3836, 37preq12d 4220 . . . . 5 (𝑥 = 𝑦 → {{𝐴, 𝑥}, {𝑥, 𝐶}} = {{𝐴, 𝑦}, {𝑦, 𝐶}})
3938sseq1d 3595 . . . 4 (𝑥 = 𝑦 → ({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ↔ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸))
4039reu4 3367 . . 3 (∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ↔ (∃𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ ∀𝑥𝑉𝑦𝑉 (({{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝑦}, {𝑦, 𝐶}} ⊆ ran 𝐸) → 𝑥 = 𝑦)))
4135, 40sylnibr 318 . 2 ((({{𝐴, 𝐵}, {𝐵, 𝐶}} ⊆ ran 𝐸 ∧ {{𝐴, 𝐷}, {𝐷, 𝐶}} ⊆ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸)
421, 41stoic3 1692 1 ((({𝐴, 𝐵} ∈ ran 𝐸 ∧ {𝐵, 𝐶} ∈ ran 𝐸) ∧ ({𝐶, 𝐷} ∈ ran 𝐸 ∧ {𝐷, 𝐴} ∈ ran 𝐸) ∧ (𝐵𝑉𝐷𝑉𝐵𝐷)) → ¬ ∃!𝑥𝑉 {{𝐴, 𝑥}, {𝑥, 𝐶}} ⊆ ran 𝐸)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977   ≠ wne 2780  ∀wral 2896  ∃wrex 2897  ∃!wreu 2898   ⊆ wss 3540  {cpr 4127  ran crn 5039 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-v 3175  df-un 3545  df-in 3547  df-ss 3554  df-sn 4126  df-pr 4128 This theorem is referenced by:  n4cyclfrgra  26545  4cyclusnfrgra  26546
 Copyright terms: Public domain W3C validator