structural:summarization, stylistic:style_transfer
Text and commentaries

The Art of War is traditionally attributed to an ancient Chinese military general known as Sun Tzu meaning "Master Sun". Sun Tzu is usually linked with existing in the 6th century BC; the earliest sections of The Art of War, however, most likely date to at least 100 years after him.

Sima Qian 's Records of the Grand Historian, the first of China's 24 dynastic histories, records an early Chinese tradition that a text on military matters was written by one "Sun Wu" (孫武) from the State of Qi, and that this text had been read and studied by King Helü of Wu (r. 514 BC – 495 BC). This text was traditionally identified with the received Master Sun's Art of War. The conventional view was that Sun Wu was a military theorist from the end of the Spring and Autumn period (776–471 BC) who fled his home state of Qi to the southeastern Kingdom of Wu, where he is said to have impressed the king with his ability to quickly train even court women in military discipline and to have made Wu's armies powerful enough to challenge their western rivals in the state of Chu. This view is still widely held in China.

The strategist, poet, and warlord Cao Cao in the early 3rd century AD authored the earliest known commentary to the Art of War. Cao's preface makes clear that he edited the text and removed certain passages, but the extent of his changes were unclear historically. The Art of War appears throughout the bibliographical catalogs of the Chinese dynastic histories, but listings of its divisions and size varied widely.