Details

Time bar (total: 2.1s)

analyze0.0ms (0%)

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

Compiled 24 to 15 computations (37.5% saved)

sample922.0ms (43.9%)

Results
908.0ms8256×body256valid

preprocess19.0ms (0.9%)

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
24120
37720
412020
515020
617020
718720
818920
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.5%)

Algorithm
egg-herbie
Rules
70×fma-def_binary64
25×associate-+l+_binary64
17×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)

localize4.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))

rewrite47.0ms (2.2%)

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
217587
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 b (+.f64 a b)) (*.f64 a (+.f64 a b)))))) (#(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 (*.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)))))))

simplify171.0ms (8.1%)

Algorithm
egg-herbie
Rules
947×sqr-pow_binary64
615×fma-def_binary64
550×fabs-mul_binary64
539×cube-prod_binary64
373×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012294
132267
269222
3151216
4418216
51558216
62835216
73107216
83293216
93537216
103838216
114229216
124738216
135314216
146058216
156608216
166942216
177266216
187352216
197384216
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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 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 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 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 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 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 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 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 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 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 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b 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)))
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b))

eval8.0ms (0.4%)

Compiler

Compiled 471 to 164 computations (65.2% saved)

prune6.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.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.2b
(*.f64 b (fma.f64 2 a b))
0.8b
(*.f64 b b)
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize4.0ms (0.2%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize6.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)

series5.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
2.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))
0.0ms
a
@-inf
(*.f64 b (fma.f64 2 a b))
0.0ms
b
@inf
(*.f64 b (fma.f64 2 a b))

rewrite42.0ms (2%)

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))))))))

simplify158.0ms (7.5%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
582×fma-def_binary64
555×fabs-mul_binary64
555×cube-prod_binary64
487×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
08231
119213
241177
379177
4170177
5476177
61590177
72828177
83175177
93398177
103620177
113938177
124358177
134847177
145421177
156115177
166969177
177366177
187656177
197936177
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.4%)

Local error

Found 2 expressions with local error:

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

Compiled 28 to 6 computations (78.6% saved)

series5.0ms (0.3%)

Counts
2 → 48
Calls

12 calls:

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

rewrite54.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
762×pow1_binary64
710×add-log-exp_binary64
710×log1p-expm1-u_binary64
710×expm1-log1p-u_binary64
694×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0614
113414
2195614
Stop Event
node limit
Counts
2 → 47
Calls
Call 1
Inputs
(*.f64 b (+.f64 a b))
(*.f64 a (+.f64 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b a) 1) (*.f64 (*.f64 b b) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (+.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 b a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (*.f64 (*.f64 b b) (*.f64 b b))) (-.f64 (*.f64 b a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) 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)) b) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 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 b (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (+.f64 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (+.f64 b a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 b a) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 b b))))))
((#(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 (*.f64 (*.f64 a a) 1) (*.f64 (*.f64 b a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (+.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (-.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (*.f64 (*.f64 a a) (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b a) (*.f64 b a))) (-.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 a a (*.f64 b (-.f64 b 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 a a (*.f64 b (-.f64 b 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)) 3) 1/3)))) (#(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 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 cbrt.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (+.f64 b a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 b a) 3) (pow.f64 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 fma.f64 a a (*.f64 b a))))))

simplify172.0ms (8.2%)

Algorithm
egg-herbie
Rules
1197×sqr-pow_binary64
620×fabs-mul_binary64
601×cube-prod_binary64
484×pow-sqr_binary64
408×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09336
122300
243300
387300
4233300
5865300
61897300
72182300
82353300
92584300
102880300
113265300
123763300
134340300
145090300
155638300
165972300
176296300
186382300
196410300
207061300
Stop Event
node limit
Counts
95 → 56
Calls
Call 1
Inputs
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(pow.f64 b 2)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(+.f64 (*.f64 a b) (pow.f64 b 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
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(pow.f64 b 2)
(*.f64 b b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 b 2))
(fma.f64 a b (*.f64 b b))
(*.f64 b (+.f64 b a))
(*.f64 b (+.f64 a b))
(*.f64 a b)
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b 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 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b 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 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b 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 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b 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 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b 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 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))
(+.f64 (*.f64 a b) (pow.f64 a 2))
(fma.f64 a b (*.f64 a a))
(*.f64 a (+.f64 b a))
(*.f64 a (+.f64 a b))

eval15.0ms (0.7%)

Compiler

Compiled 1040 to 333 computations (68% saved)

prune11.0ms (0.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New74175
Fresh000
Picked011
Done033
Total74579
Error
0b
Counts
79 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.2b
(*.f64 b (fma.f64 2 a b))
0.8b
(*.f64 b b)
0.2b
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
Compiler

Compiled 46 to 25 computations (45.7% saved)

localize9.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 25 to 13 computations (48% saved)

series4.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite72.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
890×pow1_binary64
828×add-log-exp_binary64
827×log1p-expm1-u_binary64
827×expm1-log1p-u_binary64
809×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0810
11748
223248
Stop Event
node limit
Counts
1 → 40
Calls
Call 1
Inputs
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b))
Outputs
((#(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 -.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (*.f64 b (-.f64 (*.f64 2 a) b))) (/.f64 (pow.f64 b 4) (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (fma.f64 2 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (fma.f64 2 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) (pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 2) (cbrt.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (fma.f64 2 a b))) (sqrt.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4)) (/.f64 1 (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 a b) b)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3)))) (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 b (-.f64 (*.f64 2 a) b)) (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (*.f64 (*.f64 2 a) (pow.f64 b 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4)) (*.f64 b (-.f64 (*.f64 2 a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4))) (neg.f64 (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 2 (*.f64 a b)) 2)) (-.f64 (*.f64 b b) (*.f64 2 (*.f64 a b))))))) (#(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))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 a b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 a) b (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 2 a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (*.f64 a b)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 a b))) 2) (cbrt.f64 (*.f64 2 (*.f64 a b))) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (pow.f64 (cbrt.f64 b) 2) (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (*.f64 a b))) (sqrt.f64 (*.f64 2 (*.f64 a b))) (*.f64 b b))))))

simplify185.0ms (8.8%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
582×fma-def_binary64
555×cube-prod_binary64
549×fabs-mul_binary64
488×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
08231
119213
241177
379177
4170177
5485177
61619177
72847177
83194177
93416177
103638177
113954177
124374177
134863177
145437177
156127177
166979177
177370177
187660177
197942177
Stop Event
node limit
Counts
64 → 45
Calls
Call 1
Inputs
(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))
(*.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))
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)) (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)) (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 2 (*.f64 a b))
(*.f64 2 (*.f64 b a))
(*.f64 a (*.f64 b 2))
(*.f64 b (*.f64 2 a))
(+.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)) (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)) (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 2 (*.f64 a b))
(*.f64 2 (*.f64 b a))
(*.f64 a (*.f64 b 2))
(*.f64 b (*.f64 2 a))
(+.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)) (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)) (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 2 (*.f64 a b))
(*.f64 2 (*.f64 b a))
(*.f64 a (*.f64 b 2))
(*.f64 b (*.f64 2 a))
(+.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)) (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)) (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))
(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)) (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)) (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))
(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)) (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)) (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))

eval25.0ms (1.2%)

Compiler

Compiled 613 to 374 computations (39% saved)

prune16.0ms (0.7%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done044
Total45550
Error
0b
Counts
50 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.2b
(*.f64 b (fma.f64 2 a b))
0.8b
(*.f64 b b)
0.2b
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b))
0.0b
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b)))
Compiler

Compiled 46 to 25 computations (45.7% saved)

regimes40.0ms (1.9%)

Counts
5 → 1
Calls
Call 1
Inputs
(*.f64 b b)
(*.f64 (+.f64 a b) (+.f64 a b))
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b 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:

11.0ms
(*.f64 (+.f64 a b) (+.f64 a b))
10.0ms
b
10.0ms
(+.f64 a b)
8.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 26 computations (55.2% saved)

regimes32.0ms (1.5%)

Accuracy

Total -0.8b remaining (-7144.9%)

Threshold costs -0.8b (-7144.9%)

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

4 calls:

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

Compiled 41 to 20 computations (51.2% saved)

simplify7.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0930
11330
Stop Event
done
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)
Compiler

Compiled 27 to 13 computations (51.9% saved)

soundness0.0ms (0%)

end40.0ms (1.9%)

Remove

(sort a b)

Compiler

Compiled 49 to 20 computations (59.2% saved)

Profiling

Loading profile data...