function to compute conditions over regular variables only (i.e., not special variables like $pc)