Correlation Functions in Reliability Theory