Now Sima Yi, having received the important commission, sent men to probe the strengths and weaknesses of the Shu army. At that time, Kongming intended to attack Chencang. The defending general of Chencang, Hao Zhao, was a brave general of Wei. Kongming led his army to besiege the city, but Hao Zhao held fast and did not come out. The Shu army repeatedly attacked but could not take it. Kongming employed scaling ladders, battering rams, and fire attacks, but all were seen through by Hao Zhao and to no effect. The Shu army attacked for a long time, and their provisions were nearly exhausted. Kongming sighed and said: 'I have long heard of Hao Zhao's reputation; today he indeed proves capable!' Then he ordered his troops to feign retreat. Hao Zhao fell gravely ill, and Kongming took the opportunity to attack and finally captured Chencang. When Sima Yi heard of this, he knew Kongming's wisdom and schemes were profound, not comparable to Cao Zhen. So he gathered his generals and said: 'Zhuge Liang employs troops with numerous crafty schemes. Our army should not lightly advance; we should mainly hold firm and wait for them to retreat when their provisions run out.' The Wei generals all concurred. Seeing that Sima Yi firmly defended and would not come out, Kongming devised a plan. He sent men to Luoyang to spread rumors that Sima Yi was secretly communicating with the Shu army and plotting rebellion. When Cao Rui heard this, he became greatly suspicious and wanted to summon Sima Yi back to the capital. Sima Yi knew it was Kongming's trick, so he submitted a memorial to defend himself and requested to lead an expedition to dispel the emperor's doubts. Cao Rui then desisted. Sima Yi led a large army to the south of the Wei River and faced off against the Shu army. Kongming repeatedly sent men to challenge, but Sima Yi only ordered his troops to hold fast and absolutely would not engage. Jiang Wei said: 'Sima Yi deeply understands the Chancellor's art of war, so he does not come out to fight; he intends only to drag out the time.' Kongming said: 'I also know that.' But the Art of War says: To attack the mind is the highest strategy. I will provoke him, make him angry so that he comes out on his own.'