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

Theorem 2wspmdisj 30947
Description: The sets of paths of length 2 with a given vertex in the middle are distinct for different vertices in the middle. (Contributed by Alexander van der Vekens, 11-Mar-2018.) (Revised by AV, 18-May-2021.) (Proof shortened by AV, 10-Jan-2022.)
Hypotheses
Ref Expression
frgrhash2wsp.v 𝑉 = (Vtx‘𝐺)
fusgreg2wsp.m 𝑀 = (𝑎 ∈ 𝑉 ↦ {𝑤 ∈ (2 WSPathsN 𝐺) ∣ (𝑤‘1) = 𝑎})
Assertion
Ref Expression
2wspmdisj Disj 𝑥 ∈ 𝑉 (𝑀‘𝑥)
Distinct variable groups:   𝐺,𝑎   𝑉,𝑎   𝑤,𝐺,𝑎,𝑥   𝑥,𝑉,𝑎,𝑤   𝑥,𝑀   𝑤,𝑉
Allowed substitution hints:   𝑀(𝑤, 𝑎)

Proof of Theorem 2wspmdisj
Dummy variables 𝑦 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 orc 881 . . . . 5 (𝑥 = 𝑦 → (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅))
21a1d 26 . . . 4 (𝑥 = 𝑦 → ((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) → (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅)))
3 frgrhash2wsp.v . . . . . . . . . . . . . 14 𝑉 = (Vtx‘𝐺)
4 fusgreg2wsp.m . . . . . . . . . . . . . 14 𝑀 = (𝑎 ∈ 𝑉 ↦ {𝑤 ∈ (2 WSPathsN 𝐺) ∣ (𝑤‘1) = 𝑎})
53, 4fusgreg2wsplem 30943 . . . . . . . . . . . . 13 (𝑦 ∈ 𝑉 → (𝑡 ∈ (𝑀‘𝑦) ↔ (𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦)))
65adantl 487 . . . . . . . . . . . 12 ((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) → (𝑡 ∈ (𝑀‘𝑦) ↔ (𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦)))
76adantr 486 . . . . . . . . . . 11 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ 𝑡 ∈ (𝑀‘𝑥)) → (𝑡 ∈ (𝑀‘𝑦) ↔ (𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦)))
83, 4fusgreg2wsplem 30943 . . . . . . . . . . . . . 14 (𝑥 ∈ 𝑉 → (𝑡 ∈ (𝑀‘𝑥) ↔ (𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑥)))
9 eqtr2 2781 . . . . . . . . . . . . . . . . . 18 (((𝑡‘1) = 𝑥 ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦)
109expcom 419 . . . . . . . . . . . . . . . . 17 ((𝑡‘1) = 𝑦 → ((𝑡‘1) = 𝑥 → 𝑥 = 𝑦))
1110adantl 487 . . . . . . . . . . . . . . . 16 ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → ((𝑡‘1) = 𝑥 → 𝑥 = 𝑦))
1211com12 33 . . . . . . . . . . . . . . 15 ((𝑡‘1) = 𝑥 → ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦))
1312adantl 487 . . . . . . . . . . . . . 14 ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑥) → ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦))
148, 13biimtrdi 256 . . . . . . . . . . . . 13 (𝑥 ∈ 𝑉 → (𝑡 ∈ (𝑀‘𝑥) → ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦)))
1514adantr 486 . . . . . . . . . . . 12 ((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) → (𝑡 ∈ (𝑀‘𝑥) → ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦)))
1615imp 412 . . . . . . . . . . 11 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ 𝑡 ∈ (𝑀‘𝑥)) → ((𝑡 ∈ (2 WSPathsN 𝐺) ∧ (𝑡‘1) = 𝑦) → 𝑥 = 𝑦))
177, 16sylbid 243 . . . . . . . . . 10 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ 𝑡 ∈ (𝑀‘𝑥)) → (𝑡 ∈ (𝑀‘𝑦) → 𝑥 = 𝑦))
1817con3d 153 . . . . . . . . 9 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ 𝑡 ∈ (𝑀‘𝑥)) → (¬ 𝑥 = 𝑦 → ¬ 𝑡 ∈ (𝑀‘𝑦)))
1918impancom 457 . . . . . . . 8 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ ¬ 𝑥 = 𝑦) → (𝑡 ∈ (𝑀‘𝑥) → ¬ 𝑡 ∈ (𝑀‘𝑦)))
2019ralrimiv 3153 . . . . . . 7 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ ¬ 𝑥 = 𝑦) → ∀𝑡 ∈ (𝑀‘𝑥) ¬ 𝑡 ∈ (𝑀‘𝑦))
21 disj 4402 . . . . . . 7 (((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅ ↔ ∀𝑡 ∈ (𝑀‘𝑥) ¬ 𝑡 ∈ (𝑀‘𝑦))
2220, 21sylibr 237 . . . . . 6 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ ¬ 𝑥 = 𝑦) → ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅)
2322olcd 888 . . . . 5 (((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) ∧ ¬ 𝑥 = 𝑦) → (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅))
2423expcom 419 . . . 4 (¬ 𝑥 = 𝑦 → ((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) → (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅)))
252, 24pm2.61i 184 . . 3 ((𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉) → (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅))
2625rgen2 3202 . 2 ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅)
27 fveq2 6890 . . 3 (𝑥 = 𝑦 → (𝑀‘𝑥) = (𝑀‘𝑦))
2827disjor 5084 . 2 (Disj 𝑥 ∈ 𝑉 (𝑀‘𝑥) ↔ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥 = 𝑦 ∨ ((𝑀‘𝑥) ∩ (𝑀‘𝑦)) = ∅))
2926, 28mpbir 234 1 Disj 𝑥 ∈ 𝑉 (𝑀‘𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144  ∀wral 3076  {crab 3412   ∩ cin 4088  ∅c0 4277  Disj wdisj 5069   ↦ cmpt 5185  ‘cfv 6543  (class class class)co 7424  1c1 11208  2c2 12404  Vtxcvtx 29583   WSPathsN cwwspthsn 30426
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-disj 5070  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6497  df-fun 6545  df-fv 6551  df-ov 7427
This theorem is used by:  fusgreghash2wsp  30948
  Copyright terms: Public domain W3C validator