Causal local trial actions, observable reports, guard ledgers, and correctness certificates.
An observable guard kind together with the exact pairs used to evaluate it.
- kind : ObservableGuardKind
The observable inequality to be evaluated.
- xPair : Observation d
The observation at the guard's first point.
- yPair : Observation d
The observation at the guard's second point.
Instances For
The point-based failure witness associated with an observation-based guard check.
Instances For
A trial terminates with gradient success, a failed scale guard, or an insufficient radius.
- success {d : ℕ} (terminalPair : Observation d) : TrialOutcome d
- scale {d : ℕ} (failedCheck : ObservableGuardCheck d) : TrialOutcome d
- radius {d : ℕ} (terminalPair : Observation d) : TrialOutcome d
Instances For
Observable data only: no M<L or D<R conclusion is stored here.
- trace : List (Observation d)
The chronological new observations made by the trial.
- checkedGuards : List (ObservableGuardCheck d)
The chronological observable guards checked by the trial.
- outcome : TrialOutcome d
The terminal trial outcome and its observable witness.
Instances For
The number of new oracle observations recorded by the trial.
Instances For
An observation retained for reuse without another oracle call.
- observation : Observation d
The previously obtained exact value-gradient observation.
Instances For
A local trial either requests an observation or finishes with guards and an outcome.
- query {d : ℕ} {State : Type} (point : Point d) (next : Observation d → State) : LocalTrialAction d State
- finish {d : ℕ} {State : Type} (guards : List (ObservableGuardCheck d)) (outcome : TrialOutcome d) : LocalTrialAction d State
Instances For
A causal local trial: cached data enters the initial state, and all later
objective information enters only through query continuations.
- State : Type
The internal state type of the causal local trial.
- initial : ℝ → ℝ → CachedPair d → self.State
The initial state determined by the trial estimates and cached observation.
- action : self.State → LocalTrialAction d self.State
The next observable action determined by the current internal state.
Instances For
The finite-fuel local execution, returning no report if its action budget is exhausted.
Equations
Instances For
Some finite-fuel execution from the prescribed initial state returns this report.
Equations
Instances For
A success report returns an exact queried point meeting the gradient target after accepted guards.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A scale report identifies the first failed guard and certifies that the smoothness estimate is too small.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A radius report has accepted guards and certifies that its radius estimate is too small.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The report belongs to one of the three possible terminal outcome cases.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The numbers of consecutive guard checks and calls agree with the terminal outcome.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The observation is either cached or present in the trial's new query trace.
Equations
- V7.ObservationAvailable cached report obs = (obs = cached.observation ∨ obs ∈ report.trace)
Instances For
The guard's observations are consecutive in the cached observation followed by the trial trace.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every recorded guard has a kind in the allowed list.
Equations
- V7.CheckedGuardsHaveKinds report allowed = ∀ check ∈ report.checkedGuards, check.kind ∈ allowed
Instances For
A guard of the specified kind and ordered pair of points occurs in the checked list.
Equations
Instances For
Each guard uses the corresponding consecutive pair in the cached observation and query trace.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every predicate reported by the routine is evaluated on exact pairs that the routine actually possesses: the cached pair or a chronological query.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Correctness proposition kept separate from observable trial data.
Equations
- One or more equations did not get rendered due to their size.