Original question and givens
Use vertices=[s4, a4, t4, u4], ordered directed edges=[[s4, a4], [a4, s4], [a4, t4], [t4, a4]], distinct source=s4, sink=t4, aligned capacities=[25, 25, 25, 25] and candidate flows=[20, 10, 15, 5]. Vertices/edges must qualify; capacities are nonnegative. Candidate flows are not assumed feasible. Zip each edge with its own capacity/flow before sorting; never sort those arrays independently. Opposite directions remain distinct; loops and duplicate ordered edges are forbidden. Give (source, sink, edge_capacity_flow_rows, source_net_outflow, sink_net_inflow, net_values_equal, capacity_feasible, conservation_feasible, feasible, maximum_or_min_cut_certificate, boundary).
G001 — Use vertices=[s4, a4, t4, u4], ordered directed edges=[[s4, a4], [a4, s4], [a4, t4], [t4, a4]], distinct source=s4, sink=t4, aligned capacities=[25, 25, 25, 25] and candidate flows=[20, 10, 15, 5]. Vertices/edges must qualify; capacities are nonnegative. Candidate flows are not assumed feasible. Zip each edge with its own capacity/flow before sorting; never sort those arrays independently. Opposite directions remain distinct; loops and duplicate ordered edges are forbidden. Give (source, sink, edge_capacity_flow_rows, source_net_outflow, sink_net_inflow, net_values_equal, capacity_feasible, conservation_feasible, feasible, maximum_or_min_cut_certificate, boundary).
Step-by-step derivation
S001 · implies
Before
source roles = [flow-value-cross-check]
After
derived = [[source, sink, edge_capacity_flow_rows, source_net_outflow, sink_net_inflow, net_values_equal, capacity_feasible, conservation_feasible, feasible, maximum_or_min_cut_certificate, boundary]]
Conditions: none
List the source field order without JavaScript.Gradient boundary uses its original mode to choose6,8 or7 fields;no padding or answer-derived mode.
Step identifiers and dependencies
Rule: source_ordered_fields_without_JS · Uses: G001
S002 · implies
Before
source roles = [[s4, a4, t4, u4], [[s4, a4], [a4, s4], [a4, t4], [t4, a4]], [25, 25, 25, 25], [20, 10, 15, 5], s4, t4]
After
derived = [[a4, s4, t4, u4], [[[a4, s4], 25, 10], [[a4, t4], 25, 15], [[s4, a4], 25, 20], [[t4, a4], 25, 5]], 2, Yes]
Conditions: none
Zip edge,capacity and flow by original index before source English canonical-edge sorting;vertices use UTF16.Opposite directions are distinct,zero capacity and isolated vertices are legal,and negative flow is retained for capacity failure rather than rewritten.
Step identifiers and dependencies
Rule: Flow_zip_source_edges_capacities_flows_BEFORE_order · Uses: G001, S001
S003 · implies
Before
source roles = [0, [a4, s4], 10, 25]
After
derived = [Yes, Yes, Yes]
Conditions: none
Every directed edge needs0<=flow<=capacity.A qualified network signature does not imply candidate-flow feasibility.
Step identifiers and dependencies
Rule: Flow_EACH_edge_two_sided_capacity_obligation · Uses: G001, S002
S004 · implies
Before
source roles = [1, [a4, t4], 15, 25]
After
derived = [Yes, Yes, Yes]
Conditions: none
Every directed edge needs0<=flow<=capacity.A qualified network signature does not imply candidate-flow feasibility.
Step identifiers and dependencies
Rule: Flow_EACH_edge_two_sided_capacity_obligation · Uses: G001, S003
S005 · implies
Before
source roles = [2, [s4, a4], 20, 25]
After
derived = [Yes, Yes, Yes]
Conditions: none
Every directed edge needs0<=flow<=capacity.A qualified network signature does not imply candidate-flow feasibility.
Step identifiers and dependencies
Rule: Flow_EACH_edge_two_sided_capacity_obligation · Uses: G001, S004
S006 · implies
Before
source roles = [3, [t4, a4], 5, 25]
After
derived = [Yes, Yes, Yes]
Conditions: none
Every directed edge needs0<=flow<=capacity.A qualified network signature does not imply candidate-flow feasibility.
Step identifiers and dependencies
Rule: Flow_EACH_edge_two_sided_capacity_obligation · Uses: G001, S005
S007 · calculation
Before
Flow ALL incoming at vertex a4 := sum(20, 5)
After
Flow ALL incoming at vertex a4 = 25
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Flow ALL outgoing at vertex a4 := sum(10, 15)
After
Flow ALL outgoing at vertex a4 = 25
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
source roles = [a4, [2, 3], [0, 1]]
After
derived = [25, 25, Yes, Yes]
Conditions: none
Sum all incoming and outgoing edges separately;an isolated vertex has0=0.Conservation is required only internally,but compute source/sink balances too for net values.
Step identifiers and dependencies
Rule: Flow_EACH_vertex_complete_directional_incidence · Uses: G001, S008
S010 · calculation
Before
Flow ALL incoming at vertex s4 := sum(10)
After
Flow ALL incoming at vertex s4 = 10
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Flow ALL outgoing at vertex s4 := sum(20)
After
Flow ALL outgoing at vertex s4 = 20
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · implies
Before
source roles = [s4, [0], [2]]
After
derived = [10, 20, No, No]
Conditions: none
Sum all incoming and outgoing edges separately;an isolated vertex has0=0.Conservation is required only internally,but compute source/sink balances too for net values.
Step identifiers and dependencies
Rule: Flow_EACH_vertex_complete_directional_incidence · Uses: G001, S011
S013 · calculation
Before
Flow ALL incoming at vertex t4 := sum(15)
After
Flow ALL incoming at vertex t4 = 15
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Flow ALL outgoing at vertex t4 := sum(5)
After
Flow ALL outgoing at vertex t4 = 5
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
source roles = [t4, [1], [3]]
After
derived = [15, 5, No, No]
Conditions: none
Sum all incoming and outgoing edges separately;an isolated vertex has0=0.Conservation is required only internally,but compute source/sink balances too for net values.
Step identifiers and dependencies
Rule: Flow_EACH_vertex_complete_directional_incidence · Uses: G001, S014
S016 · calculation
Before
Flow ALL incoming at vertex u4 := sum()
After
Flow ALL incoming at vertex u4 = 0
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Flow ALL outgoing at vertex u4 := sum()
After
Flow ALL outgoing at vertex u4 = 0
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · implies
Before
source roles = [u4, [], []]
After
derived = [0, 0, Yes, Yes]
Conditions: none
Sum all incoming and outgoing edges separately;an isolated vertex has0=0.Conservation is required only internally,but compute source/sink balances too for net values.
Step identifiers and dependencies
Rule: Flow_EACH_vertex_complete_directional_incidence · Uses: G001, S017
S019 · calculation
Before
Flow source NET outflow not gross outgoing := sub(20, 10)
After
Flow source NET outflow not gross outgoing = 10
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Flow sink NET inflow not gross incoming := sub(15, 5)
After
Flow sink NET inflow not gross incoming = 10
Conditions: none
Substitute original roles and established intermediates exactly;check nonzero denominators and do not round.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · implies
Before
source roles = [s4, t4, [[[a4, s4], 10, 25, Yes], [[a4, t4], 15, 25, Yes], [[s4, a4], 20, 25, Yes], [[t4, a4], 5, 25, Yes]], [[a4, 25, 25, Yes], [u4, 0, 0, Yes]], 10, 10]
After
derived = [Yes, Yes, Yes, Yes, No]
Conditions: none
Every edge cancels in the sum of all vertex balances,so internal conservation implies equal source/sink net values.The converse fails when internal imbalances cancel.Capacity,each balance and net equality remain separate.Feasibility does not certify maximum/min-cut;No does not deny special optimal examples.
Step identifiers and dependencies
Rule: Flow_value_capacity_conservation_and_maximum_separate · Uses: G001, S020
Result
(s4, t4, [[[a4, s4], 25, 10], [[a4, t4], 25, 15], [[s4, a4], 25, 20], [[t4, a4], 25, 5]], 10, 10, Yes, Yes, Yes, Yes, No, feasible_flow_value_cross_check_does_not_claim_maximality_or_min_cut_equality)
The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.