OAI/Combinatorics/EditApproximation/Binary/BinaryRepresentativeKernel.lean
15 declarations, 0 contain sorry, 0 declared as axioms
The finite representative-band construction on stored binary fractions: connection and child sums, the exact wide minimum, velocity, and every literal band predicate. The Cartesian product materializes the wide-action enumeration.
- theorem
OAI.EditApproximation.BinaryFraction.nat_distance_valueline 17 - theorem
OAI.EditApproximation.BinaryFraction.rationalConnectionBudget_natline 23 - theorem
OAI.EditApproximation.BinaryFraction.endpointDistanceWithWork_valueline 33 - theorem
OAI.EditApproximation.BinaryFraction.endpointConnectionWithWork_valueline 40 - def
OAI.EditApproximation.BinaryFraction.endpointScoreWithWorkline 46 - theorem
OAI.EditApproximation.BinaryFraction.endpointScoreWithWork_valueline 54 - def
OAI.EditApproximation.BinaryFraction.wideMinimumWithWorkline 61 - theorem
OAI.EditApproximation.BinaryFraction.wideMinimumWithWork_valueline 69 - theorem
OAI.EditApproximation.BinaryFraction.stateGapWithWork_valueline 79 - def
OAI.EditApproximation.BinaryFraction.bandFromActionsWithWorkline 84Source documentation
Every filter callback is the literal binary band predicate.
def bandFromActionsWithWork {nx ny M : ℕ} (parent : TargetInterval nx) (r : TargetInterval ny) (b : ℕ) (tau theta velocity : BinaryFraction) (child : Fin M → TargetInterval ny → BinaryFraction) (actions : List (Fin M → TargetInterval ny)) (hne : actions ≠ []) : List (Fin M → TargetInterval ny) × ℕ := …Mentions: OAI.EditApproximation.TargetInterval, OAI.EditApproximation.BinaryFraction
- theorem
OAI.EditApproximation.BinaryFraction.bandFromActionsWithWork_valueline 97 - def
OAI.EditApproximation.BinaryFraction.representativeFromActionsWithWorkline 121Source documentation
The actions have been materialized once and are reused for the wide minimum and all prefix queries.
def representativeFromActionsWithWork {nx ny M : ℕ} (parent : TargetInterval nx) (r : TargetInterval ny) (sourceLength b : ℕ) (tau theta : BinaryFraction) (child : Fin M → TargetInterval ny → BinaryFraction) (actions : List (Fin M → TargetInterval ny)) : List (Fin M → TargetInterval ny) × ℕ := …Mentions: OAI.EditApproximation.TargetInterval, OAI.EditApproximation.BinaryFraction
- def
OAI.EditApproximation.BinaryFraction.representativeBandWithWorkline 137Source documentation
Full stored-data representative construction, including the Cartesian product and all subsequent numerical work.
def representativeBandWithWork {nx ny M : ℕ} (parent : TargetInterval nx) (r : TargetInterval ny) (sourceLength b P : ℕ) (tau theta : BinaryFraction) (child : Fin M → TargetInterval ny → BinaryFraction) : List (Fin M → TargetInterval ny) × ℕ := …Mentions: OAI.EditApproximation.TargetInterval, OAI.EditApproximation.BinaryFraction
- theorem
OAI.EditApproximation.BinaryFraction.representativeFromActionsWithWork_valueline 144 - theorem
OAI.EditApproximation.BinaryFraction.representativeBandWithWork_valueline 171