I have some confusion in Atiyah Commutative algebra
Here is an outline
Let $A$ be a ring and $\mathcal{m}$ a maximal ideal of $A$, such that every element of $1+\mathcal{m}$ is a unit in $A$. Then $A$ is a local ring.
Proof :Let $x\in A\setminus\mathcal{m}$. Since $m$ is maximal, the ideal generated by $x$ and $\mathcal{m}$ is $(1)$. Hence there exist $y \in A$ and $t \in m$ such that $xy +t=1$
My thinking : Here $(1)= A$ and $x\in A\setminus\mathcal{m}$. The ideal generated by $x$ and $\mathcal{m}$ is strictly larger than $\mathcal{m}$
$$ \implies (x)+ \mathcal{m}= (1)=A$$.
there exist $y \in A$ and $ t \in$ m such that $xy +t=-1$ since $-1 \in A$
My question : Can i take $-1$ instead of $1$ in $xy +t=1$ ? I mean $xy +t=-1$