Google processes the canonical as a hint, discovering, crawling and then verifying that the declared URL exists and is materially equivalent to the page that declares it.
graph LR A[/product?id=42] -->|rel=canonical| C[/product/42/] B[/product/42?ref=tw] -->|rel=canonical| C D[/product/42/?lang=es] -->|rel=canonical| C C --> E[Google consolidates] E --> F[Single indexed URL] style C fill:#E8F5E9 style F fill:#E8F5E9
The process runs in three stages. Discovery: Google finds the URL through sitemaps, links or crawl. Crawl: the bot downloads the page. Verification: Google reads the canonical, then fetches the declared URL to confirm it exists, is reachable, and has content equivalent to the source. If any check fails, the hint is dropped.