Explore related knowledge and questions →

Question 23960: Each Recorded Prefix Subset Must Equal All Closed NFA Reachable States

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 120

← Question derivation index · Original question batch

R0046-23960 · q-20261014-advance-20261112-r07-subset-construction-nfa-to-dfa-0085

Original question and givens

Use complete epsilon-NFA states=[s9, m9, f9, e19, e29, d9], alphabet=[a9, b9], start=s9, final_states=[f9], transitions=[[s9, null, m9], [s9, null, d9], [m9, a9, m9], [m9, b9, f9], [f9, null, e19], [e19, null, e29]]. Each transition is [from,input symbol or null,to], with null consuming no input. States/labels and transitions must qualify, and subsets are unique carrier subsets sorted lexicographically. Empty alphabet/final sets and empty subset states are allowed. Supplied full input=[a9, b9]. Give (input, DFA_prefix_subsets, direct_NFA_prefix_subsets, prefix_invariant, accepted, certificate, finite_tests_language_equivalence_claim, boundary).

  • G001 — Use complete epsilon-NFA states=[s9, m9, f9, e19, e29, d9], alphabet=[a9, b9], start=s9, final_states=[f9], transitions=[[s9, null, m9], [s9, null, d9], [m9, a9, m9], [m9, b9, f9], [f9, null, e19], [e19, null, e29]]. Each transition is [from,input symbol or null,to], with null consuming no input. States/labels and transitions must qualify, and subsets are unique carrier subsets sorted lexicographically. Empty alphabet/final sets and empty subset states are allowed. Supplied full input=[a9, b9]. Give (input, DFA_prefix_subsets, direct_NFA_prefix_subsets, prefix_invariant, accepted, certificate, finite_tests_language_equivalence_claim, boundary).

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 operation=subsetdfa-full-word-trace-invariant;original snapshot and mathematics retained

After

explicit ordered source output fields=[input, DFA_prefix_subsets, direct_NFA_prefix_subsets, prefix_invariant, accepted, certificate, finite_tests_language_equivalence_claim, boundary]

Conditions: none

Keep the source snapshot while listing ordered fields without JavaScript.Radius uses its original mode to select6 or11 fields without padding;distinguish nonclaims from actual negations.

Step identifiers and dependencies

Rule: source_ordered_interface_explicit_without_javascript · Uses: G001

S002 · implies

Before

ORIGINAL states=[s9, m9, f9, e19, e29, d9],alphabet=[a9, b9],start=s9;ORIGINAL transition order=[[s9, null, m9], [s9, null, d9], [m9, a9, m9], [m9, b9, f9], [f9, null, e19], [e19, null, e29]]

After

final set normalized UTF16=[f9];states nonempty,alphabet/finals/relation MAYEMPTY;DUPLICATE triples rejected in THIS model

Conditions: none

This model differs from the earlier NFA node:transition triples are unique and finals are sorted.Subsets must be actual carrier subsets;do not import old duplicate/final-order conventions.

Step identifiers and dependencies

Rule: subsetdfa_qualified_NFA_signature_DUPLICATE_edges_REJECTED_here · Uses: G001, S001

S003 · implies

Before

Subset DFA ORIGINAL whole-word start:stage=0;seed set=[s9];previous set=[s9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, Yes], [1, s9, d9, Yes], [4, f9, e19, No], [5, e19, e29, No]];next set=[d9, m9, s9];stable=No

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S002

S004 · implies

Before

Subset DFA ORIGINAL whole-word start:stage=1;seed set=[s9];previous set=[d9, m9, s9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, Yes], [1, s9, d9, Yes], [4, f9, e19, No], [5, e19, e29, No]];next set=[d9, m9, s9];stable=Yes

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S003

S005 · implies

Before

Subset DFA ORIGINAL prefix step0:EXACT ORIGINAL supplied S=[d9, m9, s9];symbol=a9;ALL matching ORIGINAL edge rows=[[2, m9, m9]]

After

direct symbol targets=[m9];NO EPS preclosure inserted into S;now close ONLY these targets

Conditions: none

An arbitrary supplied S need not be EPS-closed;preclosing it would change this operation.Apply move(S,a) and then close its targets.Empty targets yield the legal empty dead state.

Step identifiers and dependencies

Rule: subsetdfa_GIVEN_S_symbol_move_BEFORE_closure_NO_preclose · Uses: G001, S004

S006 · implies

Before

Subset DFA ORIGINAL prefix step0 post-symbol EPS closure:stage=0;seed set=[m9];previous set=[m9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, No], [1, s9, d9, No], [4, f9, e19, No], [5, e19, e29, No]];next set=[m9];stable=Yes

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S005

S007 · implies

Before

Subset DFA ORIGINAL prefix step1:EXACT ORIGINAL supplied S=[m9];symbol=b9;ALL matching ORIGINAL edge rows=[[3, m9, f9]]

After

direct symbol targets=[f9];NO EPS preclosure inserted into S;now close ONLY these targets

Conditions: none

An arbitrary supplied S need not be EPS-closed;preclosing it would change this operation.Apply move(S,a) and then close its targets.Empty targets yield the legal empty dead state.

Step identifiers and dependencies

