# Question 16313: Selected Edges Form a Matching Only When Endpoints Are Disjoint

[Return to catalogue page 82](https://ocme.evemisslab.com/en/questions/page/82/)

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261014-advance-20261101-r05-graph-matching-foundations/#q-20261014-advance-20261101-r05-graph-matching-0013)

This teaching derivation has second-context AI mathematical and bilingual semantic review, limited to the model and assumptions stated in this question. It has no human review or new Lean proof and does not promote the original question or MKO to Canonical truth.

R0031-16313 · q-20261014-advance-20261101-r05-graph-matching-0013



## Original question and givens

Use the complete finite undirected loop-free simple graph on Fin(6)={0,…,5} with canonical edges=[[0, 1], [1, 2], [1, 3], [2, 3]], endpoints increasing and the edge list lexicographically sorted. The source rejects noncanonical or duplicate edges. Select original edge indexes matching=[0, 3], sorted increasingly with duplicates forbidden. A matching has pairwise disjoint endpoints; the empty matching is allowed. Keep matching validity, maximality, maximum cardinality and perfect coverage distinct. Give (matching_indexes,matching_edges,conflicting_vertices,valid_matching?). List conflicting vertices in first-seen endpoint order while traversing the selected edges, not an invented numerical sort.


- G001 — Use the complete finite undirected loop-free simple graph on Fin(6)={0,…,5} with canonical edges=[[0, 1], [1, 2], [1, 3], [2, 3]], endpoints increasing and the edge list lexicographically sorted. The source rejects noncanonical or duplicate edges. Select original edge indexes matching=[0, 3], sorted increasingly with duplicates forbidden. A matching has pairwise disjoint endpoints; the empty matching is allowed. Keep matching validity, maximality, maximum cardinality and perfect coverage distinct. Give (matching_indexes,matching_edges,conflicting_vertices,valid_matching?). List conflicting vertices in first-seen endpoint order while traversing the selected edges, not an invented numerical sort.





## Definition and scope

Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate.


- [mko-graph-matching](https://ocme.evemisslab.com/en/mko/mko-graph-matching/)





## Step-by-step derivation

S001 · impliesBefore

complete original carrier Fin(6);original edge list=[[0, 1], [1, 2], [1, 3], [2, 3]]

After

input ALREADY has increasing endpoints and lexicographic edge order;loop-free unique edges=Yes;whole carrier=[0, 1, 2, 3, 4, 5]

Conditions: none

This family requires an already canonical input,not silent normalization of unsorted or reversed duplicate edges.Do not reuse the previous round's normalization guard.Edge indices bind to this original graph,and the complete carrier retains isolates.

Step identifiers and dependenciesRule: matching_original_canonical_graph_not_silent_normalization · Uses: G001





S002 · impliesBefore

matching:raw original-edge indices=[0, 3];original canonical edges=[[0, 1], [1, 2], [1, 3], [2, 3]]

After

sorted duplicate-free selected indices=[0, 3];selected edges=[[0, 1], [2, 3]]

Conditions: none

Sort the selected indices but reject duplicates and select only original edges.The empty matching is allowed.Do not invent edges from endpoint sets or confuse edge indices with vertex labels.

Step identifiers and dependenciesRule: matching_selected_original_edge_indexes_not_new_edges · Uses: G001, S001





S003 · calculationBefore

matching edge0 endpoint0 incidence := sum(0, 1)

After

matching edge0 endpoint0 incidence = 1

Conditions: none

Compute exactly from original field roles and established intermediates,retaining denominators,signs,indices and the complete carrier.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S002





S004 · calculationBefore

matching edge0 endpoint1 incidence := sum(0, 1)

After

matching edge0 endpoint1 incidence = 1

Conditions: none

Compute exactly from original field roles and established intermediates,retaining denominators,signs,indices and the complete carrier.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S003





S005 · impliesBefore

matching:selected original edge index=0;edge=[0, 1]

After

cumulative endpoint counts in first-seen order=[[0, 1], [1, 1]]

Conditions: none

Increment both endpoints of each selected edge.A count above1 is an endpoint conflict.Keep first-seen endpoint order instead of inventing a numerical sort for the conflict output.

Step identifiers and dependenciesRule: matching_every_selected_edge_endpoint_incidence · Uses: G001, S004





S006 · calculationBefore

matching edge3 endpoint2 incidence := sum(0, 1)

After

matching edge3 endpoint2 incidence = 1

Conditions: none

Compute exactly from original field roles and established intermediates,retaining denominators,signs,indices and the complete carrier.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S005





S007 · calculationBefore

matching edge3 endpoint3 incidence := sum(0, 1)

After

matching edge3 endpoint3 incidence = 1

Conditions: none

Compute exactly from original field roles and established intermediates,retaining denominators,signs,indices and the complete carrier.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S006





S008 · impliesBefore

matching:selected original edge index=3;edge=[2, 3]

After

cumulative endpoint counts in first-seen order=[[0, 1], [1, 1], [2, 1], [3, 1]]

Conditions: none

Increment both endpoints of each selected edge.A count above1 is an endpoint conflict.Keep first-seen endpoint order instead of inventing a numerical sort for the conflict output.

Step identifiers and dependenciesRule: matching_every_selected_edge_endpoint_incidence · Uses: G001, S007





S009 · impliesBefore

matching:final first-seen endpoint counts=[[0, 1], [1, 1], [2, 1], [3, 1]]

After

conflicting vertices first-seen=[];matched vertices sorted=[0, 1, 2, 3];matching valid=Yes

Conditions: none

Pairwise disjoint endpoints define a matching.An invalid selection may still cover many vertices.Coverage does not replace validity or prove maximality,maximum size or perfectness.

Step identifiers and dependenciesRule: matching_validity_separate_from_coverage_or_optimality · Uses: G001, S008









## Reverse checks


- S009 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S008 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S007 · premise_and_result_audit — Recompute matching edge3 endpoint3 incidence with exact rational arithmetic, not rounded decimals.
- S006 · premise_and_result_audit — Recompute matching edge3 endpoint2 incidence with exact rational arithmetic, not rounded decimals.
- S005 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S004 · premise_and_result_audit — Recompute matching edge0 endpoint1 incidence with exact rational arithmetic, not rounded decimals.
- S003 · premise_and_result_audit — Recompute matching edge0 endpoint0 incidence with exact rational arithmetic, not rounded decimals.
- S002 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
- S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.





## Result

([0, 3], [[0, 1], [2, 3]], [], Yes)

The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.





## This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: fcd3f9761331623119cadcbe81d28c4f014ff3233b306ecede24f304a1de48e1
- candidate record SHA-256: 44ded62c88a09f34e5077316d14b8f95508694f8a9c5af9d5b3bf66ba5bab62c
- semantic review receipt SHA-256: 55bb21783e2125ecf1e67e42f83fd25bec0ccd493f911f4bb937a5e9d6f9369a
- question-first witness SHA-256: 754ddf2a6039c5ef4aae78a538c6e9a1e9a58d4825aee194e869a27b8a4c95bb
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261014-advance-20261101-r05-graph-matching-0013.json)




