There are many differences between Lean 2 and Lean 3 which will break Lean 2 files. Here is a list of additional changes in the HoTT library which will break other things
+can no longer be used for sum of types, use⊎(\uplus).⁻¹can no longer be used for inverse of functions, use⁻¹ᶠ(\-1f).is_trunc_equiv_closedand variants have the hypothesisis_trunc _ _as explicit arguments.pi_pathover_*'replaced withpi_pathover_*and vice versa (the only difference is the prime).- The type family is explicit in
pathover_idp,pathover_idp_of_eq,sigma_equiv_sigma_left. ap_compose'is reversed (ap_composeremains the same).- the first argument of
pinverseis explicit (otherwise coercion doesn't work). eq_equiv_homotopynow has more explicit arguments.- the projections of
sigmahave been renamed tofstandsnd. - removed notation
||, use∥(type with\||) instead