Intersecting constraint families #
Two constraint families intersect ([ZH17]) when a variable process is conditioned by two binary factors and each constraint is sensitive to at most one of them: arranging the four underlying forms that cross the factors into a square, each constraint is insensitive to the rows or to the columns, at every candidate (§2.4 of [Mag25]). [ZH17] and [Hay22] observe that the rates of application to the four forms then fit two shifted sigmoids at shared abscissas. [Mag25] restates the generalization on logit rates: the difference between the logit rates of two forms in one row does not depend on the row (13). Equivalently, the interaction contrast of the logit rates on the square vanishes; this file states the generalization so, as the kernel of a linear functional.
A function of a form's violations that is a sum of per-constraint terms has zero interaction whenever the families intersect, since each term is insensitive to one dimension. The MaxEnt log-odds of two candidates is such a sum, the weighted violation differences, so MaxEnt predicts the generalization for every weighting and every candidate set.
Main definitions #
HarmonicGrammar.Square: four underlying forms crossing two binary factors, (12) of [Mag25].Square.interaction: the interaction contrastf tl - f tr - f bl + f br, a linear functional on the functions of the forms.Square.InsensitiveToRow,Square.InsensitiveToCol,Square.Independent: the independence of the rows and columns relative to a constraint set.
Main results #
Square.Independent.interaction_sum_eq_zero: under independence, a sum of per-constraint terms has zero interaction.Square.Independent.interaction_logOdds_maxEnt: MaxEnt predicts the generalization, (22) of [Mag25].
References #
Four underlying forms crossing two binary factors, rows by columns ((12) of [Mag25]).
- tl : X
The top-left form.
- tr : X
The top-right form.
- bl : X
The bottom-left form.
- br : X
The bottom-right form.
Instances For
Independence #
The rows and columns are independent dimensions relative to con (§2.4 of [Mag25]):
each constraint is insensitive to the rows or to the columns, reading its violations of all the
candidates of a form at once.
Equations
- sq.Independent con = ∀ (k : Fin n), sq.InsensitiveToRow (Function.curry (con k)) ∨ sq.InsensitiveToCol (Function.curry (con k))
Instances For
The interaction contrast #
The interaction contrast is the difference of f along the top row minus its difference
along the bottom row.
Equations
- sq.interaction = LinearMap.proj sq.tl - LinearMap.proj sq.tr - LinearMap.proj sq.bl + LinearMap.proj sq.br
Instances For
Under independence, a sum of per-constraint terms, each reading only its constraint's violations of the candidates of a form, has zero interaction.
Under independence, the harmony difference between two candidates has zero interaction, for every weighting.
MaxEnt predicts HZ's generalization ((22) of [Mag25]): under independence, the MaxEnt log-odds of two candidates have zero interaction, for every weighting and every candidate set.