-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perspective aware lexicographic ordering arguments #248
Comments
Corset generated column comparisonI've finished a first (pretty solid I believe) draft of perspective aware lexicographic ordering arguments. It's a little convoluted but nothing that a zoom discussion can't clarify in a few minutes. In terms of upsides of this approach (which I wish to apply to the HUB module) we have, for the case of the HUB module:
|
When applied to "environment consistency"We can further use the new "outsourced" lex. ordering arguments to reduce the cost of the "environment consistency" argument, again shaving off 16 byte columns in the HUB and adding no extra binary columns but an extra HUB |
When applied to "stack consistency"We can also use the same "outsourced" lex. ordering arguments to reduce the cost of the "stack consistency" argument, again shaving off 16 byte columns in the HUB (which each are 4 * as large as the HUB!) and adding no extra binary columns but an extra HUB |
Note. For both the ENV and STACK consistency arguments we could reasonably get away with far fewer byte columns in the current setup, 4 ought to suffice for all applications. Still, I believe the gains are real. |
InterfaceIn order to specify such an argument we should supply (module MODULE_NAME)
(perspective-aware-lexicographic-ordering-constraints
(
(perspective-1-spec)
(perspective-2-spec)
...
(perspective-p-spec)
)
) where each (
PERSPECTIVE_FLAG ;; relevant perspective flag, k^👁️ in the spec
perspective-weight ;; small integer, = k for the k-th perspective
requires-lex-ordering ;; boolean value, true <=> k ∈ L
(sign-sequence) ;; ordered list of m_k symbols +/-, ε^k_• in the spec
(order-defining-columns) ;; ordered list of m_k columns
(order-following-columns) ;; list of columns we wish to permute besides the order defining ones
) and where, following conventions of the spec, (
ε^k_1
ε^k_2
...
ε^k_{m_k}
) and (
k-ORD<1>
k-ORD<2>
...
k-ORD<m_k>
) and Note. What the spec calls |
Why apply lex. ordering constraints on only a subset
|
@DavePearce I am about to start specifying perspective aware lexicographic ordering arguments, something I've been promising for a while (maybe a full year at this point ?). It should be a simple variation on already existing lexicographic ordering arguments for row-permutations.
The reason for this is that I'm about to merge the HUB consistency arguments for
This should bring the number of consistency arguments for the HUB down to 3 (from 5):
Before I'm doing this I am finishing the specification of the individual consistency arguments. This way we will have something that is implementable even if we don't have this new feature. I therefore am curious:
Also I'm producing two versions of these constraints:
Resources:
The text was updated successfully, but these errors were encountered: