value and red regular

done with lemmas except automation