Layer cake and homotopy representations I: formal geometry approach