w[[ABw[[A_.w,\=\,g\\1]],1]]