Skip to content

Optimize Pre-Phase Unrolling in Meta-Automaton - #303

Merged
Nikil-Shyamsunder merged 1 commit into
mainfrom
pre-phase-unrolling
Aug 16, 2026
Merged

Optimize Pre-Phase Unrolling in Meta-Automaton#303
Nikil-Shyamsunder merged 1 commit into
mainfrom
pre-phase-unrolling

Conversation

@Nikil-Shyamsunder

@Nikil-Shyamsunder Nikil-Shyamsunder commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

previously, if given a finite pre-phase or set of possible pre-phase lengths, we were unrolling it all the way even when we didn't need to. This prevents that from happening. The details of when vs. when we don't need to unroll are in the automata-paper repo.

also make the examples better looking. I reccommend looking at steady_state_varying_pre_and_post_lengths
This has transaction "A" with a pre-phase that can take 1 or 2 cycles, and post phase of 1 cycle. And "S" with a pre-phase of 1 cycle and post phase of 2 cycles. This case shows how we enumerate fork vs. continue for certain numbers of cycles sometimes and not others to keep the automata small, and how bank rotation works in some pretty complicated cases.

image

@Nikil-Shyamsunder
Nikil-Shyamsunder force-pushed the pre-phase-unrolling branch 2 times, most recently from 4efb6b7 to 1296864 Compare August 16, 2026 18:40
@Nikil-Shyamsunder
Nikil-Shyamsunder marked this pull request as ready for review August 16, 2026 20:05
@Nikil-Shyamsunder
Nikil-Shyamsunder merged commit 53ed0b5 into main Aug 16, 2026
27 checks passed
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

Successfully merging this pull request may close these issues.

1 participant