Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Hypergraph

Tutorials

  • Hypergraph Rewriting

Guides

  • Hypergraph Functionality

Symbols

  • AdjacencyHypergraph
  • AdjacencyTensor
  • CanonicalHypergraph
  • CanonicalHypergraphRule
  • ConnectedHypergraphQ
  • CyclicEdge
  • EdgeListTagged
  • EdgeMultiplicity
  • EdgeSymmetry
  • EnumerateHypergraphRules
  • EnumerateHypergraphs
  • EnumerateOrderedHypergraphs
  • EnumerateWolframModelRules
  • HighlightRule
  • HyperedgeList
  • Hyperedge
  • Hyperedges
  • HyperedgesQ
  • Hypergraph3D
  • HypergraphArityReduce
  • HypergraphDraw
  • HypergraphEmbedding
  • HypergraphHadamardProduct
  • HypergraphIncidenceMatrix
  • HypergraphIncidence
  • HypergraphInsertionBracketDegree
  • HypergraphInsertionBracket
  • HypergraphInsertion
  • HypergraphLargeQ
  • Hypergraph
  • HypergraphQ
  • HypergraphRuleDraw
  • HypergraphRule
  • HypergraphRuleQ
  • HypergraphToGraph
  • HypergraphTransitionMatrix
  • HypergraphUnion
  • HypermatrixGraph
  • Hypermatrix
  • HypermatrixQ
  • IncidenceHypergraph
  • IsomorphicHypergraphQ
  • KoszulSign
  • LinkedHypergraph
  • OrderedHypergraphToGraph
  • RandomAllHypergraph
  • RandomConnectedHypergraph
  • RandomHypergraph
  • RandomHypergraphRule
  • SetHypergraphSummaryThresholds
  • SimpleHypergraph
  • SimpleHypergraphPlot3D
  • SimpleHypergraphPlot
  • SimpleHypergraphQ
  • ToLabeledEdges
  • ToLabeledPatternEdges
  • ToOrderedHypergraph
  • ToPatternRules
WolframInstitute`Hypergraph`
HypergraphInsertionBracket
​
HypergraphInsertionBracket
[hg1,hg2,…]
gives the graded antisymmetric insertion bracket of the hypergraphs hg1, hg2, …, as an association from resulting hypergraphs to integer coefficients.
​
​
HypergraphInsertionBracket
[assoc1,hg2,…]
extends the bracket linearly whenever an argument is given as an association <|hg -> c, …|>, representing a formal sum of hypergraphs.
​
Details and Options
▪
The bracket is an association representing the signed sum of all consecutive insertions, collected modulo isomorphism. For vertex insertion, a term has the form
±h
g
p
1
≺
v
p
1
(⋯≺(h
g
p
n-1
≺
v
p
n-1
h
g
p
n
)⋯)
, where
p
ranges over all permutations of the arguments and each insertion is summed over the admissible vertices of its target.
▪
The vertex insertion
hg
≺
v
h
′
g
identifies the vertex
v
of
hg
with the root of
h
′
g
, which by convention is the first vertex in
VertexList
[hg'].
▪
The sign is the product of the insertion sign, obtained by applying the Koszul convention to insertion on graded vertices, and the graded antisymmetrization sign of the permutation of the arguments. Each hypergraph is graded by its root-suspended vertex degree
hg
=deg(hg)-deg(root)
, where
deg(hg)
is the sum of the vertex degrees. See
HypergraphInsertionBracketDegree
.
▪
A vertex is admissible for insertion if its degree matches the degree of the root of the inserted hypergraph. Vertex degrees come from the
"Degree"
entry of
"VertexAnnotationRules"
and default to zero.
▪
The default isomorphism is an order-preserving bijection of vertices that induces a bijection of hyperedges. Isomorphic terms are collected by adding their coefficients, and terms with coefficient zero are discarded.
▪
For two homogeneous inputs in the graded construction, graded antisymmetry takes the form
[h
g
1
,h
g
2
]=-
h
g
1
h
g
2
(-1)
[h
g
2
,h
g
1
]
.
▪
The following option can be given:
option
default
effect
"Kind"
"Ordered"
which isomorphism classes of hypergraphs the bracket is computed on
▪
Possible settings for
"Kind"
include:
setting
hypergraphs
"Ordered"
hypergraphs with ordered vertices
"Rooted"
hypergraphs with a distinguished root vertex
"Tagged"
hypergraphs with a distinguished hyperedge
▪
The tagged insertion bracket is analogous to the rooted bracket, with insertion given by identification of hyperedges. The tagged edge, which takes the role of the root vertex, is the first edge in the edge list. Inserting a hypergraph into another sums over the target hyperedges of matching arity and the identifications allowed by the symmetry of the inserted hypergraph's tagged edge. The symmetry may be
"Unordered"
(the default),
"Ordered"
, or
"Cyclic"
.
▪
The ordered and rooted constructions use vertex grading. The rooted construction has a known limitation for mixed degrees. The tagged construction uses ordinary antisymmetrization.
Examples  
(7)
Basic Examples  
(2)
Compute the insertion bracket of a triangle and a single edge:
In[1]:=
DatasetKeyMapEdgeList,
HypergraphInsertionBracket

Hypergraph
[{{1,2,3}}],
Hypergraph
[{{1,2}}]
Out[1]=
{1,2}
{1,3,4}
1
{2,3}
{1,2,4}
1
{3,4}
{1,2,3}
1
{1,4}
{1,2,3}
-1
{1,2}
{2,3,4}
-1
​
The bracket of a hypergraph with itself vanishes:
In[1]:=
HypergraphInsertionBracket

Hypergraph
[{{1,2}}],
Hypergraph
[{{1,2}}]
Out[1]=

Scope  
(2)

Properties & Relations  
(2)

Possible Issues  
(1)

SeeAlso
HypergraphInsertionBracketDegree
 
▪
CanonicalHypergraph
 
▪
IsomorphicHypergraphQ
 
▪
Hypergraph
RelatedGuides
▪
Hypergraph Functionality
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com