fn validate_replacement(
    map: &BTreeMap<usize, usize>,
    candidate: &mut Replacement
) -> Option<Vec<usize>>
Expand description

Evaluates the viability of a candidate to drive the replacement at semijoin.

Returns a projection to apply to candidate.replacement if everything checks out.