{D : Type u_1} →
  {C : Type u_2} →
    {inst : AddCommMonoid C} →
      {inst_1 : PartialOrder C} →
        {inst_2 : IsOrderedAddMonoid C} →
          {Γ : ValuedCSP D C} →
            {ι : Type u_3} →
              [SizeOf D] → [SizeOf C] → [(a : (n : ℕ) × ((Fin n → D) → C)) → SizeOf (Γ a)] → [SizeOf ι] → Γ.Term ι → ℕ