Can you tell with both trees if the compound leaves are alternate or opposite? Walnut would be alternate, ash would be opposite as shown on this page:
https://www.uwgb.edu/biodivers...
To eliminate other possibilities, especially if one or both is alternate, can you also take pictures of individual leaves (not individual leaflets but a whole leaf including all leaflets) against a white sheet of paper so that we can see them clearly?