The development for "ain't" happened independently and at different times. The usage of "ain't" for the forms of "to be not" was established during the 18th century, and "to have not" by the early 19th century.