Papers
Topics
Authors
Recent
Search
2000 character limit reached

Ternary Graph: Concepts and Applications

Updated 7 July 2026
  • Ternary graphs are defined contextually, ranging from cycle-forbidding classes in combinatorial topology to bounded-degree graphs used in isomorphism algorithms.
  • They play a crucial role in bridging theoretical concepts with applications, including algebraic topology, molecular modeling, and dynamic graph representations.
  • These graphs connect classical graph parameters with practical measures, facilitating studies in domination invariants, simplicial complexes, and triadic interactions.

“Ternary graph” is not a single standardized term. In recent literature it denotes several non-equivalent objects: a graph with no induced cycles whose length is divisible by $3$; a connected graph with all nodes of degree at most $3$; graph encodings of genuinely ternary relations such as (u,p,c)(u,p,c) or of three interacting entities; and auxiliary graphs attached to ternary algebraic data such as smooth ternary quartics or ternary-adic dynamical systems (Eom et al., 1 Aug 2025, Mena et al., 2012, Lee et al., 2024, Xue et al., 26 Feb 2025, Vill, 2021, Lu et al., 20 May 2026). The term therefore requires local definition, and many apparent conflicts in the literature are terminological rather than mathematical.

1. Terminological scope and disambiguation

The principal usages appearing in the cited literature are summarized below.

Usage Defining property Representative source
Ternary graph No induced cycle CC_\ell with 0(mod3)\ell \equiv 0 \pmod 3 (Eom et al., 1 Aug 2025)
(0,1)(0,1)-ternary graph No induced cycle with 0\ell \equiv 0 or 1(mod3)1 \pmod 3 (Eom et al., 1 Aug 2025)
Ternary graph Connected graph with all nodes of degree at most $3$ (Mena et al., 2012)
Ternary relation graph Graph encoding of a relation on three units, often time-indexed (Lee et al., 2024)
Ternary graph in molecular modeling Three coupled graphs with cross-graph attention (Xue et al., 26 Feb 2025)

A further source of ambiguity is adjectival. In “ternary Hamming graphs” the adjective refers to the alphabet size q=3q=3, so $3$0 is not a member of the cycle-forbidding class above (Park et al., 2010). In the “Steiner graph” of a smooth ternary quartic, “ternary” refers to a quartic in three variables rather than to a graph class (Vill, 2021). In functional graphs over $3$1, “ternary” refers to the $3$2-adic component of the ring (Lu et al., 20 May 2026). By contrast, in the decision-diagram literature, ternary decision diagrams are not a graph class at all, but a three-branch representation with ZERO, POS, and NEG arcs (Nakahata et al., 2018).

This terminological spread suggests that “ternary graph” should be read contextually: as a hereditary graph class in topological combinatorics, as a bounded-degree class in isomorphism algorithms, or as a graph representation of arity-three interactions in modern applied work.

2. Ternary graphs as graphs with no induced $3$3

In structural and topological graph theory, a graph $3$4 is ternary if it has no induced cycle $3$5 whose length is divisible by $3$6, equivalently no induced $3$7. Throughout this literature, graphs are finite, simple, and undirected, and the relevant topological object is the independence complex

$3$8

Kim’s characterization states that $3$9 is ternary if and only if for every induced subgraph (u,p,c)(u,p,c)0 of (u,p,c)(u,p,c)1, (u,p,c)(u,p,c)2 is either contractible or homotopy equivalent to a sphere (Bayer et al., 26 Sep 2025).

The homological consequence was established by Zhang and Wu: if (u,p,c)(u,p,c)3 is ternary, then the total reduced Betti number

(u,p,c)(u,p,c)4

satisfies (u,p,c)(u,p,c)5 (Wu et al., 2020). This proves the Kalai–Meshulam conjecture in this setting and strengthens the parity statement (u,p,c)(u,p,c)6 by forcing the reduced homology of (u,p,c)(u,p,c)7 to be concentrated in at most one degree. The cycle examples are sharp: (u,p,c)(u,p,c)8 and (u,p,c)(u,p,c)9 are ternary and have CC_\ell0, whereas CC_\ell1 is not ternary and CC_\ell2 has the homotopy type CC_\ell3, so CC_\ell4 (Wu et al., 2020).

Faridi and Holleben recast this behavior in the language of spherical complexes. Independence complexes of ternary graphs are canonical examples of simplicial complexes for which every subcomplex obtained by links and deletions is either acyclic or spherical. In their formulation, a sign invariant decides contractibility, and when CC_\ell5 is noncontractible one has

CC_\ell6

together with algebraic equalities

CC_\ell7

and, in the noncontractible case,

CC_\ell8

(Faridi et al., 2023). This places ternary graphs at the intersection of hereditary graph theory, combinatorial topology, and Stanley–Reisner theory.

A common misconception is that forbidding induced cycles of length CC_\ell9 is merely a cycle-parity restriction. The cited results show it is much stronger: it rigidifies all induced-subgraph independence complexes into a contractible-or-spherical dichotomy, a phenomenon not shared by general triangle-free or chordal classes (Bayer et al., 26 Sep 2025, Faridi et al., 2023).

3. The 0(mod3)\ell \equiv 0 \pmod 30-ternary subclass, domination invariants, and planar flag spheres

A stricter class is obtained by forbidding induced cycles of lengths congruent to 0(mod3)\ell \equiv 0 \pmod 31 or 0(mod3)\ell \equiv 0 \pmod 32 modulo 0(mod3)\ell \equiv 0 \pmod 33. A graph 0(mod3)\ell \equiv 0 \pmod 34 is 0(mod3)\ell \equiv 0 \pmod 35-ternary if it has no induced cycle 0(mod3)\ell \equiv 0 \pmod 36 with 0(mod3)\ell \equiv 0 \pmod 37 or 0(mod3)\ell \equiv 0 \pmod 38; equivalently, it contains no cycles of these lengths at all (Eom et al., 1 Aug 2025). For this subclass, the contractible-or-sphere dichotomy can be refined to an exact dimension formula.

Let 0(mod3)\ell \equiv 0 \pmod 39 denote the sphere dimension when (0,1)(0,1)0 is spherical and (0,1)(0,1)1 when (0,1)(0,1)2 is contractible. If (0,1)(0,1)3 is (0,1)(0,1)4-ternary and (0,1)(0,1)5, then

(0,1)(0,1)6

equivalently

(0,1)(0,1)7

(Eom et al., 1 Aug 2025). Here (0,1)(0,1)8 is the independent domination number, (0,1)(0,1)9 is the domination number, and 0\ell \equiv 00 is the line graph. Thus the topological dimension is pinned to classical domination parameters. The examples are exact: 0\ell \equiv 01 yields 0\ell \equiv 02, 0\ell \equiv 03 yields 0\ell \equiv 04, and 0\ell \equiv 05 yields 0\ell \equiv 06. The role of the 0\ell \equiv 07 prohibition is essential, since 0\ell \equiv 08 is ternary but not 0\ell \equiv 09-ternary, and there the equality with domination numbers fails (Eom et al., 1 Aug 2025).

A second refinement concerns Gorenstein and well-covered behavior. For a ternary graph 1(mod3)1 \pmod 30 without isolated vertices and 1(mod3)1 \pmod 31, the following are equivalent: 1(mod3)1 \pmod 32 is homotopy equivalent to 1(mod3)1 \pmod 33; 1(mod3)1 \pmod 34 is a homology sphere; 1(mod3)1 \pmod 35 is Gorenstein; and 1(mod3)1 \pmod 36 is 1(mod3)1 \pmod 37-well-covered (Bayer et al., 26 Sep 2025). Since ternary graphs are triangle-free, this identifies top-dimensional spherical behavior with the 1(mod3)1 \pmod 38/1(mod3)1 \pmod 39-well-covered condition.

In the planar case the structure becomes especially rigid. Trung’s planar Gorenstein classification implies that planar ternary Gorenstein graphs are disjoint unions of the graphs $3$0, and for such graphs the independence complexes are boundaries of vertex decomposable simplicial polytopes (Bayer et al., 26 Sep 2025). More precisely, each $3$1 is obtained from the boundary of the $3$2-dimensional crosspolytope by a sequence of $3$3 edge subdivisions; joins preserve both polytopality and vertex decomposability. Their $3$4-polynomials satisfy

$3$5

with $3$6 and $3$7, and in the connected case coincide with Delannoy polynomials $3$8, hence are real-rooted (Bayer et al., 26 Sep 2025). The corresponding move graph under flag edge subdivisions and contractions is canonically isomorphic to the Hasse diagram of the partition refinement poset $3$9.

These planar results show that the cycle-forbidding definition of ternary graph is not merely prohibitive. In the Gorenstein regime it leads to a constructive family of flag spheres with explicit q=3q=30-vectors, a rigid move graph, and a direct bridge between graph structure and simplicial-polytope theory.

4. Bounded-degree, Hamming, and triadic-interaction usages

A completely different meaning appears in graph isomorphism after Luks. There a ternary graph is defined as a connected graph with all its nodes of degree at most q=3q=31 (Mena et al., 2012). This bounded-degree sense underlies a specialization of Luks’ automorphism-group machinery. The paper constructs, for two such graphs q=3q=32 and q=3q=33, an auxiliary graph q=3q=34, computes generators of q=3q=35 by a stabilizer-chain recursion over BFS layers around a distinguished edge, and proves that the resulting isomorphism algorithm runs in time q=3q=36. With implementation improvements, the reported practical behavior is q=3q=37, and the rooted phylogenetic-network adaptation runs in q=3q=38 (Mena et al., 2012). This “ternary” is degree-bounded, not cycle-forbidding.

Another adjectival usage appears in Hamming graphs. The ternary Hamming graph q=3q=39 has vertex set $3$00, edges joining vertices at Hamming distance $3$01, clique number $3$02, and exact competition number

$3$03

with $3$04, $3$05, and $3$06 (Park et al., 2010). Here “ternary” again refers to the alphabet size $3$07, not to the structural class of (Eom et al., 1 Aug 2025).

