Details

Time bar (total: 2.4s)

analyze0.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 24 to 15 computations (37.5% saved)

sample836.0ms (34.3%)

Results
826.0ms8256×body256valid

preprocess19.0ms (0.8%)

Algorithm
egg-herbie
Rules
70×fma-def_binary64
24×associate-+l+_binary64
18×associate-+r+_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
12320
24320
37920
412220
515220
617220
718920
819120
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(*.f64 (+.f64 a b) (+.f64 a b))
(*.f64 (+.f64 b a) (+.f64 b a))
Outputs
(*.f64 (+.f64 a b) (+.f64 a b))
(*.f64 (+.f64 b a) (+.f64 b a))
(*.f64 (+.f64 a b) (+.f64 a b))
Symmetry

(sort a b)

Compiler

Compiled 11 to 6 computations (45.5% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
70×fma-def_binary64
24×associate-+l+_binary64
18×associate-+r+_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
11210
22910
36710
411010
514010
616010
717710
817910
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (+.f64 a b) (+.f64 a b))
Outputs
(*.f64 (+.f64 a b) (+.f64 a b))

eval0.0ms (0%)

Compiler

Compiled 9 to 4 computations (55.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
Compiler

Compiled 9 to 4 computations (55.6% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
Compiler

Compiled 14 to 4 computations (71.4% saved)

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite41.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
659×pow1_binary64
618×add-log-exp_binary64
618×log1p-expm1-u_binary64
618×expm1-log1p-u_binary64
600×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11157
217437
Stop Event
node limit
Counts
1 → 26
Calls
Call 1
Inputs
(*.f64 (+.f64 a b) (+.f64 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (+.f64 a b)) 1) (*.f64 (*.f64 b (+.f64 a b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (+.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (-.f64 a b) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (-.f64 b a))) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (-.f64 a b) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (fma.f64 a a (*.f64 b (-.f64 b a))) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 a (+.f64 a b)) 3) (pow.f64 (*.f64 b (+.f64 a b)) 3)) (+.f64 (*.f64 (*.f64 a (+.f64 a b)) (*.f64 a (+.f64 a b))) (-.f64 (*.f64 (*.f64 b (+.f64 a b)) (*.f64 b (+.f64 a b))) (*.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a (+.f64 a b)) (*.f64 a (+.f64 a b))) (*.f64 (*.f64 b (+.f64 a b)) (*.f64 b (+.f64 a b)))) (-.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 a b)) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b)) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (+.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (+.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (+.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (+.f64 a b) (*.f64 b (+.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 a b) a (*.f64 b (+.f64 a b)))))))

simplify154.0ms (6.3%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
615×fma-def_binary64
606×cube-prod_binary64
548×fabs-mul_binary64
372×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012294
132267
269222
3151216
4414216
51500216
62773216
73045216
83230216
93474216
103777216
114170216
124679216
135257216
145999216
156549216
166883216
177203216
187285216
197315216
207966216
Stop Event
node limit
Counts
50 → 36
Calls
Call 1
Inputs
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
Outputs
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 b a) (*.f64 b b))
(*.f64 b (+.f64 b (*.f64 2 a)))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 b a) (*.f64 a a))
(*.f64 a (+.f64 (*.f64 b 2) a))
(*.f64 a (fma.f64 b 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 b a) (*.f64 a a))
(*.f64 a (+.f64 (*.f64 b 2) a))
(*.f64 a (fma.f64 b 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 b a) (*.f64 a a))
(*.f64 a (+.f64 (*.f64 b 2) a))
(*.f64 a (fma.f64 b 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 b a) (*.f64 b b))
(*.f64 b (+.f64 b (*.f64 2 a)))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 b a) (*.f64 b b))
(*.f64 b (+.f64 b (*.f64 2 a)))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a)))
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
(fma.f64 b b (*.f64 a (fma.f64 b 2 a)))

eval7.0ms (0.3%)

