HOL/Library/Polynomial.thy
라이브러리로 작업하고 있습니다.이사벨 : 다항식의 차수를 상수로 곱하면
간단한 속성이 작동하지 않았습니다.
lemma mylemma:
fixes y :: "('a::comm_ring_1 poly)" and x :: "('a::comm_ring_1)"
shows "1 = 1" (* dummy *)
proof-
have "⋀ x. degree [: x :] = 0" by simp
from this have "⋀ x y. degree (y * [: x :]) = degree y" sorry
(* different notation: *)
from this have "⋀ x y. degree (y * (CONST pCons x 0)) = degree y" sorry
: (즉, "죄송합니다"제거) 나는 보조 정리를 증명할 수있는 방법
- 예를 들면, 2x *2
의 정도는 2x
의 정도와 동일합니다. 마누엘의 대답에서
이 솔루션은 내가 찾고 있던 : 문제의 번호가 여기에 있습니다
have 1: "⋀ x. degree [: x :] = 0" by simp
{
fix y :: "('a::comm_ring_1 poly)" and x :: "('a::comm_ring_1)"
from 1 have "degree (y * [: x :]) ≤ degree y"
by (metis Nat.add_0_right degree_mult_le)
}
슈퍼 응답을 보내 주셔서 감사합니다. 실제로 "<= 정도 y"는 내 증거로 충분합니다. – mrsteve
그런 경우에, 나는 교환 할 수있는 semirings에 작동하는 degree_mult_le을 sugest. –