Earlier, Jo-Wilfried Tsonga kept alive his hopes of reaching the last four by beating Mardy Fish, 7-6 (4), 6-1. Federer's win means Fish cannot advance.
The winner of Thursday's match between Tsonga and Nadal will claim the other semifinal berth from Group B.
Meanwhile, Andy Murray pulled out of the tournament with a groin strain he sustained during practice last week.
Philly File * Rayshaun Kizer
, who set the Arena Football League record with 16 interceptions for Orlando last season, was assigned to the Soul for the 2012 season.
* Penn offensive lineman Greg Van Roten, linebacker Erik Rask, wideout Ryan Calvert and defensive lineman Brandon Copeland were selected All-Ivy League.
Sport Stops * Antonio Margarito
was granted a boxing license in New York, keeping his 154-pound title fight with Miguel Cotto
on schedule for Dec. 3 at Madison Square Garden. Last week, the state athletic commission ordered an examination of Margarito's eye, seriously injured during his loss to Manny Pacquiao
* NASCAR suspended Truck Series driver Jack C. Smith for violating the substance abuse policy.
* Chris Allison, the national security coordinator for the 2012 London Olympics, sharply rejected reports that armed FBI agents would be taking part in securing the games, insisting that Britain did not need outside help to keep the event safe.