On Thu, 20 Jul 2017 21:43:39 +0100, Mario Carneiro <
di....@gmail.com> wrote:
> The "nul"
> label fragment occurs to my knowledge *only* in the definition df-nul, and
> that is simply because we can't have df-0 twice...
On a quick search I found these examples where "nul" (or "null")
appears to be used for (/):
df-nul $a |- (/) = ( _V \ _V ) $.
dfnul2 $p |- (/) = { x | -. x = x } $=
dfnul3 $p |- (/) = { x e. A | -. x e. A } $=
nnullss $p |- ( A =/= (/) -> E. x ( x C_ A /\ x =/= (/) ) ) $=
iotanul $p |- ( -. E! x ph -> ( iota x ph ) = (/) ) $=
sumnul $p |- ( ph -> sum_ k e. Z A = (/) ) $=
chocnul $p |- ( _|_ ` (/) ) = ~H $=
I found these examples where "z" may be
used for (/), NOT including all the r19.z* labels. In some cases
"z" may stand for something else, but I was trying to do a
quick search, and I think this list is long enough to show
that
set.mm labels do *not* consistently
use "0" for the empty set:
snnzg $p |- ( A e. V -> { A } =/= (/) ) $=
snnz $p |- { A } =/= (/) $=
prnz $p |- { A , B } =/= (/) $=
prnzg $p |- ( A e. V -> { A , B } =/= (/) ) $=
tpnz $p |- { A , B , C } =/= (/) $=
opnz $p |- ( <. A , B >. =/= (/) <-> ( A e. _V /\ B e. _V ) ) $=
opnzi $p |- <. A , B >. =/= (/) $=
unizlim $p |- ( Ord A -> ( A = U. A <-> ( A = (/) \/ Lim A ) ) ) $=
xpnz $p |- ( ( A =/= (/) /\ B =/= (/) ) <-> ( A X. B ) =/= (/) ) $=
zfreg $p |- ( A =/= (/) -> E. x e. A ( x i^i A ) = (/) ) $=
zfreg2 $p |- ( A =/= (/) -> E. x e. A ( A i^i x ) = (/) ) $=
zfinf2 $p |- E. x ( (/) e. x /\ A. y e. x suc y e. x ) $=
zfregs $p |- ( A =/= (/) -> E. x e. A ( x i^i A ) = (/) ) $=
zfregs2 $p |- ( A =/= (/) -> -. A. x e. A E. y ( y e. A /\ y e. x ) ) $=
suprzcl $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. RR A. y e. A y <_ x ) ->
uzwo $p |- ( ( S C_ ( ZZ>= ` M ) /\ S =/= (/) ) ->
uzwoOLD $p |- ( ( S C_ ( ZZ>= ` M ) /\ -. S = (/) ) ->
uzwo2 $p |- ( ( S C_ ( ZZ>= ` M ) /\ S =/= (/) ) ->
infmssuzcl $p |- ( ( S C_ ( ZZ>= ` M ) /\ S =/= (/) ) ->
zsupss $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. ZZ A. y e. A y <_ x ) ->
suprzcl2 $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. ZZ A. y e. A y <_ x ) ->
uzwo3 $p |- ( ( B e. RR /\ ( A C_ { z e. ZZ | B <_ z } /\ A =/= (/) ) )
fzn $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( N < M <-> ( M ... N ) = (/) ) ) $=
om2uz0i $p |- ( G ` (/) ) = C $=
s1nz $p |- <" A "> =/= (/) $=
> I don't see the purpose of doing this "slowly" if slowly means over the
> course of a few days. That's not enough to get full community feedback, so
> you may as well minimize the pain of intermediate states by doing the
> renames in bulk. The best way to do this if you want transparency is to
> construct a full list of renames for review (such as might go in the rename
> list at the top of
set.mm), and then apply them in bulk once you are
> getting a green light. Drizzling them out one piece at a time just makes
> review harder.
I meant "rename one df-... & its corresponding labels at a time", to simplify review.
For a given definition, it's *definitely* best to do it in bulk.
I did a quick check on renaming "df-z" to "df-zz" along with its
corresponding labels. This is perhaps the most challenging, because
labels use "z" for other things. However, I created simple
script "rename-proposals" below to create an automated list of
proposed renames, and then ran it like this:
./rename-proposals 'z' 'zz' 'ZZ'
Basically, it ONLY does a rename if the same line has a sample of the
relevant symbol. This seems to do a decent job of picking the right ones.
Each line produced by the script describes a proposed rename in the form:
> Old-name New-name First-part-of-expression
That output should make it easy to focus on the proposal. I looked over the
list, and quickly removed "df-za" as a spurious result.
I could then run a separate program to actually make those proposed
changes to
set.mm, verify it, and create a PR as you noted above.
--- David A. Wheeler
== File "rename-proposals" (used to create the list below)
#!/bin/sh
# Create a first-cut list of rename proposals
# (the result can then be edited, including deleting irrelevant lines)
# We create a list of labels to rename, but *ONLY* if there's a relevant
# symbol on the same line (a reasonable heuristic)
# Use like this:
# ./rename-proposals 'cn' 'cc' 'CC'
old_label_fragment="$1"
new_label_fragment="$2"
symbol="$3"
# Use "read -r" to disable backslash interpretation.
grep "${old_label_fragment}.* \$[ap] .* ${symbol} "
set.mm |
while read -r oldlabel info
do
newlabel=`printf %s "$oldlabel" |
sed -e "s/${old_label_fragment}/${new_label_fragment}/g" -`
printf '%s\n' "$oldlabel $newlabel $info"
done
== Proposals generated from: ./rename-proposals 'z' 'zz' 'ZZ'
cz czz $a class ZZ $.
df-z df-zz $a |- ZZ = { n e. RR | ( n = 0 \/ n e. NN \/ -u n e. NN ) } $.
elz elzz $p |- ( N e. ZZ <->
nnnegz nnnegzz $p |- ( N e. NN -> -u N e. ZZ ) $=
zre zzre $p |- ( N e. ZZ -> N e. RR ) $=
zcn zzcn $p |- ( N e. ZZ -> N e. CC ) $=
zssre zzssre $p |- ZZ C_ RR $=
zsscn zzsscn $p |- ZZ C_ CC $=
zex zzex $p |- ZZ e. _V $=
elnnz elnnzz $p |- ( N e. NN <-> ( N e. ZZ /\ 0 < N ) ) $=
0z 0zz $p |- 0 e. ZZ $=
elnn0z elnn0zz $p |- ( N e. NN0 <-> ( N e. ZZ /\ 0 <_ N ) ) $=
elznn0nn elzznn0nn $p |- ( N e. ZZ <-> ( N e. NN0 \/ ( N e. RR /\ -u N e. NN ) ) ) $=
elznn0 elzznn0 $p |- ( N e. ZZ <-> ( N e. RR /\ ( N e. NN0 \/ -u N e. NN0 ) ) ) $=
elznn elzznn $p |- ( N e. ZZ <-> ( N e. RR /\ ( N e. NN \/ -u N e. NN0 ) ) ) $=
elz2 elzz2 $p |- ( N e. ZZ <-> E. x e. NN E. y e. NN N = ( x - y ) ) $=
dfz2 dfzz2 $p |- ZZ = ( - " ( NN X. NN ) ) $=
zexALT zzexALT $p |- ZZ e. _V $=
nnssz nnsszz $p |- NN C_ ZZ $=
nn0ssz nn0sszz $p |- NN0 C_ ZZ $=
nnz nnzz $p |- ( N e. NN -> N e. ZZ ) $=
nn0z nn0zz $p |- ( N e. NN0 -> N e. ZZ ) $=
nnzi nnzzi $p |- N e. ZZ $=
nn0zi nn0zzi $p |- N e. ZZ $=
elnnz1 elnnzz1 $p |- ( N e. NN <-> ( N e. ZZ /\ 1 <_ N ) ) $=
znnnlt1 zznnnlt1 $p |- ( N e. ZZ -> ( -. N e. NN <-> N < 1 ) ) $=
nnzrab nnzzrab $p |- NN = { x e. ZZ | 1 <_ x } $=
nn0zrab nn0zzrab $p |- NN0 = { x e. ZZ | 0 <_ x } $=
1z 1zz $p |- 1 e. ZZ $=
2z 2zz $p |- 2 e. ZZ $=
znegcl zznegcl $p |- ( N e. ZZ -> -u N e. ZZ ) $=
znegclb zznegclb $p |- ( A e. CC -> ( A e. ZZ <-> -u A e. ZZ ) ) $=
nn0negz nn0negzz $p |- ( N e. NN0 -> -u N e. ZZ ) $=
nn0negzi nn0negzzi $p |- -u N e. ZZ $=
zaddcl zzaddcl $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M + N ) e. ZZ ) $=
peano2z peano2zz $p |- ( N e. ZZ -> ( N + 1 ) e. ZZ ) $=
zsubcl zzsubcl $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M - N ) e. ZZ ) $=
peano2zm peano2zzm $p |- ( N e. ZZ -> ( N - 1 ) e. ZZ ) $=
zrevaddcl zzrevaddcl $p |- ( N e. ZZ ->
znnsub zznnsub $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M < N <-> ( N - M ) e. NN ) ) $=
znn0sub zznn0sub $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
zmulcl zzmulcl $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M x. N ) e. ZZ ) $=
zltp1le zzltp1le $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M < N <-> ( M + 1 ) <_ N ) ) $=
zleltp1 zzleltp1 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M <_ N <-> M < ( N + 1 ) ) ) $=
zlem1lt zzlem1lt $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M <_ N <-> ( M - 1 ) < N ) ) $=
zltlem1 zzltlem1 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M < N <-> M <_ ( N - 1 ) ) ) $=
zdiv zzdiv $p |- ( ( M e. NN /\ N e. ZZ )
zdivadd zzdivadd $p |- ( ( ( D e. NN /\ A e. ZZ /\ B e. ZZ ) /\
zdivmul zzdivmul $p |- ( ( ( D e. NN /\ A e. ZZ /\ B e. ZZ ) /\
zextle zzextle $p |- ( ( M e. ZZ /\ N e. ZZ /\ A. k e. ZZ ( k <_ M <-> k <_ N ) )
zextlt zzextlt $p |- ( ( M e. ZZ /\ N e. ZZ /\ A. k e. ZZ ( k < M <-> k < N ) )
recnz recnzz $p |- ( ( A e. RR /\ 1 < A ) -> -. ( 1 / A ) e. ZZ ) $=
btwnnz btwnnzz $p |- ( ( A e. ZZ /\ A < B /\ B < ( A + 1 ) ) -> -. B e. ZZ ) $=
halfnz halfnzz $p |- -. ( 1 / 2 ) e. ZZ $=
suprzcl suprzzcl $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. RR A. y e. A y <_ x ) ->
msqznn msqzznn $p |- ( ( A e. ZZ /\ A =/= 0 ) -> ( A x. A ) e. NN ) $=
zneo zzneo $p |- ( ( A e. ZZ /\ B e. ZZ ) ->
zeo zzeo $p |- ( N e. ZZ -> ( ( N / 2 ) e. ZZ \/ ( ( N + 1 ) / 2 ) e. ZZ ) ) $=
zeo2 zzeo2 $p |- ( N e. ZZ ->
peano2uz2 peano2uzz2 $p |- ( ( A e. ZZ /\ B e. { x e. ZZ | A <_ x } ) ->
peano5uzti peano5uzzti $p |- ( N e. ZZ -> ( ( N e. A /\ A. x e. A ( x + 1 ) e. A )
dfuzi dfuzzi $p |- { z e. ZZ | N <_ z } =
uzind uzzind $p |- ( ( M e. ZZ /\ N e. ZZ /\ M <_ N ) -> ta ) $=
uzind2 uzzind2 $p |- ( ( M e. ZZ /\ N e. ZZ /\ M < N ) -> ta ) $=
uzind3 uzzind3 $p |- ( ( M e. ZZ /\ N e. { k e. ZZ | M <_ k } ) -> ta ) $=
uzindOLD uzzindOLD $p |- ( ( ( A e. ZZ /\ B e. ZZ ) /\ B <_ A ) -> ta ) $=
uzind3OLD uzzind3OLD $p |- ( ( B e. ZZ /\ A e. { z e. ZZ | B <_ z } ) -> ta ) $=
fzind fzzind $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\
zindd zzindd $p |- ( ze -> ( A e. ZZ -> et ) ) $=
btwnz btwnzz $p |- ( A e. RR -> ( E. x e. ZZ x < A /\ E. y e. ZZ A < y ) ) $=
nn0zd nn0zzd $p |- ( ph -> A e. ZZ ) $=
nnzd nnzzd $p |- ( ph -> A e. ZZ ) $=
znegcld zznegcld $p |- ( ph -> -u A e. ZZ ) $=
peano2zd peano2zzd $p |- ( ph -> ( A + 1 ) e. ZZ ) $=
zaddcld zzaddcld $p |- ( ph -> ( A + B ) e. ZZ ) $=
zsubcld zzsubcld $p |- ( ph -> ( A - B ) e. ZZ ) $=
zmulcld zzmulcld $p |- ( ph -> ( A x. B ) e. ZZ ) $=
df-uz df-uzz $a |- ZZ>= = ( j e. ZZ |-> { k e. ZZ | j <_ k } ) $.
uzval uzzval $p |- ( N e. ZZ -> ( ZZ>= ` N ) = { k e. ZZ | N <_ k } ) $=
uzf uzzf $p |- ZZ>= : ZZ --> ~P ZZ $=
eluz1 eluzz1 $p |- ( M e. ZZ ->
eluzel2 eluzzel2 $p |- ( N e. ( ZZ>= ` M ) -> M e. ZZ ) $=
eluz2 eluzz2 $p |- ( N e. ( ZZ>= ` M ) <-> ( M e. ZZ /\ N e. ZZ /\ M <_ N ) ) $=
eluz1i eluzz1i $p |- ( N e. ( ZZ>= ` M ) <-> ( N e. ZZ /\ M <_ N ) ) $=
eluzelz eluzzelzz $p |- ( N e. ( ZZ>= ` M ) -> N e. ZZ ) $=
eluz eluzz $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
uzid uzzid $p |- ( M e. ZZ -> M e. ( ZZ>= ` M ) ) $=
uzssz uzzsszz $p |- ( ZZ>= ` M ) C_ ZZ $=
uztric uzztric $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
uz11 uzz11 $p |- ( M e. ZZ ->
eluzp1m1 eluzzp1m1 $p |- ( ( M e. ZZ /\
eluzp1l eluzzp1l $p |- ( ( M e. ZZ /\
eluzadd eluzzadd $p |- ( ( N e. ( ZZ>= ` M ) /\ K e. ZZ ) ->
eluzsub eluzzsub $p |- ( ( M e. ZZ /\ K e. ZZ /\ N e. ( ZZ>= ` ( M + K ) ) )
uzin uzzin $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
raluz raluzz $p |- ( M e. ZZ -> ( A. n e. ( ZZ>= ` M ) ph <->
rexuz rexuzz $p |- ( M e. ZZ -> ( E. n e. ( ZZ>= ` M ) ph <->
peano2uzr peano2uzzr $p |- ( ( M e. ZZ /\
eluz2b1 eluzz2b1 $p |- ( N e. ( ZZ>= ` 2 ) <-> ( N e. ZZ /\ 1 < N ) ) $=
eqreznegel eqrezznegel $p |- ( A C_ ZZ ->
zsupss zzsupss $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. ZZ A. y e. A y <_ x ) ->
suprzcl2 suprzzcl2 $p |- ( ( A C_ ZZ /\ A =/= (/) /\ E. x e. ZZ A. y e. A y <_ x ) ->
suprzub suprzzub $p |- ( ( A C_ ZZ /\ E. x e. ZZ A. y e. A y <_ x /\ B e. A ) ->
uzsupss uzzsupss $p |- ( ( M e. ZZ /\ A C_ Z /\ E. x e. ZZ A. y e. A y <_ x ) ->
uzwo3 uzzwo3 $p |- ( ( B e. RR /\ ( A C_ { z e. ZZ | B <_ z } /\ A =/= (/) ) )
zbtwnre zzbtwnre $p |- ( A e. RR -> E! x e. ZZ ( A <_ x /\ x < ( A + 1 ) ) ) $=
rebtwnz rebtwnzz $p |- ( A e. RR -> E! x e. ZZ ( x <_ A /\ A < ( x + 1 ) ) ) $=
qmulz qmulzz $p |- ( A e. QQ -> E. x e. NN ( A x. x ) e. ZZ ) $=
znq zznq $p |- ( ( A e. ZZ /\ B e. NN ) -> ( A / B ) e. QQ ) $=
zq zzq $p |- ( A e. ZZ -> A e. QQ ) $=
zssq zzssq $p |- ZZ C_ QQ $=
z2ge zz2ge $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
df-fz df-fzz $a |- ... = ( m e. ZZ , n e. ZZ |->
fzval fzzval $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M ... N ) =
fzval2 fzzval2 $p |- ( ( M e. ZZ /\ N e. ZZ ) ->
fzf fzzf $p |- ... : ( ZZ X. ZZ ) --> ~P ZZ $=
elfz1 elfzz1 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( K e. ( M ... N ) <->
elfz elfzz $p |- ( ( K e. ZZ /\ M e. ZZ /\ N e. ZZ ) -> ( K e. ( M ... N ) <->
elfz5 elfzz5 $p |- ( ( K e. ( ZZ>= ` M ) /\ N e. ZZ ) ->
elfz4 elfzz4 $p |- ( ( ( M e. ZZ /\ N e. ZZ /\ K e. ZZ ) /\ ( M <_ K /\ K <_ N ) )
elfzel2 elfzzel2 $p |- ( K e. ( M ... N ) -> N e. ZZ ) $=
elfzel1 elfzzel1 $p |- ( K e. ( M ... N ) -> M e. ZZ ) $=
elfzelz elfzzelzz $p |- ( K e. ( M ... N ) -> K e. ZZ ) $=
elfz3 elfzz3 $p |- ( N e. ZZ -> N e. ( N ... N ) ) $=
fzn fzzn $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( N < M <-> ( M ... N ) = (/) ) ) $=
fzen fzzen $p |- ( ( M e. ZZ /\ N e. ZZ /\ K e. ZZ ) ->
fz01en fzz01en $p |- ( N e. ZZ -> ( 0 ... ( N - 1 ) ) ~~ ( 1 ... N ) ) $=
fzaddel fzzaddel $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\ ( J e. ZZ /\ K e. ZZ ) ) ->
fzsubel fzzsubel $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\ ( J e. ZZ /\ K e. ZZ ) ) ->
fzsn fzzsn $p |- ( M e. ZZ -> ( M ... M ) = { M } ) $=
fzp1ss fzzp1ss $p |- ( M e. ZZ -> ( ( M + 1 ) ... N ) C_ ( M ... N ) ) $=
fzpr fzzpr $p |- ( M e. ZZ -> ( M ... ( M + 1 ) ) = { M , ( M + 1 ) } ) $=
fztp fzztp $p |- ( M e. ZZ -> ( M ... ( M + 2 ) )
fzsuc2 fzzsuc2 $p |- ( ( M e. ZZ /\ N e. ( ZZ>= ` ( M - 1 ) ) ) ->
fzrev fzzrev $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\ ( J e. ZZ /\ K e. ZZ ) ) ->
fzrev2 fzzrev2 $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\ ( J e. ZZ /\ K e. ZZ ) ) ->
fzrev2i fzzrev2i $p |- ( ( J e. ZZ /\ K e. ( M ... N ) )
fzrev3 fzzrev3 $p |- ( K e. ZZ -> ( K e. ( M ... N )
elfzm11 elfzzm11 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( K e. ( M ... ( N - 1 ) ) <->
elfzm1b elfzzm1b $p |- ( ( K e. ZZ /\ N e. ZZ ) ->
fzneuz fzzneuzz $p |- ( ( N e. ( ZZ>= ` M ) /\ K e. ZZ )
fzrevral fzzrevral $p |- ( ( M e. ZZ /\ N e. ZZ /\ K e. ZZ )
fzrevral2 fzzrevral2 $p |- ( ( M e. ZZ /\ N e. ZZ /\ K e. ZZ )
fzrevral3 fzzrevral3 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( A. j e. ( M ... N ) ph
fzshftral fzzshftral $p |- ( ( M e. ZZ /\ N e. ZZ /\ K e. ZZ )
df-fzo df-fzzo $a |- ..^ = ( m e. ZZ , n e. ZZ |-> ( m ... ( n - 1 ) ) ) $.
fzof fzzof $p |- ..^ : ( ZZ X. ZZ ) --> ~P ZZ $=
elfzoel1 elfzzoel1 $p |- ( A e. ( B ..^ C ) -> B e. ZZ ) $=
elfzoel2 elfzzoel2 $p |- ( A e. ( B ..^ C ) -> C e. ZZ ) $=
elfzoelz elfzzoelzz $p |- ( A e. ( B ..^ C ) -> A e. ZZ ) $=
fzoval fzzoval $p |- ( N e. ZZ -> ( M ..^ N ) = ( M ... ( N - 1 ) ) ) $=
elfzo elfzzo $p |- ( ( K e. ZZ /\ M e. ZZ /\ N e. ZZ ) -> ( K e. ( M ..^ N ) <->
fzolb fzzolb $p |- ( M e. ( M ..^ N ) <-> ( M e. ZZ /\ N e. ZZ /\ M < N ) ) $=
fzolb2 fzzolb2 $p |- ( ( M e. ZZ /\ N e. ZZ ) -> ( M e. ( M ..^ N ) <-> M < N ) ) $=
fzospliti fzzospliti $p |- ( ( A e. ( B ..^ C ) /\ D e. ZZ ) ->
fzoaddel fzzoaddel $p |- ( ( A e. ( B ..^ C ) /\ D e. ZZ ) ->
fzoaddel2 fzzoaddel2 $p |- ( ( A e. ( 0 ..^ ( B - C ) ) /\ B e. ZZ /\ C e. ZZ ) ->
fzosubel fzzosubel $p |- ( ( A e. ( B ..^ C ) /\ D e. ZZ ) ->
fzosubel2 fzzosubel2 $p |- ( ( A e. ( ( B + C ) ..^ ( B + D ) ) /\ ( B e. ZZ /\
fzosubel3 fzzosubel3 $p |- ( ( A e. ( B ..^ ( B + D ) ) /\ D e. ZZ ) ->
fzval3 fzzval3 $p |- ( N e. ZZ -> ( M ... N ) = ( M ..^ ( N + 1 ) ) ) $=
fzosn fzzosn $p |- ( A e. ZZ -> ( A ..^ ( A + 1 ) ) = { A } ) $=
elfzom1b elfzzom1b $p |- ( ( K e. ZZ /\ N e. ZZ ) ->
flidz flidzz $p |- ( A e. RR -> ( ( |_ ` A ) = A <-> A e. ZZ ) ) $=
fladdz fladdzz $p |- ( ( A e. RR /\ N e. ZZ ) -> ( |_ ` ( A + N ) ) =
flzadd flzzadd $p |- ( ( N e. ZZ /\ A e. RR ) -> ( |_ ` ( N + A ) ) =
btwnzge0 btwnzzge0 $p |- ( ( ( A e. RR /\ N e. ZZ ) /\ ( N <_ A /\ A < ( N + 1 ) ) )
quoremz quoremzz $p |- ( ( A e. ZZ /\ B e. NN ) -> ( ( Q e. ZZ /\ R e. NN0 )
uzsup uzzsup $p |- ( M e. ZZ -> sup ( Z , RR* , < ) = +oo ) $=
zmod10 zzmod10 $p |- ( N e. ZZ -> ( N mod 1 ) = 0 ) $=
zmodcl zzmodcl $p |- ( ( A e. ZZ /\ B e. NN ) -> ( A mod B ) e. NN0 ) $=
zmodfz zzmodfzz $p |- ( ( A e. ZZ /\ B e. NN ) ->
zmodfzo zzmodfzzo $p |- ( ( A e. ZZ /\ B e. NN ) -> ( A mod B ) e. ( 0 ..^ B ) ) $=
uzenom uzzenom $p |- ( M e. ZZ -> Z ~~ om ) $=
uzinf uzzinf $p |- ( M e. ZZ -> -. Z e. Fin ) $=
zexpcl zzexpcl $p |- ( ( A e. ZZ /\ N e. NN0 ) -> ( A ^ N ) e. ZZ ) $=
reexpclz reexpclzz $p |- ( ( A e. RR /\ A =/= 0 /\ N e. ZZ ) ->
qexpclz qexpclzz $p |- ( ( A e. QQ /\ A =/= 0 /\ N e. ZZ ) -> ( A ^ N ) e. QQ ) $=
expclzlem expclzzlem $p |- ( ( A e. CC /\ A =/= 0 /\ N e. ZZ ) ->
expclz expclzz $p |- ( ( A e. CC /\ A =/= 0 /\ N e. ZZ ) -> ( A ^ N ) e. CC ) $=
expnegz expnegzz $p |- ( ( A e. CC /\ A =/= 0 /\ N e. ZZ ) ->
expaddz expaddzz $p |- ( ( ( A e. CC /\ A =/= 0 ) /\ ( M e. ZZ /\ N e. ZZ ) ) ->
expmulz expmulzz $p |- ( ( ( A e. CC /\ A =/= 0 ) /\ ( M e. ZZ /\ N e. ZZ ) ) ->
expp1z expp1zz $p |- ( ( A e. CC /\ A =/= 0 /\ N e. ZZ ) -> ( A ^ ( N + 1 ) ) =
zsqcl zzsqcl $p |- ( A e. ZZ -> ( A ^ 2 ) e. ZZ ) $=
zsqcl2 zzsqcl2 $p |- ( A e. ZZ -> ( A ^ 2 ) e. NN0 ) $=
zesq zzesq $p |- ( N e. ZZ ->
fzsdom2 fzzsdom2 $p |- ( ( ( B e. ( ZZ>= ` A ) /\ C e. ZZ ) /\ B < C ) ->
shftuz shftuzz $p |- ( ( A e. ZZ /\ B e. ZZ ) ->
absexpz absexpzz $p |- ( ( A e. CC /\ A =/= 0 /\ N e. ZZ ) ->
absz abszz $p |- ( A e. RR -> ( A e. ZZ <-> ( abs ` A ) e. ZZ ) ) $=
rexanuz rexanuzz $p |- ( E. j e. ZZ A. k e. ( ZZ>= ` j ) ( ph /\ ps ) <->
rexuz3 rexuzz3 $p |- ( M e. ZZ -> ( E. j e. Z A. k e. ( ZZ>= ` j ) ph <->
rexuzre rexuzzre $p |- ( M e. ZZ -> ( E. j e. Z A. k e. ( ZZ>= ` j ) ph <->
climz climzz $p |- ( ZZ X. { 0 } ) ~~> 0 $=
fsumzcl fsumzzcl $p |- ( ph -> sum_ k e. A B e. ZZ ) $=
efzval efzzval $p |- ( N e. ZZ -> ( exp ` N ) = ( _e ^ N ) ) $=
znnenlem zznnenlem $p |- ( ( ( 0 <_ x /\ -. 0 <_ y ) /\ ( x e. ZZ /\ y e. ZZ ) ) ->
znnen zznnen $p |- ZZ ~~ NN $=
nthruz nthruzz $p |- ( NN C. NN0 /\ NN0 C. ZZ ) $=
dvdszrcl dvdszzrcl $p |- ( X || Y -> ( X e. ZZ /\ Y e. ZZ ) ) $=
alzdvds alzzdvds $p |- ( N e. ZZ -> ( A. x e. ZZ x || N <-> N = 0 ) ) $=
bitsfzo bitsfzzo $p |- ( ( N e. ZZ /\ M e. NN0 ) ->
bitsuz bitsuzz $p |- ( ( A e. ZZ /\ N e. NN0 ) ->
bezout bezzout $p |- ( ( A e. ZZ /\ B e. ZZ ) ->
gcdmultiplez gcdmultiplezz $p |- ( ( M e. NN /\ N e. ZZ ) ->
prmz prmzz $p |- ( P e. Prime -> P e. ZZ ) $=
zgcdsq zzgcdsq $p |- ( ( A e. ZZ /\ B e. ZZ ) -> ( ( A gcd B ) ^ 2 ) = ( ( A ^ 2 )
qden1elz qden1elzz $p |- ( A e. QQ -> ( ( denom ` A ) = 1 <-> A e. ZZ ) ) $=
zsqrelqelz zzsqrelqelzz $p |- ( ( A e. ZZ /\ ( sqr ` A ) e. QQ )
df-odz df-odzz $a |- odZ = ( n e. NN |-> ( x e. { x e. ZZ | ( x gcd n ) = 1 } |->
odzval odzzval $p |- ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) ->
odzcllem odzzcllem $p |- ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) ->
odzcl odzzcl $p |- ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) ->
odzid odzzid $p |- ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) ->
odzdvds odzzdvds $p |- ( ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) /\ K e. NN0 )
odzphi odzzphi $p |- ( ( N e. NN /\ A e. ZZ /\ ( A gcd N ) = 1 ) ->
pczpre pczzpre $p |- ( ( P e. Prime /\ ( N e. ZZ /\ N =/= 0 ) ) ->
pczcl pczzcl $p |- ( ( P e. Prime /\ ( N e. ZZ /\ N =/= 0 ) ) ->
pczdvds pczzdvds $p |- ( ( P e. Prime /\ ( N e. ZZ /\ N =/= 0 ) ) ->
pczndvds pczzndvds $p |- ( ( P e. Prime /\ ( N e. ZZ /\ N =/= 0 ) ) ->
pczndvds2 pczzndvds2 $p |- ( ( P e. Prime /\ ( N e. ZZ /\ N =/= 0 ) ) ->
pcz pczz $p |- ( A e. QQ -> ( A e. ZZ <-> A. p e. Prime 0 <_ ( p pCnt A ) ) ) $=
qexpz qexpzz $p |- ( ( A e. QQ /\ N e. NN /\ ( A ^ N ) e. ZZ ) ->
df-gz df-gzz $a |- Z[i] = { x e. CC | ( ( Re ` x ) e. ZZ /\ ( Im ` x ) e. ZZ ) } $.
zgz zzgzz $p |- ( A e. ZZ -> A e. Z[i] ) $=
gzreim gzzreim $p |- ( ( A e. ZZ /\ B e. ZZ ) -> ( A + ( _i x. B ) ) e. Z[i] ) $=
mulgz mulgzz $p |- ( ( G e. Grp /\ N e. ZZ ) -> ( N .x. .0. ) = .0. ) $=
odbezout odbezzout $p |- ( ( ( G e. Grp /\ A e. X /\ N e. ZZ ) /\
zsubrg zzsubrg $p |- ZZ e. ( SubRing ` CCfld ) $=
zsssubrg zzsssubrg $p |- ( R e. ( SubRing ` CCfld ) -> ZZ C_ R ) $=
zrngunit zzrngunit $p |- ( A e. ( Unit ` Z ) <-> ( A e. ZZ /\ ( abs ` A ) = 1 ) ) $=
df-zrh df-zzrh $a |- ZRHom = ( r e. _V |-> U. ( ( CCfld |`s ZZ ) RingHom r ) ) $.
df-zn df-zzn $a |- Z/nZ = ( n e. NN0 |-> [_ ( CCfld |`s ZZ ) / z ]_
zrhval2 zzrhval2 $p |- ( R e. Ring -> L = ( n e. ZZ |-> ( n .x. .1. ) ) ) $=
zrhmulg zzrhmulg $p |- ( ( R e. Ring /\ N e. ZZ ) ->
znlidl zznlidl $p |- ( N e. ZZ -> ( S ` { N } ) e. ( LIdeal ` Z ) ) $=
zncrng2 zzncrng2 $p |- ( N e. ZZ -> U e. CRing ) $=
znbas zznbas $p |- ( N e. NN0 -> ( ZZ /. R ) = ( Base ` Y ) ) $=
znzrh2 zznzzrh2 $p |- ( N e. NN0 -> L = ( x e. ZZ |-> [ x ] .~ ) ) $=
znzrhval zznzzrhval $p |- ( ( N e. NN0 /\ A e. ZZ ) -> ( L ` A ) = [ A ] .~ ) $=
znzrhfo zznzzrhfo $p |- ( N e. NN0 -> L : ZZ -onto-> B ) $=
zndvds zzndvds $p |- ( ( N e. NN0 /\ A e. ZZ /\ B e. ZZ ) ->
zndvds0 zzndvds0 $p |- ( ( N e. NN0 /\ A e. ZZ ) ->
zzngim zzzzngim $p |- L e. ( ( CCfld |`s ZZ ) GrpIso Y ) $=
znunit zznunit $p |- ( ( N e. NN0 /\ A e. ZZ ) ->
cygznlem1 cygzznlem1 $p |- ( ( ph /\ ( K e. ZZ /\ M e. ZZ ) ) ->
cygznlem2 cygzznlem2 $p |- ( ( ph /\ M e. ZZ ) ->
zfbas zzfbas $p |- ran ZZ>= e. ( fBas ` ZZ ) $=
uzrest uzzrest $p |- ( M e. ZZ -> ( ran ZZ>= |`t Z ) = ( ZZ>= " Z ) ) $=
uzfbas uzzfbas $p |- ( M e. ZZ -> ( ZZ>= " Z ) e. ( fBas ` Z ) ) $=
zcld zzcld $p |- ZZ e. ( Clsd ` J ) $=
zcld2 zzcld2 $p |- ZZ e. ( Clsd ` J ) $=
zdis zzdis $p |- ( J |`t ZZ ) = ~P ZZ $=
clmzss clmzzss $p |- ( W e. CMod -> ZZ C_ K ) $=
clmzlmvsca clmzzlmvsca $p |- ( ( G e. CMod /\ ( A e. ZZ /\ B e. X ) ) ->
cxpexpz cxpexpzz $p |- ( ( A e. CC /\ A =/= 0 /\ B e. ZZ ) ->
cxpmul2z cxpmul2zz $p |- ( ( ( A e. CC /\ A =/= 0 ) /\ ( B e. CC /\ C e. ZZ ) ) ->
zaddsubgo zzaddsubgo $p |- ( + |` ( ZZ X. ZZ ) ) e. ( SubGrpOp ` + ) $=
ballotlemfelz ballotlemfelzz $p |- ( ph -> ( ( F ` C ) ` J ) e. ZZ ) $=
zmodid2 zzmodid2 $p |- ( ( M e. ZZ /\ N e. NN ) -> ( ( M mod N ) = M <->
elfzp1b elfzzp1b $p |- ( ( K e. ZZ /\ N e. ZZ ) ->
supfz supfzz $p |- ( N e. ( ZZ>= ` M ) -> sup ( ( M ... N ) , ZZ , < ) = N ) $=
inffz inffzz $p |- ( N e. ( ZZ>= ` M ) -> sup ( ( M ... N ) , ZZ , `' < ) = M ) $=
eluzaddOLD eluzzaddOLD $p |- ( ( N e. ( ZZ>= ` M ) /\ K e. ZZ ) ->
eluzsubOLD eluzzsubOLD $p |- ( ( M e. ZZ /\ K e. ZZ /\ N e. ( ZZ>= ` ( M + K ) ) )
fzmul fzzmul $p |- ( ( M e. ZZ /\ N e. ZZ /\ K e. NN ) -> ( J e. ( M ... N ) ->
fzadd2 fzzadd2 $p |- ( ( ( M e. ZZ /\ N e. ZZ ) /\ ( O e. ZZ /\ P e. ZZ ) ) ->
abszOLD abszzOLD $p |- ( A e. RR -> ( A e. ZZ <-> ( abs ` A ) e. ZZ ) ) $=
df-mzpcl df-mzzpcl $a |- mzPolyCld = ( v e. _V |-> { p e. ~P ( ZZ ^m ( ZZ ^m v ) ) |
mzpclall mzzpclall $p |- ( V e. _V -> ( ZZ ^m ( ZZ ^m V ) ) e. ( mzPolyCld ` V ) ) $=
mzpcl1 mzzpcl1 $p |- ( ( P e. ( mzPolyCld ` V ) /\ F e. ZZ ) ->
mzpconst mzzpconst $p |- ( ( V e. _V /\ C e. ZZ ) ->
mzpf mzzpf $p |- ( F e. ( mzPoly ` V ) -> F : ( ZZ ^m V ) --> ZZ ) $=
mzpproj mzzpproj $p |- ( ( V e. _V /\ X e. V ) -> ( g e. ( ZZ ^m V ) |-> ( g ` X ) )
mzpconstmpt mzzpconstmpt $p |- ( ( V e. _V /\ C e. ZZ ) ->
mzpaddmpt mzzpaddmpt $p |- ( ( ( x e. ( ZZ ^m V ) |-> A ) e. ( mzPoly ` V ) /\ ( x e.
mzpmulmpt mzzpmulmpt $p |- ( ( ( x e. ( ZZ ^m V ) |-> A ) e. ( mzPoly ` V ) /\
mzpsubmpt mzzpsubmpt $p |- ( ( ( x e. ( ZZ ^m V ) |-> A ) e. ( mzPoly ` V ) /\
mzpnegmpt mzzpnegmpt $p |- ( ( x e. ( ZZ ^m V ) |-> A ) e. ( mzPoly ` V ) ->
mzpexpmpt mzzpexpmpt $p |- ( ( ( x e. ( ZZ ^m V ) |-> A ) e. ( mzPoly ` V ) /\
mzpmfp mzzpmfp $p |- ( mzPoly ` I ) = ran ( I eval ( CCfld |`s ZZ ) ) $=
ellz1 ellzz1 $p |- ( B e. ZZ -> ( A e. ( ZZ \ ( ZZ>= ` ( B + 1 ) ) ) <-> ( A e. ZZ
lzunuz lzzunuzz $p |- ( ( A e. ZZ /\ B e. ZZ /\ B <_ ( A + 1 ) ) -> ( ( ZZ \ ( ZZ>=
fz1eqin fzz1eqin $p |- ( N e. NN0 -> ( 1 ... N ) = ( ( ZZ \ ( ZZ>= ` ( N + 1 ) ) )
lzenom lzzenom $p |- ( N e. ZZ -> ( ZZ \ ( ZZ>= ` ( N + 1 ) ) ) ~~ om ) $=
rexzrexnn0 rexzzrexnn0 $p |- ( E. x e. ZZ ph <-> E. y e. NN0 ( ps \/ ch ) ) $=
eluzrabdioph eluzzrabdioph $p |- ( ( N e. NN0 /\ M e. ZZ /\ ( t e. ( ZZ ^m ( 1 ... N ) )
monotoddzzfi monotoddzzzzfi $p |- ( ( ph /\ A e. ZZ /\ B e. ZZ ) -> ( A < B <-> ( F ` A )
monotoddzz monotoddzzzz $p |- ( ( ph /\ A e. ZZ /\ B e. ZZ ) -> ( A < B <-> C < D ) ) $=
oddcomabszz oddcomabszzzz $p |- ( ( ph /\ D e. ZZ ) -> ( abs ` E ) = F ) $=
zindbi zzindbi $p |- ( A e. ZZ -> ( th <-> ta ) ) $=
mzpcong mzzpcong $p |- ( ( F e. ( mzPoly ` V ) /\ ( X e. ( ZZ ^m V ) /\ Y e. ( ZZ ^m
fzmaxdif fzzmaxdif $p |- ( ( ( C e. ZZ /\ A e. ( B ... C ) ) /\ ( F e. ZZ /\ D e. ( E
fzneg fzzneg $p |- ( ( A e. ZZ /\ B e. ZZ /\ C e. ZZ ) -> ( A e. ( B ... C ) <-> -u
bezoutr bezzoutr $p |- ( ( ( A e. ZZ /\ B e. ZZ ) /\ ( X e. ZZ /\ Y e. ZZ ) ) -> ( A
bezoutr1 bezzoutr1 $p |- ( ( ( A e. ZZ /\ B e. ZZ ) /\ ( X e. ZZ /\ Y e. ZZ ) ) -> ( (
zabscl zzabscl $p |- ( A e. ZZ -> ( abs ` A ) e. ZZ ) $=