Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-28
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The cographs are exactly the P_4-free graphs

Statement

A finite graph is a cograph if and only if it is P4-free.

Facts & Assumptions

Given: A finite graph G.

[L1]

Every induced subgraph of a cograph is a cograph (Every induced subgraph of a cograph is a cograph).

[L2]

Every nontrivial cograph is disconnected or has disconnected complement (Every nontrivial cograph is disconnected or has disconnected complement).

[L3]

The four-vertex path P4 has vertices 0,1,2,3 and edges 01,12,23, and its complement has edges 02,03,13. Hence both P4 and P4 are connected (Empty and complete graphs, complete bipartite graphs, and the convention that Pn and Cn have n vertices, Connected graphs and connected components defined by the existence of vertex paths, Graph isomorphisms, automorphisms and graph complements).

[L4]

Every nontrivial P4-free graph is disconnected or its complement is disconnected (Every nontrivial P4-free graph is disconnected or has disconnected complement).

[F2]

Every induced subgraph of a P4-free graph is again P4-free, because an induced copy inside an induced subgraph is also an induced copy in the whole graph (H-free and F-free graphs under the induced-subgraph convention, Subgraphs, induced subgraphs and spanning subgraphs).

Proof

technique · induction on the order of a $P_4$-free graph
1.1

Suppose first that G is a cograph. If G had an induced copy of P4 on some vertex set X, then [L1] would make G[X] a cograph. But G[X] is isomorphic to P4, and [L3] shows that both P4 and its complement are connected, contradicting [L2]. Therefore every cograph is P4-free.

L1L2L3F1
1.2

For the converse, we prove by induction on n:=V(G) that every P4-free graph on n vertices is a cograph. If n1, then G is the null graph or a one-vertex graph, and the recursive definition makes it a cograph.

F1base
2.1

Assume now that n2 and that every smaller P4-free graph is a cograph. Because G is P4-free, [L4] gives that G is disconnected or G is disconnected.

step 1.2L4ih
3.1

If G is disconnected, choose a connected component C of G and let D:=V(G)C. Then C and D are nonempty, [L5] makes them anticomplete, and [F2] makes both G[C] and G[D] smaller P4-free graphs. By the induction hypothesis they are cographs, so G is their disjoint union and hence a cograph.

step 2.1L5F2ihchoose
3.2

If G is disconnected, choose an anticomponent C of G and let D:=V(G)C. Again C and D are nonempty, [L5] makes them complete to one another, and [F2] makes G[C] and G[D] smaller P4-free graphs. By the induction hypothesis they are cographs, so G is their complete connection and hence a cograph.

step 2.1L5F2ihchoose
4.1

Steps 3.1 and 3.2 close the induction, proving that every P4-free graph is a cograph. Together with step 1.1, this proves the equivalence.

step 1.1step 3.1step 3.2discharge-induction

Depends on

Used by

Dependency tree · two levels

27 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources