A Mathematical Framework for AI-Human Integration in Work