# HG changeset patch # User wenzelm # Date 1418076379 -3600 # Node ID 3cded6b57a823d6df76b43bc60321451a94de5b9 # Parent e670969f34dfc4d47e7c14a8132f44fd0b82c6a3 tuned spelling; diff -r e670969f34df -r 3cded6b57a82 src/HOL/Library/Function_Growth.thy --- a/src/HOL/Library/Function_Growth.thy Mon Dec 08 22:42:12 2014 +0100 +++ b/src/HOL/Library/Function_Growth.thy Mon Dec 08 23:06:19 2014 +0100 @@ -14,12 +14,12 @@ on Landau Symbols (``O-Notation''). However these come at the cost of notational oddities, particularly writing @{text "f = O(g)"} for @{text "f \ O(g)"} etc. - Here we suggest a diffent way, following Hardy (G.~H.~Hardy and J.~E.~Littlewood, + Here we suggest a different way, following Hardy (G.~H.~Hardy and J.~E.~Littlewood, Some problems of Diophantine approximation, Acta Mathematica 37 (1914), p.~225). We establish a quasi order relation @{text "\"} on functions such that @{text "f \ g \ f \ O(g)"}. From a didactic point of view, this does not only avoid the notational oddities mentioned above but also emphasizes the key insight - of a growth hierachy of functions: + of a growth hierarchy of functions: @{text "(\n. 0) \ (\n. k) \ Discrete.log \ Discrete.sqrt \ id \ \"}. *} @@ -147,7 +147,7 @@ using assms unfolding less_fun_def linorder_not_less [symmetric] by blast text {* - I did not found a proof for @{text "f \ g \ f \ o(g)"}. Maybe this only + I did not find a proof for @{text "f \ g \ f \ o(g)"}. Maybe this only holds if @{text f} and/or @{text g} are of a certain class of functions. However @{text "f \ o(g) \ f \ g"} is provable, and this yields a handy introduction rule. @@ -282,7 +282,7 @@ text {* Most of these are left as constructive exercises for the reader. Note that additional preconditions to the functions may be necessary. The list here is by no means to be - intended as complete contruction set for typical functions, here surely something + intended as complete construction set for typical functions, here surely something has to be added yet. *}