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🪙2 + b * x + c = (0::int)"and"d * x🪙2 + e * x + f = 0" shows"d🪙2 * c🪙2 - 2 * d * c * a * f + a🪙2 * f🪙2 - e * d * b * c - e * b * a * f + a * e🪙2 * c + f * d * b🪙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🪙2 - x - 5) - 3 = (0::int) ⟷ (x = 3 ∨ x = -1)" by algebra
lemma fixes x::"'a::idom" shows"x🪙2*y = x🪙2 & x*y🪙2 = y🪙2 ⟷ 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.