XML 72 R59.htm IDEA: XBRL DOCUMENT v3.7.0.1
Stock-based Compensation Summary of Stock-based Compensation Expense (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2017
May 01, 2016
Apr. 30, 2017
May 01, 2016
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Pre-tax stock-based compensation expense $ 16 $ 16 $ 48 $ 50
Tax-related benefits $ 6 $ 5 $ 18 $ 18