Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition Monoid for DFA? #9

Open
subttle opened this issue Jun 1, 2019 · 1 comment
Open

Transition Monoid for DFA? #9

subttle opened this issue Jun 1, 2019 · 1 comment

Comments

@subttle
Copy link
Owner

subttle commented Jun 1, 2019

Is there a good way to represent the transition semigroup/monoid for DFA? I can think of a way to put all the induced functions q → q into a list for a given DFA q s but I'm not sure that would be helpful just yet.

This could come in handy for that later:

transition  (Finite q, Finite s)  DFA q s  s  (q  q)
transition (DFA δ _ _) σ = \q  δ (q, σ)

transitions  (Finite q, Finite s)  DFA q s  [s]  (q  q)
transitions m w = \q  delta' m (q, w)
@subttle
Copy link
Owner Author

subttle commented Jul 11, 2019

TODO: consider Endo's instances for Semigroup and Monoid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant