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

Added trace lookup functions #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added trace lookup functions #28

wants to merge 1 commit into from

Conversation

fresheed
Copy link
Collaborator

@fresheed fresheed commented May 4, 2023

Implemented an instance of Lookup nat (St * option (L * St)) (trace St L) for an easy access to ith transition in a trace.
An example usage included in this PR is a fact that in an mtrace_valid trace every pair of adjacent states is related by the model transition relation.
Also added Lookup nat St (trace St L) and Lookup nat L (trace St L) to access specifically states or labels. The lemma pred_at_trace_lookup expresses the correspondence between these lookups and existing pred_at predicate.

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