13.07.2015 Views

Mancosu - Philosophy of Mathematical Practice (Oxford, 2008).pdf

Mancosu - Philosophy of Mathematical Practice (Oxford, 2008).pdf

Mancosu - Philosophy of Mathematical Practice (Oxford, 2008).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

344 jeremy avigadby (auto simp add: finprod-const prems)finally show ?thesisby (auto simp add: prems)qedThe notation (in comm-group) indicates that this is a lemma in the commutativegroup locale. The notation ( ∧ ) denotes exponentiation, the expression carrier Gdenotes the set underlying the group, and the notation ⊗ x:carrier G denotesthe product over the elements <strong>of</strong> that set. With this lemma in place, here is apro<strong>of</strong> <strong>of</strong> Euler’s theorem:Theorem euler-theorem:assumes m > 1 and zgcd(a, m) = 1shows [a ∧ phi m = 1] (mod m)pro<strong>of</strong>–interpret comm-group [residue-mult-group m]by (rule residue-group-comm-group)have (a modm) { ∧ }m (phi m) ={1}mby (auto simp add: phi-def power-order-eq-one prems)also have (a modm) { ∧ }m (phi m) = (a ∧ phi m) mod mby (rule res-pow-cong)finally show ?thesisby (subst zcong-zmod-eq, insert prems auto simp add: res-one2-eq)qedThe pro<strong>of</strong> begins by noting that the residues modulo m from an abelian group.The notation { ∧ }m then denotes the operation <strong>of</strong> exponentiation modulom on residues, and {1}m denotes the residue 1, viewed as the identity inthe group. The pro<strong>of</strong> then simply appeals to the preceding lemma, notingthat exponentiating in the group is equivalent to applying ordinary integerexponentiation and then taking the remainder modulo m.The relative simplicity <strong>of</strong> these pro<strong>of</strong> scripts belies the work that has goneinto making the locales work effectively. The system has to provide mechanismsfor identifying certain theorems as theorems about groups; for specializing factsabout groups, automatically, to the specific group at hand; and for keepingtrack <strong>of</strong> the calculational rules and basic facts that enable the automated toolsto recognize straightforward inferences and calculations in both the generaland particular settings. Furthermore, one needs mechanisms to manage localesand combine them effectively. For example, every abelian group is a group;the multiplicative units <strong>of</strong> any ring form a group; the collection <strong>of</strong> subgroups<strong>of</strong> a group has a lattice structure; the real numbers as an ordered field provideinstances <strong>of</strong> an additive group, a multiplicative group, a field, a linear ordering,and so on. Thus complex bookkeeping is needed to keep track <strong>of</strong> the facts and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!