A weight for each terminal and a value for each variable of one grammar, with a word of the
other grammar whose weight differs from the target. The values prove that the grammar of
side derives only words of weight target, so the word is outside its language. An
equivalence is refuted from either side. An inclusion is refuted from the right side only,
because the word of the sub grammar then lies outside the sup grammar.
A weight for each terminal and a value for each variable of one grammar, with a word of the other grammar whose weight differs from the target. The values prove that the grammar of
sidederives only words of weighttarget, so the word is outside its language. An equivalence is refuted from either side. An inclusion is refuted from the right side only, because the word of the sub grammar then lies outside the sup grammar.