UPDATE 10/04/10:
Here are some partial results in the graded case. Let R=opluss0Ri be a graded Gorenstein algebra over k=R0 (s is the socle degree). R is said to have strong Lefschetz property (SLP) if for a general linear form l in R, the multiplication map timesla:RitoRi+a has maximal rank for all igeq0,ageq1 (so it is either injective or surjective). Such l is called a Lefschetz element.
By a result of Stanley, monomial complete intersections of characteristic 0, e.g. R=k[x1cdots,xd]/(xa11,cdots,xadd) have SLP (apply the Hard Lefschetz Theorem!). Many more classes of rings with SLP are known, and I think it is conjectured to hold for all complete intersections, at least in char. 0 (the keywords are Weak Lefschetz and Strong Lefschetz Property, the literature is quite big, see for example this paper).
Now, suppose R is Gorenstein with SLP, and x be a Lefschetz element. I claim that such an element would satisfy your inequality. Let L be the annihilator of x2. By Fact 1 we have that textlength(x/x2)=textlength(L)−textlength(J).
Let hi=textdimkRi. Then since R is Gorenstein with SLP, the sequence h0,cdots,hs is unimodal and symmetric. Now since the maps timesx and timesx2 are always injective or surjective, it is not hard to compute that textlength(L)=hn+hn+1 and textlength(J)=hn with n=lfloors/2rfloor. So textlength(x/x2)=hn+1.
If s is odd, then hn=hn+1 and J must live in degrees at least n+1, thus J2=0 and equality actually holds.
If s is even, then textlength(x/x2)=hn+1. Now if hn=hn+1, then as above J2=0 and equality holds. If hn>hn+1, then J lives only in degree 2n=s, but hs=1 (remember R is Gorenstein) so textlength(J2) is at most 1. So textlength(J/J2)geqhn−1geqhn+1.
I think one can push this argument to show the inequality for x=la for any Lefschetz element l and a>0. Because the SLP is an open condition, this would imply the inequality for general forms of degree a.
I also have some examples of equality in positive characteristic with pretty interesting patterns, but I need more time to think about them.
End of UPDATE
(Some history: Yesterday when I saw this question I posted a simple solution, which I immediately realized is wrong. After a few email exchanges with FC we were both convinced that my first attempt would not work.)
I have thought about the question a bit today but could not quite prove it. Since I may not have time to work on it more in the next few days, I will put some of my thoughts here in case they help anyone.
Let I=(x) and J be the annihilator of (x). Also, I will use R instead of A.
Fact 1: (x)congR/JcongD(R/J)
Proof: For the first isomorphism, just look at the map RtoR by multiplying with x. Now
D(R/J)=textHom(R/J,R) is isomorphic to the annihilator of J, which is (x) again.
Fact 2: x/x2congR/(J+x).
Proof: x/x2=(x)otimesR/(x)=R/JotimesR/(x)
Fact 3: R/J is itself Gorenstein.
Proof: The canonical module of R/J is D(R/J) which is isomorphic to R/J by Fact 1.
Fact 4: Let (S,m,k) be a Gorenstein, artinian local ring. An S-module map StoM is injective iff the image of the generator of the socle of S (which is textHom(k,S) and is 1-dimensional as S is Gorenstein) is non-zero.
Proof: If the kernel is some non-zero ideal K, then some element in K would have m as the annihilator. But then such element has to be inside the socle of S, which is a 1-dim vector space.
Fact 5: For any ideal L, L/L2=textTor1(R/L,R/L)
Proof: tensor 0toLtoRtoR/L with R/L.
Here are a couple of approaches I tried with some comments:
Random thoughts A:
By Fact 2 we need to prove textlength(J)−textlength(J2)geqtextlength(R)−textlength(J+x)
Rearranging, one needs to prove
textlength(R/J)leqtextlength((J+x)/J2)
Let
S=R/J and
M=(J+x)/J2. One obvious thing to try is to show that
S (which is Gorenstein by Fact 3) can embed in
M. Let
sinR be a lift of the socle generator of
S. By Fact 4, for a counter example one would need
(J+x)ssubseteqJ2
This rules out many potential counter examples because of degree reasons, or if J2 is too small. Note that xs represents the socle generator of R.
Random thoughts B: Here is a formulation that only involves x. By Fact 5 we need to prove textlength(textTor1(R/(x),R/(x))leqtextlength(textTor1(R/J,R/J)
Which, by Fact 1 is really:
textlength(textTor1(R/(x),R/(x))leqtextlength(textTor3(R/(x),R/(x))
This equivalent statement actually makes me a little doubtful. It might be true, and sort of make sense, because the free resolution of R/(x) will typically gets bigger and bigger, but many similar homological statements about Gorenstein rings turn out to be false (although it is often not easy to cook up examples).
So I would say that the statements is likely to be true for small (in terms of lengths or degrees) rings, because of Thoughts A, but might be false in general. Of course, I would be very happy to be wrong, and may be I was missing something really simple.
PS: thanks for asking a nice question in commutative algebra (-: