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 * x2 + b * x + c = (0::int)"and"d * x2 + e * x + f = 0" shows"d2 * c2 - 2 * d * c * a * f + a2 * f2 - e * d * b * c - e * b * a * f + a * e2 * c + f * d * b2 = 0" using assms by algebra
lemma"(x::int)^3 - x^2 - 5*x - 3 = 0 ⟷ (x = 3 ∨ x = -1)" by algebra
theorem"x* (x2 - x - 5) - 3 = (0::int) ⟷ (x = 3 ∨ x = -1)" by algebra
lemma fixes x::"'a::idom" shows"x2*y = x2 & x*y2 = y2⟷ x = 1 & y = 1 | x = 0 & y = 0" by algebra
subsection‹Lemmas for Lagrange's theorem›
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 und die Messung sind noch experimentell.