Explore related knowledge and questions →

Question 35214: Vertex Degree in a Simple Undirected Graph

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 177

← Question derivation index · Original question batch

R0069-35214 · q-20261003-advance-20261004-r04-graph-0064

Original question and givens

The finite simple undirected graph has V={1, 2, 3, 4} and E={{1, 2}, {2, 3}, {3, 4}}. There are no loops or multiple edges, and repeated representations of the same unordered edge count once. The vertex v=3 belongs to V. Find deg(v).

  • G001 — The finite simple undirected graph has V={1, 2, 3, 4} and E={{1, 2}, {2, 3}, {3, 4}}. There are no loops or multiple edges, and repeated representations of the same unordered edge count once. The vertex v=3 belongs to V. Find deg(v).

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.

Step-by-step derivation

S001 · implies

Before

source roles = [qf-simple-graph-degree, [E, V, operation, v]]

After

derived = [degree, no-invented-domain]

Conditions: none

Keep EACH bank’s keys/operation/domain distinct:LDL/PULSE/function legacy table underscores,TREE full tree_* with its declared domain,and permissive BASE signed without invented op/domain.All arithmetic respects the binary-primitive contract.

Step identifiers and dependencies

Rule: R69_SOURCE_specific_keys_operation_domain_AND_binary_contract · Uses: G001

S002 · implies

Before

source roles = [LDL graph vertices ORIGINAL, 100, [1, 2, 3, 4]]

After

derived = [[1, 2, 3, 4]]

Conditions: none

Type EVERY RAW SAFE label,distinctness and THIS bank’s cardinality bound;empty is allowed.Sort ONLY the derived representation,not original JSON.Do not exchange TREE and LDL limits.

Step identifiers and dependencies

Rule: Finite_RAW_ALL_SAFE_distinct_labels_then_derived_sort · Uses: G001, S001

S003 · implies

Before

source roles = [LDL raw edges ORIGINAL, 0, [1, 2]]

After

derived = [[1, 2]]

Conditions: none

BEFORE deduplication,type EACH RAW pair as EXACTLY TWO SAFE components.Identical rows may be representation duplicates,but no unvalidated cell may be silently discarded.

Step identifiers and dependencies

Rule: Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · Uses: G001, S002

S004 · implies

Before

source roles = [LDL raw edges ORIGINAL, 1, [2, 3]]

After

derived = [[2, 3]]

Conditions: none

BEFORE deduplication,type EACH RAW pair as EXACTLY TWO SAFE components.Identical rows may be representation duplicates,but no unvalidated cell may be silently discarded.

Step identifiers and dependencies

Rule: Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · Uses: G001, S003

S005 · implies

Before

source roles = [LDL raw edges ORIGINAL, 2, [3, 4]]

After

derived = [[3, 4]]

Conditions: none

BEFORE deduplication,type EACH RAW pair as EXACTLY TWO SAFE components.Identical rows may be representation duplicates,but no unvalidated cell may be silently discarded.

Step identifiers and dependencies

Rule: Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · Uses: G001, S004

S006 · implies

Before

source roles = [[1, 2, 3, 4], [[1, 2], [2, 3], [3, 4]], No]

After

derived = [[[1, 2], [2, 3], [3, 4]], [[1, [2]], [2, [1, 3]], [3, [2, 4]], [4, [3]]]]

Conditions: none

Type the WHOLE raw edge list,then normalize undirected endpoints/deduplicate;reversed duplicates are allowed.INPUT edges have no loops/outside endpoints,while isolated vertices stay in V.TREE raw E does NOT acquire LDL’s200-entry limit.

Step identifiers and dependencies

Rule: Graph_WHOLE_simple_undirected_edges_normalized_NO_loops_or_outside · Uses: G001, S005

S007 · implies

Before

source roles = [3, [1, 2, 3, 4]]

After

derived = [[2, 4], 2]

Conditions: none

A degree/neighbor QUERY first requires v∈V.Find distinct neighbors through ALL edges,not sketch crossings or raw duplicate rows.

Step identifiers and dependencies

Rule: Graph_QUERY_vertex_must_belong_V_complete_distinct_neighbors · Uses: G001, S006

Reverse checks

  • S007 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S006 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S005 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S004 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S003 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S002 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.
  • S001 · premise_and_result_audit — Reverse-audit THIS question’s ORIGINAL data,types,roles,complete premises and field order.Do not invert implication or turn finite-table checks into infinite-domain/formal proof.Original Q/English/MKO/AST/status remain unchanged.

Result

2

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: e2dd4575ffc8b069e6dc59574b14541055059b669bf82cc7b1e397176cadb504
  • candidate record SHA-256: 3eeb732ff99ae5934049e37edf6262ffeeafeacfd2fcb4ce3aa9df90d7bc32fa
  • semantic review receipt SHA-256: ccf93c72638d6abf6a412514da5838d55ecb09b71d0e4fdec2b559dc9fdee14b
  • question-first witness SHA-256: 11af9a338b5a610342b2cfb2ee295683131b3139ac402dd19b1ba1725976d518
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON