doc-src/TutorialI/Types/document/Numbers.tex
author paulson
Mon, 12 Nov 2001 10:56:38 +0100
changeset 12156 d2758965362e
parent 11870 181bd2050cf4
child 12332 aea72a834c85
permissions -rw-r--r--
new-style numerals without leading #, along with generic 0 and 1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
     1
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
     2
\begin{isabellebody}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
     3
\def\isabellecontext{Numbers}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
     4
\isanewline
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
     5
\isacommand{theory}\ Numbers\ {\isacharequal}\ Real{\isacharcolon}\isanewline
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
     6
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
     7
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
     8
\isacommand{ML}\ {\isachardoublequote}Pretty{\isachardot}setmargin\ {\isadigit{6}}{\isadigit{4}}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
     9
\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    10
\isacommand{ML}\ {\isachardoublequote}IsarOutput{\isachardot}indent\ {\isacharcolon}{\isacharequal}\ {\isadigit{0}}{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    11
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    12
\begin{isamarkuptext}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    13
numeric literals; default simprules; can re-orient%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    14
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    15
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    16
\isacommand{lemma}\ {\isachardoublequote}{\isadigit{2}}\ {\isacharasterisk}\ m\ {\isacharequal}\ m\ {\isacharplus}\ m{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    17
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    18
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    19
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    20
\ {\isadigit{1}}{\isachardot}\ {\isacharparenleft}{\isadigit{2}}{\isasymColon}{\isacharprime}a{\isacharparenright}\ {\isacharasterisk}\ m\ {\isacharequal}\ m\ {\isacharplus}\ m%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    21
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    22
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    23
\isamarkuptrue%
10878
b254d5ad6dd4 auto update
paulson
parents: 10790
diff changeset
    24
\isacommand{oops}\isanewline
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    25
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    26
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    27
\isacommand{consts}\ h\ {\isacharcolon}{\isacharcolon}\ {\isachardoublequote}nat\ {\isasymRightarrow}\ nat{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    28
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    29
\isacommand{recdef}\ h\ {\isachardoublequote}{\isacharbraceleft}{\isacharbraceright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    30
{\isachardoublequote}h\ i\ {\isacharequal}\ {\isacharparenleft}if\ i\ {\isacharequal}\ {\isadigit{3}}\ then\ {\isadigit{2}}\ else\ i{\isacharparenright}{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    31
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    32
\begin{isamarkuptext}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    33
\isa{h\ {\isadigit{3}}\ {\isacharequal}\ {\isadigit{2}}}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    34
\isa{h\ i\ {\isacharequal}\ i}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    35
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    36
\isamarkuptrue%
10878
b254d5ad6dd4 auto update
paulson
parents: 10790
diff changeset
    37
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    38
\begin{isamarkuptext}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    39
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    40
Numeral{\isadigit{0}}\ {\isacharequal}\ {\isadigit{0}}%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    41
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    42
\rulename{numeral_0_eq_0}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    43
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    44
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    45
Numeral{\isadigit{1}}\ {\isacharequal}\ {\isadigit{1}}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    46
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    47
\rulename{numeral_1_eq_1}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    48
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    49
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    50
{\isadigit{2}}\ {\isacharplus}\ n\ {\isacharequal}\ Suc\ {\isacharparenleft}Suc\ n{\isacharparenright}%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    51
\end{isabelle}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    52
\rulename{add_2_eq_Suc}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    53
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    54
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
    55
n\ {\isacharplus}\ {\isadigit{2}}\ {\isacharequal}\ Suc\ {\isacharparenleft}Suc\ n{\isacharparenright}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    56
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    57
\rulename{add_2_eq_Suc'}
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    58
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    59
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    60
m\ {\isacharplus}\ n\ {\isacharplus}\ k\ {\isacharequal}\ m\ {\isacharplus}\ {\isacharparenleft}n\ {\isacharplus}\ k{\isacharparenright}%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    61
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    62
\rulename{add_assoc}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    63
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    64
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    65
m\ {\isacharplus}\ n\ {\isacharequal}\ n\ {\isacharplus}\ m%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    66
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    67
\rulename{add_commute}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    68
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    69
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    70
x\ {\isacharplus}\ {\isacharparenleft}y\ {\isacharplus}\ z{\isacharparenright}\ {\isacharequal}\ y\ {\isacharplus}\ {\isacharparenleft}x\ {\isacharplus}\ z{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    71
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
    72
\rulename{add_left_commute}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    73
49109fe3e919 auto generated
paulson
parents:
diff changeset
    74
these form add_ac; similarly there is mult_ac%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    75
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    76
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    77
\isacommand{lemma}\ {\isachardoublequote}Suc{\isacharparenleft}i\ {\isacharplus}\ j{\isacharasterisk}l{\isacharasterisk}k\ {\isacharplus}\ m{\isacharasterisk}n{\isacharparenright}\ {\isacharequal}\ f\ {\isacharparenleft}n{\isacharasterisk}m\ {\isacharplus}\ i\ {\isacharplus}\ k{\isacharasterisk}j{\isacharasterisk}l{\isacharparenright}{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    78
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    79
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    80
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    81
\ {\isadigit{1}}{\isachardot}\ Suc\ {\isacharparenleft}i\ {\isacharplus}\ j\ {\isacharasterisk}\ l\ {\isacharasterisk}\ k\ {\isacharplus}\ m\ {\isacharasterisk}\ n{\isacharparenright}\ {\isacharequal}\ f\ {\isacharparenleft}n\ {\isacharasterisk}\ m\ {\isacharplus}\ i\ {\isacharplus}\ k\ {\isacharasterisk}\ j\ {\isacharasterisk}\ l{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    82
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    83
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    84
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    85
\isacommand{apply}\ {\isacharparenleft}simp\ add{\isacharcolon}\ add{\isacharunderscore}ac\ mult{\isacharunderscore}ac{\isacharparenright}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    86
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    87
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    88
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    89
\ {\isadigit{1}}{\isachardot}\ Suc\ {\isacharparenleft}i\ {\isacharplus}\ {\isacharparenleft}m\ {\isacharasterisk}\ n\ {\isacharplus}\ j\ {\isacharasterisk}\ {\isacharparenleft}k\ {\isacharasterisk}\ l{\isacharparenright}{\isacharparenright}{\isacharparenright}\ {\isacharequal}\isanewline
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    90
\isaindent{\ {\isadigit{1}}{\isachardot}\ }f\ {\isacharparenleft}i\ {\isacharplus}\ {\isacharparenleft}m\ {\isacharasterisk}\ n\ {\isacharplus}\ j\ {\isacharasterisk}\ {\isacharparenleft}k\ {\isacharasterisk}\ l{\isacharparenright}{\isacharparenright}{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    91
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    92
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    93
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    94
\isacommand{oops}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
    95
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    96
\begin{isamarkuptext}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    97
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
    98
{\isasymlbrakk}i\ {\isasymle}\ j{\isacharsemicolon}\ k\ {\isasymle}\ l{\isasymrbrakk}\ {\isasymLongrightarrow}\ i\ {\isacharasterisk}\ k\ {\isasymle}\ j\ {\isacharasterisk}\ l%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
    99
\end{isabelle}
49109fe3e919 auto generated
paulson
parents:
diff changeset
   100
\rulename{mult_le_mono}
49109fe3e919 auto generated
paulson
parents:
diff changeset
   101
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   102
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   103
{\isasymlbrakk}i\ {\isacharless}\ j{\isacharsemicolon}\ {\isadigit{0}}\ {\isacharless}\ k{\isasymrbrakk}\ {\isasymLongrightarrow}\ i\ {\isacharasterisk}\ k\ {\isacharless}\ j\ {\isacharasterisk}\ k%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   104
\end{isabelle}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   105
\rulename{mult_less_mono1}
49109fe3e919 auto generated
paulson
parents:
diff changeset
   106
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   107
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   108
m\ {\isasymle}\ n\ {\isasymLongrightarrow}\ m\ div\ k\ {\isasymle}\ n\ div\ k%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   109
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   110
\rulename{div_le_mono}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   111
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   112
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   113
{\isacharparenleft}m\ {\isacharplus}\ n{\isacharparenright}\ {\isacharasterisk}\ k\ {\isacharequal}\ m\ {\isacharasterisk}\ k\ {\isacharplus}\ n\ {\isacharasterisk}\ k%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   114
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   115
\rulename{add_mult_distrib}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   116
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   117
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   118
{\isacharparenleft}m\ {\isacharminus}\ n{\isacharparenright}\ {\isacharasterisk}\ k\ {\isacharequal}\ m\ {\isacharasterisk}\ k\ {\isacharminus}\ n\ {\isacharasterisk}\ k%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   119
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   120
\rulename{diff_mult_distrib}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   121
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   122
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   123
m\ mod\ n\ {\isacharasterisk}\ k\ {\isacharequal}\ m\ {\isacharasterisk}\ k\ mod\ {\isacharparenleft}n\ {\isacharasterisk}\ k{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   124
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   125
\rulename{mod_mult_distrib}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   126
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   127
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   128
P\ {\isacharparenleft}a\ {\isacharminus}\ b{\isacharparenright}\ {\isacharequal}\ {\isacharparenleft}{\isacharparenleft}a\ {\isacharless}\ b\ {\isasymlongrightarrow}\ P\ {\isadigit{0}}{\isacharparenright}\ {\isasymand}\ {\isacharparenleft}{\isasymforall}d{\isachardot}\ a\ {\isacharequal}\ b\ {\isacharplus}\ d\ {\isasymlongrightarrow}\ P\ d{\isacharparenright}{\isacharparenright}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   129
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   130
\rulename{nat_diff_split}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   131
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   132
\isamarkuptrue%
12156
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   133
\isacommand{lemma}\ {\isachardoublequote}{\isacharparenleft}n\ {\isacharminus}\ {\isadigit{1}}{\isacharparenright}\ {\isacharasterisk}\ {\isacharparenleft}n\ {\isacharplus}\ {\isadigit{1}}{\isacharparenright}\ {\isacharequal}\ n\ {\isacharasterisk}\ n\ {\isacharminus}\ {\isacharparenleft}{\isadigit{1}}{\isacharcolon}{\isacharcolon}nat{\isacharparenright}{\isachardoublequote}\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   134
\isamarkupfalse%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   135
\isacommand{apply}\ {\isacharparenleft}clarsimp\ split{\isacharcolon}\ nat{\isacharunderscore}diff{\isacharunderscore}split{\isacharparenright}\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   136
\ %
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   137
\isamarkupcmt{\begin{isabelle}%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   138
\ {\isadigit{1}}{\isachardot}\ {\isasymAnd}d{\isachardot}\ {\isasymlbrakk}n\ {\isacharless}\ Suc\ {\isadigit{0}}{\isacharsemicolon}\ n\ {\isacharasterisk}\ n\ {\isacharequal}\ Suc\ d{\isasymrbrakk}\ {\isasymLongrightarrow}\ d\ {\isacharequal}\ {\isadigit{0}}%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   139
\end{isabelle}%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   140
}
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   141
\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   142
\isamarkupfalse%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   143
\isacommand{apply}\ {\isacharparenleft}subgoal{\isacharunderscore}tac\ {\isachardoublequote}n{\isacharequal}{\isadigit{0}}{\isachardoublequote}{\isacharcomma}\ force{\isacharcomma}\ arith{\isacharparenright}\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   144
\isamarkupfalse%
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   145
\isacommand{done}\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   146
\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   147
\isanewline
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   148
\isamarkupfalse%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   149
\isacommand{lemma}\ {\isachardoublequote}{\isacharparenleft}n\ {\isacharminus}\ {\isadigit{2}}{\isacharparenright}\ {\isacharasterisk}\ {\isacharparenleft}n\ {\isacharplus}\ {\isadigit{2}}{\isacharparenright}\ {\isacharequal}\ n\ {\isacharasterisk}\ n\ {\isacharminus}\ {\isacharparenleft}{\isadigit{4}}{\isacharcolon}{\isacharcolon}nat{\isacharparenright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   150
\isamarkupfalse%
12156
d2758965362e new-style numerals without leading #, along with generic 0 and 1
paulson
parents: 11870
diff changeset
   151
\isacommand{apply}\ {\isacharparenleft}simp\ split{\isacharcolon}\ nat{\isacharunderscore}diff{\isacharunderscore}split{\isacharcomma}\ clarify{\isacharparenright}\isanewline
11480
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   152
\ %
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   153
\isamarkupcmt{\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   154
\ {\isadigit{1}}{\isachardot}\ {\isasymAnd}d{\isachardot}\ {\isasymlbrakk}n\ {\isacharless}\ {\isadigit{2}}{\isacharsemicolon}\ n\ {\isacharasterisk}\ n\ {\isacharequal}\ {\isadigit{4}}\ {\isacharplus}\ d{\isasymrbrakk}\ {\isasymLongrightarrow}\ d\ {\isacharequal}\ {\isadigit{0}}%
11480
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   155
\end{isabelle}%
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   156
}
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   157
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   158
\isamarkupfalse%
11480
0fba0357c04c Getting it working again with 1' instead of 1
paulson
parents: 11187
diff changeset
   159
\isacommand{apply}\ {\isacharparenleft}subgoal{\isacharunderscore}tac\ {\isachardoublequote}n{\isacharequal}{\isadigit{0}}\ {\isacharbar}\ n{\isacharequal}{\isadigit{1}}{\isachardoublequote}{\isacharcomma}\ force{\isacharcomma}\ arith{\isacharparenright}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   160
\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   161
\isacommand{done}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   162
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   163
\begin{isamarkuptext}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   164
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   165
m\ mod\ n\ {\isacharequal}\ {\isacharparenleft}if\ m\ {\isacharless}\ n\ then\ m\ else\ {\isacharparenleft}m\ {\isacharminus}\ n{\isacharparenright}\ mod\ n{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   166
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   167
\rulename{mod_if}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   168
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   169
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   170
m\ div\ n\ {\isacharasterisk}\ n\ {\isacharplus}\ m\ mod\ n\ {\isacharequal}\ m%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   171
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   172
\rulename{mod_div_equality}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   173
49109fe3e919 auto generated
paulson
parents:
diff changeset
   174
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   175
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   176
a\ {\isacharasterisk}\ b\ div\ c\ {\isacharequal}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ div\ c{\isacharparenright}\ {\isacharplus}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ mod\ c{\isacharparenright}\ div\ c%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   177
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   178
\rulename{div_mult1_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   179
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   180
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   181
a\ {\isacharasterisk}\ b\ mod\ c\ {\isacharequal}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ mod\ c{\isacharparenright}\ mod\ c%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   182
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   183
\rulename{mod_mult1_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   184
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   185
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   186
a\ div\ {\isacharparenleft}b\ {\isacharasterisk}\ c{\isacharparenright}\ {\isacharequal}\ a\ div\ b\ div\ c%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   187
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   188
\rulename{div_mult2_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   189
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   190
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   191
a\ mod\ {\isacharparenleft}b\ {\isacharasterisk}\ c{\isacharparenright}\ {\isacharequal}\ b\ {\isacharasterisk}\ {\isacharparenleft}a\ div\ b\ mod\ c{\isacharparenright}\ {\isacharplus}\ a\ mod\ b%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   192
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   193
\rulename{mod_mult2_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   194
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   195
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   196
{\isadigit{0}}\ {\isacharless}\ c\ {\isasymLongrightarrow}\ c\ {\isacharasterisk}\ a\ div\ {\isacharparenleft}c\ {\isacharasterisk}\ b{\isacharparenright}\ {\isacharequal}\ a\ div\ b%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   197
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   198
\rulename{div_mult_mult1}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   199
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   200
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   201
a\ div\ {\isadigit{0}}\ {\isacharequal}\ {\isadigit{0}}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   202
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   203
\rulename{DIVISION_BY_ZERO_DIV}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   204
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   205
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   206
a\ mod\ {\isadigit{0}}\ {\isacharequal}\ a%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   207
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   208
\rulename{DIVISION_BY_ZERO_MOD}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   209
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   210
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   211
{\isasymlbrakk}m\ dvd\ n{\isacharsemicolon}\ n\ dvd\ m{\isasymrbrakk}\ {\isasymLongrightarrow}\ m\ {\isacharequal}\ n%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   212
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   213
\rulename{dvd_anti_sym}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   214
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   215
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   216
{\isasymlbrakk}k\ dvd\ m{\isacharsemicolon}\ k\ dvd\ n{\isasymrbrakk}\ {\isasymLongrightarrow}\ k\ dvd\ m\ {\isacharplus}\ n%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   217
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   218
\rulename{dvd_add}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   219
49109fe3e919 auto generated
paulson
parents:
diff changeset
   220
For the integers, I'd list a few theorems that somehow involve negative 
49109fe3e919 auto generated
paulson
parents:
diff changeset
   221
numbers.  
49109fe3e919 auto generated
paulson
parents:
diff changeset
   222
49109fe3e919 auto generated
paulson
parents:
diff changeset
   223
Division, remainder of negatives
49109fe3e919 auto generated
paulson
parents:
diff changeset
   224
49109fe3e919 auto generated
paulson
parents:
diff changeset
   225
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   226
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   227
{\isadigit{0}}\ {\isacharless}\ b\ {\isasymLongrightarrow}\ {\isadigit{0}}\ {\isasymle}\ a\ mod\ b%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   228
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   229
\rulename{pos_mod_sign}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   230
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   231
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   232
{\isadigit{0}}\ {\isacharless}\ b\ {\isasymLongrightarrow}\ a\ mod\ b\ {\isacharless}\ b%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   233
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   234
\rulename{pos_mod_bound}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   235
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   236
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   237
b\ {\isacharless}\ {\isadigit{0}}\ {\isasymLongrightarrow}\ a\ mod\ b\ {\isasymle}\ {\isadigit{0}}%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   238
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   239
\rulename{neg_mod_sign}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   240
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   241
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   242
b\ {\isacharless}\ {\isadigit{0}}\ {\isasymLongrightarrow}\ b\ {\isacharless}\ a\ mod\ b%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   243
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   244
\rulename{neg_mod_bound}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   245
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   246
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   247
{\isacharparenleft}a\ {\isacharplus}\ b{\isacharparenright}\ div\ c\ {\isacharequal}\ a\ div\ c\ {\isacharplus}\ b\ div\ c\ {\isacharplus}\ {\isacharparenleft}a\ mod\ c\ {\isacharplus}\ b\ mod\ c{\isacharparenright}\ div\ c%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   248
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   249
\rulename{zdiv_zadd1_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   250
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   251
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   252
{\isacharparenleft}a\ {\isacharplus}\ b{\isacharparenright}\ mod\ c\ {\isacharequal}\ {\isacharparenleft}a\ mod\ c\ {\isacharplus}\ b\ mod\ c{\isacharparenright}\ mod\ c%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   253
\end{isabelle}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   254
\rulename{zmod_zadd1_eq}
49109fe3e919 auto generated
paulson
parents:
diff changeset
   255
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   256
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   257
a\ {\isacharasterisk}\ b\ div\ c\ {\isacharequal}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ div\ c{\isacharparenright}\ {\isacharplus}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ mod\ c{\isacharparenright}\ div\ c%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   258
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   259
\rulename{zdiv_zmult1_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   260
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   261
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   262
a\ {\isacharasterisk}\ b\ mod\ c\ {\isacharequal}\ a\ {\isacharasterisk}\ {\isacharparenleft}b\ mod\ c{\isacharparenright}\ mod\ c%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   263
\end{isabelle}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   264
\rulename{zmod_zmult1_eq}
49109fe3e919 auto generated
paulson
parents:
diff changeset
   265
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   266
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   267
{\isadigit{0}}\ {\isacharless}\ c\ {\isasymLongrightarrow}\ a\ div\ {\isacharparenleft}b\ {\isacharasterisk}\ c{\isacharparenright}\ {\isacharequal}\ a\ div\ b\ div\ c%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   268
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   269
\rulename{zdiv_zmult2_eq}
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   270
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   271
\begin{isabelle}%
11870
181bd2050cf4 Numerals now work for the integers: the binary numerals for 0 and 1 rewrite
paulson
parents: 11866
diff changeset
   272
{\isadigit{0}}\ {\isacharless}\ c\ {\isasymLongrightarrow}\ a\ mod\ {\isacharparenleft}b\ {\isacharasterisk}\ c{\isacharparenright}\ {\isacharequal}\ b\ {\isacharasterisk}\ {\isacharparenleft}a\ div\ b\ mod\ c{\isacharparenright}\ {\isacharplus}\ a\ mod\ b%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   273
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   274
\rulename{zmod_zmult2_eq}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   275
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   276
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   277
{\isasymbar}x\ {\isacharasterisk}\ y{\isasymbar}\ {\isacharequal}\ {\isasymbar}x{\isasymbar}\ {\isacharasterisk}\ {\isasymbar}y{\isasymbar}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   278
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   279
\rulename{abs_mult}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   280
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   281
\isamarkuptrue%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   282
\isacommand{lemma}\ {\isachardoublequote}abs\ {\isacharparenleft}x{\isacharplus}y{\isacharparenright}\ {\isasymle}\ abs\ x\ {\isacharplus}\ abs\ {\isacharparenleft}y\ {\isacharcolon}{\isacharcolon}\ int{\isacharparenright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   283
\isamarkupfalse%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   284
\isacommand{by}\ arith\isanewline
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   285
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   286
\isamarkupfalse%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   287
\isacommand{lemma}\ {\isachardoublequote}abs\ {\isacharparenleft}{\isadigit{2}}{\isacharasterisk}x{\isacharparenright}\ {\isacharequal}\ {\isadigit{2}}\ {\isacharasterisk}\ abs\ {\isacharparenleft}x\ {\isacharcolon}{\isacharcolon}\ int{\isacharparenright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   288
\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   289
\isacommand{by}\ {\isacharparenleft}simp\ add{\isacharcolon}\ zabs{\isacharunderscore}def{\isacharparenright}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   290
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   291
\begin{isamarkuptext}%
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   292
REALS
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   293
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   294
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   295
{\isasymbar}r{\isasymbar}\ {\isacharcircum}\ n\ {\isacharequal}\ {\isasymbar}r\ {\isacharcircum}\ n{\isasymbar}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   296
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   297
\rulename{realpow_abs}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   298
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   299
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   300
x\ {\isacharless}\ y\ {\isasymLongrightarrow}\ {\isasymexists}r{\isachardot}\ x\ {\isacharless}\ r\ {\isasymand}\ r\ {\isacharless}\ y%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   301
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   302
\rulename{real_dense}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   303
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   304
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   305
{\isasymbar}r{\isasymbar}\ {\isacharcircum}\ n\ {\isacharequal}\ {\isasymbar}r\ {\isacharcircum}\ n{\isasymbar}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   306
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   307
\rulename{realpow_abs}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   308
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   309
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   310
x\ {\isacharasterisk}\ {\isacharparenleft}y\ {\isacharslash}\ z{\isacharparenright}\ {\isacharequal}\ x\ {\isacharasterisk}\ y\ {\isacharslash}\ z%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   311
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   312
\rulename{real_times_divide1_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   313
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   314
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   315
y\ {\isacharslash}\ z\ {\isacharasterisk}\ x\ {\isacharequal}\ y\ {\isacharasterisk}\ x\ {\isacharslash}\ z%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   316
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   317
\rulename{real_times_divide2_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   318
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   319
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   320
x\ {\isacharslash}\ {\isacharparenleft}y\ {\isacharslash}\ z{\isacharparenright}\ {\isacharequal}\ x\ {\isacharasterisk}\ z\ {\isacharslash}\ y%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   321
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   322
\rulename{real_divide_divide1_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   323
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   324
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   325
x\ {\isacharslash}\ y\ {\isacharslash}\ z\ {\isacharequal}\ x\ {\isacharslash}\ {\isacharparenleft}y\ {\isacharasterisk}\ z{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   326
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   327
\rulename{real_divide_divide2_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   328
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   329
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   330
{\isacharminus}\ x\ {\isacharslash}\ y\ {\isacharequal}\ {\isacharminus}\ {\isacharparenleft}x\ {\isacharslash}\ y{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   331
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   332
\rulename{real_minus_divide_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   333
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   334
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   335
x\ {\isacharslash}\ {\isacharminus}\ y\ {\isacharequal}\ {\isacharminus}\ {\isacharparenleft}x\ {\isacharslash}\ y{\isacharparenright}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   336
\end{isabelle}
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   337
\rulename{real_divide_minus_eq}
10776
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   338
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   339
This last NOT a simprule
985066e9495d updated;
wenzelm
parents: 10696
diff changeset
   340
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   341
\begin{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   342
{\isacharparenleft}x\ {\isacharplus}\ y{\isacharparenright}\ {\isacharslash}\ z\ {\isacharequal}\ x\ {\isacharslash}\ z\ {\isacharplus}\ y\ {\isacharslash}\ z%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   343
\end{isabelle}
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   344
\rulename{real_add_divide_distrib}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   345
\end{isamarkuptext}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   346
\isamarkuptrue%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   347
\isacommand{lemma}\ {\isachardoublequote}{\isadigit{3}}{\isacharslash}{\isadigit{4}}\ {\isacharless}\ {\isacharparenleft}{\isadigit{7}}{\isacharslash}{\isadigit{8}}\ {\isacharcolon}{\isacharcolon}\ real{\isacharparenright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   348
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   349
\isacommand{by}\ simp\ \isanewline
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   350
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   351
\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   352
\isacommand{lemma}\ {\isachardoublequote}P\ {\isacharparenleft}{\isacharparenleft}{\isadigit{3}}{\isacharslash}{\isadigit{4}}{\isacharparenright}\ {\isacharasterisk}\ {\isacharparenleft}{\isadigit{8}}{\isacharslash}{\isadigit{1}}{\isadigit{5}}\ {\isacharcolon}{\isacharcolon}\ real{\isacharparenright}{\isacharparenright}{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   353
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   354
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   355
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   356
\ {\isadigit{1}}{\isachardot}\ P\ {\isacharparenleft}{\isadigit{3}}\ {\isacharslash}\ {\isadigit{4}}\ {\isacharasterisk}\ {\isacharparenleft}{\isadigit{8}}\ {\isacharslash}\ {\isadigit{1}}{\isadigit{5}}{\isacharparenright}{\isacharparenright}%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   357
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   358
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   359
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   360
\isacommand{apply}\ simp\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   361
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   362
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   363
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   364
\ {\isadigit{1}}{\isachardot}\ P\ {\isacharparenleft}{\isadigit{2}}\ {\isacharslash}\ {\isadigit{5}}{\isacharparenright}%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   365
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   366
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   367
\isamarkuptrue%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   368
\isacommand{oops}\isanewline
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   369
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   370
\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   371
\isacommand{lemma}\ {\isachardoublequote}{\isacharparenleft}{\isadigit{3}}{\isacharslash}{\isadigit{4}}{\isacharparenright}\ {\isacharasterisk}\ {\isacharparenleft}{\isadigit{8}}{\isacharslash}{\isadigit{1}}{\isadigit{5}}{\isacharparenright}\ {\isacharless}\ {\isacharparenleft}x\ {\isacharcolon}{\isacharcolon}\ real{\isacharparenright}{\isachardoublequote}\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   372
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   373
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   374
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   375
\ {\isadigit{1}}{\isachardot}\ {\isadigit{3}}\ {\isacharslash}\ {\isadigit{4}}\ {\isacharasterisk}\ {\isacharparenleft}{\isadigit{8}}\ {\isacharslash}\ {\isadigit{1}}{\isadigit{5}}{\isacharparenright}\ {\isacharless}\ x%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   376
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   377
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   378
\isamarkuptrue%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   379
\isacommand{apply}\ simp\isamarkupfalse%
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   380
%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   381
\begin{isamarkuptxt}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   382
\begin{isabelle}%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   383
\ {\isadigit{1}}{\isachardot}\ {\isadigit{2}}\ {\isacharless}\ x\ {\isacharasterisk}\ {\isadigit{5}}%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   384
\end{isabelle}%
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   385
\end{isamarkuptxt}%
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   386
\isamarkuptrue%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   387
\isacommand{oops}\isanewline
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   388
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   389
\isamarkupfalse%
11708
d27253c4594f *** empty log message ***
wenzelm
parents: 11480
diff changeset
   390
\isacommand{lemma}\ {\isachardoublequote}{\isacharparenleft}{\isadigit{3}}{\isacharslash}{\isadigit{4}}{\isacharparenright}\ {\isacharasterisk}\ {\isacharparenleft}{\isadigit{1}}{\isadigit{0}}{\isacharcircum}{\isadigit{1}}{\isadigit{5}}{\isacharparenright}\ {\isacharless}\ {\isacharparenleft}x\ {\isacharcolon}{\isacharcolon}\ real{\isacharparenright}{\isachardoublequote}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   391
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   392
\isacommand{apply}\ simp\ \isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   393
\isamarkupfalse%
11174
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   394
\isacommand{oops}\isanewline
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   395
\isanewline
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   396
\isanewline
96a533d300a6 revisions in response to comments by Tobias
paulson
parents: 10950
diff changeset
   397
\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   398
\isamarkupfalse%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   399
\isacommand{end}\isanewline
11866
fbd097aec213 updated;
wenzelm
parents: 11708
diff changeset
   400
\isamarkupfalse%
11187
c6e49929e544 auto-update
paulson
parents: 11174
diff changeset
   401
\end{isabellebody}%
10602
49109fe3e919 auto generated
paulson
parents:
diff changeset
   402
%%% Local Variables:
49109fe3e919 auto generated
paulson
parents:
diff changeset
   403
%%% mode: latex
49109fe3e919 auto generated
paulson
parents:
diff changeset
   404
%%% TeX-master: "root"
49109fe3e919 auto generated
paulson
parents:
diff changeset
   405
%%% End: