exact insertRupUnits_postcondition f f_readyForRupAdd units i
n : Nat
f : DefaultFormula n
f_readyForRupAdd : f.readyForRupAdd
units : List (Literal (PosFin n))
insertRupUnits_assignments_size : (f.insertRupUnits units).fst.assignments.size = n
i : Fin n
⊢ ((f.insertRupUnits units).fst.assignments[↑i] = f.assignments[↑i] ∧
      ∀ (j : Fin (f.insertRupUnits units).fst.rupUnits.size), ¬(f.insertRupUnits units).fst.rupUnits[↑j].fst.val = ↑i) ∨
    (∃ j b i_gt_zero,
        (f.insertRupUnits units).fst.rupUnits[↑j] = (⟨↑i, ⋯⟩, b) ∧
          (f.insertRupUnits units).fst.assignments[↑i] = addAssignment b f.assignments[↑i] ∧
            ¬hasAssignment b f.assignments[↑i] = true ∧
              ∀ (k : Fin (f.insertRupUnits units).fst.rupUnits.size),
                ¬k = j → ¬(f.insertRupUnits units).fst.rupUnits[↑k].fst.val = ↑i) ∨
      ∃ j1 j2 i_gt_zero,
        (f.insertRupUnits units).fst.rupUnits[↑j1] = (⟨↑i, ⋯⟩, true) ∧
          (f.insertRupUnits units).fst.rupUnits[↑j2] = (⟨↑i, ⋯⟩, false) ∧
            (f.insertRupUnits units).fst.assignments[↑i] = both ∧
              f.assignments[↑i] = unassigned ∧
                ∀ (k : Fin (f.insertRupUnits units).fst.rupUnits.size),
                  ¬k = j1 → ¬k = j2 → ¬(f.insertRupUnits units).fst.rupUnits[↑k].fst.val = ↑i
no goals