text‹
again: more legible, and variables properly generalized ›
lemma gcd_self [simp]: "gcd k k = k" by (rule gcd_mult [of k 1, simplified])
text‹ NEXT SECTION: Methods for Forward Proof
NEW
theorem arg_cong, useful in forward steps
@{thm[display] arg_cong[no_vars]} \rulename{arg_cong} ›
lemma"2 \ u \ u*m \ Suc(u*n)" apply (intro notI) txt‹
before using arg_cong
@{subgoals[display,indent=0,margin=65]} › apply (drule_tac f="\x. x mod u"in arg_cong) txt‹
after using arg_cong
@{subgoals[display,indent=0,margin=65]} › apply (simp add: mod_Suc) done
text‹ have just used this rule:
@{thm[display] mod_Suc[no_vars]} \rulename{mod_Suc}
lemma relprime_dvd_mult: "\ gcd k n = 1; k dvd m*n \ \ k dvd m" apply (insert gcd_mult_distrib2 [of m k n]) txt‹@{subgoals[display,indent=0,margin=65]}› apply simp txt‹@{subgoals[display,indent=0,margin=65]}› apply (erule_tac t="m"in ssubst) apply simp done
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.