The software governing aspect ratios is more problematic: often based on the frame aspect, it can include the edges, which the (usually hand-cut) aperture plates and tabs of traditional cinema excluded.
Both lenses and lamp housings are effectively identical between analog and digital projectors (at least at the top end) as they cope with delivering light under control from lamp to screen...