Details

Time bar (total: 10.0s)

analyze81.0ms (0.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
Compiler

Compiled 20 to 13 computations (35% saved)

sample1.4s (13.7%)

Results
1.4s8256×body256valid
1.0ms10×body256invalid

preprocess106.0ms (1.1%)

Algorithm
egg-herbie
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 4 b) b -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 4 a) a -1))
Compiler

Compiled 21 to 14 computations (33.3% saved)

simplify32.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))

eval1.0ms (0%)

Compiler

Compiled 34 to 20 computations (41.2% saved)

prune2.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 36 to 23 computations (36.1% saved)

localize24.0ms (0.2%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(+.f64 (*.f64 a a) (*.f64 b b))
0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(+.f64 (*.f64 a a) (*.f64 b b))
0.0b
(*.f64 4 (*.f64 b b))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 66 to 24 computations (63.6% saved)

series9.0ms (0.1%)

Counts
4 → 84
Calls

21 calls:

TimeVariablePointExpression
1.0ms
a
@0
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.0ms
b
@inf
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.0ms
a
@inf
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.0ms
b
@0
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.0ms
b
@0
(*.f64 4 (*.f64 b b))

rewrite58.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
51×egg-rr
51×egg-rr
38×egg-rr
36×egg-rr
Counts
4 → 176
Calls
Call 1
Inputs
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 a a) (*.f64 b b))
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 0) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 0 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)) 1) (*.f64 (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)) 1) (*.f64 (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 a a (*.f64 b b)) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)) (cbrt.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 1) (*.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) (*.f64 2 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) (+.f64 1/3 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 a a (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b) (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 a a (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) 2) 1) (*.f64 (*.f64 (*.f64 b b) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 (*.f64 b b)) 0) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (*.f64 (*.f64 4 (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 3) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 (*.f64 b b) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 2) (*.f64 (*.f64 b b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 4 (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (*.f64 0 (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 b b)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 3 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 b b) (+.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b -2) (*.f64 b -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 b) -2) (*.f64 (neg.f64 b) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 b) 2) (*.f64 (neg.f64 b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (cbrt.f64 (*.f64 16 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 4 (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) 4)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 4 b) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 4 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 4 (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (*.f64 b b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -4 (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 16) (*.f64 b b)) (cbrt.f64 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 b 4)) 4) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 16) (*.f64 (*.f64 b b) (cbrt.f64 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (*.f64 4 b) (cbrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (*.f64 64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 b b) 1) (*.f64 (+.f64 b b) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 b b) -1) (*.f64 (+.f64 b b) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -2 b) (*.f64 -2 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -2 (neg.f64 b)) (*.f64 -2 (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (neg.f64 b)) (*.f64 2 (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (+.f64 b b)) (*.f64 -1 (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 4 (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 b 6) 64) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 b b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 6) 64))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) 0) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 a a (*.f64 b b)) (*.f64 (fma.f64 a a (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 a a (*.f64 b b))) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 a a (*.f64 b b)) (*.f64 0 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 4)) (-.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (+.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 4)) (-.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 (*.f64 a b) 2)))) (+.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (pow.f64 b 4)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (pow.f64 a 4)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 a) (*.f64 (cbrt.f64 (*.f64 a a)) a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 a a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 a a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) 1 (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 1 (*.f64 a a))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 4 (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2))) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 4 (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)) (+.f64 (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)) (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (pow.f64 (*.f64 a b) 2)) (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)) (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (-.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))))) (+.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (*.f64 4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))))) (+.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (fma.f64 a a (*.f64 b b)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) (neg.f64 (fma.f64 a a (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) 2) 2 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 b b) 2) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 4 (*.f64 b b)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1 (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 b b)) 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))

simplify582.0ms (5.8%)

Algorithm
egg-herbie
Counts
260 → 203
Calls
Call 1
Inputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
Outputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4)) (pow.f64 a 4))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))

localize17.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
0.0b
(fma.f64 a a (*.f64 b b))
0.0b
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
0.0b
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
0.0b
(fma.f64 a a (*.f64 b b))
0.3b
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
Compiler

Compiled 48 to 22 computations (54.2% saved)

series8.0ms (0.1%)

Counts
3 → 72
Calls

18 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
1.0ms
a
@0
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
1.0ms
a
@0
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
1.0ms
a
@inf
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
0.0ms
b
@-inf
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))

rewrite76.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
55×egg-rr
34×egg-rr
33×egg-rr
Counts
3 → 122
Calls
Call 1
Inputs
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
(fma.f64 a a (*.f64 b b))
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a)) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 0) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 0 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a)) 1) (*.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 a a (*.f64 b b)) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 1) (*.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)) (cbrt.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) (*.f64 2 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) (+.f64 1/3 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 a a (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (fma.f64 a a (*.f64 b b)) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) 0) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 a a (*.f64 b b)) (*.f64 (fma.f64 a a (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 a a (*.f64 b b))) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 a a (*.f64 b b)) (*.f64 0 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 a a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (pow.f64 b 4)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (pow.f64 a 4)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 a a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 a) (*.f64 (cbrt.f64 (*.f64 a a)) a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 1 (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) 1 (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b b))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) 0) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a))) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 0) (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) (*.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) (*.f64 0 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a)) (+.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)) (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 b) b) (*.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (*.f64 4 b) b) (-.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (+.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2)) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (+.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (fma.f64 (*.f64 4 b) b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 2)) (cbrt.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) 3) -1) (+.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b))) (-.f64 1 (*.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (*.f64 (*.f64 4 b) b)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (fma.f64 a a (*.f64 b b)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) (neg.f64 (fma.f64 a a (*.f64 b b))) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2)) (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (fma.f64 (*.f64 4 b) b -1)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 4 b) b)) (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 b)) (*.f64 (cbrt.f64 (*.f64 16 (*.f64 b b))) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 4 b) b -1) 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))))

simplify487.0ms (4.8%)

Algorithm
egg-herbie
Counts
194 → 151
Calls
Call 1
Inputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(-.f64 (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))) 1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
Outputs
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(-.f64 (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)) 1)
(+.f64 (fma.f64 4 (*.f64 b b) (pow.f64 b 4)) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))) 1)
(+.f64 (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (pow.f64 a 4) 1)
(+.f64 (pow.f64 a 4) -1)
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))) 1)
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) -1))
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)

eval152.0ms (1.5%)

Compiler

Compiled 7375 to 3751 computations (49.1% saved)

prune56.0ms (0.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3468354
Fresh000
Picked101
Done011
Total3479356
Error
0b
Counts
356 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
0.2b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0b
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
13.1b
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
13.8b
(-.f64 (pow.f64 a 4) 1)
0.2b
(+.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a))) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))
13.2b
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 309 to 206 computations (33.3% saved)

localize36.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
1.2b
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
0.0b
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
0.0b
(*.f64 2 (pow.f64 a 2))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
0.0b
(*.f64 2 (pow.f64 a 2))
0.0b
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
1.2b
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
Compiler

Compiled 97 to 76 computations (21.6% saved)

series12.0ms (0.1%)

Counts
4 → 49
Calls

21 calls:

TimeVariablePointExpression
3.0ms
a
@-inf
(*.f64 2 (pow.f64 a 2))
1.0ms
b
@0
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
1.0ms
b
@inf
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
1.0ms
a
@0
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
1.0ms
a
@inf
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))

rewrite77.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
50×egg-rr
46×egg-rr
42×egg-rr
36×egg-rr
Counts
4 → 174
Calls
Call 1
Inputs
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 2 (pow.f64 a 2))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) (*.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 0) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) 4)) (*.f64 1 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 4 (*.f64 b b))) (*.f64 1 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b))) (*.f64 1 (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a)))) (*.f64 1 (*.f64 (*.f64 b b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) (*.f64 0 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) 4) 1) (*.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 (*.f64 b b)) 1) (*.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) 1) (*.f64 (*.f64 4 (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1) (*.f64 (*.f64 (*.f64 b b) 4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 (*.f64 a a) 4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 (*.f64 a a) 4) 2)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) b) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 b b) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))) (/.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6))) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6))) 1) (/.f64 (*.f64 b b) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6))) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))) (/.f64 (*.f64 b b) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (fma.f64 2 (*.f64 a a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 b 6) (fma.f64 2 (*.f64 a a) 4))) (cbrt.f64 (pow.f64 (fma.f64 2 (*.f64 a a) 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6)))) (/.f64 1 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6)))) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6)))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6))))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (neg.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6))))) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6)))) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 (*.f64 a a) 4) 2)) (*.f64 b b))) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (*.f64 8 (+.f64 8 (pow.f64 a 6)))) (*.f64 b b)) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6)))) 1) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6)))) 1) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (*.f64 b b) (*.f64 8 (+.f64 8 (pow.f64 a 6))))) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a)))) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) 4)) (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 4 (*.f64 b b))) (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (+.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (+.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) (+.f64 (*.f64 4 (*.f64 b b)) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) (+.f64 (*.f64 (*.f64 b b) 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) (*.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 0) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) (*.f64 0 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 2)) (-.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (*.f64 (pow.f64 a 4) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (+.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (cbrt.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 8)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (pow.f64 a 4) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (+.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) 2)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 a 8)) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (+.f64 a a)) (*.f64 (*.f64 a (+.f64 a a)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (+.f64 a a)) 0) (*.f64 a (+.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (+.f64 a a)) (*.f64 0 (*.f64 a (+.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 a (+.f64 a a))) (*.f64 a (+.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) a) (*.f64 (sqrt.f64 2) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 2)) (*.f64 a (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (+.f64 a a))) (cbrt.f64 (*.f64 4 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 a 4))) (cbrt.f64 (*.f64 a (+.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 a) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (+.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 a (+.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (+.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 4) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (cbrt.f64 2)) (cbrt.f64 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 8 (*.f64 a a))) (cbrt.f64 (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (*.f64 a (sqrt.f64 2))) (*.f64 -1 (*.f64 a (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1 (*.f64 a (sqrt.f64 2))) (*.f64 1 (*.f64 a (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) a)) (*.f64 -1 (*.f64 (sqrt.f64 2) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1 (*.f64 (sqrt.f64 2) a)) (*.f64 1 (*.f64 (sqrt.f64 2) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 a) (sqrt.f64 2)) (*.f64 (neg.f64 a) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (neg.f64 (sqrt.f64 2))) (*.f64 a (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 a) (neg.f64 (sqrt.f64 2))) (*.f64 (neg.f64 a) (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 2)) a) (*.f64 (neg.f64 (sqrt.f64 2)) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (neg.f64 a)) (*.f64 (sqrt.f64 2) (neg.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 2)) (neg.f64 a)) (*.f64 (neg.f64 (sqrt.f64 2)) (neg.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 2)) -1) (*.f64 (*.f64 a (sqrt.f64 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) a) -1) (*.f64 (*.f64 (sqrt.f64 2) a) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 2)) 1) (*.f64 (*.f64 a (sqrt.f64 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) a) 1) (*.f64 (*.f64 (sqrt.f64 2) a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (sqrt.f64 2)) (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 -2 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a (+.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (+.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 a 6) 8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (+.f64 a a))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (+.f64 a a))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (+.f64 a a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 -2 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 6) 8))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4))) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a)))) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) 4)) (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 4 (*.f64 b b))) (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (+.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (+.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (+.f64 a a)) (*.f64 b b)) (+.f64 (*.f64 4 (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) (+.f64 (*.f64 (*.f64 b b) 4) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 0) (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4))) 1) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))) (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 2)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 2)) (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 1 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 b 8)) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4)) 2)) (pow.f64 b 4))))))

simplify315.0ms (3.1%)

Algorithm
egg-herbie
Counts
223 → 196
Calls
Call 1
Inputs
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
Outputs
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(pow.f64 a 4)
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 a 4))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)))

localize5.0ms (0.1%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

localize13.0ms (0.1%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 b b) 2)
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))
0.0b
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
0.2b
(pow.f64 (*.f64 b b) 2)
Compiler

Compiled 43 to 22 computations (48.8% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
b
@0
(pow.f64 (*.f64 b b) 2)
0.0ms
b
@inf
(pow.f64 (*.f64 b b) 2)
0.0ms
b
@0
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))
0.0ms
b
@inf
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))
0.0ms
b
@-inf
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))

rewrite42.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
55×egg-rr
28×egg-rr
Counts
2 → 83
Calls
Call 1
Inputs
(pow.f64 (*.f64 b b) 2)
(+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 (pow.f64 b 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 b 4) 0) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 0 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (pow.f64 b 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 3) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (pow.f64 b 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (cbrt.f64 (pow.f64 b 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 b 8)) (pow.f64 b 4/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (pow.f64 (pow.f64 b 2/3) 5))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 b 2/3) 5) (pow.f64 b 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 b 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 b 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b b) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 3) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 6) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 4/3) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 2/3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b b) 6))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 0) (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (fma.f64 b b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 b b 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 (pow.f64 b 3) (*.f64 4 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 (*.f64 4 b) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (*.f64 (*.f64 b b) (cbrt.f64 4)))) (+.f64 (pow.f64 b 4/3) (cbrt.f64 (*.f64 4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (*.f64 (*.f64 b b) (cbrt.f64 4)))) (+.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 b 4/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 2/3) (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (+.f64 (pow.f64 (pow.f64 b 2/3) 5) (*.f64 (pow.f64 b 4/3) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (+.f64 (*.f64 (pow.f64 b 4/3) 4) (pow.f64 (pow.f64 b 2/3) 5)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (+.f64 (cbrt.f64 (pow.f64 b 8)) (*.f64 4 (pow.f64 b 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (+.f64 (*.f64 4 (pow.f64 b 2/3)) (cbrt.f64 (pow.f64 b 8))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4/3) (cbrt.f64 (pow.f64 b 8)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (pow.f64 b 2/3) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (pow.f64 b 2/3)) (pow.f64 b 4/3) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 2/3) (*.f64 (pow.f64 b 4/3) 4) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 b b)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 3) b (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (pow.f64 b 3) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 2/3) (pow.f64 (pow.f64 b 2/3) 5) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (pow.f64 b 4/3) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 b b) 2) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) 2) 2 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 b 4)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 b b)) 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4) 1 (*.f64 4 (*.f64 b b)))))))

simplify163.0ms (1.6%)

Algorithm
egg-herbie
Counts
107 → 87
Calls
Call 1
Inputs
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(*.f64 4 (pow.f64 b 2))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
Outputs
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))

localize18.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
0.0b
(fma.f64 a a (*.f64 b b))
0.0b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0b
(fma.f64 a a (*.f64 b b))
0.3b
(pow.f64 (fma.f64 a a (*.f64 b b)) 2)
Compiler

Compiled 58 to 26 computations (55.2% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
b
@0
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0ms
a
@inf
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0ms
b
@inf
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0ms
a
@-inf
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
0.0ms
a
@0
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))

rewrite42.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
77×egg-rr
Counts
1 → 77
Calls
Call 1
Inputs
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a))) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a)) (+.f64 (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)) (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0) (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 0 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (*.f64 4 b) b) (-.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (-.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (*.f64 4 b) b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 1 (*.f64 (*.f64 4 b) b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (cbrt.f64 (pow.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (-.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 b (*.f64 (*.f64 4 b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (+.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (cbrt.f64 (*.f64 (*.f64 4 b) b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (-.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (cbrt.f64 (*.f64 b (*.f64 (*.f64 4 b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (+.f64 (cbrt.f64 (*.f64 (*.f64 4 b) b)) (cbrt.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (cbrt.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (*.f64 -1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3) -1) (+.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (-.f64 1 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 4 b) b)) (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (fma.f64 a a (*.f64 b b))) (neg.f64 (fma.f64 a a (*.f64 b b))) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 a a (*.f64 b b)) (fma.f64 a a (*.f64 b b)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 4)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (pow.f64 (cbrt.f64 (fma.f64 a a (*.f64 b b))) (+.f64 2 3)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 2)) (cbrt.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (fma.f64 a a (*.f64 b b)) 1) (+.f64 (fma.f64 a a (*.f64 b b)) -1) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (-.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2)) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 b)) (*.f64 (cbrt.f64 (*.f64 16 (*.f64 b b))) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 2 (*.f64 b b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (cbrt.f64 (*.f64 4 b))) (cbrt.f64 (*.f64 16 (*.f64 b b))) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 (*.f64 4 b) b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) (*.f64 4 b)) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) 1 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 -1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 6)) (/.f64 1 (+.f64 (+.f64 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) (pow.f64 (fma.f64 a a (*.f64 b b)) 4))) (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) 1 (*.f64 (*.f64 4 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) b) 1 (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 4 b) b -1) 1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))))))

simplify184.0ms (1.8%)

Algorithm
egg-herbie
Counts
101 → 96
Calls
Call 1
Inputs
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))) 1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
Outputs
(-.f64 (pow.f64 a 4) 1)
(+.f64 (pow.f64 a 4) -1)
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))) 1)
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) -1))
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4))
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)) 1)
(+.f64 (fma.f64 4 (*.f64 b b) (pow.f64 b 4)) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))) 1)
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) 1)
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
0.0b
(+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4)))
0.0b
(+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4)))
0.0b
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
Compiler

Compiled 74 to 40 computations (45.9% saved)

series5.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
a
@0
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
0.0ms
b
@0
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
0.0ms
b
@inf
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
0.0ms
a
@inf
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
0.0ms
a
@0
(+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4)))

rewrite51.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
50×egg-rr
38×egg-rr
Counts
2 → 88
Calls
Call 1
Inputs
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) (*.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 0) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) (*.f64 0 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)) (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) (*.f64 a a)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 a 4)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 a a)) (neg.f64 (*.f64 a a)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 a 8)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (pow.f64 a 3) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3) a (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) b) b (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 a a) 2 4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 a a) 2 4) 2)) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) 2)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 4) 1 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) 1 (pow.f64 a 4))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 0) (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4))) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) (*.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4))) 1) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (cbrt.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 2)) (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 b 8)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 2)) (cbrt.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) b) b (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 a a) 2 4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 a a) 2 4) 2)) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 b 4)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 b b)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (pow.f64 b 3) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (pow.f64 b 4)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 3) b (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (*.f64 b b)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)) 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4) 1 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4)))))))

simplify304.0ms (3%)

Algorithm
egg-herbie
Counts
136 → 110
Calls
Call 1
Inputs
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
Outputs
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4) (pow.f64 b 4)))

eval353.0ms (3.5%)

Compiler

Compiled 13612 to 8251 computations (39.4% saved)

prune121.0ms (1.2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New6166622
Fresh213
Picked101
Done235
Total62110631
Error
0b
Counts
631 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
0.0b
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))))) 1)
49.9b
(pow.f64 b 4)
25.6b
(-.f64 (*.f64 4 (*.f64 b b)) 1)
13.8b
(-.f64 (pow.f64 a 4) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
13.2b
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
0.2b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
49.9b
(pow.f64 a 4)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 244 to 166 computations (32% saved)

localize36.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
1.2b
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
0.0b
(+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))))
0.0b
(*.f64 -2 (*.f64 a a))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b)))))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b)))))
0.0b
(*.f64 -2 (*.f64 a a))
0.0b
(+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))))
1.2b
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
Compiler

Compiled 113 to 64 computations (43.4% saved)

series25.0ms (0.3%)

Counts
4 → 84
Calls

21 calls:

TimeVariablePointExpression
17.0ms
b
@0
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
1.0ms
a
@0
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
1.0ms
b
@inf
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
1.0ms
a
@inf
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
0.0ms
a
@inf
(*.f64 -2 (*.f64 a a))

rewrite84.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
98×egg-rr
60×egg-rr
51×egg-rr
26×egg-rr
Counts
4 → 235
Calls
Call 1
Inputs
(*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))
(+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))))
(*.f64 -2 (*.f64 a a))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b)))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) -4) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)) (*.f64 (*.f64 b b) -4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -4 (*.f64 b b)) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)) (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 0 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a))) (*.f64 (*.f64 b b) -4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 0 (*.f64 -4 (*.f64 b b))) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 0 (*.f64 (*.f64 b b) -4)) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 0 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b))) (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) -4) (-.f64 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)) (-.f64 (*.f64 -4 (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)) (-.f64 (*.f64 (*.f64 b b) -4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -4 (*.f64 b b)) (-.f64 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) -4)) (*.f64 1 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b))) (*.f64 1 (*.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a))) (*.f64 1 (*.f64 (*.f64 b b) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 -4 (*.f64 b b))) (*.f64 1 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) 0) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 0) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) (*.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) -4) 1) (*.f64 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)) 1) (*.f64 (*.f64 -4 (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)) 1) (*.f64 (*.f64 (*.f64 b b) -4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -4 (*.f64 b b)) 1) (*.f64 (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 -1) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) b) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 (fma.f64 (*.f64 -2 a) a -4) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (cbrt.f64 (fma.f64 (*.f64 -2 a) a -4))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 -2 a) a -4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (fma.f64 (*.f64 -2 a) a -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 b b)) (+.f64 4 (*.f64 2 (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) b) (neg.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))) (neg.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2))) (cbrt.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 4 (*.f64 2 (*.f64 a a)))) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) (neg.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (cbrt.f64 (*.f64 b b)))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 -2 a) a -4)) (neg.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) (neg.f64 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (cbrt.f64 (*.f64 b b))) (neg.f64 (cbrt.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) (/.f64 1 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))) (/.f64 (*.f64 b b) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) 1) (/.f64 (*.f64 b b) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 b b) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))) (/.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 0 (-.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (*.f64 0 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (+.f64 0 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (+.f64 0 (*.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 0))) (-.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8)))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) b)) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (+.f64 (neg.f64 (*.f64 (pow.f64 a 6) -8)) 64)) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (neg.f64 (*.f64 b b)))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) 1) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) b) b) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) (*.f64 b b))) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (neg.f64 (*.f64 b b))) -1) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (neg.f64 (*.f64 (pow.f64 a 6) -8)) 64) (*.f64 b b)) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (neg.f64 (*.f64 (pow.f64 a 6) -8)) 64) (neg.f64 (*.f64 b b))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 b b) (+.f64 -64 (*.f64 (pow.f64 a 6) -8))) 1) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (neg.f64 (*.f64 b b)))) (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (neg.f64 (*.f64 b b))) -1) (*.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 -64 (*.f64 (pow.f64 a 6) -8)) (neg.f64 (*.f64 b b))) (neg.f64 (+.f64 16 (fma.f64 4 (pow.f64 a 4) (*.f64 -8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 (fma.f64 (*.f64 -2 a) a -4) b) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) b) b 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 (fma.f64 (*.f64 -2 a) a -4))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (*.f64 -2 a) a -4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 -2 a) a -4) 2)) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (fma.f64 (*.f64 -2 a) a -4)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) 0)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 0) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) (*.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) (*.f64 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 a 4) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) -4)) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 a 4) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b))) (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a))) (*.f64 (*.f64 b b) -4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 a 4) (*.f64 -4 (*.f64 b b))) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (neg.f64 (pow.f64 a 4)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 8)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (+.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (-.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (*.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (+.f64 (cbrt.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))) (cbrt.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 8)) (+.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (*.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (-.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) 2)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 a 8)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 a a)) (neg.f64 (*.f64 a a)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) (*.f64 a a)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3) a (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (pow.f64 a 3) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 4) 1 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 a 4)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 1 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 3 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 0 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 -2 a) a) 0) (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -2 a) a) (*.f64 (*.f64 (*.f64 -2 a) a) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (*.f64 -2 a) a)) (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -2 a) a) (*.f64 0 (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 -2 a) a)) (cbrt.f64 (*.f64 4 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 a 4))) (cbrt.f64 (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -2 a) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -2 a) (cbrt.f64 a)) (cbrt.f64 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (cbrt.f64 -2)) (cbrt.f64 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 -2) (*.f64 (cbrt.f64 4) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -2 a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) -2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 -2 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -2 (cbrt.f64 (*.f64 a a))) (cbrt.f64 (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 2 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 -2 a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 -2 a) a)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 a 6) -8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 -2 a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 -2 a) a)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 -2 a) a)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 2 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 6) -8))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 b 4) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (-.f64 (pow.f64 b 4) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 0) (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) (*.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (-.f64 (pow.f64 b 4) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (-.f64 (pow.f64 b 4) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b))) 1) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))) (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) (*.f64 0 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 b 4) 0) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) -4)) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b))) (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) (*.f64 (*.f64 -2 a) a))) (*.f64 (*.f64 b b) -4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 -4 (*.f64 b b))) (*.f64 (*.f64 (*.f64 -2 a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 b 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 (neg.f64 (pow.f64 b 4)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))) (cbrt.f64 (pow.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 2)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 2)) (cbrt.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 1 (+.f64 (neg.f64 (pow.f64 b 4)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 (neg.f64 (pow.f64 b 4)) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4))) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (*.f64 (fma.f64 (*.f64 -2 a) a -4) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 b 8)) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) 2)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 a a)) (neg.f64 (*.f64 a a)) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) (*.f64 a a)) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3) a (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (pow.f64 a 3) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 4) 1 (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 a 8)) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 a 4)) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 (*.f64 -2 a) a -4) (neg.f64 (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4))) 2) (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)))))))

simplify646.0ms (6.4%)

Algorithm
egg-herbie
Counts
319 → 267
Calls
Call 1
Inputs
(*.f64 -4 (pow.f64 b 2))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (pow.f64 a 2))
(pow.f64 a 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(-.f64 (pow.f64 b 4) (*.f64 -4 (pow.f64 b 2)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) (*.f64 -4 (pow.f64 b 2)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 -4 (pow.f64 b 2)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 -4 (pow.f64 b 2)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
Outputs
(*.f64 -4 (pow.f64 b 2))
(*.f64 -4 (*.f64 b b))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 -4 (pow.f64 b 2)))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(+.f64 (*.f64 -4 (pow.f64 b 2)) (*.f64 -2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 (-.f64 (*.f64 -2 (pow.f64 a 2)) 4) (pow.f64 b 2))
(*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(*.f64 -2 (pow.f64 a 2))
(*.f64 -2 (*.f64 a a))
(pow.f64 a 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 a 4))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(-.f64 (pow.f64 b 4) (*.f64 -4 (pow.f64 b 2)))
(+.f64 (*.f64 4 (*.f64 b b)) (pow.f64 b 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) (*.f64 -4 (pow.f64 b 2)))
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(-.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 -4 (pow.f64 b 2)))
(fma.f64 (+.f64 4 (*.f64 (*.f64 2 a) a)) (*.f64 b b) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(-.f64 (*.f64 4 (*.f64 b b)) 1)
0.0b
(-.f64 (*.f64 4 (*.f64 b b)) 1)
0.0b
(*.f64 4 (*.f64 b b))
Compiler

Compiled 20 to 11 computations (45% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
b
@0
(-.f64 (*.f64 4 (*.f64 b b)) 1)
0.0ms
b
@inf
(-.f64 (*.f64 4 (*.f64 b b)) 1)
0.0ms
b
@-inf
(-.f64 (*.f64 4 (*.f64 b b)) 1)

rewrite79.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
80×egg-rr
Counts
1 → 80
Calls
Call 1
Inputs
(-.f64 (*.f64 4 (*.f64 b b)) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 (fma.f64 (*.f64 4 b) b -1) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b -1) 0) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 0 (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 4 b) b -1)) (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (*.f64 (pow.f64 b 6) 64) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) (neg.f64 (/.f64 1 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b -1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 4 (*.f64 b b)) 0) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 b 6) 64) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) (/.f64 1 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 4 (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (+.f64 1 (*.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 -1 (*.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (*.f64 4 b) b -1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (*.f64 4 (*.f64 b b)) 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (+.f64 1 (*.f64 -4 (*.f64 b b))))) (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 b b) -1) (-.f64 (+.f64 b b) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (pow.f64 b 6) 64 -1)) (/.f64 1 (neg.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))) (/.f64 (fma.f64 (pow.f64 b 6) 64 -1) (pow.f64 (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)) 1) (/.f64 (fma.f64 (*.f64 4 b) b -1) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)) (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))) (/.f64 (fma.f64 (*.f64 4 b) b -1) (pow.f64 (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (fma.f64 (pow.f64 b 6) 64 -1)) 1) (/.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 b 6) 64 -1)) 2) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (-.f64 1 (*.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) -1))) (+.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (-.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (cbrt.f64 (*.f64 -4 (*.f64 b b))))) (+.f64 -1 (cbrt.f64 (*.f64 4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (+.f64 1 (cbrt.f64 (*.f64 4 (*.f64 b b))))) (-.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3) (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 b 6) 64 -1) (/.f64 1 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) (fma.f64 (pow.f64 b 6) 64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (*.f64 -4 (*.f64 b b)))) (neg.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (*.f64 -4 (*.f64 b b)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 1 (*.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 4 b) b -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 -4 (*.f64 b b))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 262144 (pow.f64 (pow.f64 b 6) 3)) -1) (/.f64 1 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))) (+.f64 (pow.f64 (*.f64 4 (*.f64 b b)) 6) (fma.f64 (pow.f64 b 6) 64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 b 6) 64 -1) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 262144 (pow.f64 (pow.f64 b 6) 3)) -1) 1) (*.f64 (+.f64 (pow.f64 (*.f64 4 (*.f64 b b)) 6) (fma.f64 (pow.f64 b 6) 64 1)) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 b 6) 64 -1)) (neg.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3) (cbrt.f64 (fma.f64 (pow.f64 b 6) 64 -1))) (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (fma.f64 (pow.f64 b 6) 64 -1)) 1) (neg.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (fma.f64 (pow.f64 b 6) 64 -1)) (pow.f64 (fma.f64 (*.f64 4 b) b -1) 2/3)) (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (pow.f64 b 6) 64) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) (*.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 (pow.f64 b 6) 64 -1) (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))) (pow.f64 (cbrt.f64 (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 (pow.f64 b 6) 64 -1) 1) (fma.f64 16 (pow.f64 b 4) (fma.f64 (*.f64 4 b) b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 b 6) 64 -1) (+.f64 1 (-.f64 (*.f64 16 (pow.f64 b 4)) (*.f64 -4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 4 b) b -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 4 b) b -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 1 (*.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (+.f64 1 (*.f64 -4 (*.f64 b b))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 2/3) (*.f64 (pow.f64 b 4/3) 4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (cbrt.f64 (*.f64 4 (*.f64 b b))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -4 (*.f64 b b)) -1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (pow.f64 b 2/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) 2) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 b b) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (pow.f64 b 2/3)) (pow.f64 b 4/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 0 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 3 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 0 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 4 (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 -1 (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 1 (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 b b)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 0 (fma.f64 (*.f64 4 b) b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 1 (fma.f64 (*.f64 4 b) b -1))))))

simplify128.0ms (1.3%)

Algorithm
egg-herbie
Counts
92 → 84
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(*.f64 4 (pow.f64 b 2))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(*.f64 4 (pow.f64 b 2))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
Outputs
-1
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)

localize25.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 b b) (*.f64 b b))
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b)))
0.0b
(+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
0.2b
(*.f64 (*.f64 b b) (*.f64 b b))
Compiler

Compiled 48 to 16 computations (66.7% saved)

series14.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
b
@0
(*.f64 (*.f64 b b) (*.f64 b b))
1.0ms
b
@inf
(*.f64 (*.f64 b b) (*.f64 b b))
0.0ms
b
@inf
(+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b)))
0.0ms
b
@0
(+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b)))
0.0ms
b
@-inf
(*.f64 (*.f64 b b) (*.f64 b b))

rewrite44.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
61×egg-rr
32×egg-rr
Counts
2 → 93
Calls
Call 1
Inputs
(*.f64 (*.f64 b b) (*.f64 b b))
(+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 (pow.f64 b 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 b 4) 0) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 0 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (pow.f64 b 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 3) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (pow.f64 b 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 10/3) (pow.f64 b 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (*.f64 (pow.f64 b 2/3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (pow.f64 (pow.f64 b 2/3) 5))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 b 2/3) (pow.f64 b 3)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 b 2/3) 5) (pow.f64 b 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (pow.f64 b 10/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (cbrt.f64 (pow.f64 b 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 b 8)) (pow.f64 b 4/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 b 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b b) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 b 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 2/3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 6) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 3) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 4/3) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 b 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b b) 6))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 0) (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (*.f64 (pow.f64 b 4/3) (fma.f64 b b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (fma.f64 b 4 (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 b 4/3) (fma.f64 b b 4)) (pow.f64 b 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 b 4 (pow.f64 b 3)) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (+.f64 (pow.f64 b 10/3) (*.f64 (*.f64 4 b) (cbrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 2/3) (+.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (pow.f64 b 10/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (*.f64 (*.f64 b b) (cbrt.f64 4)))) (+.f64 (pow.f64 b 4/3) (cbrt.f64 (*.f64 4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (*.f64 (*.f64 b b) (cbrt.f64 4)))) (+.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 b 4/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 2/3) (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (fma.f64 b b 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 b b 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (+.f64 (cbrt.f64 (pow.f64 b 8)) (*.f64 4 (pow.f64 b 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 4/3) (+.f64 (*.f64 4 (pow.f64 b 2/3)) (cbrt.f64 (pow.f64 b 8))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (+.f64 (pow.f64 b 6) 64)) (-.f64 (+.f64 (pow.f64 b 4) 16) (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 b 6) 64) (*.f64 b b)) (-.f64 (+.f64 (pow.f64 b 4) 16) (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 b 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 3) b (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4/3) (cbrt.f64 (pow.f64 b 8)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (pow.f64 b 3) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (pow.f64 b 2/3)) (pow.f64 b 4/3) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (pow.f64 b 2/3) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 2/3) (*.f64 (pow.f64 b 4/3) 4) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 16) (pow.f64 b 4/3)) (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (pow.f64 b 4/3) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (pow.f64 b 2/3) (pow.f64 b 3)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 2/3) (pow.f64 (pow.f64 b 2/3) 5) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 b b)) (neg.f64 (*.f64 b b)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 10/3) (pow.f64 b 2/3) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) 2) 2 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 b b) 2) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 b 4)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 4 (*.f64 b b)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 b b)) 1 (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 4) 1 (*.f64 4 (*.f64 b b)))))))

simplify141.0ms (1.4%)

Algorithm
egg-herbie
Counts
117 → 97
Calls
Call 1
Inputs
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(*.f64 4 (pow.f64 b 2))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
Outputs
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(pow.f64 b 4)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))

localize3.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize3.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval266.0ms (2.6%)

Compiler

Compiled 11428 to 7503 computations (34.3% saved)

prune96.0ms (1%)

Pruning

14 alts after pruning (7 fresh and 7 done)

PrunedKeptTotal
New5475552
Fresh022
Picked011
Done167
Total54814562
Error
0b
Counts
562 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
49.9b
(pow.f64 b 4)
0.1b
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
25.6b
(-.f64 (*.f64 4 (*.f64 b b)) 1)
13.8b
(-.f64 (pow.f64 a 4) 1)
26.5b
-1
12.9b
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
0.0b
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
13.2b
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
0.2b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
61.7b
(*.f64 4 (*.f64 b b))
25.6b
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
49.9b
(pow.f64 a 4)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 285 to 191 computations (33% saved)

localize40.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
1.2b
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))
0.0b
(+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))
0.0b
(*.f64 2 (*.f64 a a))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4)))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4)))
0.0b
(*.f64 2 (*.f64 a a))
0.0b
(+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))
1.2b
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))
Compiler

Compiled 97 to 54 computations (44.3% saved)

series8.0ms (0.1%)

Counts
4 → 84
Calls

21 calls:

TimeVariablePointExpression
2.0ms
a
@-inf
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))
0.0ms
a
@0
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))
0.0ms
b
@0
(+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4)))
0.0ms
a
@0
(*.f64 2 (*.f64 a a))
0.0ms
a
@inf
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))

rewrite82.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
53×egg-rr
47×egg-rr
42×egg-rr
37×egg-rr
Counts
4 → 179
Calls
Call 1
Inputs
(*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b))
(+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))
(*.f64 2 (*.f64 a a))
(+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b))) (*.f64 1 (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) 4)) (*.f64 1 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a))) (*.f64 1 (*.f64 (*.f64 b b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1 (*.f64 4 (*.f64 b b))) (*.f64 1 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 0) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) 1) (*.f64 (*.f64 4 (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) 4) 1) (*.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) 1) (*.f64 (*.f64 (*.f64 b b) 4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 4 (*.f64 b b)) 1) (*.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (*.f64 0 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (+.f64 a a) a 4)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (+.f64 a a) a 4) 2)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (fma.f64 (+.f64 a a) a 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) b) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (cbrt.f64 (fma.f64 (+.f64 a a) a 4))) (cbrt.f64 (pow.f64 (fma.f64 (+.f64 a a) a 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 (fma.f64 (+.f64 a a) a 4) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))) (/.f64 (*.f64 b b) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) 1) (/.f64 (*.f64 b b) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 b b) (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))) (/.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (fma.f64 (+.f64 a a) a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) b) (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b)) (/.f64 1 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b)) (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))) (pow.f64 (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b)) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) b)) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b))) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 b b) (neg.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)))) (neg.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b)) 1) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8))) (*.f64 b b)) (neg.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8))) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 (+.f64 a a) a 4) 2)) (*.f64 b b))) (cbrt.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) b) b) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b)) 1) (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (*.f64 8 (+.f64 (pow.f64 a 6) 8)) (*.f64 b b))) (neg.f64 (+.f64 16 (fma.f64 (pow.f64 a 4) 4 (neg.f64 (*.f64 8 (*.f64 a a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) b) (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a))) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) 4)) (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 a 4) (*.f64 4 (*.f64 b b))) (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) (+.f64 (*.f64 4 (*.f64 b b)) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (+.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) (+.f64 (*.f64 (*.f64 b b) 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (+.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 0) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) (*.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) (*.f64 0 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 2)) (-.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (pow.f64 a 4))))) (+.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (cbrt.f64 (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 8)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 2)) (cbrt.f64 (*.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (pow.f64 a 4))))) (+.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 (+.f64 a a) a 4) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (pow.f64 a 8)) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) b) b (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) 2)) (pow.f64 a 4))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 a a) a) 0) (*.f64 (+.f64 a a) a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 a a) a) (*.f64 (*.f64 (+.f64 a a) a) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (+.f64 a a) a)) (*.f64 (+.f64 a a) a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 a a) a) (*.f64 0 (*.f64 (+.f64 a a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 2)) (*.f64 a (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) a) (*.f64 (sqrt.f64 2) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 a a) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (+.f64 a a) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 a a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 2) (*.f64 (cbrt.f64 4) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (+.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 8 (*.f64 a a))) (cbrt.f64 (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 a) (neg.f64 (sqrt.f64 2))) (*.f64 (neg.f64 a) (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (neg.f64 (sqrt.f64 2))) (*.f64 a (neg.f64 (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 a) (sqrt.f64 2)) (*.f64 (neg.f64 a) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 2)) (neg.f64 a)) (*.f64 (neg.f64 (sqrt.f64 2)) (neg.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 2) (neg.f64 a)) (*.f64 (sqrt.f64 2) (neg.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 2)) a) (*.f64 (neg.f64 (sqrt.f64 2)) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) a) 1) (*.f64 (*.f64 (sqrt.f64 2) a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 2)) 1) (*.f64 (*.f64 a (sqrt.f64 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (sqrt.f64 2) a) -1) (*.f64 (*.f64 (sqrt.f64 2) a) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 2)) -1) (*.f64 (*.f64 a (sqrt.f64 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1 (*.f64 (sqrt.f64 2) a)) (*.f64 1 (*.f64 (sqrt.f64 2) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (*.f64 (sqrt.f64 2) a)) (*.f64 -1 (*.f64 (sqrt.f64 2) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1 (*.f64 a (sqrt.f64 2))) (*.f64 1 (*.f64 a (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (*.f64 a (sqrt.f64 2))) (*.f64 -1 (*.f64 a (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (+.f64 a a) a)) (cbrt.f64 (*.f64 (pow.f64 a 4) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 a 4) 4)) (cbrt.f64 (*.f64 (+.f64 a a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 a a) (cbrt.f64 a)) (cbrt.f64 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a a)) (*.f64 (cbrt.f64 (pow.f64 a 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (cbrt.f64 2)) (cbrt.f64 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (sqrt.f64 2)) (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 a a) a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 a 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 a a) a)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 a a) a)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 a a) a)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 a 6)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (+.f64 a a) a 4))) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (+.f64 a a) a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a))) (*.f64 (*.f64 b b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 b b) 4)) (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 4 (*.f64 b b))) (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) (+.f64 (*.f64 4 (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) 4) (+.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (*.f64 (+.f64 a a) a)) (+.f64 (*.f64 (*.f64 b b) 4) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (+.f64 (*.f64 (*.f64 (+.f64 a a) a) (*.f64 b b)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 0) (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (*.f64 0 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) 1) (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b)) (*.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))) (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 8)) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 2)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 2)) (-.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (*.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (+.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 2)) (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 1 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 b 8)) (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (pow.f64 (fma.f64 (fma.f64 (+.f64 a a) a 4) (*.f64 b b) (pow.f64 a 4)) 2)) (pow.f64 b 4))))))

simplify586.0ms (5.8%)

Algorithm
egg-herbie
Counts
263 → 205
Calls
Call 1
Inputs
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 4 (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (pow.f64 a 2))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
Outputs
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (*.f64 4 (pow.f64 b 2)))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (*.f64 4 (pow.f64 b 2))))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(*.f64 2 (pow.f64 a 2))
(*.f64 2 (*.f64 a a))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 b 4)))

localize5.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(*.f64 4 (*.f64 b b))
Compiler

Compiled 12 to 6 computations (50% saved)

rewrite0.0ms (0%)

Counts
0 → 0

simplify45.0ms (0.4%)

Algorithm
egg-herbie
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
0.0b
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
Compiler

Compiled 28 to 13 computations (53.6% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
b
@0
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
1.0ms
b
@-inf
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
1.0ms
b
@inf
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))

rewrite47.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
114×egg-rr
Counts
1 → 114
Calls
Call 1
Inputs
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 4 (*.f64 b b) (+.f64 b b)) (+.f64 -1 (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 -1 (*.f64 -2 b)) (fma.f64 4 (*.f64 b b) (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) (*.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 0) (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b 1) b) (*.f64 (fma.f64 2 b 1) (+.f64 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) (*.f64 0 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))) (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b -1) b) (*.f64 (fma.f64 2 b -1) (+.f64 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 2 b -1) b) 1) (*.f64 (*.f64 (fma.f64 2 b -1) (+.f64 b 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 2 b 1) b) 1) (*.f64 (*.f64 (fma.f64 2 b 1) (+.f64 b -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b 1) (+.f64 b -1)) (*.f64 (fma.f64 2 b 1) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 2 b -1) (+.f64 b 1)) (*.f64 (fma.f64 2 b -1) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (+.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) -1) (+.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (+.f64 b -1)) b)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) b) (+.f64 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 b b) (+.f64 -1 (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (+.f64 b b) (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 b (+.f64 (+.f64 b -1) (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 b -1) (+.f64 b (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 b -1) (*.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 4 (*.f64 b b) (+.f64 b b)) 1) (*.f64 (+.f64 -1 (*.f64 -2 b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) 1) (fma.f64 2 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (fma.f64 2 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 b -1) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) 0) (-.f64 1 (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (+.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 b b) (-.f64 1 (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (-.f64 1 (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)) (/.f64 (pow.f64 (+.f64 b b) 3) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))) (/.f64 1 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (-.f64 1 (+.f64 b b)) (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 b b) 3) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (-.f64 (/.f64 1 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (fma.f64 4 (*.f64 b b) (*.f64 -2 b))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (-.f64 1 (+.f64 b b)) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 b -1)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (fma.f64 2 b 1)) (cbrt.f64 (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (fma.f64 8 (pow.f64 b 3) 1)) (/.f64 1 (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 2 b 1) (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))) (/.f64 (fma.f64 8 (pow.f64 b 3) -1) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 8 (pow.f64 b 3) -1) 1) (/.f64 (fma.f64 2 b 1) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 8 (pow.f64 b 3) -1) (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))) (/.f64 (fma.f64 2 b 1) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 8 (pow.f64 b 3) 1) (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))) (/.f64 (fma.f64 2 b -1) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 8 (pow.f64 b 3) 1) 1) (/.f64 (fma.f64 2 b -1) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 2 b -1) (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))) (/.f64 (fma.f64 8 (pow.f64 b 3) 1) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 2)) (cbrt.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 b -1) (fma.f64 2 b 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 b 1) (cbrt.f64 (fma.f64 2 b -1))) (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2 b 1)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b 1) 2)) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (-.f64 1 (+.f64 b b)) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b 1) 2)) (fma.f64 2 b -1)) (cbrt.f64 (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (*.f64 (fma.f64 2 b 1) (cbrt.f64 (fma.f64 2 b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 1 (+.f64 b b)) (fma.f64 2 b 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 -2 b)) (-.f64 1 (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (+.f64 b b)) (+.f64 -1 (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1)) (/.f64 1 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 b -1) (cbrt.f64 (fma.f64 2 b 1))) (cbrt.f64 (pow.f64 (fma.f64 2 b 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b 1) 2)) (*.f64 (fma.f64 2 b -1) (cbrt.f64 (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1)) (/.f64 1 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1)) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1)) (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (fma.f64 8 (pow.f64 b 3) 1)) (fma.f64 8 (pow.f64 b 3) -1)) (*.f64 (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1)) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (fma.f64 8 (pow.f64 b 3) 1)) (-.f64 1 (pow.f64 (+.f64 b b) 3))) (*.f64 (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1)) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) 1) (-.f64 1 (pow.f64 (+.f64 b b) 3))) (*.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3)) (fma.f64 8 (pow.f64 b 3) -1)) (*.f64 (fma.f64 b b (+.f64 b 1)) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3)) (-.f64 1 (pow.f64 (+.f64 b b) 3))) (*.f64 (fma.f64 b b (+.f64 b 1)) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (fma.f64 8 (pow.f64 b 3) 1)) (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (neg.f64 (fma.f64 8 (pow.f64 b 3) 1))) (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3))) (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (fma.f64 b b (+.f64 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 b b) 3)) (neg.f64 (fma.f64 8 (pow.f64 b 3) 1))) (*.f64 (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 b b) 3)) (fma.f64 8 (pow.f64 b 3) 1)) (*.f64 (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 b b) 3)) (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3))) (*.f64 (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (fma.f64 b b (+.f64 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (fma.f64 8 (pow.f64 b 3) 1))) (neg.f64 (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b 1) (-.f64 1 (pow.f64 (+.f64 b b) 3))) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b -1) (neg.f64 (fma.f64 8 (pow.f64 b 3) 1))) (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (fma.f64 8 (pow.f64 b 3) -1)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (fma.f64 2 b 1))) (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 b b) 3)) (fma.f64 2 b 1)) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (fma.f64 8 (pow.f64 b 3) 1)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b 1) 2)) (fma.f64 2 b -1))) (cbrt.f64 (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1)) 1) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (fma.f64 8 (pow.f64 b 3) -1) (fma.f64 8 (pow.f64 b 3) 1)) 1) (*.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (fma.f64 8 (pow.f64 b 3) 1)) (fma.f64 2 b -1)) (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1)) 1) (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1))) (+.f64 (neg.f64 (*.f64 4 (*.f64 b b))) (fma.f64 2 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1))) (neg.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 8 (pow.f64 b 3) -1)) (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1)))) (pow.f64 (cbrt.f64 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1)) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 2 b -1) (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3))) (fma.f64 b b (+.f64 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1)) 1) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (+.f64 b 1) 3)) (fma.f64 2 b -1)) (fma.f64 b b (+.f64 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 (fma.f64 2 b -1) (fma.f64 8 (pow.f64 b 3) 1)) 1) (fma.f64 4 (*.f64 b b) (-.f64 1 (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (-.f64 1 (+.f64 b b)) (fma.f64 2 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (*.f64 (-.f64 1 (+.f64 b b)) (fma.f64 2 b 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 2 b 1) (fma.f64 2 b -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 b -1) (+.f64 b b) (fma.f64 2 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (fma.f64 2 b -1) (fma.f64 2 b -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (fma.f64 2 b -1) (*.f64 (fma.f64 2 b -1) (+.f64 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 b -1) b (*.f64 (fma.f64 2 b -1) (+.f64 b 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (cbrt.f64 (fma.f64 2 b -1)) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 8 (pow.f64 b 3) -1) (/.f64 1 (fma.f64 4 (*.f64 b b) (fma.f64 2 b 1))) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (-.f64 1 (+.f64 b b)) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 2 b -1) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 2 b -1)) (cbrt.f64 (pow.f64 (fma.f64 2 b -1) 2)) (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 b -1) 1 (fma.f64 4 (*.f64 b b) (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (fma.f64 2 b 1) (*.f64 (fma.f64 2 b 1) (+.f64 b -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 b 1) (+.f64 b b) (+.f64 -1 (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (fma.f64 2 b 1) (+.f64 -1 (*.f64 -2 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2 b 1) b (*.f64 (fma.f64 2 b 1) (+.f64 b -1)))))))

simplify151.0ms (1.5%)

Algorithm
egg-herbie
Counts
126 → 119
Calls
Call 1
Inputs
-1
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(*.f64 4 (pow.f64 b 2))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(*.f64 4 (pow.f64 b 2))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
Outputs
-1
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(*.f64 4 (pow.f64 b 2))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)
(-.f64 (*.f64 4 (pow.f64 b 2)) 1)
(fma.f64 (*.f64 4 b) b -1)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.4b
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
0.0b
(-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
0.0b
(-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
1.4b
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
Compiler

Compiled 59 to 26 computations (55.9% saved)

series13.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
8.0ms
a
@inf
(-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
1.0ms
b
@0
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
1.0ms
a
@inf
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
1.0ms
b
@inf
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
1.0ms
a
@0
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))

rewrite45.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
57×egg-rr
50×egg-rr
Counts
2 → 107
Calls
Call 1
Inputs
(*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4)))
(-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) (*.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 0) (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) (*.f64 0 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 b (*.f64 b (+.f64 (*.f64 2 (*.f64 a a)) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 b 4) (*.f64 (*.f64 b (+.f64 (*.f64 2 (*.f64 a a)) 4)) b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (*.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 b b)) (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)) (*.f64 b b)) (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) (cbrt.f64 (pow.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 2)) (cbrt.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 b 6) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 b 4)) (*.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) (cbrt.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)) (cbrt.f64 (*.f64 (pow.f64 b 6) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 b 4)) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 b b)) (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (*.f64 b (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b))) b))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (*.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 b (*.f64 b (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 b (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (pow.f64 b 8)) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) (*.f64 b b)) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 b 3) b (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (pow.f64 b 3) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (pow.f64 b 4)) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) (*.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 0) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) (*.f64 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 a a)) (+.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 a a)) (*.f64 -1 (-.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 -2 a) a) -1) (*.f64 (-.f64 -4 (*.f64 b b)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 a a)) (neg.f64 (-.f64 -4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) -4)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 2 (*.f64 a a)) (-.f64 -4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (*.f64 b b) -4) (*.f64 (*.f64 -2 a) a))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 b b) 0) (fma.f64 -2 (*.f64 a a) -4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (neg.f64 (*.f64 b b)) (+.f64 (*.f64 2 (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cbrt.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))) (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 4)) (+.f64 (cbrt.f64 (pow.f64 (fma.f64 -2 (*.f64 a a) -4) 2)) (cbrt.f64 (*.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))))) (-.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (fma.f64 -2 (*.f64 a a) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2)) (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b))) (neg.f64 (cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 3) -64) (+.f64 (*.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) (fma.f64 b b (*.f64 2 (*.f64 a a)))) (+.f64 16 (*.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 -4 (fma.f64 b b (*.f64 2 (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (-.f64 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 b b)) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) b) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 b) (neg.f64 b) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (*.f64 b b)) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4)) (cbrt.f64 (pow.f64 (fma.f64 -2 (*.f64 a a) -4) 2)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -2 (*.f64 a a) -4)) (neg.f64 (cbrt.f64 (pow.f64 (fma.f64 -2 (*.f64 a a) -4) 2))) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 3 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 1 (+.f64 (*.f64 2 (*.f64 a a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (fma.f64 -2 (*.f64 a a) -4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 0 1 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 0 (+.f64 (fma.f64 b b (*.f64 2 (*.f64 a a))) 4))))))

simplify330.0ms (3.3%)

Algorithm
egg-herbie
Counts
155 → 128
Calls
Call 1
Inputs
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(-.f64 4 (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(pow.f64 b 2)
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(pow.f64 b 2)
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 4 (pow.f64 b 2))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(*.f64 2 (pow.f64 a 2))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(*.f64 2 (pow.f64 a 2))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
Outputs
(*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2))
(*.f64 (+.f64 4 (*.f64 a (+.f64 a a))) (*.f64 b b))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(pow.f64 b 4)
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (-.f64 4 (*.f64 -2 (pow.f64 a 2))) (pow.f64 b 2)) (pow.f64 b 4))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2))
(*.f64 (fma.f64 b b 4) (*.f64 b b))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 2 (pow.f64 (*.f64 a b) 2))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(+.f64 (*.f64 (+.f64 4 (pow.f64 b 2)) (pow.f64 b 2)) (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a))))
(-.f64 4 (*.f64 -2 (pow.f64 a 2)))
(+.f64 4 (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(pow.f64 b 2)
(*.f64 b b)
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(pow.f64 b 2)
(*.f64 b b)
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(-.f64 (+.f64 4 (pow.f64 b 2)) (*.f64 -2 (pow.f64 a 2)))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (pow.f64 b 2))
(fma.f64 b b 4)
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(*.f64 2 (pow.f64 a 2))
(*.f64 a (+.f64 a a))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(*.f64 2 (pow.f64 a 2))
(*.f64 a (+.f64 a a))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))
(+.f64 4 (+.f64 (pow.f64 b 2) (*.f64 2 (pow.f64 a 2))))
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 a a)))

localize39.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
0.0b
(*.f64 4 (*.f64 b b))
0.0b
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(fma.f64 b b (*.f64 a a))
0.0b
(fma.f64 b b (*.f64 a a))
0.0b
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
0.3b
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
Compiler

Compiled 62 to 24 computations (61.3% saved)

series11.0ms (0.1%)

Counts
3 → 72
Calls

18 calls:

TimeVariablePointExpression
1.0ms
b
@0
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
1.0ms
b
@inf
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
1.0ms
a
@inf
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
1.0ms
b
@-inf
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
1.0ms
a
@0
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)

rewrite97.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
49×egg-rr
38×egg-rr
33×egg-rr
Counts
3 → 120
Calls
Call 1
Inputs
(pow.f64 (fma.f64 b b (*.f64 a a)) 2)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))
(fma.f64 b b (*.f64 a a))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b)) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 0) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b)) 1) (*.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 0 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 b b (*.f64 a a)) (fma.f64 b b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) (neg.f64 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (+.f64 2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (+.f64 2 3)) (cbrt.f64 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) 1) (*.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 3) (*.f64 2 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 3) (+.f64 1/3 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 b b (*.f64 a a)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 4 (*.f64 b b)) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b))) (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 b b)) (+.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 a a)) (*.f64 4 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 0) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (*.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (*.f64 0 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (*.f64 b b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)) (-.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))))) (+.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (cbrt.f64 (*.f64 4 (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (-.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))))) (+.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 2)) (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (*.f64 b b))) (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 b) b (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 b b (*.f64 a a)) (fma.f64 b b (*.f64 a a)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 b b) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 b 4))) (cbrt.f64 (*.f64 4 (*.f64 b b))) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) (cbrt.f64 4)) (cbrt.f64 16) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 4) (*.f64 (cbrt.f64 16) (*.f64 b b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b b) (+.f64 b b) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 -4 (*.f64 b b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 b b) 2) 2 (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 4 b) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (*.f64 (cbrt.f64 (pow.f64 b 4)) 4) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (*.f64 b b) 2) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 4 b) (cbrt.f64 b)) (cbrt.f64 (*.f64 b b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 4)) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) (neg.f64 (fma.f64 b b (*.f64 a a))) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (+.f64 2 3)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 4 (*.f64 b b)) (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 4 (*.f64 b b)) 1 (pow.f64 (fma.f64 b b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) 1 (*.f64 4 (*.f64 b b)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 b b (*.f64 a a)) 0) (fma.f64 b b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 b b (*.f64 a a)) (*.f64 (fma.f64 b b (*.f64 a a)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (fma.f64 b b (*.f64 a a))) (fma.f64 b b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 b b (*.f64 a a)) (*.f64 0 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 b b (*.f64 a a))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 b 4)) (-.f64 (cbrt.f64 (pow.f64 a 4)) (*.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (*.f64 a a))))) (+.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (cbrt.f64 (pow.f64 a 4)) (-.f64 (cbrt.f64 (pow.f64 b 4)) (*.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (*.f64 b b))))) (+.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) (cbrt.f64 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 b b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 b b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 b b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 a a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 b b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 b b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 (pow.f64 b 4)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 a) (*.f64 (cbrt.f64 (*.f64 a a)) a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 a a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a a)) (cbrt.f64 (pow.f64 a 4)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (cbrt.f64 (*.f64 a a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b b)) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (cbrt.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (neg.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) 1 (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) 1 (*.f64 a a))))))

simplify627.0ms (6.2%)

Algorithm
egg-herbie
Counts
192 → 146
Calls
Call 1
Inputs
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 b 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
Outputs
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 b 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))
(+.f64 (fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4)) (pow.f64 b 4))
(pow.f64 a 4)
(+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 a 4))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 b 4)
(+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))
(fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (pow.f64 b 4) (*.f64 4 (pow.f64 b 2)))
(fma.f64 4 (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4)))
(fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 b 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 4)
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4))
(fma.f64 2 (pow.f64 (*.f64 a b) 2) (pow.f64 a 4))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (*.f64 4 (pow.f64 b 2)) (pow.f64 a 4))))
(+.f64 (pow.f64 a 4) (fma.f64 (fma.f64 2 (*.f64 a a) 4) (*.f64 b b) (pow.f64 b 4)))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))
(+.f64 (pow.f64 b 2) (pow.f64 a 2))
(fma.f64 b b (*.f64 a a))

eval297.0ms (3%)

Compiler

Compiled 14958 to 8634 computations (42.3% saved)

prune101.0ms (1%)

Pruning

17 alts after pruning (6 fresh and 11 done)

PrunedKeptTotal
New6984702
Fresh022
Picked011
Done11011
Total69917716
Error
0b
Counts
716 → 17
Alt Table
Click to see full alt table
StatusErrorProgram
49.9b
(pow.f64 b 4)
0.1b
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
25.6b
(-.f64 (*.f64 4 (*.f64 b b)) 1)
13.8b
(-.f64 (pow.f64 a 4) 1)
0.0b
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
26.5b
-1
14.1b
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
13.2b
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
0.2b
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
61.7b
(*.f64 4 (*.f64 b b))
25.6b
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
26.2b
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
61.7b
(*.f64 b (*.f64 4 b))
49.9b
(pow.f64 a 4)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
12.9b
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
Compiler

Compiled 216 to 144 computations (33.3% saved)

regimes90.0ms (0.9%)

Counts
25 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (neg.f64 (*.f64 (+.f64 -4 (*.f64 -2 (*.f64 a a))) (*.f64 b b))))) 1)
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 4 b) b -1))
(+.f64 (+.f64 (fma.f64 (*.f64 4 b) b -1) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 a a))) (*.f64 (fma.f64 a a (*.f64 b b)) (*.f64 b b)))
(+.f64 (+.f64 (pow.f64 b 4) (fma.f64 (fma.f64 (*.f64 a a) 2 4) (*.f64 b b) (pow.f64 a 4))) -1)
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (*.f64 (+.f64 4 (*.f64 2 (pow.f64 a 2))) (pow.f64 b 2)))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
Calls

10 calls:

14.0ms
b
12.0ms
a
9.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
9.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
8.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
0.0b1a
0.0b1b
0.0b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b1(*.f64 a a)
0.0b1(*.f64 a a)
0.0b1(*.f64 b b)
0.0b1(*.f64 b b)
Compiler

Compiled 427 to 235 computations (45% saved)

regimes81.0ms (0.8%)

Counts
19 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
Outputs
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
Calls

9 calls:

11.0ms
b
10.0ms
a
8.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
7.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
6.0ms
(*.f64 a a)
Results
ErrorSegmentsBranch
0.1b1a
0.1b1b
0.1b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.1b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.1b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.1b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.1b1(*.f64 a a)
0.1b1(*.f64 a a)
0.1b1(*.f64 b b)
Compiler

Compiled 296 to 162 computations (45.3% saved)

regimes103.0ms (1%)

Counts
18 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
Calls

10 calls:

34.0ms
(*.f64 b b)
12.0ms
a
10.0ms
b
7.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
7.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
Results
ErrorSegmentsBranch
0.2b1a
0.2b1b
0.2b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.2b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.2b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.2b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.2b1(*.f64 a a)
0.2b1(*.f64 a a)
0.2b1(*.f64 b b)
0.2b1(*.f64 b b)
Compiler

Compiled 281 to 155 computations (44.8% saved)

regimes46.0ms (0.5%)

Counts
16 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Calls

6 calls:

10.0ms
b
8.0ms
a
7.0ms
(*.f64 a a)
6.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
5.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
0.2b1a
0.2b1b
0.2b1(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.2b1(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.2b1(*.f64 a a)
0.2b1(*.f64 b b)
Compiler

Compiled 203 to 110 computations (45.8% saved)

regimes97.0ms (1%)

Counts
15 → 2
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (+.f64 (pow.f64 (*.f64 b b) 2) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (-.f64 (*.f64 b b) (fma.f64 -2 (*.f64 a a) -4))) 1)
Outputs
(-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (pow.f64 a 4) 1)
Calls

5 calls:

30.0ms
b
22.0ms
a
14.0ms
(*.f64 a a)
13.0ms
(*.f64 a a)
11.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
1.4b3a
1.4b3b
1.4b2(*.f64 a a)
1.4b2(*.f64 a a)
1.6b2(*.f64 b b)
Compiler

Compiled 155 to 83 computations (46.5% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
2.1500712194147862e-13
2.4985223096788414e-11
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes115.0ms (1.1%)

Counts
12 → 3
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
(-.f64 (pow.f64 a 4) 1)
Outputs
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(-.f64 (pow.f64 a 4) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
Calls

5 calls:

33.0ms
(*.f64 a a)
24.0ms
a
22.0ms
b
21.0ms
(*.f64 b b)
11.0ms
(*.f64 a a)
Results
ErrorSegmentsBranch
1.5b3a
1.4b3b
1.5b2(*.f64 a a)
1.5b2(*.f64 a a)
1.6b2(*.f64 b b)
Compiler

Compiled 115 to 62 computations (46.1% saved)

bsearch44.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
22.0ms
5.250945805445222e-90
1.293816127457594e-81
22.0ms
-43748.51101949656
-123.0733689862287
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes80.0ms (0.8%)

Counts
11 → 3
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
(pow.f64 a 4)
Outputs
(pow.f64 a 4)
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(pow.f64 a 4)
Calls

5 calls:

25.0ms
a
20.0ms
b
14.0ms
(*.f64 a a)
13.0ms
(*.f64 a a)
4.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
1.7b3a
10.9b3b
1.7b2(*.f64 a a)
1.7b2(*.f64 a a)
12.9b1(*.f64 b b)
Compiler

Compiled 110 to 58 computations (47.3% saved)

bsearch48.0ms (0.5%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
0.00029232286294341705
7697.739102631877
24.0ms
-3.6978752065879785
-0.00021650285891097948
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes29.0ms (0.3%)

Counts
10 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(pow.f64 b 4)
Outputs
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
Calls

4 calls:

12.0ms
b
6.0ms
a
4.0ms
(*.f64 a a)
4.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
12.9b1a
12.9b1b
12.9b1(*.f64 a a)
12.9b1(*.f64 b b)
Compiler

Compiled 102 to 53 computations (48% saved)

regimes23.0ms (0.2%)

Counts
8 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
Outputs
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
Calls

3 calls:

9.0ms
a
6.0ms
b
4.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
13.2b1a
13.2b1b
13.2b1(*.f64 b b)
Compiler

Compiled 77 to 39 computations (49.4% saved)

regimes30.0ms (0.3%)

Counts
7 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 a (+.f64 a a))) 1)
(*.f64 (+.f64 (+.f64 b b) 1) (-.f64 (+.f64 b b) 1))
Outputs
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
Calls

3 calls:

18.0ms
b
5.0ms
a
3.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
14.1b1a
14.1b1b
14.1b1(*.f64 b b)
Compiler

Compiled 62 to 34 computations (45.2% saved)

regimes37.0ms (0.4%)

Counts
4 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
(-.f64 (*.f64 4 (*.f64 b b)) 1)
Outputs
(-.f64 (*.f64 4 (*.f64 b b)) 1)
Calls

3 calls:

29.0ms
b
4.0ms
a
3.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
25.6b1a
25.6b1b
25.6b1(*.f64 b b)
Compiler

Compiled 31 to 20 computations (35.5% saved)

regimes11.0ms (0.1%)

Accuracy

Total -36.2b remaining (-136.3%)

Threshold costs -36.2b (-136.3%)

Counts
3 → 1
Calls
Call 1
Inputs
-1
(*.f64 b (*.f64 4 b))
(*.f64 4 (*.f64 b b))
Outputs
-1
Calls

3 calls:

4.0ms
a
3.0ms
b
2.0ms
(*.f64 b b)
Results
ErrorSegmentsBranch
26.5b1a
26.5b1b
26.5b1(*.f64 b b)
Compiler

Compiled 24 to 16 computations (33.3% saved)

simplify93.0ms (0.9%)

Algorithm
egg-herbie
Stop Event
fuel
Calls
Call 1
Inputs
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(if (<=.f64 (*.f64 a a) 3961408125713217/9903520314283042199192993792) (-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1) (-.f64 (pow.f64 a 4) 1))
(if (<=.f64 b -6012749570477867/137438953472) (-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1) (if (<=.f64 b 376344904294609/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) (-.f64 (pow.f64 a 4) 1) (-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)))
(if (<=.f64 a -2081718675306527/562949953421312) (pow.f64 a 4) (if (<=.f64 a 674050629951411/2305843009213693952) (-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1) (pow.f64 a 4)))
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(-.f64 (*.f64 4 (*.f64 b b)) 1)
-1
Outputs
(-.f64 (+.f64 (pow.f64 b 4) (+.f64 (*.f64 (+.f64 4 (*.f64 2 (*.f64 a a))) (*.f64 b b)) (pow.f64 a 4))) 1)
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 b b (fma.f64 (*.f64 a a) 2 4)) -1))
(+.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (fma.f64 (*.f64 a a) 2 4)))) -1)
(+.f64 (pow.f64 a 4) (fma.f64 (*.f64 b b) (fma.f64 b b (fma.f64 (*.f64 a a) 2 4)) -1))
(+.f64 (*.f64 (*.f64 4 b) b) (+.f64 -1 (pow.f64 (fma.f64 a a (*.f64 b b)) 2)))
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 b (*.f64 4 b) -1))
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 b (*.f64 4 b) -1))
(if (<=.f64 (*.f64 a a) 3961408125713217/9903520314283042199192993792) (-.f64 (+.f64 (pow.f64 b 4) (*.f64 4 (*.f64 b b))) 1) (-.f64 (pow.f64 a 4) 1))
(if (<=.f64 (*.f64 a a) 3961408125713217/9903520314283042199192993792) (fma.f64 (*.f64 b b) (fma.f64 b b 4) -1) (+.f64 (pow.f64 a 4) -1))
(if (<=.f64 b -6012749570477867/137438953472) (-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1) (if (<=.f64 b 376344904294609/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) (-.f64 (pow.f64 a 4) 1) (-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)))
(if (<=.f64 b -6012749570477867/137438953472) (fma.f64 (*.f64 b b) (fma.f64 b b (fma.f64 (*.f64 a a) 2 4)) -1) (if (<=.f64 b 376344904294609/71671831749689734737838152978190216899892655911508785116799651230841339877765150252188079784691427704832) (+.f64 (pow.f64 a 4) -1) (fma.f64 (*.f64 b b) (fma.f64 b b (fma.f64 (*.f64 a a) 2 4)) -1)))
(if (<=.f64 a -2081718675306527/562949953421312) (pow.f64 a 4) (if (<=.f64 a 674050629951411/2305843009213693952) (-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1) (pow.f64 a 4)))
(if (<=.f64 a -2081718675306527/562949953421312) (pow.f64 a 4) (if (<=.f64 a 674050629951411/2305843009213693952) (fma.f64 (*.f64 b b) (fma.f64 b b 4) -1) (pow.f64 a 4)))
(-.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 (*.f64 2 (*.f64 a a)) 4) (*.f64 b b))) 1)
(fma.f64 (*.f64 b b) (fma.f64 b b (fma.f64 (*.f64 a a) 2 4)) -1)
(-.f64 (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 4 (*.f64 b b))) 1)
(fma.f64 (*.f64 b b) (fma.f64 b b 4) -1)
(-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) 1)
(+.f64 (pow.f64 b 4) -1)
(-.f64 (*.f64 4 (*.f64 b b)) 1)
(fma.f64 b (*.f64 4 b) -1)
-1
Compiler

Compiled 245 to 159 computations (35.1% saved)

soundness0.0ms (0%)

end128.0ms (1.3%)

Compiler

Compiled 223 to 120 computations (46.2% saved)

Profiling

Loading profile data...