Starting a library of dependent paths + flattening lemma