need to implement fv for formula
still need to finish off the proof checking part.