LEASES - Schedule of Other Information Related to Leases (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Aug. 01, 2026 |
Aug. 02, 2025 |
Aug. 03, 2024 |
|
| Weighted-average remaining lease term (years) | |||
| Operating leases | 9 years 6 months | 9 years 10 months 24 days | |
| Finance leases | 4 years 7 months 6 days | 4 years 7 months 6 days | |
| Weighted-average discount rate | |||
| Operating leases | 9.70% | 9.60% | |
| Finance leases | 9.40% | 9.60% | |
| Cash paid for amounts included in the measurement of lease liabilities | |||
| Operating cash flows from operating leases | $ 292 | $ 311 | $ 284 |
| Operating cash flows from finance leases | 1 | 2 | 2 |
| Financing cash flows from finance leases | 4 | 7 | 12 |
| Leased assets obtained in exchange for new finance lease liabilities | 2 | 5 | 8 |
| Leased assets obtained in exchange for new operating lease liabilities | $ 60 | $ 321 | $ 361 |
| X | ||||||||||
- Definition Cash Paid For Amounts Included In The Measurement Of Lease Liabilities No definition available.
|
| X | ||||||||||
- Definition Weighted-Average Discount Rate No definition available.
|
| X | ||||||||||
- Definition Weighted-Average Remaining Lease Term No definition available.
|
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted average discount rate for finance lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|