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

Theorem frgrwopreglem5ALT 30950
Description: Alternate direct proof of frgrwopreglem5 30949, not using frgrwopreglem5a 30939. This proof would be even a little bit shorter than the proof of frgrwopreglem5 30949 without using frgrwopreglem5lem 30948. (Contributed by Alexander van der Vekens, 31-Dec-2017.) (Revised by AV, 3-Jan-2022.) (Proof shortened by AV, 5-Feb-2022.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
frgrwopreg.v 𝑉 = (Vtx‘𝐺)
frgrwopreg.d 𝐷 = (VtxDeg‘𝐺)
frgrwopreg.a 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
frgrwopreg.b 𝐵 = (𝑉 ∖ 𝐴)
frgrwopreg.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
frgrwopreglem5ALT ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
Distinct variable groups:   𝑥,𝑉   𝑥,𝐴   𝑥,𝐺   𝑥,𝐾   𝑥,𝐷   𝐴,𝑏   𝑥,𝐵   𝑦,𝐷   𝐺,𝑎,𝑏,𝑦,𝑥   𝑦,𝑉   𝐴,𝑎,𝑦   𝐵,𝑎,𝑏,𝑦   𝑥,𝐸,𝑎,𝑏
Allowed substitution hints:   𝐷(𝑎, 𝑏)   𝐸(𝑦)   𝐾(𝑦, 𝑎, 𝑏)   𝑉(𝑎, 𝑏)

Proof of Theorem frgrwopreglem5ALT
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 simpllr 788 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → 𝑎 ≠ 𝑥)
21anim1i 627 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦))
3 frgrwopreg.v . . . . . . . . . . . . . . . . . 18 𝑉 = (Vtx‘𝐺)
4 frgrwopreg.d . . . . . . . . . . . . . . . . . 18 𝐷 = (VtxDeg‘𝐺)
5 frgrwopreg.a . . . . . . . . . . . . . . . . . 18 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
6 frgrwopreg.b . . . . . . . . . . . . . . . . . 18 𝐵 = (𝑉 ∖ 𝐴)
7 frgrwopreg.e . . . . . . . . . . . . . . . . . 18 𝐸 = (Edg‘𝐺)
83, 4, 5, 6, 7frgrwopreglem4 30943 . . . . . . . . . . . . . . . . 17 (𝐺 ∈ FriendGraph → ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸)
9 preq1 4694 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑧 = 𝑎 → {𝑧, 𝑏} = {𝑎, 𝑏})
109eleq1d 2849 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑧 = 𝑎 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑏} ∈ 𝐸))
1110ralbidv 3189 . . . . . . . . . . . . . . . . . . . . . 22 (𝑧 = 𝑎 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸))
1211cbvralvw 3244 . . . . . . . . . . . . . . . . . . . . 21 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸)
13 rsp2 3283 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑎, 𝑏} ∈ 𝐸))
1413com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1514ad2ant2r 760 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑎, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1612, 15biimtrid 245 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑏} ∈ 𝐸))
1716imp 412 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑎, 𝑏} ∈ 𝐸)
18 prcom 4693 . . . . . . . . . . . . . . . . . . . 20 {𝑏, 𝑥} = {𝑥, 𝑏}
19 preq1 4694 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑧 = 𝑥 → {𝑧, 𝑏} = {𝑥, 𝑏})
2019eleq1d 2849 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑧 = 𝑥 → ({𝑧, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑏} ∈ 𝐸))
2120ralbidv 3189 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑧 = 𝑥 → (∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸))
2221cbvralvw 3244 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ↔ ∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸)
23 rsp2 3283 . . . . . . . . . . . . . . . . . . . . . . . 24 (∀𝑥 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑥, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2422, 23sylbi 220 . . . . . . . . . . . . . . . . . . . . . . 23 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → {𝑥, 𝑏} ∈ 𝐸))
2524com12 33 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑥 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2625ad2ant2lr 761 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑏} ∈ 𝐸))
2726imp 412 . . . . . . . . . . . . . . . . . . . 20 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑥, 𝑏} ∈ 𝐸)
2818, 27eqeltrid 2868 . . . . . . . . . . . . . . . . . . 19 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → {𝑏, 𝑥} ∈ 𝐸)
2917, 28jca 521 . . . . . . . . . . . . . . . . . 18 ((((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ ∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
3029expcom 419 . . . . . . . . . . . . . . . . 17 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
318, 30syl 18 . . . . . . . . . . . . . . . 16 (𝐺 ∈ FriendGraph → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
3231adantr 486 . . . . . . . . . . . . . . 15 ((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸)))
3332impl 461 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
3433adantr 486 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸))
35 preq2 4695 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → {𝑥, 𝑏} = {𝑥, 𝑦})
3635eleq1d 2849 . . . . . . . . . . . . . . . . . . . . . 22 (𝑏 = 𝑦 → ({𝑥, 𝑏} ∈ 𝐸 ↔ {𝑥, 𝑦} ∈ 𝐸))
3720, 36rspc2v 3590 . . . . . . . . . . . . . . . . . . . . 21 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3837ad2ant2l 759 . . . . . . . . . . . . . . . . . . . 20 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑥, 𝑦} ∈ 𝐸))
3938impcom 413 . . . . . . . . . . . . . . . . . . 19 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑥, 𝑦} ∈ 𝐸)
40 prcom 4693 . . . . . . . . . . . . . . . . . . . 20 {𝑦, 𝑎} = {𝑎, 𝑦}
41 preq2 4695 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑏 = 𝑦 → {𝑎, 𝑏} = {𝑎, 𝑦})
4241eleq1d 2849 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑏 = 𝑦 → ({𝑎, 𝑏} ∈ 𝐸 ↔ {𝑎, 𝑦} ∈ 𝐸))
4310, 42rspc2v 3590 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4443ad2ant2rl 762 . . . . . . . . . . . . . . . . . . . . 21 (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → {𝑎, 𝑦} ∈ 𝐸))
4544impcom 413 . . . . . . . . . . . . . . . . . . . 20 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑎, 𝑦} ∈ 𝐸)
4640, 45eqeltrid 2868 . . . . . . . . . . . . . . . . . . 19 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → {𝑦, 𝑎} ∈ 𝐸)
4739, 46jca 521 . . . . . . . . . . . . . . . . . 18 ((∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 ∧ ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵))) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
4847ex 418 . . . . . . . . . . . . . . . . 17 (∀𝑧 ∈ 𝐴 ∀𝑏 ∈ 𝐵 {𝑧, 𝑏} ∈ 𝐸 → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
498, 48syl 18 . . . . . . . . . . . . . . . 16 (𝐺 ∈ FriendGraph → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5049adantr 486 . . . . . . . . . . . . . . 15 ((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) → (((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5150impl 461 . . . . . . . . . . . . . 14 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
5251adantr 486 . . . . . . . . . . . . 13 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))
532, 34, 523jca 1146 . . . . . . . . . . . 12 (((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑏 ≠ 𝑦) → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
5453ex 418 . . . . . . . . . . 11 ((((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑏 ≠ 𝑦 → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5554reximdvva 3214 . . . . . . . . . 10 (((𝐺 ∈ FriendGraph ∧ 𝑎 ≠ 𝑥) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5655exp31 425 . . . . . . . . 9 (𝐺 ∈ FriendGraph → (𝑎 ≠ 𝑥 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5756com24 96 . . . . . . . 8 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))))
5857imp31 423 . . . . . . 7 (((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (𝑎 ≠ 𝑥 → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
5958reximdvva 3214 . . . . . 6 ((𝐺 ∈ FriendGraph ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
6059ex 418 . . . . 5 (𝐺 ∈ FriendGraph → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6160com13 89 . . . 4 (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦 → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))))
6261imp 412 . . 3 ((∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦) → (𝐺 ∈ FriendGraph → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
633, 4, 5, 6frgrwopreglem1 30940 . . . 4 (𝐴 ∈ V ∧ 𝐵 ∈ V)
64 hashgt12el 14591 . . . . . 6 ((𝐴 ∈ V ∧ 1 < (♯‘𝐴)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥)
6564ex 418 . . . . 5 (𝐴 ∈ V → (1 < (♯‘𝐴) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥))
66 hashgt12el 14591 . . . . . 6 ((𝐵 ∈ V ∧ 1 < (♯‘𝐵)) → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦)
6766ex 418 . . . . 5 (𝐵 ∈ V → (1 < (♯‘𝐵) → ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦))
6865, 67im2anan9 632 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦)))
6963, 68ax-mp 5 . . 3 ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 𝑎 ≠ 𝑥 ∧ ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 𝑏 ≠ 𝑦))
7062, 69syl11 34 . 2 (𝐺 ∈ FriendGraph → ((1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸))))
71703impib 1134 1 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑥} ∈ 𝐸) ∧ ({𝑥, 𝑦} ∈ 𝐸 ∧ {𝑦, 𝑎} ∈ 𝐸)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  {crab 3416  Vcvv 3454   ∖ cdif 4048  {cpr 4590   class class class wbr 5106  ‘cfv 6555  1c1 11225   < clt 11367  ♯chash 14498  Vtxcvtx 29601  Edgcedg 29652  VtxDegcvtxdg 30073   FriendGraph cfrgr 30886
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-1o 8501  df-2o 8502  df-oadd 8505  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-dju 10006  df-card 10044  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-nn 12360  df-2 12429  df-n0 12631  df-xnn0 12704  df-z 12718  df-uz 12990  df-xadd 13266  df-fz 13664  df-hash 14499  df-edg 29653  df-uhgr 29663  df-ushgr 29664  df-upgr 29687  df-umgr 29688  df-uspgr 29758  df-usgr 29759  df-nbgr 29941  df-vtxdg 30074  df-frgr 30887
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator