You might try this blog entry (or other blog entries that talk about shrinking):
https://hypothesis.works/articles/how-hypothesis-works/