0613 GMT December 07, 2019
The 22-year-old German won 6-3, 6-7 (7/9), 6-3 as the Swiss legend was penalized after twice hitting the ball out of the court in anger and rowing with the umpire, AFP reported.
Former number one Federer evaded questions about the umpire afterward, shrugging his shoulders and firing back at one reporter, "So you can write something on Twitter, yeah?
"Next question," he added.
The 20-time Grand Slam champion saved five match points to force a deciding set, but he then became engaged in a continual war of words with the chair umpire.
The 38-year-old's trademark cool evaded him as the new generation of men's tennis stars took center stage in Shanghai.
His point deduction came at 3-0 and 30-15 down in the third set, as he threatened to unravel.
He said that he "played alright", but was effusive about the rise of Zverev, Daniil Medvedev and Stefanos Tsitsipas, all in the semifinals in Shanghai.
"The young guys are knocking on the door big time, it's exciting, it's great," he said.
Tsitsipas said that he scares the ‘Big Three’ after the young Greek stunned world number one Djokovic in their quarterfinal.
The 21-year-old has now defeated Djokovic, Federer and Rafael Nadal this year to burnish his fast-growing reputation.
On Saturday though he faces the red-hot 23-year-old Medvedev – who he has never beaten.
Tsitsipas recovered from losing the opening three games in just seven minutes to shock the reigning champion Djokovic 3-6, 7-5, 6-3.
Calling it the best comeback of his nascent career, the seventh-ranked Tsitsipas said he had dreamt of beating the ‘Big Three’.
But rather than being intimidated by them, Tsitsipas said, "I honestly feel like they are more threatened than I am and that makes me more relaxed on court.
"I know I just have to hang in there and be able to be more aggressive.
"Once you get aggressive and they see you going for it, I might even say they get scared."
It was a double celebration for Tsitsipas, who also confirmed his place in the prestigious season-ending ATP Finals.
Tsitsipas sealed the deal with a gleeful smash and held both arms aloft. Djokovic met his opponent with a warm embrace at the net.
Djokovic, who had looked imperious up until now, had no complaints.
Asked if Tsitsipas has the potential to be number one, the 32-year-old Serbian replied, "He definitely has, yes."
Djokovic said that he is fully recovered from a shoulder injury and he did not drop a set in winning the title in Tokyo last week.
He had carried that ominous form into Shanghai and threatened to blow Tsitsipas away in the first set.
But Tsitsipas found his feet in the second set, then went 3-1 up in the decider when Djokovic planted a forehand wide on the third break point.
Tsitsipas grabbed his place at the ATP Finals after fourth-ranked Medvedev tamed self-styled "wild horse" Fabio Fognini 6-3, 7-6 (7/4).
US Open finalist Medvedev has beaten Tsitsipas in all their four matches, but he said, "They were all really tight. He's improving also every week.
"He's still so young. He has even, let's say, two years of more improving than me, talking about age."
Nadal was not in action in Shanghai because of a wrist injury.