(* This test tests "replace in match t" where t contains some metavariables *)
theorem t2: 2 + (3 * 4) = (5 + 5) + 2 * 2.
- replace in match 5+? with (6 + 4); [reflexivity | reflexivity].
+ replace in match (5+?) with (6 + 4); [reflexivity | reflexivity].
qed.