History log of /seL4-l4v-master/l4v/isabelle/src/HOL/Divides.thy
Revision Date Author Comments
# 92b9c276 22-Nov-2019 haftmann <none@none>

removed unused auxiliary lemmas


# 936f4b2b 17-Nov-2019 haftmann <none@none>

strengthened type class for bit operations


# 6ee2be1e 14-Jun-2019 haftmann <none@none>

slightly more specialized name for type class


# 408f08e9 03-Feb-2019 Manuel Eberl <eberlm@in.tum.de>

More material for HOL-Number_Theory: ord, Carmichael's function, primitive roots

--HG--
extra : amend_source : 3cd58385530e02e27dd013f3706cee7dc704e74c


# 74174a31 19-Jan-2019 haftmann <none@none>

algebraized more material from theory Divides

--HG--
extra : rebase_source : 3c28e3310e44ad2333f68931aa61b68c0a8f4c0a


# a4bab154 04-Jan-2019 wenzelm <none@none>

isabelle update -u control_cartouches;


# 1e9e4316 31-Oct-2018 wenzelm <none@none>

clarified ML_Context.expression: it is a closed expression, not a let-declaration -- thus source positions are more accurate (amending d8849cfad60f, 162a4c2e97bc);


# ca3e0e23 16-Jul-2018 paulson <lp15@cam.ac.uk>

de-applying and simplifying proofs


# 4c98e331 14-Jul-2018 paulson <lp15@cam.ac.uk>

de-applying


# 0f360eed 13-Jul-2018 paulson <lp15@cam.ac.uk>

de-applying


# bbddc748 24-May-2018 haftmann <none@none>

avoid overaggressive classical rule

--HG--
extra : rebase_source : 53a1eeba712a12b1da867fa7ecf2289255f06680


# 7bdeab0d 23-May-2018 haftmann <none@none>

grouped material on numeral division


# 8280abe0 12-May-2018 haftmann <none@none>

removed some non-essential rules


# 5159bef9 06-May-2018 haftmann <none@none>

removed some lemma duplicates

--HG--
extra : rebase_source : e56adb958684d57563b0ec467d4b13f1b726b4e0


# 89bc0179 12-Mar-2018 haftmann <none@none>

eliminiated superfluous class semiring_bits


# 0b6326bb 10-Mar-2018 haftmann <none@none>

abstract algebraic bit operations

--HG--
extra : rebase_source : 10402190e8858b0ea47b7ac7f91671a9935921ae


# 1387b04b 19-Dec-2017 wenzelm <none@none>

isabelle update_cartouches -c -t;


# 3e62aabe 02-Dec-2017 haftmann <none@none>

more simplification rules

--HG--
extra : rebase_source : 2b7704ac9459d132ec9fea4769b865bdcad1548f


# c7cc1919 26-Nov-2017 wenzelm <none@none>

more symbols;


# ca3200e3 23-Nov-2017 haftmann <none@none>

new simp rule


# aab0bfb7 19-Oct-2017 haftmann <none@none>

added lemmas and tuned proofs

--HG--
extra : rebase_source : 96f42feb3c60e71f2655c97d331ac68baf8b4a63


# c4bc2aff 09-Oct-2017 haftmann <none@none>

tuned proofs

--HG--
extra : rebase_source : f75a8a3d183658e5e8f4190946b69265b54c84c9


# fd2471a9 08-Oct-2017 haftmann <none@none>

euclidean rings need no normalization

--HG--
extra : rebase_source : 7f2e3f676b513d6c59f526f099be30240183bf05


# f740f805 08-Oct-2017 haftmann <none@none>

more fundamental definition of div and mod on int

--HG--
extra : rebase_source : 95b72d036b88e199c61235ea5833a905f5632800


# de79d13d 08-Oct-2017 haftmann <none@none>

one uniform type class for parity structures

--HG--
extra : rebase_source : edf12af006cee8d114754f4a1916094166004337


# 4ab8e6b4 08-Oct-2017 haftmann <none@none>

generalized some rules

--HG--
extra : rebase_source : 025e3e1adc961b68e923d241a8e1cb5c2efd0351


# 5a89ad88 08-Oct-2017 haftmann <none@none>

generalized simproc

--HG--
extra : rebase_source : 1a484c6a7a8374a73f471204dea8be4ee982845f


# b01640ea 08-Oct-2017 haftmann <none@none>

elementary definition of division on natural numbers

--HG--
extra : rebase_source : 23767fa1baf28db39b18de60e52d4d7f852e48dd


# 2ef94418 08-Oct-2017 haftmann <none@none>

abolished (semi)ring_div in favour of euclidean_(semi)ring_cancel

--HG--
extra : rebase_source : c6612d6016d811043143eafb7a671631287494a1


# ad36577d 08-Oct-2017 haftmann <none@none>

avoid fact name clashes

--HG--
extra : rebase_source : dadb340e6deb1d95749a6828999b5295bffc7702


# 233c3fd1 08-Oct-2017 haftmann <none@none>

spelling and tuned whitespace

--HG--
extra : rebase_source : 57fae3b6b07a0d6188e93b76ac6bbc94f6bb6341


# f5bef320 07-Sep-2017 blanchet <none@none>

speed up proofs slightly


# 13eaa18e 23-Apr-2017 haftmann <none@none>

more lemmas


# ef5da5a8 09-Jan-2017 haftmann <none@none>

slightly generalized type class hierarchy concerning unit factors, to allow for lean polynomial normalization

--HG--
extra : rebase_source : 0d5af77e2a7d66625c22923a19c456b1ca17652e


# cc698c8d 04-Jan-2017 haftmann <none@none>

moved euclidean ring to HOL

--HG--
extra : rebase_source : f98dc2e61ffb3cbd04e533f3c0cffa028129e4a2


# c0193ade 31-Dec-2016 haftmann <none@none>

more elementary rules about div / mod on int

--HG--
extra : rebase_source : 335ac290cf7449e171b21d6aadc74d1c128a8601


# 499a8845 22-Dec-2016 haftmann <none@none>

more uniform div/mod relations


# 06aab68a 20-Dec-2016 haftmann <none@none>

emphasize dedicated rewrite rules for congruences

--HG--
extra : rebase_source : 28c5807c3eda548e5ed0637459d63997c46e3ff3


# c32926df 17-Dec-2016 haftmann <none@none>

reoriented congruence rules in non-explosive direction

--HG--
extra : rebase_source : 7b0d0d20a7c78db1ac5f12fb0d4ab0d915d0f2a3


# 40424ca4 17-Dec-2016 haftmann <none@none>

more fine-grained type class hierarchy for div and mod

--HG--
extra : rebase_source : fffbeef99e834ca17596f478178e94bed8a014bc


# 024aaef5 16-Oct-2016 haftmann <none@none>

clarified prover-specific rules


# 4b713e59 16-Oct-2016 haftmann <none@none>

eliminated irregular aliasses


# 71dc4676 16-Oct-2016 haftmann <none@none>

clarified theorem names


# ce798d4a 16-Oct-2016 haftmann <none@none>

eliminated irregular aliasses


# 54a0a039 16-Oct-2016 haftmann <none@none>

more standardized theorem names for facts involving the div and mod identity


# 7cb68da2 16-Oct-2016 haftmann <none@none>

more standardized names


# 294b469b 16-Oct-2016 haftmann <none@none>

de-orphanized declaration


# b627764f 12-Oct-2016 haftmann <none@none>

separate type class for arbitrary quotient and remainder partitions

--HG--
extra : rebase_source : c803a2a721f660672d64831c56088100891baa86


# bab6845b 03-Oct-2016 haftmann <none@none>

more lemmas

--HG--
extra : rebase_source : f52072de0fdc0fac0b2505569668d385d1ffe93d


# 3c2b07e1 25-Sep-2016 haftmann <none@none>

syntactic type class for operation mod named after mod;
simplified assumptions of type class semiring_div

--HG--
extra : rebase_source : 3714be7474835787b2a513b731c9864d1ac9d2c4


# bebccfd5 25-Sep-2016 haftmann <none@none>

more lemmas

--HG--
extra : rebase_source : 3446eb0648af16d2212d2a3e40591332dd90c26c


# 9147221e 10-Sep-2016 wenzelm <none@none>

tuned proofs;


# c9ad5b19 14-Jul-2016 eberlm <eberlm@in.tum.de>

Tuned looping simp rules in semiring_div

--HG--
extra : rebase_source : 3b3829fdddfdfffaad7cac785a601ef678dc9b93


# a70bd0e1 09-Jul-2016 haftmann <none@none>

more lemmas to emphasize {0::nat..(<)n} as canonical representation of intervals on nat
* * *
more rules for setsum, setprod on intervals


# 1e23b491 16-Jun-2016 eberlm <none@none>

Various additions to polynomials, FPSs, Gamma function


# ddacf0c0 25-May-2016 wenzelm <none@none>

isabelle update_cartouches -c -t;


# a2bc0021 25-Apr-2016 wenzelm <none@none>

eliminated old 'def';
tuned comments;


# 8175ce0f 12-Mar-2016 haftmann <none@none>

model characters directly as range 0..255
* * *
operate on syntax terms rather than asts


# 35f7dccd 23-Feb-2016 nipkow <none@none>

more canonical names


# 08cabf03 27-Dec-2015 wenzelm <none@none>

prefer symbols for "abs";


# 0df376fc 07-Dec-2015 wenzelm <none@none>

isabelle update_cartouches -c -t;


# 420aaf4c 12-Nov-2015 paulson <lp15@cam.ac.uk>

Tweaks for "real": Removal of [iff] status for some lemmas, adding [simp] for others. Plus fixes.


# 9d5bfc48 17-Oct-2015 haftmann <none@none>

qualify some names stemming from internal bootstrap constructions

--HG--
extra : rebase_source : 0a98ecf4c3d40ee7459e760b378afbad4bf89ce3


# fb457287 27-Sep-2015 haftmann <none@none>

monomorphization of divmod wrt. code generation avoids costly dictionary unpacking at runtime

--HG--
extra : rebase_source : e05d79a48b81d6ffe67aca3743dbab1781bd1e4f


# 62b7c206 19-Sep-2015 wenzelm <none@none>

eliminated suspicious unicode;


# 85ed9565 01-Sep-2015 wenzelm <none@none>

eliminated \<Colon>;


# 2c55a922 13-Aug-2015 haftmann <none@none>

qualified adjust_*

--HG--
extra : rebase_source : 0e0c41347fcf41a8750a5c6eeed5a7957c43861c


# e27e1a18 08-Aug-2015 haftmann <none@none>

direct bootstrap of integer division from natural division


# 6ee65982 06-Aug-2015 haftmann <none@none>

slight cleanup of lemmas

--HG--
extra : rebase_source : 17dbf1b3c59a40c2a2ac93ab58d3e6371773af6c


# 1901affb 18-Jul-2015 wenzelm <none@none>

isabelle update_cartouches;


# 8ddc1a1c 08-Jul-2015 haftmann <none@none>

tuned facts


# 2a11bf54 08-Jul-2015 haftmann <none@none>

moved normalization and unit_factor into Main HOL corpus


# 456b0fa3 23-Jun-2015 paulson <lp15@cam.ac.uk>

Amalgamation of the class comm_semiring_1_diff_distrib into comm_semiring_1_cancel. Moving axiom le_add_diff_inverse2 from semiring_numeral_div to linordered_semidom.


# 52933f0b 18-Jun-2015 haftmann <none@none>

separate class for notions specific for integral (semi)domains, in contrast to fields where these are trivial

--HG--
extra : rebase_source : 0045d1e39f330613bb1913e52e231f8be282a80a


# 76d32dc6 18-Jun-2015 haftmann <none@none>

generalized some theorems about integral domains and moved to HOL theories

--HG--
extra : rebase_source : 2e548495060b9f818a41b1e5333ed921a3b84ac4


# 603f8dfb 12-Jun-2015 haftmann <none@none>

uniform _ div _ as infix syntax for ring division

--HG--
extra : rebase_source : c4a1892078772c7ce9af33ad66e2abfefe7adea9


# a596c25e 01-Jun-2015 haftmann <none@none>

implicit partial divison operation in integral domains


# f2ba2c03 01-Jun-2015 haftmann <none@none>

separate class for division operator, with particular syntax added in more specific classes


# 20f0204e 28-Mar-2015 haftmann <none@none>

clarified no_zero_devisors: makes only sense in a semiring;
actually turn linorder_semidom into a integral domain

--HG--
extra : rebase_source : 20e224f329987c38e10dba58521b744a19110ced


# 8c67c983 23-Mar-2015 haftmann <none@none>

distributivity of partial minus establishes desired properties of dvd in semirings

--HG--
extra : rebase_source : 99dad957de0410b3a1ca21ff1f8723495b31194f


# f67d856d 25-Mar-2015 wenzelm <none@none>

prefer local fixes;


# c8df3c65 18-Feb-2015 haftmann <none@none>

eliminated technical fact alias


# 8574101c 30-Jan-2015 nipkow <none@none>

canonical name


# f2c7a8e3 16-Jan-2015 nipkow <none@none>

added simp lemma


# 13ddea91 26-Nov-2014 wenzelm <none@none>

renamed "pairself" to "apply2", in accordance to @{apply 2};


# 03e4974d 17-Nov-2014 haftmann <none@none>

generalized lemmas (particularly concerning dvd) as far as appropriate


# ff53cb2b 13-Nov-2014 hoelzl <none@none>

import general theorems from AFP/Markov_Models


# 6f765143 09-Nov-2014 haftmann <none@none>

self-contained simp rules for dvd on numerals

--HG--
extra : rebase_source : 58c009467b675088031714cb7978d38db128ab26


# c1e11140 05-Nov-2014 haftmann <none@none>

proper oriented equivalence of dvd predicate and mod

--HG--
extra : rebase_source : e7ebe794027e5abe1567181c8cc20badb81feff6


# 794edf80 02-Nov-2014 wenzelm <none@none>

modernized header uniformly as section;


# 20c79733 31-Oct-2014 wenzelm <none@none>

avoid noise (cf. 03ff4d1e6784);


# dc5a029e 30-Oct-2014 haftmann <none@none>

more simp rules concerning dvd and even/odd

--HG--
extra : rebase_source : 895ed3f871c22790e8d199a30828e91bc13bd735


# 4cf77ea0 25-Oct-2014 haftmann <none@none>

more simp rules;
slight proof tuning

--HG--
extra : rebase_source : d463b58b8b33fbbeadcc0510c471966b813b1179


# b3f0459b 23-Oct-2014 haftmann <none@none>

even further downshift of theory Parity in the hierarchy

--HG--
extra : rebase_source : d3582456671ff992f3d453a0def98065cde7db5a


# 830e17f5 19-Oct-2014 haftmann <none@none>

augmented and tuned facts on even/odd and division


# 5d835e75 10-Oct-2014 haftmann <none@none>

specialized specification: avoid trivial instances


# 7cd6c2ac 02-Oct-2014 haftmann <none@none>

redundant: dropped

--HG--
extra : rebase_source : 11bd474dd732bc6a7d96e95e7435d1a80df215fe


# 6a02610c 21-Sep-2014 haftmann <none@none>

explicit separation of signed and unsigned numerals using existing lexical categories num and xnum


# 38907e37 05-Jul-2014 haftmann <none@none>

prefer ac_simps collections over separate name bindings for add and mult


# e46c07fd 04-Jul-2014 haftmann <none@none>

reduced name variants for assoc and commute on plus and mult


# 9fd71573 10-Jun-2014 Thomas Sewell <thomas.sewell@nicta.com.au>

Hypsubst preserves equality hypotheses

Fixes included for various theories affected by this change.

--HG--
extra : rebase_source : b0150e06a14c2821e03208834282be6eca87aae0


# 94adef17 12-Feb-2014 wenzelm <none@none>

eliminated hard tabs (assuming tab-width=2);


# 63970edd 12-Feb-2014 blanchet <none@none>

renamed '{prod,sum,bool,unit}_case' to 'case_...'


# 0ee3499b 30-Jan-2014 haftmann <none@none>

more direct simplification rules for 1 div/mod numeral;
added simplification rules for (- 1) div/mod numeral


# d46ef5de 20-Jan-2014 blanchet <none@none>

moved 'fundef_cong' attribute (and other basic 'fun' stuff) up the dependency chain

--HG--
rename : src/HOL/FunDef.thy => src/HOL/Fun_Def.thy


# 138816de 19-Nov-2013 haftmann <none@none>

eliminiated neg_numeral in favour of - (numeral _)


# d2ef840a 01-Nov-2013 haftmann <none@none>

more simplification rules on unary and binary minus

--HG--
extra : rebase_source : 7c88c9f33c4be8eae76f508a1a73ba79c8b769b1


# 7352f49b 31-Oct-2013 haftmann <none@none>

moving generic lemmas out of theory parity, disregarding some unused auxiliary lemmas;
tuned presburger

--HG--
extra : rebase_source : 30fe190a27dae1b09024f4fdd70ee005a33e99ba


# 71e04b92 31-Oct-2013 haftmann <none@none>

explicit type class for modelling even/odd parity

--HG--
extra : rebase_source : c21e4a6f9bc2e040f65aec0e592e282e386172d8


# b2d4bb7f 31-Oct-2013 haftmann <none@none>

more lemmas on division

--HG--
extra : rebase_source : 45547b1ff0044c29b1d6ee9fd444ffdc8ac013fd


# 7237bdd9 02-Sep-2013 wenzelm <none@none>

tuned proofs -- clarified flow of facts wrt. calculation;


# 4041cdfa 26-Aug-2013 wenzelm <none@none>

removed junk;


# fe3ec623 18-Aug-2013 haftmann <none@none>

spelling and typos


# cb604eb5 18-Aug-2013 haftmann <none@none>

execution of int division by class semiring_numeral_div, replacing pdivmod by divmod_abs


# 666b8bc4 18-Aug-2013 haftmann <none@none>

relaxed preconditions


# 7751a7d7 18-Aug-2013 haftmann <none@none>

type class for generic division algorithm on numerals


# d45f314d 18-Aug-2013 haftmann <none@none>

added lemma


# a7b3de52 23-Jun-2013 haftmann <none@none>

migration from code_(const|type|class|instance) to code_printing and from code_module to code_identifier

--HG--
extra : rebase_source : ff8027ac9606264aa4b2d4f8da037c426a3db98b


# 049776ea 19-Jun-2013 noschinl <none@none>

added lemma


# 0928b2db 18-Apr-2013 wenzelm <none@none>

simplifier uses proper Proof.context instead of historic type simpset;


# 36d59ae3 28-Feb-2013 wenzelm <none@none>

proper place for cancel_div_mod.ML (see also ee729dbd1b7f and ec7f10155389);


# 6b8e5a08 17-Feb-2013 haftmann <none@none>

Sieve of Eratosthenes


# caec7139 07-Dec-2012 wenzelm <none@none>

avoid ML_file in large theory files to improve performance of dependency discovery of main HOL (approx. 1s CPU time) -- relevant for any application using it, e.g. small paper sessions;


# d9333ba5 19-Oct-2012 webertj <none@none>

Renamed {left,right}_distrib to distrib_{right,left}.


# e3227796 22-Aug-2012 wenzelm <none@none>

prefer ML_file over old uses;


