Step-by-step derivation
S001 · implies
Before
mod-count state=0;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(0+0) mod9=0
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001
S002 · implies
Before
mod-count state=0;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(0+1) mod9=1
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S001
S003 · implies
Before
mod-count state=1;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(1+0) mod9=1
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S002
S004 · implies
Before
mod-count state=1;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(1+1) mod9=2
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S003
S005 · implies
Before
mod-count state=2;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(2+0) mod9=2
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S004
S006 · implies
Before
mod-count state=2;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(2+1) mod9=3
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S005
S007 · implies
Before
mod-count state=3;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(3+0) mod9=3
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S006
S008 · implies
Before
mod-count state=3;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(3+1) mod9=4
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S007
S009 · implies
Before
mod-count state=4;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(4+0) mod9=4
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S008
S010 · implies
Before
mod-count state=4;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(4+1) mod9=5
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S009
S011 · implies
Before
mod-count state=5;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(5+0) mod9=5
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S010
S012 · implies
Before
mod-count state=5;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(5+1) mod9=6
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S011
S013 · implies
Before
mod-count state=6;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(6+0) mod9=6
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S012
S014 · implies
Before
mod-count state=6;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(6+1) mod9=7
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S013
S015 · implies
Before
mod-count state=7;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(7+0) mod9=7
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S014
S016 · implies
Before
mod-count state=7;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(7+1) mod9=8
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S015
S017 · implies
Before
mod-count state=8;original symbol=0;target symbol=1;indicator=0;modulus=9
After
next state=(8+0) mod9=8
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S016
S018 · implies
Before
mod-count state=8;original symbol=1;target symbol=1;indicator=1;modulus=9
After
next state=(8+1) mod9=0
Conditions: none
Increment only for the target symbol,otherwise by0,and reduce modulo the same modulus.Check every state-symbol cell,including wraparound from the last residue to0.
Step identifiers and dependencies
Rule: regular_mod_count_every_state_symbol_cell · Uses: G001, S017
S019 · implies
Before
states Fin(9);complete typed table=[[0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7], [7, 8], [8, 0]];start0;accepting residue=0
After
empty prefix count=0 equals start;append any symbol adds exactly its target indicator to BOTH count and state modulo the modulus
Conditions: none
Both count and state start at0.Appending any symbol updates both by the same indicator,so induction preserves state equal to target-symbol count modulo m for every prefix of every word.
Step identifiers and dependencies
Rule: regular_mod_count_all_prefix_induction_base_step · Uses: G001, S018
S020 · implies
Before
for EVERY finite word,state equals target-symbol count mod9;accepting set=[0]
After
accepted iff count congruent to0;whole declared language has this complete DFA certificate
Conditions: none
Final-state membership in the specified residue characterizes the entire declared language.This uses the complete DFA and universal invariant,not finite tests,and adds no regex,epsilon moves,minimization or pumping lemma.
Step identifiers and dependencies
Rule: regular_mod_count_language_characterized_not_test_suite · Uses: G001, S019
S021 · implies
Before
original test0:original ordered word=[];start=0
After
trace before consuming symbols=[0]
Conditions: none
Include the initial state.An empty word performs no transition;do not reorder symbols merely because a final answer might coincide.
Step identifiers and dependencies
Rule: regular_word_initial_state_empty_word_retained · Uses: G001, S020
S022 · calculation
Before
original test0 exact target-symbol indicator count := sum()
After
original test0 exact target-symbol indicator count = 0
Conditions: none
Compute exactly from original roles and established intermediates,retaining denominators,signs,coordinates and indices.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · implies
Before
original test0:original word=[];exact target count=0;final state=0;accepting residue=0
After
accepted=Yes;final state equals count modulo9
Conditions: none
Independently count original-symbol indicators and cross-check the final trace state.An empty word has empty sum0 and no invented transition.
Step identifiers and dependencies
Rule: regular_selected_word_count_reverse_check · Uses: G001, S022
S024 · implies
Before
original test1:original ordered word=[1, 1, 1, 0, 0];start=0
After
trace before consuming symbols=[0]
Conditions: none
Include the initial state.An empty word performs no transition;do not reorder symbols merely because a final answer might coincide.
Step identifiers and dependencies
Rule: regular_word_initial_state_empty_word_retained · Uses: G001, S023
S025 · implies
Before
original test1:word position=0;symbol=1;current state=0;complete original row=[0, 1]
After
next state=1;ordered prefix trace=[0, 1]
Conditions: none
Read one original symbol per lookup,using the state row and symbol column.Retain every intermediate state,including rejecting paths and the dead state.
Step identifiers and dependencies
Rule: regular_every_symbol_source_bound_transition · Uses: G001, S024
S026 · implies
Before
original test1:word position=1;symbol=1;current state=1;complete original row=[1, 2]
After
next state=2;ordered prefix trace=[0, 1, 2]
Conditions: none
Read one original symbol per lookup,using the state row and symbol column.Retain every intermediate state,including rejecting paths and the dead state.
Step identifiers and dependencies
Rule: regular_every_symbol_source_bound_transition · Uses: G001, S025
S027 · implies
Before
original test1:word position=2;symbol=1;current state=2;complete original row=[2, 3]
After
next state=3;ordered prefix trace=[0, 1, 2, 3]
Conditions: none
Read one original symbol per lookup,using the state row and symbol column.Retain every intermediate state,including rejecting paths and the dead state.
Step identifiers and dependencies
Rule: regular_every_symbol_source_bound_transition · Uses: G001, S026
S028 · implies
Before
original test1:word position=3;symbol=0;current state=3;complete original row=[3, 4]
After
next state=3;ordered prefix trace=[0, 1, 2, 3, 3]
Conditions: none
Read one original symbol per lookup,using the state row and symbol column.Retain every intermediate state,including rejecting paths and the dead state.
Step identifiers and dependencies
Rule: regular_every_symbol_source_bound_transition · Uses: G001, S027
S029 · implies
Before
original test1:word position=4;symbol=0;current state=3;complete original row=[3, 4]
After
next state=3;ordered prefix trace=[0, 1, 2, 3, 3, 3]
Conditions: none
Read one original symbol per lookup,using the state row and symbol column.Retain every intermediate state,including rejecting paths and the dead state.
Step identifiers and dependencies
Rule: regular_every_symbol_source_bound_transition · Uses: G001, S028
S030 · calculation
Before
original test1 exact target-symbol indicator count := sum(1, 1, 1, 0, 0)
After
original test1 exact target-symbol indicator count = 3
Conditions: none
Compute exactly from original roles and established intermediates,retaining denominators,signs,coordinates and indices.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · implies
Before
original test1:original word=[1, 1, 1, 0, 0];exact target count=3;final state=3;accepting residue=0
After
accepted=No;final state equals count modulo9
Conditions: none
Independently count original-symbol indicators and cross-check the final trace state.An empty word has empty sum0 and no invented transition.
Step identifiers and dependencies
Rule: regular_selected_word_count_reverse_check · Uses: G001, S030
S032 · implies
Before
original finite test rows in supplied order=[[[], Yes], [[1, 1, 1, 0, 0], No]]
After
test-suite sufficiency=No;finite_test_suite_not_regular_language_or_equivalence_certificate
Conditions: none
The test list may repeat words or be empty;retain supplied order.The No rejects inference from tests alone to full-language regularity/equivalence.It does not deny the separate explicit DFA/invariant certificate for this model.
Step identifiers and dependencies
Rule: regular_finite_tests_not_universal_language_certificate · Uses: G001, S031