Details

Time bar (total: 938.0ms)

analyze0.0ms (0%)

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

Compiled 10 to 8 computations (20% saved)

sample690.0ms (73.5%)

Results
677.0ms8256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess36.0ms (3.8%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify29.0ms (3%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

prune1.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.5%)

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

series4.0ms (0.4%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
x
@-inf
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
x
@inf
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.0ms
x
@0
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@-inf
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite69.0ms (7.4%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
91×add-sqr-sqrt_binary64
91×add-sqr-sqrt_binary64
87×add-log-exp_binary64
87×add-log-exp_binary64
85×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
117618
2282418
089
11769
228249
089
066
11296
221296
066
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 22
Calls
Call 1
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))) (cbrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) (/.f64 2 (*.f64 2 (cosh.f64 x)))) (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (-.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))))))

simplify25.0ms (2.7%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
391×distribute-rgt-neg-in_binary64
370×fma-def_binary64
346×distribute-lft-neg-in_binary64
330×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035187
189183
2217177
3655175
42761175
Stop Event
node limit
Counts
38 → 40
Calls
Call 1
Inputs
1
(-.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
Outputs
1
(-.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(-.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 x (*.f64 x -1/2) 1)
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (*.f64 1/2 (pow.f64 x 2)))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 -1/2 (*.f64 x x)))
(+.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (*.f64 (*.f64 x x) -1/2))
(fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
(-.f64 (+.f64 (*.f64 5/24 (pow.f64 x 4)) 1) (+.f64 (*.f64 61/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 61/720 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x))))
(-.f64 (fma.f64 5/24 (pow.f64 x 4) 1) (fma.f64 1/2 (*.f64 x x) (*.f64 61/720 (pow.f64 x 6))))
(+.f64 (*.f64 (pow.f64 x 6) -61/720) (fma.f64 (*.f64 x x) -1/2 (fma.f64 5/24 (pow.f64 x 4) 1)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 6) -61/720 (fma.f64 5/24 (pow.f64 x 4) 1)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (*.f64 x x))
(fma.f64 x x 2)
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (pow.f64 x 2)))
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (*.f64 x x)))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 2))
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2))
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))))
(fma.f64 1/12 (pow.f64 x 4) (+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))))
(fma.f64 (pow.f64 x 4) 1/12 (+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 6) 1/360))))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x (fma.f64 (pow.f64 x 6) 1/360 2)))
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 (pow.f64 x 6) 1/360 2)))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

prune22.0ms (2.3%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh000
Picked011
Done000
Total40141
Error
0b
Counts
41 → 1
Alt Table
StatusErrorProgram
0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 465 to 323 computations (30.5% saved)

regimes20.0ms (2.1%)

Accuracy

Total -0.0b remaining (-4.7%)

Threshold costs -0.0b (-4.7%)

Counts
8 → 1
Compiler

Compiled 79 to 61 computations (22.8% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
179
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 2 (*.f64 2 (cosh.f64 x)))
Outputs
(/.f64 2 (*.f64 2 (cosh.f64 x)))

end37.0ms (3.9%)

Stop Event
done
Compiler

Compiled 23 to 19 computations (17.4% saved)

Profiling

Loading profile data...