G(Y) represents the “gate cost” which for us will just be the sum of all inputs for all gates. GN(Y) is just G(Y) + the # of NOT’s (inverters)

  • Don’t count inverters twice: You can have 1 inverter input into many gates.