Il mio ragionamento era difettoso.

My reasoning was flawed.