|
Note
|
This document is the class’s v1.0 specification as written, reproduced here verbatim. It is the authoritative requirements artefact for the term. Type-theoretic commentary, terminological notes, and implementation caveats
are kept in a separate companion document: Grammar patches (three minimal completions that fill productions referenced
but not defined in this document) live in |
To provide a formally verified, hardware-agnostic orchestration layer for the domestic kitchen. This system translates culinary expert intent (Chef Personas) into machine-executable actions while maintaining total physical and digital safety through a rigorous, multi-layered type system.
| Type | Formal Domain | Requirement / Purpose |
|---|---|---|
Tropical |
(range / gradient) |
Range & Gradients. Manages thermal/kinetic ramps. Prevents "Binary Overheat." |
Linear |
Affordance |
Resource Consumption. Prevents ingredient duplication/hallucination. Tracks state. |
Choreographic |
Process Calculus |
Concurrency. Orchestrates multiple "Chef Actors" (Oven/Hob/Robot) without deadlocks. |
Echo |
Witness / Predicate |
Sensor Fusion. Validates that the physical world matches the instruction (Acoustic/Visual). |
Dyadic |
Binary Relation |
Irreversible Binding. Explicitly locks resources (e.g. Flour + Water) into a new unit. |
Ceremonial |
Contextual Logic |
Social Pacing. Overrides hardware aggression based on context (e.g. "Dinner Party"). |
Primitive |
SI Unit Grounding |
Hardware Base. Raw mapping for Mass (g), Temp ©, Torque (Nm), and Viscosity (Pa·s), Time (s). |
-
Mandatory Guard: Every loop/action must contain a
max_durationto satisfy Totality requirements (Agda/Coq). -
Fallback Logic: Every block must define an
on_failstate (ABORT,RECOVER, orWARM).
-
Encapsulation: Hardware is wrapped in "Personas" (Nigella, Delia, Jamie).
-
Logic: Personas dictate the style of execution (e.g., Jamie = High Slope/Torque; Delia = Low Jitter/High Precision).
-
Total Functions: The DSL must compile to Cook (Gallina) for formal proof.
-
Invariant Safety: Proof must exist that:
-
Resources are never consumed twice (Linearity).
-
Temperature never enters the forbidden state (Tropical).
-
Physical state matches intent via sensor witnesses (Echo).
-
-
Target Agnosticism: One script must run on a Miele Oven, a Samsung Fridge, and a Baridi Robot simultaneously.
-
API Interface: Translates KitchenSpeak JSON into native device commands (HomeConnect, SmartThings, Tuya).
-
Zero Scams: No reliance on cloud-only "Smart" features; 100% local execution.
-
Chef Orchestration: Successful "Bacon & Egg" Dyadic sync between disparate hardware.
-
Agda-Proven: Zero "Yellow" unproven goals in the core library for Dough, Emulsion, and Sear.
(* The Final KitchenSpeak Spec *)
program = { decl } , "orchestrate", [ "under", ceremony_id ], "{", { block }, "}" ;
decl = resource_decl | chef_decl | ceremony_decl | echo_decl ;
block = "sync", "(", actors, ")", [ "proving", echo_id ], "{", { step }, "}" ;
step = actor "." action "(" params ")"
"until", condition
"max_duration", time
"on_fail", error_handle ;
condition = tropical_threshold | echo_witness ;
tropical_threshold = "~", metric, comparison, value ;
echo_witness = "@", metric, comparison, value ;|
Note
|
The grammar above is reproduced as the class delivered it. Three productions
are named ( |