v3.26.1
LEASES - Schedule of Lease Costs and Other Information (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 01, 2026
Aug. 02, 2025
Aug. 03, 2024
Lessee, Lease, Description [Line Items]      
Operating lease cost $ 389 $ 411 $ 380
Operating lease cost 389 411 380
Finance lease cost 5 8 8
Total net lease cost 394 419 388
Location, Statement of Income, Balance [Axis]: us-gaap:InterestExpenseNonoperating      
Lessee, Lease, Description [Line Items]      
Interest on lease liabilities 1 2 2
Location, Statement of Income, Balance [Axis]: us-gaap:OperatingCostsAndExpenses      
Lessee, Lease, Description [Line Items]      
Operating lease cost 280 316 298
Short-term lease cost 6 6 10
Variable lease cost 92 94 87
Sublease income (2) (4) (5)
Operating lease cost 280 316 298
Amortization of leased assets 4 6 6
Location, Statement of Income, Balance [Axis]: us-gaap:RestructuringSettlementAndImpairmentProvisions      
Lessee, Lease, Description [Line Items]      
Sublease income (24) (26) (28)
Other sublease income, net 20 6 0
Lease expense 44 32 28
Location, Statement of Income, Balance [Axis]: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Lessee, Lease, Description [Line Items]      
Sublease income $ (7) $ (7) $ (10)