(** If neither head term is an existential variable, then the [Params] declarations for both should agree. *)

Lemma query_params_both {A B C D} (h1: A) (h2: B) p1 p2 (m1: C) (m2: D) n:
Params h1 (p1 + n) ->
Params h2 (p2 + n) ->
QueryParams m1 m2 n.