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

Theorem dfacycgr1 35176
Description: An alternate definition of the class of all acyclic graphs that requires all cycles to be trivial. (Contributed by BTernaryTau, 11-Oct-2023.)
Assertion
Ref Expression
dfacycgr1 AcyclicGraph = {𝑔 ∣ ∀𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 = ∅)}
Distinct variable group:   𝑓,𝑔,𝑝

Proof of Theorem dfacycgr1
StepHypRef Expression
1 df-acycgr 35175 . 2 AcyclicGraph = {𝑔 ∣ ¬ ∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 ≠ ∅)}
2 2exanali 1861 . . . 4 (¬ ∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝 ∧ ¬ 𝑓 = ∅) ↔ ∀𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 = ∅))
3 df-ne 2929 . . . . . 6 (𝑓 ≠ ∅ ↔ ¬ 𝑓 = ∅)
43anbi2i 623 . . . . 5 ((𝑓(Cycles‘𝑔)𝑝𝑓 ≠ ∅) ↔ (𝑓(Cycles‘𝑔)𝑝 ∧ ¬ 𝑓 = ∅))
542exbii 1850 . . . 4 (∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 ≠ ∅) ↔ ∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝 ∧ ¬ 𝑓 = ∅))
62, 5xchnxbir 333 . . 3 (¬ ∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 ≠ ∅) ↔ ∀𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 = ∅))
76abbii 2798 . 2 {𝑔 ∣ ¬ ∃𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 ≠ ∅)} = {𝑔 ∣ ∀𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 = ∅)}
81, 7eqtri 2754 1 AcyclicGraph = {𝑔 ∣ ∀𝑓𝑝(𝑓(Cycles‘𝑔)𝑝𝑓 = ∅)}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wal 1539   = wceq 1541  wex 1780  {cab 2709  wne 2928  c0 4283   class class class wbr 5091  cfv 6481  Cyclesccycls 29761  AcyclicGraphcacycgr 35174
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-9 2121  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-ne 2929  df-acycgr 35175
This theorem is referenced by:  isacycgr1  35178
  Copyright terms: Public domain W3C validator