Something went wrong. Try again.
Coding agent with a memory of all things
Something went wrong. Try again.
593 B · 23 lines
123456789101112131415161718192021222324# eukhe: the proof of LAW kernel_setup_runs
import Baseimport ../../bend/kernel_local.bend as KLimport ../../laws/kernel_local.bend as KernelLocal
def pk.setup_runs(f: KL.Found, s: KL.Setup) -> {KL.acts.runs(KL.plan(f, s)) == True{} : Bool}: match f s: case KL.Current{} KL.Local{}: {==} case KL.Current{} KL.Install{}: {==} case KL.Skills{} KL.Local{}: {==} case KL.Skills{} KL.Install{}: {==} case KL.Stale{} KL.Local{}: {==} case KL.Stale{} KL.Install{}: {==}
def KernelLocal.kernel_setup_runs(f, s): pk.setup_runs(f, s)