Details

Time bar (total: 2.0s)

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)

sample807.0ms (39.4%)

Results
795.0ms8256×body256valid

preprocess95.0ms (4.6%)

Algorithm
egg-herbie
Rules
702×fma-def_binary64
434×unswap-sqr_binary64
345×fma-neg_binary64
290×exp-prod_binary64
264×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
743413
8119513
9317613
10436713
11554813
12729813
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 10 to 8 computations (20% saved)

simplify82.0ms (4%)

Algorithm
egg-herbie
Rules
702×fma-def_binary64
434×unswap-sqr_binary64
345×fma-neg_binary64
290×exp-prod_binary64
264×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
743413
8119513
9317613
10436713
11554813
12729813
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))))

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% 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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize9.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 8 computations (66.7% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
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))))

rewrite35.0ms (1.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
089
11769
228399
089
Stop Event
iter limit
unsound
Counts
1 → 10
Calls
Call 1
Inputs
(/.f64 2 (+.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 expm1.f64 (log1p.f64 (/.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)))))))))

simplify92.0ms (4.5%)

Algorithm
egg-herbie
Rules
722×fma-def_binary64
402×associate-/l/_binary64
370×*-commutative_binary64
326×distribute-lft-out_binary64
302×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031156
166154
2132152
3357150
41279150
53194150
64371150
77154150
Stop Event
node limit
Counts
22 → 19
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1)))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) 1)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))

eval10.0ms (0.5%)

Compiler

Compiled 206 to 155 computations (24.8% saved)

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New16319
Fresh000
Picked101
Done000
Total17320
Error
0b
Counts
20 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
29.7b
(fma.f64 -1/2 (*.f64 x x) 1)
29.2b
1
Compiler

Compiled 18 to 15 computations (16.7% saved)

localize9.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 24 to 16 computations (33.3% saved)

series4.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(/.f64 1 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@inf
(/.f64 1 (*.f64 2 (cosh.f64 x)))
1.0ms
x
@0
(/.f64 1 (*.f64 2 (cosh.f64 x)))

rewrite160.0ms (7.8%)

Algorithm
batch-egg-rewrite
Rules
618×pow1_binary64
573×add-log-exp_binary64
572×log1p-expm1-u_binary64
572×expm1-log1p-u_binary64
561×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
11456
216676
Stop Event
node limit
Counts
1 → 24
Calls
Call 1
Inputs
(/.f64 1 (*.f64 2 (cosh.f64 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1/2 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/2 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) (pow.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) 2) (cbrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) (sqrt.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (pow.f64 (cosh.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2) -1) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1) (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/2 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (cosh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/2 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/2 (cosh.f64 x))))))))

simplify73.0ms (3.6%)

Algorithm
egg-herbie
Rules
713×fma-def_binary64
389×*-commutative_binary64
372×associate-/l/_binary64
326×distribute-lft-out_binary64
315×associate-/r/_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
024156
151154
2109150
3316150
41190150
53026150
63792150
74723150
87687150
Stop Event
node limit
Counts
36 → 33
Calls
Call 1
Inputs
1/2
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
Outputs
1/2
(+.f64 1/2 (*.f64 -1/4 (pow.f64 x 2)))
(+.f64 1/2 (*.f64 -1/4 (*.f64 x x)))
(fma.f64 -1/4 (*.f64 x x) 1/2)
(fma.f64 x (*.f64 -1/4 x) 1/2)
(+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4))))
(+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 5/48 (pow.f64 x 4) 1/2))
(fma.f64 x (fma.f64 5/48 (pow.f64 x 3) (*.f64 -1/4 x)) 1/2)
(+.f64 (*.f64 -61/1440 (pow.f64 x 6)) (+.f64 1/2 (+.f64 (*.f64 -1/4 (pow.f64 x 2)) (*.f64 5/48 (pow.f64 x 4)))))
(fma.f64 -61/1440 (pow.f64 x 6) (+.f64 1/2 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/4 (*.f64 x x) (*.f64 5/48 (pow.f64 x 4))) (fma.f64 -61/1440 (pow.f64 x 6) 1/2))
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 -1/4 (*.f64 x x) (fma.f64 5/48 (pow.f64 x 4) 1/2)))
(fma.f64 -1/4 (*.f64 x x) (fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 5/48 (pow.f64 x 4) 1/2)))
(fma.f64 -61/1440 (pow.f64 x 6) (fma.f64 x (fma.f64 5/48 (pow.f64 x 3) (*.f64 -1/4 x)) 1/2))
(fma.f64 x (fma.f64 5/48 (pow.f64 x 3) (*.f64 -1/4 x)) (fma.f64 -61/1440 (pow.f64 x 6) 1/2))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 1 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 -1/2 (*.f64 x x) 1)
Compiler

