Consider the following assignment
A1 = (b[3:0] ==c[3:0] & d[3:0]==e[3:0]) ? 1\'b1 : 1\'b0 ;
A2 = (b[3:0] ==c[3:0] && d[3:0]==e[3:0]) ? 1\'b1 : 1\'b