def det_prob_query(p1: float, k: int, l: int) ->float:
    """
    Compute the probability of finding point q < cR

    Parameters
    ----------
    p1
        P_1 as determined with Union[floky.stats.collision_prob_cosine, floky.stats.collision_prob_l2]
    k
        Number of hash digits.
    l
        Number of hash tables.

    Returns
    -------
    Pq
        Prob. of finding point q < cR
    """
    return 1.0 - (1.0 - p1 ** k) ** l
