Built with Alectryon, running Coq+SerAPI v8.20.0+0.20.0. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use ⌘ instead of Ctrl.
[Loading ML file ssrmatching_plugin.cmxs (using legacy method) ... done]
[Loading ML file ssreflect_plugin.cmxs (using legacy method) ... done]
[Loading ML file ring_plugin.cmxs (using legacy method) ... done]
Serlib plugin: coq-elpi.elpi is not available: serlib support is missing.
Incremental checking for commands in this plugin will be impacted.
[Loading ML file coq-elpi.elpi ... done]
[Loading ML file zify_plugin.cmxs (using legacy method) ... done]
[Loading ML file micromega_core_plugin.cmxs (using legacy method) ... done]
[Loading ML file micromega_plugin.cmxs (using legacy method) ... done]
[Loading ML file btauto_plugin.cmxs (using legacy method) ... done]
Notation"_ + _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ - _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ <= _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ < _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ >= _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ > _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
Notation"_ <= _ <= _" was already used in scope
nat_scope. [notation-overridden,parsing,default]
Notation"_ < _ <= _" was already used in scope
nat_scope. [notation-overridden,parsing,default]
Notation"_ <= _ < _" was already used in scope
nat_scope. [notation-overridden,parsing,default]
Notation"_ < _ < _" was already used in scope
nat_scope. [notation-overridden,parsing,default]
Notation"_ * _" was already used in scope nat_scope.
[notation-overridden,parsing,default]
(** This file provides an operation that transforms a finite prefix of a given schedule by applying a point-wise transformation to each instant up to a given horizon. *)SectionSchedulePrefixMap.(** For any type of jobs and... *)Context {Job : JobType}.(** ... any given type of processor states ... *)Context {PState: ProcessorState Job}.(** ... we define a procedure that applies a given function to every point in a given finite prefix of the schedule. The point-wise transformation f is given a schedule and the point to transform, and must yield a transformed schedule that is used in subsequent operations. *)Fixpointprefix_map
(sched: schedule PState)
(f: schedule PState -> instant -> schedule PState)
(horizon: instant) :=
match horizon with
| 0 => sched
| S t =>
letprefix := prefix_map sched f t
in f prefix t
end.(** We provide a utility lemma that establishes that, if the point-wise transformation maintains a given property of the original schedule, then the prefix_map does so as well. *)SectionPropertyPreservation.(** Given any property of schedules... *)VariableP: schedule PState -> Prop.(** ...and a point-wise transformation [f],... *)Variablef: schedule PState -> instant -> schedule PState.(** ...if [f] maintains property [P],... *)HypothesisH_f_maintains_P: forallschedt, P sched -> P (f sched t).(** ...then so does a prefix map of [f]. *)