# 7c21692e 27-Jul-2012 huffman <none@none>

move ML functions from nat_arith.ML to Divides.thy, which is the only place they are used


# 4d3052ce 02-Apr-2012 huffman <none@none>

add simp rules for dvd on negative numerals


# 2a20d32d 01-Apr-2012 huffman <none@none>

removed Nat_Numeral.thy, moving all theorems elsewhere


# 36031491 30-Mar-2012 huffman <none@none>

removed redundant nat-specific copies of theorems


# 465502d2 27-Mar-2012 huffman <none@none>

remove more redundant lemmas


# e3d5826f 27-Mar-2012 huffman <none@none>

tuned proofs

--HG--
extra : transplant_source : /%9B%A4%23%18%3E%90%A4-%E0%0A%E9%A6%A9%C8%1D%83%EE%82s


# 15e8cd57 27-Mar-2012 huffman <none@none>

remove redundant lemmas


# 516c2939 27-Mar-2012 huffman <none@none>

generalized lemma zpower_zmod


# 0a8fe6fe 27-Mar-2012 huffman <none@none>

remove redundant lemma


# c5956f94 27-Mar-2012 huffman <none@none>

remove redundant lemma


# 4a122e89 27-Mar-2012 huffman <none@none>

generalize more div/mod lemmas


# a2c1aa10 27-Mar-2012 huffman <none@none>

generalize some theorems about div/mod


# e2c212eb 27-Mar-2012 huffman <none@none>

remove redundant lemmas


# 3436cfcf 26-Mar-2012 huffman <none@none>

move int::ring_div instance upward, simplify several proofs


# 97a37818 27-Mar-2012 huffman <none@none>

rename lemmas {divmod_int_rel_{div,mod} -> {div,mod}_int_unique, for consistency with nat lemma names


# e5b976fb 27-Mar-2012 huffman <none@none>

extend definition of divmod_int_rel to handle denominator=0 case


# dca5b6a7 27-Mar-2012 huffman <none@none>

tuned proofs


# 794222e8 27-Mar-2012 huffman <none@none>

shorten a proof


# 8d4aa467 27-Mar-2012 huffman <none@none>

simplify some proofs


# bccf6da2 27-Mar-2012 huffman <none@none>

rename lemmas {div,mod}_eq -> {div,mod}_nat_unique, for consistency with minus_unique, inverse_unique, etc.


# 2dae51b9 27-Mar-2012 huffman <none@none>

simplify some proofs


# 8bb6233a 25-Mar-2012 huffman <none@none>

merged fork with new numeral representation (see NEWS)


# 021ba801 21-Feb-2012 huffman <none@none>

remove constant negateSnd in favor of 'apsnd uminus' (from Florian Haftmann)


# a4c6492d 20-Feb-2012 bulwahn <none@none>

removing some unnecessary premises from Divides


# 14709e21 20-Feb-2012 huffman <none@none>

simplify projections on simultaneous computations of div and mod; tuned structure (from Florian Haftmann)


# ba37de4c 29-Dec-2011 haftmann <none@none>

semiring_numeral_0_eq_0, semiring_numeral_1_eq_1 now [simp], superseeding corresponding simp rules on type nat

--HG--
extra : rebase_source : 7ed52e71daa69142f147737027b94acaef451223


# a495a026 20-Nov-2011 wenzelm <none@none>

eliminated obsolete "standard";


# cb313db0 16-Nov-2011 huffman <none@none>

rewrite integer numeral div/mod simprocs to not return conditional rewrites; add regression tests


# 39224b86 21-Oct-2011 bulwahn <none@none>

replacing code_inline by code_unfold, removing obsolete code_unfold, code_inline del now that the ancient code generator is removed


# ad9e459c 11-Sep-2011 nipkow <none@none>

new fastforce replacing fastsimp - less confusing name


# 29d7c97c 06-Sep-2011 huffman <none@none>

avoid using legacy theorem names


# ae3eeacd 29-Jun-2011 wenzelm <none@none>

modernized some simproc setup;


# 47bb2a89 21-Feb-2011 blanchet <none@none>

renamed "nitpick\_def" to "nitpick_unfold" to reflect its new semantics


# 6fb8be2b 14-Jan-2011 wenzelm <none@none>

eliminated global prems;
tuned proofs;


# 8e926e40 17-Sep-2010 nipkow <none@none>

added lemmas


# 2ab2e08e 25-Aug-2010 wenzelm <none@none>

renamed Simplifier.simproc(_i) to Simplifier.simproc_global(_i) to emphasize that this is not the real thing;


# 140c6b08 12-Jul-2010 haftmann <none@none>

dropped superfluous [code del]s


# b158dd45 04-May-2010 haftmann <none@none>

a ring_div is a ring_1_no_zero_divisors


# 789dabf1 17-Mar-2010 boehmes <none@none>

tuned proofs (to avoid linarith error message caused by bootstrapping of HOL)


# 50cf4818 09-Mar-2010 haftmann <none@none>

weakend class ring_div; tuned


# 297293d7 08-Mar-2010 haftmann <none@none>

transfer: avoid camel case


# fe31eb07 24-Feb-2010 haftmann <none@none>

lemma div_mult_swap, dvd_div_eq_mult, dvd_div_div_eq_mult


# aaaa7964 18-Feb-2010 huffman <none@none>

get rid of many duplicate simp rule warnings


# 875c5b73 08-Feb-2010 haftmann <none@none>

renamed OrderedGroup to Groups; split theory Ring_and_Field into Rings Fields

--HG--
rename : src/HOL/Ring_and_Field.thy => src/HOL/Fields.thy
rename : src/HOL/OrderedGroup.thy => src/HOL/Groups.thy
rename : src/HOL/Ring_and_Field.thy => src/HOL/Rings.thy


# 234db7fa 02-Feb-2010 blanchet <none@none>

added support for nonstandard models to Nitpick (based on an idea by Koen Claessen) and did other fixes to Nitpick


# 0bab7c07 02-Jan-2010 nipkow <none@none>

removed legacy asm_lr


# 3893a44e 17-Dec-2009 blanchet <none@none>

polished Nitpick's binary integer support etc.;
etc. = improve inconsistent scope correction + sort values nicely in output
+ handle "mod" using the characterization "x mod y = x - x div y * y"
(instead of explicit code in Nitpick)
+ introduce KK = Kodkod as abbreviation


# df7b4377 19-Nov-2009 nipkow <none@none>

added lemma


# 877dd825 17-Nov-2009 webertj <none@none>

Fixed splitting of div and mod on integers (split theorem differed from implementation).


# 922dac90 17-Nov-2009 webertj <none@none>

Fixed splitting of div and mod on integers (split theorem differed from implementation).


# cef12a04 30-Oct-2009 haftmann <none@none>

tuned code setup


# 686183df 30-Oct-2009 haftmann <none@none>

combined former theories Divides and IntDiv to one theory Divides


# 66432170 29-Oct-2009 haftmann <none@none>

moved Nat_Transfer before Divides; distributed Nat_Transfer setup accordingly


# 7d4dc9b8 29-Oct-2009 haftmann <none@none>

moved Nat_Transfer before Divides; distributed Nat_Transfer setup accordingly


# 0f96c7cc 28-Oct-2009 haftmann <none@none>

moved theory Divides after theory Nat_Numeral; tuned some proof texts


# 3e12c25b 28-Oct-2009 haftmann <none@none>

moved lemmas for dvd on nat to theories Nat and Power


# a5a5665f 15-Jul-2009 wenzelm <none@none>

more antiquotations;


# fbe41aef 14-Jul-2009 haftmann <none@none>

code attributes use common underscore convention


# b274c339 07-Jul-2009 nipkow <none@none>

renamed lemmas: nat_xyz/int_xyz -> xyz_nat/xyz_int


# a3ad1c87 15-Jun-2009 huffman <none@none>

generalize lemmas dvd_mod and dvd_mod_iff to class semiring_div


# 712781d5 15-Jun-2009 huffman <none@none>

move lemma div_power into semiring_div context; class ring_div inherits from idom


# 60898681 28-Apr-2009 haftmann <none@none>

dropped reference to class recpower and lemma duplicate


# 4110867e 16-Apr-2009 haftmann <none@none>

tuned setups of CancelDivMod


# 910c9ceb 16-Apr-2009 haftmann <none@none>

tightended specification of class semiring_div


# 76ecb113 15-Apr-2009 haftmann <none@none>

more coherent developement in Divides.thy and IntDiv.thy


# ab04bcb2 01-Apr-2009 nipkow <none@none>

added nat_div_gt_0 [simp]


# b69bee28 01-Apr-2009 nipkow <none@none>

added strong_setprod_cong[cong] (in analogy with setsum)
added some lemmas


# 0761d736 26-Mar-2009 wenzelm <none@none>

interpretation/interpret: prefixes are mandatory by default;


# 6c77bf12 22-Mar-2009 haftmann <none@none>

lemma nat_dvd_not_less moved here from Arith_Tools


# 4957cf6d 12-Mar-2009 haftmann <none@none>

vague cleanup in arith proof tools setup: deleted dead code, more proper structures, clearer arrangement

--HG--
rename : src/HOL/Tools/arith_data.ML => src/HOL/Tools/nat_arith.ML


# 9b17bf0d 12-Mar-2009 nipkow <none@none>

added div lemmas


# 121e82fb 04-Mar-2009 blanchet <none@none>

Merge.


# 38a6f0dd 03-Mar-2009 nipkow <none@none>

removed and renamed redundant lemmas


# 6d3a4873 01-Mar-2009 nipkow <none@none>

added lemmas by Jeremy Avigad


# 77d6c0ba 23-Feb-2009 huffman <none@none>

make proofs work whether or not One_nat_def is a simp rule; replace 1 with Suc 0 in the rhs of some simp rules


# 969a8c31 23-Feb-2009 huffman <none@none>

move lemma dvd_mod_imp_dvd into class semiring_div


# 25a907d6 22-Feb-2009 nipkow <none@none>

added dvd_div_mult


# f9a8d2e1 21-Feb-2009 nipkow <none@none>

Removed subsumed lemmas


# 0af297e3 20-Feb-2009 nipkow <none@none>

removed subsumed lemmas


# cffa2fa7 18-Feb-2009 huffman <none@none>

generalize le_imp_power_dvd and power_le_dvd; move from Divides to Power


# 03b9c4ca 17-Feb-2009 nipkow <none@none>

Cleaned up IntDiv and removed subsumed lemmas.


# 0c95fb5b 15-Feb-2009 nipkow <none@none>

dvd and setprod lemmas


# abf397f0 28-Jan-2009 nipkow <none@none>

Replaced group_ and ring_simps by algebra_simps;
removed compare_rls - use algebra_simps now


# 7b4d17c7 16-Jan-2009 haftmann <none@none>

migrated class package to new locale implementation


# 60accdf2 08-Jan-2009 huffman <none@none>

add class ring_div; generalize mod/diff/minus proofs for class ring_div


# 0e07ec91 08-Jan-2009 huffman <none@none>

generalize zmod_zmod_cancel -> mod_mod_cancel


# d3a4f5dc 08-Jan-2009 huffman <none@none>

generalize some div/mod lemmas; remove type-specific proofs


# 6d30ce6c 11-Dec-2008 ballarin <none@none>

Conversion of HOL-Main and ZF to new locales.


# ba08d3a4 11-Dec-2008 nipkow <none@none>

codegen


# 39d5f60f 17-Nov-2008 haftmann <none@none>

tuned unfold_locales invocation


# d63044b5 09-Oct-2008 haftmann <none@none>

`code func` now just `code`


# 5317e9bf 17-Sep-2008 wenzelm <none@none>

back to dynamic the_context(), because static @{theory} is invalidated if ML environment changes within the same code block;


# fef52141 21-Jul-2008 haftmann <none@none>

(re-)added simp rules for (_ + _) div/mod _


# be76c7e8 18-Jul-2008 haftmann <none@none>

moved op dvd to theory Ring_and_Field; generalized a couple of lemmas


# bd7f1e7a 11-Jul-2008 haftmann <none@none>

separate class dvd for divisibility predicate


# ee5945c1 25-Apr-2008 krauss <none@none>

Merged theories about wellfoundedness into one: Wellfounded.thy


# 38095612 17-Mar-2008 wenzelm <none@none>

removed duplicate lemmas;


# 5d135b97 20-Feb-2008 haftmann <none@none>

using only an relation predicate to construct div and mod


# d3cb3a2e 15-Feb-2008 haftmann <none@none>

<= and < on nat no longer depend on wellfounded relations


# 2b256d79 13-Feb-2008 haftmann <none@none>

more abstract lemmas


# 7b03dc32 23-Jan-2008 wenzelm <none@none>

tuned proofs;


# cf7f8d43 22-Jan-2008 haftmann <none@none>

added class semiring_div


# c8abed18 07-Dec-2007 haftmann <none@none>

instantiation target rather than legacy instance


# 002c9527 23-Oct-2007 nipkow <none@none>

went back to >0


# 3de058b3 21-Oct-2007 nipkow <none@none>

Eliminated most of the neq0_conv occurrences. As a result, many
theorems had to be rephrased with ~= 0 instead of > 0.


# d8a0e4f0 19-Oct-2007 chaieb <none@none>

fixed proofs


# d2ad869d 16-Oct-2007 haftmann <none@none>

global class syntax


# 5386ed9a 12-Oct-2007 haftmann <none@none>

class div inherits from class times


# 62ee215f 29-Sep-2007 haftmann <none@none>

proper syntax during class specification


# 35ae3509 14-Aug-2007 paulson <none@none>

ATP blacklisting is now in theory data, attribute noatp


# e66904a4 14-Aug-2007 huffman <none@none>

minimize imports


# 82fbd642 24-Jul-2007 haftmann <none@none>

using class target


# 435b75f3 10-Jul-2007 haftmann <none@none>

introduced (auxiliary) class dvd_mod for more convenient code generation


# 7514e549 31-May-2007 wenzelm <none@none>

removed dead code;


# dd9e0bc2 19-May-2007 haftmann <none@none>

uniform module names for code generation


# 6b7374f5 17-May-2007 haftmann <none@none>

tuned


# 8513a43b 10-May-2007 haftmann <none@none>

tuned


# 8d82473b 06-May-2007 haftmann <none@none>

changed code generator invocation syntax


# 4316a47c 26-Apr-2007 haftmann <none@none>

added lemmatas


# 167fea11 20-Apr-2007 haftmann <none@none>

Isar definitions are now added explicitly to code theorem table


# edee08cc 16-Apr-2007 wenzelm <none@none>

tuned proofs;


# 5df90403 20-Mar-2007 haftmann <none@none>

explizit "type" superclass


# 27586d93 07-Feb-2007 berghofe <none@none>

Adapted to changes in Transitive_Closure theory.


# afbb1e68 27-Dec-2006 haftmann <none@none>

added OCaml code generation (without dictionaries)


# 28651848 17-Nov-2006 haftmann <none@none>

div is now a class


# 3fdc0a45 06-Nov-2006 haftmann <none@none>

code generator module naming improved


# 616cbcca 19-Sep-2006 haftmann <none@none>

name shifts


# 2c56ff52 19-Sep-2006 haftmann <none@none>

explicit divmod algorithm for code generation


# c7ce471e 29-Aug-2006 webertj <none@none>

lin_arith_prover: splitting reverted because of performance loss


# d8bb4109 14-Aug-2006 haftmann <none@none>

simplified code generator setup


# 585ee83b 29-Jul-2006 webertj <none@none>

lin_arith_prover splits certain operators (e.g. min, max, abs)


# 745db1a3 26-Jul-2006 webertj <none@none>

linear arithmetic splits certain operators (e.g. min, max, abs)


# cfdc1311 07-Jul-2006 wenzelm <none@none>

simprocs: no theory argument -- use simpset context instead;


# fe7871ca 17-Jan-2006 haftmann <none@none>

substantial improvements in code generator


# 6aa57e4f 17-Nov-2005 chaieb <none@none>

presburger method updated to deal better with mod and div, tweo lemmas added to Divides.thy


# 6e9a9dec 10-Nov-2005 huffman <none@none>

add header


# 5a6acc7c 23-Sep-2005 wenzelm <none@none>

Provers/cancel_sums.ML: Simplifier.inherit_bounds;


# 112ea486 20-Sep-2005 wenzelm <none@none>

tuned theory dependencies;


# 9dccfecd 16-Aug-2005 paulson <none@none>

more simprules now have names


# fff82f5e 16-Aug-2005 paulson <none@none>

classical rules must have names for ATP integration


# b66236eb 13-Jul-2005 paulson <none@none>

generlization of some "nat" theorems


# 9ce84e7b 06-Jul-2005 nipkow <none@none>

linear arithmetic now takes "&" in assumptions apart.


# 657298fd 13-Jan-2005 nipkow <none@none>

made diff_less a simp rule


# 997b6b04 19-Oct-2004 paulson <none@none>

converted some induct_tac to induct


# 0fe1d442 18-Aug-2004 nipkow <none@none>

import -> imports


# e61c8d7d 16-Aug-2004 nipkow <none@none>

New theory header syntax.


# a8e2e1dc 22-Apr-2004 paulson <none@none>

new lemmas


# e84c7806 05-Mar-2004 paulson <none@none>

some new results


# 30ab08fd 03-Mar-2004 paulson <none@none>

new material from Avigad, and simplified treatment of division by 0


# 1635caef 25-Nov-2003 paulson <none@none>

More refinements to Ring_and_Field and numerics. Conversion of Divides_lemmas
to Isar script.


# b79b3996 26-Sep-2003 paulson <none@none>

misc tidying


# c8ea642a 24-Jul-2003 paulson <none@none>

declarations moved from PreList.thy


# 20e29e5d 25-Mar-2003 berghofe <none@none>

New theorems split_div' and mod_div_equality'.


# 309517da 22-Aug-2002 nipkow <none@none>

Added div+mod cancelling simproc


# 4a1a1eb0 30-May-2002 nipkow <none@none>

Now arith can deal with div/mod arbitrary nat numerals.


# 005d4fc7 15-May-2002 nipkow <none@none>

Divides.ML -> Divides_lemmas.ML
Converted Divides.thy to Isar.


# 543684e4 01-Dec-2001 wenzelm <none@none>

renamed class "term" to "type" (actually "HOL.type");


# 3257c963 05-Jan-2001 nipkow <none@none>

Changed priority of dvd from 70 to 50 as befits a relation.


# 96c55450 01-Dec-2000 paulson <none@none>

many new div and mod properties (borrowed from Integ/IntDiv)


# 8aeb4ccd 13-Oct-2000 nipkow <none@none>

*** empty log message ***


# bc286955 12-Oct-2000 nipkow <none@none>

*** empty log message ***


# 51d06765 24-May-2000 paulson <none@none>

installing plus_ac0 for nat


# 7e9da215 21-May-2000 wenzelm <none@none>

replaced {{ }} by { };


# 9ed7b91e 19-Jul-1999 paulson <none@none>

new division laws taking advantage of (m div 0) = 0 and (m mod 0) = m


# f19f24fa 01-Jul-1999 paulson <none@none>

now div and mod are overloaded; dvd is polymorphic


# a9b53f1e 30-May-1997 paulson <none@none>

Moving div and mod from Arith to Divides
Moving dvd from ex/Primes to Divides