Completed a draft for recursive invariants