Retirement and Post-Retirement Benefit Plans - Post-Retirement Benefit Plans (Narrative) (Details) |
12 Months Ended |
|---|---|
Oct. 31, 2025 | |
| Post-Retirement Benefit Plans | |
| Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items] | |
| Eligible age for HP retirement medical savings account plan | 45 years |