Compiler

Compiled 471 to 165 computations (65% saved)

prune7.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh000
Picked011
Done000
Total33437
Error
0b
Counts
37 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(*.f64 b b)
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
0.0b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize3.0ms (0.1%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 15 to 8 computations (46.7% saved)

series4.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite39.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
552×pow1_binary64
531×add-sqr-sqrt_binary64
507×add-log-exp_binary64
507×log1p-expm1-u_binary64
507×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11208
213648
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 b (fma.f64 2 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (*.f64 2 a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (fma.f64 2 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (fma.f64 2 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (fma.f64 2 a b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (fma.f64 2 a b))))))))

simplify160.0ms (6.6%)

Algorithm
egg-herbie
Rules
801×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
560×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
08231
119213
241177
379177
4167177
5469177
61554177
72782177
83129177
93351177
103573177
113879177
124301177
134791177
145360177
156056177
166906177
177301177
187589177
197865177
207935177
217971177
Stop Event
node limit
Counts
37 → 19
Calls
Call 1
Inputs
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
Outputs
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 a (+.f64 a b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
Compiler

Compiled 28 to 6 computations (78.6% saved)

series5.0ms (0.2%)

Counts
2 → 48
Calls

12 calls:

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

rewrite164.0ms (6.7%)

Algorithm
batch-egg-rewrite
Rules
603×fma-def_binary64
482×prod-exp_binary64
428×log-prod_binary64
398×pow-prod-down_binary64
299×exp-prod_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
116714
2261014
Stop Event
node limit
Counts
2 → 174
Calls
Call 1
Inputs
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
(*.f64 a (+.f64 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (+.f64 b a) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (/.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (*.f64 (+.f64 b a) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 b a) (+.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (pow.f64 (cbrt.f64 (+.f64 b a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 4) (pow.f64 (cbrt.f64 (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 b a)) (pow.f64 (+.f64 b a) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (/.f64 1 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (/.f64 1 (*.f64 (+.f64 b a) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 b a) 3/2) (sqrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 5) (cbrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (+.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (*.f64 (+.f64 b a) (*.f64 a (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (*.f64 (+.f64 b a) (-.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) (pow.f64 (-.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) 2) (pow.f64 (fma.f64 b (-.f64 b a) (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))) (neg.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))) (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (-.f64 a b) (fma.f64 b (-.f64 b a) (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (fma.f64 b (-.f64 b a) (*.f64 a a)) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 b a)) (fma.f64 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 b a)) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 3) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 b a)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 b a)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 2 (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))) 2)) (cbrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2 (log.f64 (+.f64 b a))))) (sqrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a)))) (pow.f64 (exp.f64 a) (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 b) (+.f64 b a)) (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a)))) (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a)))) (pow.f64 (exp.f64 b) (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 a) (+.f64 b a)) (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a)))) (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 b a) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (+.f64 b a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 b a) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 b a)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (+.f64 b a))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (+.f64 b a)) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (+.f64 b a) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (+.f64 b a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) b (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) a (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (+.f64 b a)) 1 (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (+.f64 b a)) 1 (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) (pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 2) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 2) (cbrt.f64 (*.f64 a (+.f64 b a))) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (cbrt.f64 (*.f64 b (+.f64 b a))) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (*.f64 (cbrt.f64 (+.f64 b a)) b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (*.f64 (cbrt.f64 (+.f64 b a)) a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 a (+.f64 b a))) (sqrt.f64 (*.f64 a (+.f64 b a))) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (pow.f64 a 3/2) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) (sqrt.f64 (*.f64 b (+.f64 b a))) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 b a)) (*.f64 (sqrt.f64 (+.f64 b a)) b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 b a)) (*.f64 (sqrt.f64 (+.f64 b a)) a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3/2) (sqrt.f64 a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 a) a) (pow.f64 (cbrt.f64 a) 2) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 a)) (sqrt.f64 a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 5) (cbrt.f64 a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) (cbrt.f64 (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 (+.f64 b a))) (sqrt.f64 (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (sqrt.f64 b)) (sqrt.f64 b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) (cbrt.f64 (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 (+.f64 b a))) (sqrt.f64 (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (sqrt.f64 a)) (sqrt.f64 a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 b)) (sqrt.f64 b) (fma.f64 b b (*.f64 a (+.f64 b a))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a a) 1) (*.f64 (*.f64 b a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 a (+.f64 b a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 6) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 (*.f64 b a) 2) (*.f64 (*.f64 a a) (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 4) (pow.f64 (*.f64 b a) 2)) (-.f64 (*.f64 a a) (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) a) (fma.f64 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) a) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (+.f64 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (+.f64 b a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 a (+.f64 b a)))) 2)) (cbrt.f64 (log.f64 (*.f64 a (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 a (+.f64 b a))))) (sqrt.f64 (log.f64 (*.f64 a (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 a (+.f64 b a)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 a (+.f64 b a)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 a (+.f64 b a)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 a) 1) (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 a) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 a) 1) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (log.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (+.f64 b a)) (*.f64 (log.f64 a) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (*.f64 (log.f64 a) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) 1 (*.f64 (*.f64 b a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (pow.f64 a 3/2) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3/2) (sqrt.f64 a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 a) a) (pow.f64 (cbrt.f64 a) 2) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 a)) (sqrt.f64 a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 5) (cbrt.f64 a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 b)) (sqrt.f64 b) (*.f64 a a))))))

simplify275.0ms (11.3%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
826×fma-def_binary64
566×fabs-mul_binary64
537×cube-prod_binary64
392×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013462
135417
279372
3169366
4459366
51626366
63051366
73395366
83587366
93835366
104137366
114534366
125045366
135623366
146377366
156934366
167272366
177598366
187686366
197718366
Stop Event
node limit
Counts
222 → 187
Calls
Call 1
Inputs
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(pow.f64 a 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(pow.f64 a 2)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(+.f64 (*.f64 a b) (pow.f64 a 2))
Outputs
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 a b) (*.f64 a a))
(fma.f64 a a (*.f64 a (*.f64 b 2)))
(*.f64 a (+.f64 a (*.f64 2 b)))
(*.f64 a (fma.f64 2 b a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 a 2) b))
(*.f64 b (fma.f64 a 2 b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 a 2) b))
(*.f64 b (fma.f64 a 2 b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 a 2) b))
(*.f64 b (fma.f64 a 2 b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 a b) (*.f64 a a))
(fma.f64 a a (*.f64 a (*.f64 b 2)))
(*.f64 a (+.f64 a (*.f64 2 b)))
(*.f64 a (fma.f64 2 b a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2))
(fma.f64 2 (*.f64 a b) (*.f64 a a))
(fma.f64 a a (*.f64 a (*.f64 b 2)))
(*.f64 a (+.f64 a (*.f64 2 b)))
(*.f64 a (fma.f64 2 b a))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2)))
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a))
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b)))
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a))
(fma.f64 a a (*.f64 b (fma.f64 a 2 b)))
(fma.f64 a (fma.f64 2 b a) (*.f64 b b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(pow.f64 a 2)
(*.f64 a a)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 a b))

eval186.0ms (7.6%)

Compiler

Compiled 3034 to 890 computations (70.7% saved)

prune54.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2051206
Fresh000
Picked101
Done123
Total2073210
Error
0b
Counts
210 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(*.f64 b b)
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
Compiler

Compiled 25 to 13 computations (48% saved)

localize36.0ms (1.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
Compiler

Compiled 24 to 6 computations (75% saved)

series6.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite163.0ms (6.7%)

Algorithm
batch-egg-rewrite
Rules
968×pow1_binary64
902×add-log-exp_binary64
902×log1p-expm1-u_binary64
902×expm1-log1p-u_binary64
86×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
116110
2245310
Stop Event
node limit
Counts
1 → 40
Calls
Call 1
Inputs
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 b (+.f64 (+.f64 b a) a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (-.f64 (+.f64 b a) a))) (/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 (+.f64 b a) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (+.f64 (+.f64 b a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) (pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2) (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2)) (/.f64 1 (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 b (-.f64 (+.f64 b a) a)) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 (*.f64 b a) 2) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (*.f64 (+.f64 b a) (*.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2)) (*.f64 b (-.f64 (+.f64 b a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2))) (neg.f64 (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 b a) 2) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 (+.f64 b a) a)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (+.f64 b a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) b (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b (+.f64 b a)) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (cbrt.f64 (*.f64 b (+.f64 b a))) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) (sqrt.f64 (*.f64 b (+.f64 b a))) (*.f64 b a))))))

simplify163.0ms (6.7%)

Algorithm
egg-herbie
Rules
801×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
560×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
08231
119213
241177
379177
4167177
5469177
61554177
72782177
83129177
93351177
103573177
113879177
124301177
134791177
145360177
156056177
166906177
177301177
187589177
197865177
207935177
217971177
Stop Event
node limit
Counts
64 → 46
Calls
Call 1
Inputs
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(*.f64 2 (*.f64 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
Outputs
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(*.f64 2 (*.f64 a b))
(*.f64 b (*.f64 2 a))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2))
(fma.f64 2 (*.f64 a b) (*.f64 b b))
(*.f64 b (+.f64 (*.f64 2 a) b))
(*.f64 b (fma.f64 2 a b))

eval10.0ms (0.4%)

Compiler

Compiled 679 to 192 computations (71.7% saved)

prune7.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh000
Picked011
Done022
Total46349
Error
0b
Counts
49 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(*.f64 b b)
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
Compiler

Compiled 25 to 13 computations (48% saved)

regimes21.0ms (0.9%)

Counts
5 → 1
Calls
Call 1
Inputs
(*.f64 b b)
(*.f64 (+.f64 a b) (+.f64 a b))
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
(*.f64 b (fma.f64 2 a b))
Outputs
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
Calls

4 calls:

6.0ms
b
5.0ms
(*.f64 (+.f64 a b) (+.f64 a b))
4.0ms
(+.f64 a b)
3.0ms
a
Results
ErrorSegmentsBranch
0.0b1a
0.0b1b
0.0b1(*.f64 (+.f64 a b) (+.f64 a b))
0.0b1(+.f64 a b)
Compiler

Compiled 58 to 24 computations (58.6% saved)

regimes20.0ms (0.8%)

Accuracy

Total -0.7b remaining (-6266.6%)

Threshold costs -0.7b (-6266.6%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 b b)
(*.f64 (+.f64 a b) (+.f64 a b))
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b))
Outputs
(*.f64 (+.f64 a b) (+.f64 a b))
Calls

4 calls:

6.0ms
(+.f64 a b)
5.0ms
a
4.0ms
(*.f64 (+.f64 a b) (+.f64 a b))
4.0ms
b
Results
ErrorSegmentsBranch
0.0b1a
0.0b1b
0.0b1(*.f64 (+.f64 a b) (+.f64 a b))
0.0b1(+.f64 a b)
Compiler

Compiled 41 to 19 computations (53.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0930
11330
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
(*.f64 (+.f64 a b) (+.f64 a b))
(*.f64 b b)
Outputs
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
(+.f64 (*.f64 b (+.f64 b a)) (*.f64 a (+.f64 b a)))
(*.f64 (+.f64 a b) (+.f64 a b))
(*.f64 (+.f64 b a) (+.f64 b a))
(*.f64 b b)

end22.0ms (0.9%)

Stop Event
done
Remove

(sort a b)

Compiler

Compiled 76 to 33 computations (56.6% saved)

Profiling

Loading profile data...