Commit 2023-01-13 18:08 e78a2694

View on Github →

feat: port Data.List.Rotate (#1490)

Estimated changes

added theorem List.IsRotated.eqv
added theorem List.IsRotated.map
added theorem List.IsRotated.mem_iff
added theorem List.IsRotated.perm
added theorem List.IsRotated.refl
added theorem List.IsRotated.reverse
added theorem List.IsRotated.symm
added theorem List.IsRotated.trans
added def List.IsRotated
added theorem List.isRotated_append
added theorem List.isRotated_comm
added theorem List.isRotated_concat
added theorem List.isRotated_iff_mod
added theorem List.isRotated_nil_iff
added theorem List.length_rotate'
added theorem List.length_rotate
added theorem List.map_rotate
added theorem List.mem_rotate
added theorem List.nil_eq_rotate_iff
added theorem List.nodup_rotate
added theorem List.nthLe_rotate'
added theorem List.nthLe_rotate
added theorem List.nthLe_rotate_one
added theorem List.reverse_rotate
added theorem List.rotate'_cons_succ
added theorem List.rotate'_length
added theorem List.rotate'_mod
added theorem List.rotate'_nil
added theorem List.rotate'_rotate'
added theorem List.rotate'_zero
added theorem List.rotate_cons_succ
added theorem List.rotate_eq_iff
added theorem List.rotate_eq_nil_iff
added theorem List.rotate_eq_rotate'
added theorem List.rotate_eq_rotate
added theorem List.rotate_injective
added theorem List.rotate_length
added theorem List.rotate_length_mul
added theorem List.rotate_mod
added theorem List.rotate_nil
added theorem List.rotate_perm
added theorem List.rotate_reverse
added theorem List.rotate_rotate
added theorem List.rotate_singleton
added theorem List.rotate_zero