SERVER-139447Needs Scheduling
Intersect index bounds with inferred types
Use schema types and type inference to derive field-type constraints, convert them into index bounds, and intersect them with bounds on existing candidate scans. This will allow expressions without dedicated bounds-generation rules to have better index scans, as long as the expressions have typing support. As we improve the type inference the bounds for more cases will improve. If we have a collection schema such as: We know foo cannot be null, missing, and could avoid a FETCH. If w