text\<open>
again: more legible, and variables properly generalized \<close>
lemma gcd_self [simp]: "gcd k k = k" by (rule gcd_mult [of k 1, simplified])
text\<open> NEXT SECTION: Methods for Forward Proof
NEW
theorem arg_cong, useful in forward steps
@{thm[display] arg_cong[no_vars]} \rulename{arg_cong} \<close>
lemma"2 \ u \ u*m \ Suc(u*n)" apply (intro notI) txt\<open>
before using arg_cong
@{subgoals[display,indent=0,margin=65]} \<close> apply (drule_tac f="\x. x mod u" in arg_cong) txt\<open>
after using arg_cong
@{subgoals[display,indent=0,margin=65]} \<close> apply (simp add: mod_Suc) done
text\<open> 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\<open>@{subgoals[display,indent=0,margin=65]}\<close> apply simp txt\<open>@{subgoals[display,indent=0,margin=65]}\<close> 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 ist noch experimentell.