challenge my equational reasoner!
Sep. 15th, 2005 05:00 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm really proud of my equational reasoner. Challenge me!
Using the operations of +, -, *, /, ^, and the alphabet of numbers and variables, please come up with two very different finite expressions, which are equivalent under equational algebra. My claim is that my system will reduce them both to the same normal form, unless one (or both) of them is a polynomial division.
(I have a vague suspicion that I'm reinventing Knuth-Bendix about 30 years too late).
Using the operations of +, -, *, /, ^, and the alphabet of numbers and variables, please come up with two very different finite expressions, which are equivalent under equational algebra. My claim is that my system will reduce them both to the same normal form, unless one (or both) of them is a polynomial division.
EXPRS := EXPR EXPRS EXPRS := [] EXPR := (+ EXPRS) EXPR := (* EXPRS) EXPR := (^ EXPR EXPR) EXPR := VAR EXPR := NUMBER
(I have a vague suspicion that I'm reinventing Knuth-Bendix about 30 years too late).
Karatsuba
Date: 2005-09-15 06:08 am (UTC)Oh, this is exactly what I need today.
Re: Karatsuba
Date: 2005-09-15 10:38 am (UTC)Re: Karatsuba
Date: 2005-09-15 10:44 am (UTC)They reduce to the same.
Re: Karatsuba
Date: 2005-09-15 10:45 am (UTC)(no subject)
Date: 2005-09-15 07:35 pm (UTC)(a) ( X^5 - 1 ) / ( X - 1 )
(b) ( X^4 + X^3 + X^2 + X + 1 )
or does the fact that (a) is not defined at x=1 break it? If it does matter, division is basically pointless in your list of valid operators, since there's always a zero root.
(no subject)
Date: 2005-09-15 08:19 pm (UTC)I basically ignore the division-by-zero problem, by saying that you can always cancel out.
Would you care to tell me who you are?
Sorry :)
Date: 2005-09-15 11:44 pm (UTC)(no subject)
Date: 2005-09-16 12:02 am (UTC)It'd be interesting to see if the following work:
(1a) ( X + 1 ) ^ 100
(1b) ( X^2 + X + 1 ) ^ 50
(2a) X ^ ( X + 1 ) / X ^ ( X - 1 )
(2b) X ^ 2
(3a) (( X + X ) ^ ( X + X )) ^ ( X + X )
(3b) (( 2 * X ) ^ 4 ) ^ ( X ^ 2 )