NLA-lib Explorer

NLAlib.Ops.Examples.splitTable_accountsW

Library · theorem

The weighted accounting certificate of the split, for every superadditive weight T: a run of the implementation of work [k] adds at most T k to the weight, whatever the split it reads. No hypothesis on the lower interpretation. By the rules of the liberal counted judgment (NLAlib.Ops.RunsFromWL): the index binder at the value read, two calls.

NLAlib.Ops.Examples.splitTable_accountsW {K : Type} (I : Ops.Interp Ops.Examples.LOp Ops.IdxTst K)
  {T : ℕ → ℕ} (hT : ∀ (a b : ℕ), T a + T b ≤ T (a + b)) :
  Ops.Examples.splitTable.AccountsW I (fun x x_1 ↦ 0) (Ops.Examples.kernWeight T)
    (fun x d ↦ T (d.headD 0)) fun x x_1 ↦ 0

Full source on GitHub

Import NLAlib.Ops.Examples.Split.