Lift reference
A lift maps a path-complete graph to another one, and is valid for a template when the lifted graph is at least as good for it. refine applies lifts, and compare uses them to order two graphs. See Lifts.
The interface
PathCompleteCertificates.AbstractLift — Type
AbstractLiftAn operation on graphs: lift(L, G) is path-complete when G is, and at least as good as G for every template closed under requirements(L), since a certificate on G gives one on L(G). Lifts are the steps of refine, and order two graphs in compare: when L(G) simulates H, H is at least as good as G for the same templates.
PathCompleteCertificates.Lifted — Type
Lifted(graph, origins)The lifted graph and, for each of its nodes, what it stands for in the original: one node for a copy, a set of nodes for the min and max lifts, a multiset for the sum lift, a (node, word) pair for the composition lifts.
PathCompleteCertificates.get_graph — Method
get_graph(lifted)The lifted graph of a Lifted.
PathCompleteCertificates.is_valid — Method
is_valid(L, template, system) -> BoolWhether L(G) is at least as good as G for every path-complete G, for template on system. True when the template is closed under requirements(L), or its dual under requirements(dual(L)) on the dual system (Debauche, 2024; Prop. 7.5).
PathCompleteCertificates.lift — Function
lift(L, graph) -> Lifted
lift(L, graph, edges) -> Lifted
lift(L, graph, node) -> LiftedApply L to the whole graph, at each of the given edges, or at a node. A lift applied at edges is applied at every edge when none are given, and the splits are also applied at a node. A lift without the form asked for throws a MethodError.
PathCompleteCertificates.origins — Method
origins(lifted)What each node of a Lifted graph stands for in the original graph.
PathCompleteCertificates.requirements — Method
requirements(L) -> TupleThe Operations a template must be closed under for L to be valid on it. A lift that copies node functions or chains edge inequalities requires none.
PathCompleteCertificates.simulation — Method
simulation(L, G, H; optimizer = nothing)The simulation of H by lift(L, G), or nothing when there is none. It proves that H is at least as good as G for every template closed under requirements(L) (Philippe and Jungers, 2019; Thm. 3.5), (Debauche, 2024; Thms. 7.18, 7.55, 7.56, 7.65 and 7.66). optimizer is used by SumLift() only.
The operations a lift may require
PathCompleteCertificates.Addition — Type
Addition()Pointwise addition of node functions, required by SumLift.
PathCompleteCertificates.Composition — Type
Composition()Composition with the dynamics, V ∘ A_i, required by CompositionLift.
PathCompleteCertificates.InverseComposition — Type
InverseComposition()Composition with the inverse dynamics, V ∘ A_i⁻¹, required by BackwardCompositionLift.
PathCompleteCertificates.Maximum — Type
Maximum()Pointwise maximum of node functions, required by MaxLift.
PathCompleteCertificates.Minimum — Type
Minimum()Pointwise minimum of node functions, required by MinLift.
PathCompleteCertificates.Operation — Type
OperationAn operation on node functions that a template may be closed under (is_closed_under) and a lift may require (requirements).
The dual of a lift
PathCompleteCertificates.DualLift — Type
DualLift(L)The dual of the lift L: dual(L)(G) = dual(L(dual(G))), applied in the same forms as L.
Splits
PathCompleteCertificates.OutSplitLift — Type
OutSplitLift()Split a node into copies that each receive every incoming edge and own part of its outgoing edges, one copy per given edge.
lift(OutSplitLift(), graph, node)refines the forward lift of (Ninite and Jungers, 2026; Def. 3), which makes one copy per out-neighbour: one copy ofnodeper outgoing edge, owning that edge, andnodereplaced by its copies. A self-loop leaves the copy that owns it for every copy. Oncommon_graphit gives the dual ofde_bruijn(1, M), where the forward lift leaves the graph unchanged.lift(OutSplitLift(), graph, edges)is the partial P*-lift of (Athanasopoulos and Jungers, 2019; Def. 7) at each edge: one copy of its source owning that edge. A node whose outgoing edges are all given is replaced by its copies, so the lift at a node is the lift at its outgoing edges. Otherwise a given self-loop goes from its copy to the node.
Copies are numbered last. No requirement: each copy takes the function of the node it came from.
PathCompleteCertificates.InSplitLift — Type
InSplitLift()The dual of OutSplitLift: copies of a node that each leave by every outgoing edge and own part of its incoming edges. At a node it refines the backward lift of (Ninite and Jungers, 2026), one copy per incoming edge rather than per in-neighbour. At each given edge, it is the partial P-lift of (Athanasopoulos and Jungers, 2019; Def. 6), one copy of its destination.
PathCompleteCertificates.PathDependentLift — Type
PathDependentLift(k)The k-path-dependent lift of (Philippe et al., 2016; Def. 3), their M-path-dependent lifting: InSplitLift at every edge, k times. Its nodes are the paths of length k, and origins records the last node of each. From the common graph it is de_bruijn(k, n_modes) up to the numbering of the nodes.
Products
PathCompleteCertificates.ForwardProductLift — Type
ForwardProductLift()Replace each given edge (s, d, w) by the edges (s, d′, w·u) for every edge (d, d′, u), in a WordGraph on the same nodes: the partial T-lift of (Athanasopoulos and Jungers, 2019; Def. 4). Throws when d has no outgoing edge. No requirement: two chained edge inequalities imply the product's.
PathCompleteCertificates.BackwardProductLift — Type
BackwardProductLift()Replace each given edge (s, d, w) by the edges (s′, d, u·w) for every edge (s′, s, u): the partial T*-lift of (Athanasopoulos and Jungers, 2019; Def. 5), the dual of ForwardProductLift.
PathCompleteCertificates.ProductLift — Type
ProductLift(T)The T-product lift of (Philippe et al., 2016; Def. 2): the same nodes, and one edge per path of length T labelled by its word, as a WordGraph. Its own dual.
Combinations
PathCompleteCertificates.MinLift — Type
MinLift()Nodes are the nonempty subsets, with an i-edge from A to B when every node of A has an i-edge into B. Requires Minimum, except for linear copositive norms on positive systems (Debauche, 2024; Thm. 7.43). A map from the nodes of H into these subsets that keeps every edge is a simulation relation between H and G, so simulation(MinLift(), G, H) returns the greatest one without building the lift. Whether one exists decides the order for every template closed under minimum (Debauche, 2024; Thm. 8.1).
PathCompleteCertificates.MaxLift — Type
MaxLift()The dual of MinLift (Debauche, 2024; Lemma 7.45): nodes are the nonempty subsets, with an i-edge from A to B when every node of B is reached by an i-edge from A. Requires Maximum. Its simulation is the relation on the dual graphs, and decides the order for every template closed under maximum (Debauche, 2024; Thm. 8.5).
PathCompleteCertificates.SumLift — Type
SumLift(T)
SumLift()The T-sum lift: nodes are the multisets of T nodes, with an i-edge from P to Q when the i-edges from P to Q admit a perfect matching. SumLift() stands for every T at once and is never built: simulation(SumLift(), G, H; optimizer) decides it (Debauche, 2024; Thm. 7.35 and Cor. 8.11) and returns an integer matrix C such that C·V is a certificate on H whenever V is one on G (Philippe et al., 2019; Def. IV.2 and Thm. IV.4). Requires Addition.
Compositions
PathCompleteCertificates.CompositionLift — Type
CompositionLift(T)The T-forward composition lift: a node (s, j₁, …, j_T) per node s and T-tuple of modes, and for each edge (s, d, i) an edge labelled j_T from (s, j₁…j_T) to (d, i, j₁…j_{T−1}) (Debauche, 2024; Def. 7.58). Requires Composition.
PathCompleteCertificates.BackwardCompositionLift — Type
BackwardCompositionLift(T)The T-backward composition lift (Debauche, 2024; Def. 7.61), the dual of CompositionLift(T). Requires InverseComposition.
The identity
PathCompleteCertificates.IdentityLift — Type
IdentityLift()The lift that returns the graph. Its simulation proves that H is at least as good as G for every template (Philippe and Jungers, 2019; Thm. 3.5).
Comparing two graphs
PathCompleteCertificates.Comparison — Type
ComparisonWhat compare returns: the lifts tried, the simulations found and the templates proved.
PathCompleteCertificates.compare — Method
compare(G, H; templates = (), system = nothing, optimizer = nothing,
lifts = (IdentityLift(), MinLift(), MaxLift(), SumLift(),
CompositionLift(1), BackwardCompositionLift(1)))Whether H is at least as good as G, and for which of templates, as a Comparison. The lifts are tried in order, and the identity lift's simulation ends the search. The sum lift is tried only with an optimizer, and system is required when templates is nonempty. Both graphs need one mode per edge.
PathCompleteCertificates.lifts — Method
lifts(comparison)The lifts compare tried, in order.
PathCompleteCertificates.simulations — Method
simulations(comparison)The pairs lift => simulation, one per lift whose lifted first graph simulates the second.
PathCompleteCertificates.templates — Method
templates(comparison)The given templates for which the second graph is proved at least as good as the first.