Was she lying about the corruption erasing memories just to persuade alex or was that the truth? Im assuming she lied cause its counter productive to her desire of having someone else living in pain otherwise.
She lied because if there were that kind of effect ,in the first chapters, Frank would have long forgotten Lisa, and there wouldn't have been any war between Frank and Damien.
Speaking of programming, i once taught my cousin(little brother) to do his math homework by using python. I could have just taught him to use a calculator but where's the fun in that?