The apparatus reads every command in a finite native record. Its input is read through D10's strict-past restriction, not through a supplied act. This module does not assert that any particular native record occurs.
Both move commands remain in the three-content repertoire. The third content is a percept, and its label has no mechanical effect.
Equations
Instances For
Equations
- MindFormal.PegAttempt.receive s (Sum.inl i) = match MindFormal.PegAttempt.decode i with | some c => MindFormal.PegAttempt.returned s.1 c | none => s
- MindFormal.PegAttempt.receive s (Sum.inr val) = s
Instances For
Fixed-length decoding is independent of all timestamps. Timestamps enter solely through the strict-past history passed to this function.
Equations
Instances For
Equations
- MindFormal.PegAttempt.prefixLabels h k j = (↑h ↑j).2
Instances For
Equations
Instances For
An injective bounded observation of the complete arrangement; it retains stack order as well as the occupied pegs.
Equations
- MindFormal.PegAttempt.arrangementCode s = ↑(Encodable.encode s) / (↑(Encodable.encode s) + 1)
Instances For
The return port encodes the actual arrangement and whether the most recent mechanical command was blocked. The two ranges are disjoint.
Equations
Instances For
Equations
Instances For
Equations
Instances For
The placement observation tests the actual returned stacks for the forbidden larger-over-smaller configuration.
Equations
Instances For
A scaled return is added on percept port 2 to the declared preparation/query presentation. Its value depends on every received move.
Equations
- MindFormal.PegAttempt.received presentation scale p i = presentation p.1 i + if i = 2 then scale * MindFormal.PegAttempt.observed p.2 else 0
Instances For
D10 admission for the actual apparatus return. Measurability and common bounds hold for all finite records, before choosing any own run.
Equations
- One or more equations did not get rendered due to their size.