Explore related knowledge and questions →

Question 23957: 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-23957 · q-20261014-advance-20261112-r07-subset-construction-nfa-to-dfa-0082

Original question and givens

Use complete epsilon-NFA states=[s6, m6, f6, e16, e26, d6], alphabet=[a6, b6], start=s6, final_states=[f6], transitions=[[s6, null, m6], [s6, null, d6], [m6, a6, m6], [m6, b6, f6], [f6, null, e16], [e16, null, e26]]. 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=[a6, a6, b6]. 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=[s6, m6, f6, e16, e26, d6], alphabet=[a6, b6], start=s6, final_states=[f6], transitions=[[s6, null, m6], [s6, null, d6], [m6, a6, m6], [m6, b6, f6], [f6, null, e16], [e16, null, e26]]. 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=[a6, a6, b6]. 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=[s6, m6, f6, e16, e26, d6],alphabet=[a6, b6],start=s6;ORIGINAL transition order=[[s6, null, m6], [s6, null, d6], [m6, a6, m6], [m6, b6, f6], [f6, null, e16], [e16, null, e26]]

After

final set normalized UTF16=[f6];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=[s6];previous set=[s6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, Yes], [1, s6, d6, Yes], [4, f6, e16, No], [5, e16, e26, No]];next set=[d6, m6, s6];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=[s6];previous set=[d6, m6, s6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, Yes], [1, s6, d6, Yes], [4, f6, e16, No], [5, e16, e26, No]];next set=[d6, m6, s6];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=[d6, m6, s6];symbol=a6;ALL matching ORIGINAL edge rows=[[2, m6, m6]]

After

direct symbol targets=[m6];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=[m6];previous set=[m6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, No], [1, s6, d6, No], [4, f6, e16, No], [5, e16, e26, No]];next set=[m6];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=[m6];symbol=a6;ALL matching ORIGINAL edge rows=[[2, m6, m6]]

After

direct symbol targets=[m6];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=[m6];previous set=[m6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, No], [1, s6, d6, No], [4, f6, e16, No], [5, e16, e26, No]];next set=[m6];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, S007

S009 · implies

Before

Subset DFA ORIGINAL prefix step2:EXACT ORIGINAL supplied S=[m6];symbol=b6;ALL matching ORIGINAL edge rows=[[3, m6, f6]]

After

direct symbol targets=[f6];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, S008

S010 · implies

Before

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

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, No], [1, s6, d6, No], [4, f6, e16, Yes], [5, e16, e26, No]];next set=[e16, f6];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, S009

S011 · implies

Before

Subset DFA ORIGINAL prefix step2 post-symbol EPS closure:stage=1;seed set=[f6];previous set=[e16, f6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, No], [1, s6, d6, No], [4, f6, e16, Yes], [5, e16, e26, Yes]];next set=[e16, e26, f6];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, S010

S012 · implies

Before

Subset DFA ORIGINAL prefix step2 post-symbol EPS closure:stage=2;seed set=[f6];previous set=[e16, e26, f6]

After

ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s6, m6, No], [1, s6, d6, No], [4, f6, e16, Yes], [5, e16, e26, Yes]];next set=[e16, e26, f6];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, S011

S013 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=0;previous configs=[[s6, 0]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]]];next configs=[[s6, 0], [m6, 0], [d6, 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, S012

S014 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=1;previous configs=[[s6, 0], [m6, 0], [d6, 0]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 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, S013

S015 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=2;previous configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]], [[m6, 1], 2, [m6, 2]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 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=[a6, a6, b6];direct NFA configuration stage=3;previous configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]], [[m6, 1], 2, [m6, 2]], [[m6, 2], 3, [f6, 3]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3]];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, S015

S017 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=4;previous configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]], [[m6, 1], 2, [m6, 2]], [[m6, 2], 3, [f6, 3]], [[f6, 3], 4, [e16, 3]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3], [e16, 3]];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, S016

S018 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=5;previous configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3], [e16, 3]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]], [[m6, 1], 2, [m6, 2]], [[m6, 2], 3, [f6, 3]], [[f6, 3], 4, [e16, 3]], [[e16, 3], 5, [e26, 3]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3], [e16, 3], [e26, 3]];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, S017

S019 · implies

Before

ORIGINAL word=[a6, a6, b6];direct NFA configuration stage=6;previous configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3], [e16, 3], [e26, 3]]

After

ALL enabled [from,ORIGINAL edge index,next] rows=[[[s6, 0], 0, [m6, 0]], [[s6, 0], 1, [d6, 0]], [[m6, 0], 2, [m6, 1]], [[m6, 1], 2, [m6, 2]], [[m6, 2], 3, [f6, 3]], [[f6, 3], 4, [e16, 3]], [[e16, 3], 5, [e26, 3]]];next configs=[[s6, 0], [m6, 0], [d6, 0], [m6, 1], [m6, 2], [f6, 3], [e16, 3], [e26, 3]];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, S018

S020 · implies

Before

ORIGINAL word=[a6, a6, b6];ALL DFA prefix subsets=[[d6, m6, s6], [m6], [m6], [e16, e26, f6]];independent direct NFA prefix subsets=[[d6, m6, s6], [m6], [m6], [e16, e26, f6]]

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, S019

Reverse checks

  • S020 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S019 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S018 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • 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

([a6, a6, b6], [[d6, m6, s6], [m6], [m6], [e16, e26, f6]], [[d6, m6, s6], [m6], [m6], [e16, e26, f6]], 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: 4ce4c67acf3df8d5d944a9715f9fcbc48529a4a37793a0904f97926e8093884f
  • candidate record SHA-256: e722542f6fc3de81b1e593cf07729179945b11776f5b97dca9586fea579029c9
  • semantic review receipt SHA-256: a7c0d888ade6d307703c4222c4137c78c0d2448babdcba2fa3446fe6fdd343c1
  • question-first witness SHA-256: c9571f97a37d503ad6a61034cc00108543a05c37ef246d1c4962f55136a3de02
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON