Lemma. Sums of families of contractible types indexed in a contractible type [01IJ]

Let A be contractible and let x:A\vdash B[x]~\mathit {type} be a family of contractible types. Then the sum {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]} is contractible.