# E119 Learned Grammar Report

The base instruction set is supplied. The **macro grammar** is learned from development programs: successful
depth-2 rules are mined and compressed into 8 reusable macros. Sealed tasks are depth-3
compositions whose first two steps are a learned macro.

Same candidate budget (8000):
- Fixed depth-3 search: **0.333**
- Learned-grammar depth-2 search: **1.000**
- Gain **+0.667**, p=1.192e-07; replication **+0.583**.

Limit: the base language is supplied; only the macro grammar is learned.
