lemma"((x::int) + y)^3 - 1 = (x - z)^2 - 10 \ x = z + 3 \ x = - y" by algebra
lemma"(4::nat) + 4 = 3 + 5" by algebra
lemma"(4::int) + 0 = 4" apply algebra? by simp
lemma assumes"a * x\<^sup>2 + b * x + c = (0::int)" and "d * x\<^sup>2 + e * x + f = 0" shows"d\<^sup>2 * c\<^sup>2 - 2 * d * c * a * f + a\<^sup>2 * f\<^sup>2 - e * d * b * c - e * b * a * f +
a * e\<^sup>2 * c + f * d * b\<^sup>2 = 0" using assms by algebra
lemma"(x::int)^3 - x^2 - 5*x - 3 = 0 \ (x = 3 \ x = -1)" by algebra
theorem"x* (x\<^sup>2 - x - 5) - 3 = (0::int) \ (x = 3 \ x = -1)" by algebra
lemma fixes x::"'a::idom" shows"x\<^sup>2*y = x\<^sup>2 & x*y\<^sup>2 = y\<^sup>2 \ x = 1 & y = 1 | x = 0 & y = 0" by algebra
subsection \<open>Lemmas for Lagrange's theorem\<close>
definition
sq :: "'a::times => 'a"where "sq x == x*x"
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.