Ok pain might be a bad example because a robot may not have a sense of it borne of evolution. But what about “red”? If I make a robot that 99.9% correctly identifies red objects, then I think it is fair to me to say it has a concept of “redness”.
Some philosophers believe that our human emotional connection to redness is special. These are the people talking about qualia. My belief after much reading is that it is not special. I /do/ believe that the human ability to tie our senses so deeply together synthetically and into our emotional and memory is special. My robot cannot write a poem about how the redness of a flower reminds them of their mother’s funeral. But now we are talking a matter of degrees, not qualia.
Isn't what makes the experience of love special the experience of love? a robot can hold hands and kiss and bring flowers home far more efficiently than i can. is that what love is? A robot CAN write a poem about how the redness of a flower reminds them of their mother’s funeral. But the outward signal of grief is not evidence of an internal experience of it.
But does the robot identify them in your view, or in its view?
If in your view, then you created a tool for yourself. Like a Geiger counter.
If in its view, ask it what it thinks about consciousness and qualia.