Description: The Legendre symbol when the second argument is zero. (Contributed by Mario Carneiro, 4-Feb-2015)
Ref | Expression | ||
---|---|---|---|
Assertion | lgs0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 0z | |
|
2 | eqid | |
|
3 | 2 | lgsval | |
4 | 1 3 | mpan2 | |
5 | eqid | |
|
6 | 5 | iftruei | |
7 | 4 6 | eqtrdi | |