Historically, "Life" has been defined as being any phenomenon that possesses all 5 life processes:
#1 Food intake/ nutrition
#2 Respiration
#3 Excretion
#4 Growth & Repair
#5 Reproduction
However, this seems to have been expanded to 7:
#1 Movement
#2 Respiration
#3 Sensitivity
#4 Growth
#5 Excretion
#6 Reproduction
#7 Nutrition
This is for "Life" in the generalized sense, fully abstracted away from any specific mechanisms by which those processes may be achieved. It is perfectly sensible for an artificial lifeform to be constructed, as long as it is able to fully carry out those processes. It needn't have any organic components whatsoever.
Nowhere in the historical definition of "life" used by life science is there a requirement for specific mechanisms-- just processes.
By your second list, some forms of organized sets or software can be considered life.