Added a SOLUTION section; removed empty lines; added instruction to be verbose and detailed
Add pattern analyze_patent