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

paperify spec #1849

Merged
merged 5 commits into from
Apr 5, 2024
Merged

paperify spec #1849

merged 5 commits into from
Apr 5, 2024

Conversation

andres-erbsen
Copy link
Contributor

@andres-erbsen andres-erbsen commented Apr 4, 2024

Definition protocol_step : state -> list _ -> state -> Prop. Admitted.
Definition protocol_spec t := exists s s', labeled_transitions protocol_step s s' t.
Definition io_spec : list LogItem -> Prop := only_mmio_satisfying (boot_seq +++ protocol_spec).

Definition initial_conditions mach := 0x20400000 = mach.(getPc) /\ [] = mach.(getLog) /\ ... .
Theorem garagedoor_correct : forall mach : RiscvMachine, initial_conditions mach ->
  always run1 (eventually run1 (fun mach' => io_spec mach'.(getLog))) mach.

@andres-erbsen

This comment was marked as resolved.

@andres-erbsen andres-erbsen merged commit d31b3a3 into mit-plv:master Apr 5, 2024
39 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