Function check_non_membership
pub fn check_non_membership<let TREE_HEIGHT: u32, LEAF_PREIMAGE, VALUE>(
key: Field,
low_leaf_preimage: LEAF_PREIMAGE,
low_leaf_membership_witness: MembershipWitness<TREE_HEIGHT>,
tree_root: Field,
) -> (bool, bool, bool)
where
LEAF_PREIMAGE: IndexedTreeLeafPreimage<VALUE>
Check a key's non-existence in the indexed tree with the given
tree_root.low_leaf_preimageis the preimage for the low leaf of the key. The key should be larger than the low leaf's key, and smaller than the low leaf's next key.low_leaf_membership_witnessis a hint to prove that the low leaf exists in the tree with the giventree_root.Returns:
trueif the key does not exist in the tree,falseotherwise.trueif the key is in range of the low leaf,falseotherwise.trueif the low leaf exists in the tree,falseotherwise.