How did Neo defeat the architect at the end of The Matrix: Reloaded? Was it solely due to his belief in himself or were there other factors at play?

Neo defeated his architect because the authors of The Matrix - whether it was the Wachowski brothers...