//! Module: query::plan::constant_predicate
//! Responsibility: planner-owned constant predicate folding helpers.
//! Does not own: predicate normalization or access-path routing.
//! Boundary: folds canonical TRUE/FALSE predicates before access planning.
use cratePredicate;
/// Fold canonical constant predicates before access routing.
///
/// Contract:
/// - `Some(Predicate::True)` is elided to `None`
/// - `Some(Predicate::False)` is preserved so explain semantics remain explicit
/// - all other predicates are passed through unchanged
pub
/// Return true when the normalized predicate is a canonical constant false.
pub const