A Three-Layer Framework for AI in Scientific Discovery — ThinkLLM