| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > lfuhgr2 | Structured version Visualization version GIF version | ||
| Description: A hypergraph is loop-free if and only if every edge is not a loop. (Contributed by BTernaryTau, 15-Oct-2023.) |
| Ref | Expression |
|---|---|
| lfuhgr.1 | ⊢ 𝑉 = (Vtx‘𝐺) |
| lfuhgr.2 | ⊢ 𝐼 = (iEdg‘𝐺) |
| Ref | Expression |
|---|---|
| lfuhgr2 | ⊢ (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | lfuhgr.1 | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | lfuhgr.2 | . . 3 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 3 | 1, 2 | lfuhgr 29733 | . 2 ⊢ (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥))) |
| 4 | uhgredgn0 29713 | . . . . . . . . . 10 ⊢ ((𝐺 ∈ UHGraph ∧ 𝑥 ∈ (Edg‘𝐺)) → 𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅})) | |
| 5 | eldifsni 4749 | . . . . . . . . . 10 ⊢ (𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) → 𝑥 ≠ ∅) | |
| 6 | 4, 5 | syl 18 | . . . . . . . . 9 ⊢ ((𝐺 ∈ UHGraph ∧ 𝑥 ∈ (Edg‘𝐺)) → 𝑥 ≠ ∅) |
| 7 | hashneq0 14513 | . . . . . . . . . 10 ⊢ (𝑥 ∈ V → (0 < (♯‘𝑥) ↔ 𝑥 ≠ ∅)) | |
| 8 | 7 | elv 3455 | . . . . . . . . 9 ⊢ (0 < (♯‘𝑥) ↔ 𝑥 ≠ ∅) |
| 9 | 6, 8 | sylibr 237 | . . . . . . . 8 ⊢ ((𝐺 ∈ UHGraph ∧ 𝑥 ∈ (Edg‘𝐺)) → 0 < (♯‘𝑥)) |
| 10 | 9 | gt0ne0d 11885 | . . . . . . 7 ⊢ ((𝐺 ∈ UHGraph ∧ 𝑥 ∈ (Edg‘𝐺)) → (♯‘𝑥) ≠ 0) |
| 11 | hashxnn0 14488 | . . . . . . . . . 10 ⊢ (𝑥 ∈ V → (♯‘𝑥) ∈ ℕ0*) | |
| 12 | 11 | elv 3455 | . . . . . . . . 9 ⊢ (♯‘𝑥) ∈ ℕ0* |
| 13 | xnn0n0n1ge2b 13266 | . . . . . . . . 9 ⊢ ((♯‘𝑥) ∈ ℕ0* → (((♯‘𝑥) ≠ 0 ∧ (♯‘𝑥) ≠ 1) ↔ 2 ≤ (♯‘𝑥))) | |
| 14 | 12, 13 | ax-mp 5 | . . . . . . . 8 ⊢ (((♯‘𝑥) ≠ 0 ∧ (♯‘𝑥) ≠ 1) ↔ 2 ≤ (♯‘𝑥)) |
| 15 | 14 | biimpi 219 | . . . . . . 7 ⊢ (((♯‘𝑥) ≠ 0 ∧ (♯‘𝑥) ≠ 1) → 2 ≤ (♯‘𝑥)) |
| 16 | 10, 15 | stoic3 1808 | . . . . . 6 ⊢ ((𝐺 ∈ UHGraph ∧ 𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) ≠ 1) → 2 ≤ (♯‘𝑥)) |
| 17 | 16 | 3exp 1137 | . . . . 5 ⊢ (𝐺 ∈ UHGraph → (𝑥 ∈ (Edg‘𝐺) → ((♯‘𝑥) ≠ 1 → 2 ≤ (♯‘𝑥)))) |
| 18 | 17 | a2d 30 | . . . 4 ⊢ (𝐺 ∈ UHGraph → ((𝑥 ∈ (Edg‘𝐺) → (♯‘𝑥) ≠ 1) → (𝑥 ∈ (Edg‘𝐺) → 2 ≤ (♯‘𝑥)))) |
| 19 | 18 | ralimdv2 3171 | . . 3 ⊢ (𝐺 ∈ UHGraph → (∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1 → ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥))) |
| 20 | 1xr 11373 | . . . . 5 ⊢ 1 ∈ ℝ* | |
| 21 | hashxrcl 14506 | . . . . . 6 ⊢ (𝑥 ∈ V → (♯‘𝑥) ∈ ℝ*) | |
| 22 | 21 | elv 3455 | . . . . 5 ⊢ (♯‘𝑥) ∈ ℝ* |
| 23 | 1lt2 12520 | . . . . . 6 ⊢ 1 < 2 | |
| 24 | 2re 12422 | . . . . . . . 8 ⊢ 2 ∈ ℝ | |
| 25 | 24 | rexri 11372 | . . . . . . 7 ⊢ 2 ∈ ℝ* |
| 26 | xrltletr 13291 | . . . . . . 7 ⊢ ((1 ∈ ℝ* ∧ 2 ∈ ℝ* ∧ (♯‘𝑥) ∈ ℝ*) → ((1 < 2 ∧ 2 ≤ (♯‘𝑥)) → 1 < (♯‘𝑥))) | |
| 27 | 20, 25, 22, 26 | mp3an 1490 | . . . . . 6 ⊢ ((1 < 2 ∧ 2 ≤ (♯‘𝑥)) → 1 < (♯‘𝑥)) |
| 28 | 23, 27 | mpan 703 | . . . . 5 ⊢ (2 ≤ (♯‘𝑥) → 1 < (♯‘𝑥)) |
| 29 | xrltne 13297 | . . . . 5 ⊢ ((1 ∈ ℝ* ∧ (♯‘𝑥) ∈ ℝ* ∧ 1 < (♯‘𝑥)) → (♯‘𝑥) ≠ 1) | |
| 30 | 20, 22, 28, 29 | mp3an12i 1494 | . . . 4 ⊢ (2 ≤ (♯‘𝑥) → (♯‘𝑥) ≠ 1) |
| 31 | 30 | ralimi 3099 | . . 3 ⊢ (∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥) → ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1) |
| 32 | 19, 31 | impbid1 228 | . 2 ⊢ (𝐺 ∈ UHGraph → (∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1 ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥))) |
| 33 | 3, 32 | bitr4d 285 | 1 ⊢ (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 = wceq 1569 ∈ wcel 2144 ≠ wne 2955 ∀wral 3076 {crab 3412 Vcvv 3450 ∖ cdif 4044 ∅c0 4277 𝒫 cpw 4556 {csn 4584 class class class wbr 5102 dom cdm 5650 ⟶wf 6537 ‘cfv 6541 0cc0 11205 1c1 11206 ℝ*cxr 11347 < clt 11348 ≤ cle 11349 2c2 12402 ℕ0*cxnn0 12684 ♯chash 14479 Vtxcvtx 29581 iEdgciedg 29582 Edgcedg 29632 UHGraphcuhgr 29641 |
| 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-pow 5326 ax-pr 5390 ax-un 7753 ax-cnex 11261 ax-resscn 11262 ax-1cn 11263 ax-icn 11264 ax-addcl 11265 ax-addrcl 11266 ax-mulcl 11267 ax-mulrcl 11268 ax-mulcom 11269 ax-addass 11270 ax-mulass 11271 ax-distr 11272 ax-i2m1 11273 ax-1ne0 11274 ax-1rid 11275 ax-rnegex 11276 ax-rrecex 11277 ax-cnre 11278 ax-pre-lttri 11279 ax-pre-lttrn 11280 ax-pre-ltadd 11281 ax-pre-mulgt0 11282 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 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-nel 3062 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3848 df-ss 3897 df-pss 4013 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-int 4907 df-iun 4952 df-br 5103 df-opab 5167 df-mpt 5186 df-tr 5212 df-id 5545 df-eprel 5550 df-po 5558 df-so 5559 df-fr 5603 df-we 5605 df-xp 5656 df-rel 5657 df-cnv 5658 df-co 5659 df-dm 5660 df-rn 5661 df-res 5662 df-ima 5663 df-pred 6306 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6496 df-fun 6543 df-fn 6544 df-f 6545 df-f1 6546 df-fo 6547 df-f1o 6548 df-fv 6549 df-riota 7379 df-ov 7425 df-oprab 7426 df-mpo 7427 df-om 7880 df-1st 8003 df-2nd 8004 df-frecs 8304 df-wrecs 8335 df-recs 8384 df-rdg 8423 df-1o 8481 df-er 8722 df-en 8979 df-dom 8980 df-sdom 8981 df-fin 8982 df-card 10025 df-pnf 11350 df-mnf 11351 df-xr 11352 df-ltxr 11353 df-le 11354 df-sub 11548 df-neg 11549 df-nn 12341 df-2 12410 df-n0 12612 df-xnn0 12685 df-z 12699 df-uz 12971 df-fz 13645 df-hash 14480 df-edg 29633 df-uhgr 29643 |
| This theorem is used by: lfuhgr3 29735 |
| Copyright terms: Public domain | W3C validator |