Compiled 13 to 7 computations (46.2% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(fma.f64 -1/2 (*.f64 x x) 1)
1.0ms
x
@0
(fma.f64 -1/2 (*.f64 x x) 1)
0.0ms
x
@-inf
(fma.f64 -1/2 (*.f64 x x) 1)

rewrite48.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
455×pow1_binary64
443×add-sqr-sqrt_binary64
434×*-un-lft-identity_binary64
422×add-log-exp_binary64
421×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify163.0ms (7.9%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
555×fabs-mul_binary64
523×pow-sqr_binary64
445×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08105
11687
22787
35187
411487
535687
6129587
7219187
8235587
9253987
10274787
11304587
12343887
13392187
14448787
15517587
16601087
17640287
18669287
19697087
20704087
21707687
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)

eval15.0ms (0.7%)

Compiler

Compiled 611 to 440 computations (28% saved)

prune8.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh011
Picked101
Done011
Total59362
Error
0b
Counts
62 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
29.7b
(+.f64 (*.f64 -1/2 (*.f64 x x)) 1)
0.0b
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
29.2b
1
Compiler

Compiled 19 to 16 computations (15.8% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 -1/2 (*.f64 x x))
Compiler

Compiled 19 to 10 computations (47.4% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 -1/2 (*.f64 x x))
0.0ms
x
@inf
(*.f64 -1/2 (*.f64 x x))
0.0ms
x
@-inf
(*.f64 -1/2 (*.f64 x x))

rewrite68.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
432×pow1_binary64
420×add-sqr-sqrt_binary64
411×*-un-lft-identity_binary64
401×add-log-exp_binary64
401×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify295.0ms (14.4%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
617×cube-prod_binary64
554×fabs-mul_binary64
523×pow-sqr_binary64
441×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410584
533184
6125084
7212384
8228784
9247184
10267984
11297684
12337184
13385284
14441884
15510284
16593584
17632784
18661984
19689584
20696984
21700384
22794484
Stop Event
node limit
Counts
26 → 16
Calls
Call 1
Inputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))

eval4.0ms (0.2%)

Compiler

Compiled 173 to 124 computations (28.3% saved)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New16016
Fresh011
Picked011
Done011
Total16319
Error
0b
Counts
19 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
29.7b
(+.f64 (*.f64 -1/2 (*.f64 x x)) 1)
0.0b
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
29.2b
1
Compiler

Compiled 19 to 16 computations (15.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
29.7b
(+.f64 (*.f64 -1/2 (*.f64 x x)) 1)
0.0b
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
29.2b
1
Compiler

Compiled 19 to 16 computations (15.8% saved)

regimes15.0ms (0.8%)

Counts
5 → 1
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
Calls

5 calls:

5.0ms
x
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b1(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 65 to 48 computations (26.2% saved)

regimes4.0ms (0.2%)

Accuracy

Total -0.6b remaining (-2%)

Threshold costs -0.6b (-2%)

Counts
3 → 1
Calls
Call 1
Inputs
1
(+.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
Outputs
1
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
29.2b1x
Compiler

Compiled 17 to 11 computations (35.3% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11213
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
1
Outputs
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
1
Compiler

Compiled 11 to 10 computations (9.1% saved)

soundness0.0ms (0%)

end17.0ms (0.8%)

Compiler

Compiled 10 to 9 computations (10% saved)

Profiling

Loading profile data...