Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lfuhgr Structured version   Visualization version   GIF version

Theorem lfuhgr 32383
Description: A hypergraph is loop-free if and only if every edge connects at least two vertices. (Contributed by BTernaryTau, 15-Oct-2023.)
Hypotheses
Ref Expression
lfuhgr.1 𝑉 = (Vtx‘𝐺)
lfuhgr.2 𝐼 = (iEdg‘𝐺)
Assertion
Ref Expression
lfuhgr (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
Distinct variable groups:   𝑥,𝐺   𝑥,𝑉
Allowed substitution hint:   𝐼(𝑥)

Proof of Theorem lfuhgr
StepHypRef Expression
1 edgval 26830 . . . . 5 (Edg‘𝐺) = ran (iEdg‘𝐺)
2 lfuhgr.2 . . . . . 6 𝐼 = (iEdg‘𝐺)
32rneqi 5800 . . . . 5 ran 𝐼 = ran (iEdg‘𝐺)
41, 3eqtr4i 2846 . . . 4 (Edg‘𝐺) = ran 𝐼
54sseq1i 3988 . . 3 ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
62uhgrfun 26847 . . . . 5 (𝐺 ∈ UHGraph → Fun 𝐼)
7 fdmrn 6531 . . . . . 6 (Fun 𝐼𝐼:dom 𝐼⟶ran 𝐼)
8 fss 6520 . . . . . . 7 ((𝐼:dom 𝐼⟶ran 𝐼 ∧ ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}) → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
98ex 415 . . . . . 6 (𝐼:dom 𝐼⟶ran 𝐼 → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
107, 9sylbi 219 . . . . 5 (Fun 𝐼 → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
116, 10syl 17 . . . 4 (𝐺 ∈ UHGraph → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
12 frn 6513 . . . 4 (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
1311, 12impbid1 227 . . 3 (𝐺 ∈ UHGraph → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
145, 13syl5bb 285 . 2 (𝐺 ∈ UHGraph → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
15 uhgredgss 26912 . . . . 5 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ (𝒫 (Vtx‘𝐺) ∖ {∅}))
1615difss2d 4104 . . . 4 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ 𝒫 (Vtx‘𝐺))
17 lfuhgr.1 . . . . 5 𝑉 = (Vtx‘𝐺)
1817pweqi 4550 . . . 4 𝒫 𝑉 = 𝒫 (Vtx‘𝐺)
1916, 18sseqtrrdi 4011 . . 3 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ 𝒫 𝑉)
20 ssrab 4042 . . . 4 ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ((Edg‘𝐺) ⊆ 𝒫 𝑉 ∧ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2120baib 538 . . 3 ((Edg‘𝐺) ⊆ 𝒫 𝑉 → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2219, 21syl 17 . 2 (𝐺 ∈ UHGraph → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2314, 22bitr3d 283 1 (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1536  wcel 2113  wral 3137  {crab 3141  wss 3929  c0 4284  𝒫 cpw 4532  {csn 4560   class class class wbr 5059  dom cdm 5548  ran crn 5549  Fun wfun 6342  wf 6344  cfv 6348  cle 10669  2c2 11686  chash 13687  Vtxcvtx 26777  iEdgciedg 26778  Edgcedg 26828  UHGraphcuhgr 26837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3493  df-sbc 3769  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-pw 4534  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-fv 6356  df-edg 26829  df-uhgr 26839
This theorem is referenced by:  lfuhgr2  32384
  Copyright terms: Public domain W3C validator