Similar Items: All-Path Reachability Logic