A third usage is process-based rather than classificatory. In the random graph model based on $3$08-interactions, the graph evolves by repeated selection of triples, with triangle, edge, and vertex weights reinforced at each step (Backhausz et al., 2011). If $3$09 is the weight of a vertex and

$3$10

then the participation probability of a vertex is

$3$11

the limiting weight proportions satisfy

$3$12

and the tail is scale free,

$3$13

Moreover, for each fixed vertex $3$14,

$3$15

(Backhausz et al., 2011). In this setting “ternary” is best understood as triadic interaction rather than as a static graph property.

These alternative meanings are mathematically legitimate but mutually independent. A bounded-degree ternary graph in the sense of (Mena et al., 2012) need not be ternary in the cycle-theoretic sense of (Eom et al., 1 Aug 2025), and a ternary Hamming graph in the sense of (Park et al., 2010) is neither definition by default.

5. Algebraic, convex-geometric, and dynamical graph constructions

In real algebraic geometry, the relevant object is the Steiner graph attached to the Gram spectrahedron of a smooth psd ternary quartic $3$16. Its vertices are the eight real psd rank-$3$17 Gram matrices, and two vertices are adjacent when the segment joining them lies on the boundary of the spectrahedron (Vill, 2021). The resulting graph is always

$3$18

The same paper shows that every smooth ternary quartic has faces of dimension $3$19 in its Gram spectrahedron, generically none of dimension $3$20, and that a generic psd ternary quartic contains points of all ranks in the Pataki interval $3$21 (Vill, 2021). The graph here is neither hereditary nor degree-bounded; it records adjacency among extremal sum-of-squares representations.

In arithmetic dynamics, a different graph arises from a permutation polynomial $3$22 acting on $3$23 or on $3$24. Each residue class is a vertex and the map $3$25 defines a directed edge (Lu et al., 20 May 2026). For $3$26, $3$27 is a permutation polynomial exactly when $3$28, so the functional graph is a node-disjoint union of cycles. Writing

$3$29

the paper gives explicit cycle counts in the residue classes $3$30 and $3$31. In the $3$32 classes, for $3$33, the graph contains $3$34 self-loops, $3$35 cycles of length $3$36, and $3$37 cycles of length $3$38; in the $3$39 class, the cycles have lengths $3$40 together with $3$41 cycles of length $3$42 and one self-loop, where $3$43 (Lu et al., 20 May 2026). The Chinese remainder theorem then combines binary and ternary components by taking cycle lengths $3$44 and multiplying cycle counts. This is a functional-graph notion of ternary, driven by $3$45-adic arithmetic.

These examples show that “ternary graph” can denote a graph attached to ternary data rather than a graph whose own combinatorial definition is ternary. The Steiner graph is induced by quartics in three variables, and the Chebyshev functional graph is induced by dynamics over powers of $3$46.

6. Ternary relations and three-body graph representations in machine learning

In temporal knowledge-graph modeling, ternary graph structure is literal arity-$3$47 structure. CAPER defines a career event on three mutually dependent units—user $3$48, position $3$49, and company $3$50—as a ternary relation

$3$51

and then temporalizes it to

$3$52

The temporal knowledge graph is a sequence of snapshots $3$53, where users and companies are nodes and positions are edge labels on undirected edges $3$54 (Lee et al., 2024). CAPER couples a timestamp-aware GCN with a recurrent evolution module and trains on the extrapolated career reasoning task. On a resume dataset spanning 1968–2020, it reports average gains of $3$55 in company prediction and $3$56 in position prediction over the best competitor, with company MRR $3$57 versus $3$58 and position MRR $3$59 versus $3$60 at $3$61 (Lee et al., 2024). In this usage, the graph is a representation of a ternary fact rather than a graph class defined by forbidden substructures.

DeepTernary uses the term in a three-body geometric sense. A ternary complex is modeled as three coupled graphs: $3$62 for one protein, $3$63 for the degrader, and $3$64 for the second protein, together with SE(3)-equivariant intra-graph message passing and ternary inter-graph attention (Xue et al., 26 Feb 2025). The model introduces a query-based Pocket Points Decoder, is trained on TernaryDB with $3$65 curated ternary complexes, and reports average DockQ $3$66 on the PROTAC benchmark and $3$67 on the MGD benchmark, with end-to-end inference of approximately $3$68 s on GPU for $3$69-seed PROTAC inference and under $3$70 s for a single-pass MGD prediction (Xue et al., 26 Feb 2025). Here the “ternary graph” is explicitly the combination of three entity graphs plus cross-graph attention.

This applied literature also clarifies a negative point. In graph partition enumeration with zero-suppressed and ternary decision diagrams, “ternary” refers to the three arc types ZERO, POS, and NEG, used to encode signed edge constraints; it does not define a ternary graph class (Nakahata et al., 2018). The same caution applies across the literature: “ternary” may describe arity, alphabet size, degree bound, modular base, or forbidden-cycle structure, and only the surrounding definitions determine which object is meant.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Ternary Graph.