Step 1 apple×3: 5 -> 2 (success)
Step 2 pear×5: 2 -> 2 (insufficient stock)
Step 3 apple×1: 2 -> 1 (success)
Final state: {'apple': 1, 'pear': 2}
Verification Log: 02_imperative.txt
Companion source example or verification log for the tutorial, preserved in full with user directory paths anonymized; actual execution scope is defined by the log itself.