ARC A · DemandCheck passes
How many slices do all guests need?
36 slices
- Reason
18 × 2 = 36- Check
- The attendee allocation also totals 36.
- Output
- slice demand → parent data
Worked composition
Three small ARCs answer bounded questions. Their checked outputs become data for a larger ARC that decides what to order—and checks the whole composition against the original need.
How many slices do all guests need?
36 slices
18 × 2 = 36How many slices does one pizza provide?
8 slices
How many slices must be gluten-free?
4 GF slices
2 × 2 = 4What is the smallest lunch order that covers everyone?
Order 5 pizzas: 1 gluten-free + 4 regular.
Why this is composition: each child owns one question and check; the parent consumes only their explicit outputs, then verifies the combined result end to end.