Text this: Inverter Redistribution through Self-Dual and Self-Anti-Dual Function Transformation