Rule: subsetdfa_GIVEN_S_symbol_move_BEFORE_closure_NO_preclose · Uses: G001, S006

S008 · implies

Before

Subset DFA ORIGINAL prefix step1 post-symbol EPS closure:stage=0;seed set=[f9];previous set=[f9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, No], [1, s9, d9, No], [4, f9, e19, Yes], [5, e19, e29, No]];next set=[e19, f9];stable=No

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S007

S009 · implies

Before

Subset DFA ORIGINAL prefix step1 post-symbol EPS closure:stage=1;seed set=[f9];previous set=[e19, f9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, No], [1, s9, d9, No], [4, f9, e19, Yes], [5, e19, e29, Yes]];next set=[e19, e29, f9];stable=No

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S008

S010 · implies

Before

Subset DFA ORIGINAL prefix step1 post-symbol EPS closure:stage=2;seed set=[f9];previous set=[e19, e29, f9]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s9, m9, No], [1, s9, d9, No], [4, f9, e19, Yes], [5, e19, e29, Yes]];next set=[e19, e29, f9];stable=Yes

Conditions: none

Each addition has a finite EPS predecessor path;every EPS-closed seed superset contains each stage.Finiteness gives the complete least closure,without consuming input.

Step identifiers and dependencies

Rule: subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · Uses: G001, S009

S011 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=0;previous configs=[[s9, 0]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]]];next configs=[[s9, 0], [m9, 0], [d9, 0]];stable=No

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S010

S012 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=1;previous configs=[[s9, 0], [m9, 0], [d9, 0]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]], [[m9, 0], 2, [m9, 1]]];next configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1]];stable=No

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S011

S013 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=2;previous configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]], [[m9, 0], 2, [m9, 1]], [[m9, 1], 3, [f9, 2]]];next configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2]];stable=No

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S012

S014 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=3;previous configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]], [[m9, 0], 2, [m9, 1]], [[m9, 1], 3, [f9, 2]], [[f9, 2], 4, [e19, 2]]];next configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2], [e19, 2]];stable=No

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S013

S015 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=4;previous configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2], [e19, 2]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]], [[m9, 0], 2, [m9, 1]], [[m9, 1], 3, [f9, 2]], [[f9, 2], 4, [e19, 2]], [[e19, 2], 5, [e29, 2]]];next configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2], [e19, 2], [e29, 2]];stable=No

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S014

S016 · implies

Before

ORIGINAL word=[a9, b9];direct NFA configuration stage=5;previous configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2], [e19, 2], [e29, 2]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s9, 0], 0, [m9, 0]], [[s9, 0], 1, [d9, 0]], [[m9, 0], 2, [m9, 1]], [[m9, 1], 3, [f9, 2]], [[f9, 2], 4, [e19, 2]], [[e19, 2], 5, [e29, 2]]];next configs=[[s9, 0], [m9, 0], [d9, 0], [m9, 1], [f9, 2], [e19, 2], [e29, 2]];stable=Yes

Conditions: none

Compute all reachable configurations in the finite state×input-position graph.Do not replace all states by one chosen run or simply repeat the same DFA routine as a different observation.

Step identifiers and dependencies

Rule: subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · Uses: G001, S015

S017 · implies

Before

ORIGINAL word=[a9, b9];ALL DFA prefix subsets=[[d9, m9, s9], [m9], [e19, e29, f9]];independent direct NFA prefix subsets=[[d9, m9, s9], [m9], [e19, e29, f9]]

After

prefix_invariant=Yes;accepted=Yes;base is EPS closure of start;for ANY prefix,append one symbol move then finite EPS suffix to obtain EXACTLY all next reachable states

Conditions: none

General equivalence uses arbitrary-prefix induction with both inclusions:every DFA move has an NFA path witness,and any NFA path for the next prefix decomposes into prior prefix,symbol edge and EPS suffix.Intersection with finals then corresponds to a full accepting run.The fixed No only withholds general equivalence from finite word tests alone;it negates neither this invariant/acceptance nor the theorem.

Step identifiers and dependencies

Rule: subsetdfa_GENERAL_arbitrary_prefix_two_inclusions_acceptance_rule · Uses: G001, S016

Reverse checks

  • S017 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S016 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S015 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S014 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S013 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S012 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S011 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S010 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • 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 — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S006 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • 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 — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S003 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • 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

([a9, b9], [[d9, m9, s9], [m9], [e19, e29, f9]], [[d9, m9, s9], [m9], [e19, e29, f9]], Yes, Yes, each_DFA_prefix_subset_equals_all_epsilon_closed_NFA_states_reachable_after_that_prefix, No, finite_word_tests_do_not_prove_language_equivalence_without_the_prefix_induction_invariant)

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: 26a87ec662415eaa2428c09dce3590474f42a48aed9fccd157ddc389bccef42b
  • candidate record SHA-256: 943469a593785bffa13ff3a2b995a40f4e2618c1b047eea1ec88c4c828f5f2b2
  • semantic review receipt SHA-256: a7c0d888ade6d307703c4222c4137c78c0d2448babdcba2fa3446fe6fdd343c1
  • question-first witness SHA-256: c9571f97a37d503ad6a61034cc00108543a05c37ef246d1c4962f55136a3de02
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON