Details

Time bar (total: 1.5s)

analyze1.0ms (0.1%)

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

Compiled 10 to 8 computations (20% saved)

sample810.0ms (52.7%)

Results
708.0ms8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify81.0ms (5.2%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
434×unswap-sqr_binary64
366×fma-neg_binary64
277×*-commutative_binary64
262×exp-prod_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22013
32713
44613
57813
614613
727413
867013
9189613
10269213
11353513
12471313
13486513
14479413

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

series15.0ms (1%)

Counts
2 → 16
Calls

2 calls:

13.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite11.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
15×times-frac_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
2 → 57
Calls

2 calls:

5.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify79.0ms (5.1%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
684×fma-def_binary64
548×associate-*l*_binary64
292×times-frac_binary64
257×distribute-rgt-in_binary64
Counts
73 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151210
12481114
25491101
312411099
442051099
549801099

prune63.0ms (4.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh000
Picked011
Done000
Total1033106
Error
0b
Counts
106 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
30.5b
(fma.f64 x (*.f64 x -1/2) 1)
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 1619 to 677 computations (58.2% saved)

localize10.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
0.0b
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
0.0b
(pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3)

series54.0ms (3.5%)

Counts
4 → 48
Calls

4 calls:

24.0ms
(pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3)
14.0ms
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
14.0ms
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
2.0ms
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

rewrite39.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity_binary64
60×times-frac_binary64
48×add-sqr-sqrt_binary64
48×add-cube-cbrt_binary64
42×cbrt-prod_binary64
Counts
4 → 164
Calls

4 calls:

9.0ms
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
7.0ms
(pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3)
6.0ms
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
4.0ms
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

simplify114.0ms (7.4%)

Algorithm
egg-herbie
Rules
662×associate-*l/_binary64
354×times-frac_binary64
287×associate-/l*_binary64
273×associate-/r*_binary64
247×fma-def_binary64
Counts
212 → 205
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02174578
15224110
214843997
350783997

prune140.0ms (9.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh011
Picked011
Done011
Total2053208
Error
0b
Counts
208 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
30.5b
(fma.f64 x (*.f64 x -1/2) 1)
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 3935 to 1968 computations (50% saved)

localize4.0ms (0.2%)

prune4.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
30.5b
(fma.f64 x (*.f64 x -1/2) 1)
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 28 to 22 computations (21.4% saved)

regimes46.0ms (3%)

Accuracy

Total 0.0b remaining (91.4%)

Threshold costs 0.0b (91.4%)

Counts
15 → 1
Compiler

Compiled 535 to 398 computations (25.6% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11618
21818
31918
41918

end56.0ms (3.7%)

Compiler

Compiled 52 to 42 computations (19.2% saved)

Profiling

Loading profile data...