Exact Fourier circuits: packed schedule #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/PackedSchedule.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
Convert exact slot factorizations to a literal word, retaining the precise call count.
Sectors with identical programs start cyclically at the F possible starts.
Equations
Instances For
Positions of calls of type i within a fixed sector program.
Instances For
Exact number of calls of a given type at a given time in the cyclic schedule.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Total calls of a type before scheduling.
Equations
- Complexity.ExactFourier.Packing.totalCalls P m i = ∑ p : π, m p * (Complexity.ExactFourier.Packing.occurrences (P p) i).card
Instances For
The additive discrepancy is a constant depending only on the fixed program family, not on sector multiplicities or on the number of slots.
Chronological order is strict inside every sector, including repeated types.
Move a dependent predicate from a sigma type into each individual summand.
Equations
- One or more equations did not get rendered due to their size.