Details

Time bar (total: 2.2s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%100%0%0%0%0%0%2
Compiler

Compiled 10 to 8 computations (20% saved)

sample691.0ms (31.4%)

Results
681.0ms8256×body256valid
Bogosity

preprocess72.0ms (3.3%)

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)

simplify62.0ms (2.8%)

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)

localize8.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))))
Compiler

Compiled 24 to 8 computations (66.7% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
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 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.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)))

rewrite44.0ms (2%)

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
2283918
089
11769
228399
089
066
11296
221506
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 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)))))))))
((#(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 expm1.f64 (log1p.f64 (*.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))))))))

simplify43.0ms (1.9%)

Algorithm
egg-herbie
Rules
643×fma-def_binary64
488×associate-*l*_binary64
407×associate-/l*_binary64
394×distribute-rgt-in_binary64
393×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
094566
1223550
2836413
34593335
Stop Event
node limit
Counts
46 → 55
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))))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 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)))))
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 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)))))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 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))))))
(/.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))))
(pow.f64 (*.f64 2 (cosh.f64 x)) 1)
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 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)))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.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 1 (cosh.f64 x))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (*.f64 x x))
(fma.f64 x x 2)
(+.f64 2 (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4))))
(+.f64 (+.f64 2 (*.f64 x x)) (*.f64 (pow.f64 x 4) 1/12))
(+.f64 2 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12)))
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 2))
(+.f64 2 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/12 (pow.f64 x 4)))))
(+.f64 2 (fma.f64 1/360 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/12))))
(+.f64 2 (fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/12))))
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/12 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 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 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)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 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)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 1 (cosh.f64 x))
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(*.f64 2 (cosh.f64 x))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 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))))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (*.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (exp.f64 (+.f64 x x)) (+.f64 -1 (exp.f64 (*.f64 x -2)))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (exp.f64 (*.f64 x -3))) (+.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (*.f64 x -2))))
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) 2) (expm1.f64 (*.f64 x -2))))
(/.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))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(pow.f64 (*.f64 2 (cosh.f64 x)) 1)
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(log.f64 (exp.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 x)) (*.f64 2 (cosh.f64 x))) (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(*.f64 2 (cosh.f64 x))

eval13.0ms (0.6%)

Compiler

Compiled 690 to 468 computations (32.2% saved)

prune8.0ms (0.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New51455
Fresh000
Picked101
Done000
Total52456
Error
0b
Counts
56 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
15.3b
(/.f64 2 (+.f64 2 (*.f64 x x)))
0.0b
(/.f64 1 (cosh.f64 x))
31.6b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
31.1b
1
Compiler

Compiled 23 to 18 computations (21.7% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.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 (*.f64 -1/2 (*.f64 x x)))
0.0ms
x
@-inf
(*.f64 -1/2 (*.f64 x x))
0.0ms
x
@0
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))

rewrite43.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
671×pow1_binary64
628×add-log-exp_binary64
627×log1p-expm1-u_binary64
627×expm1-log1p-u_binary64
616×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
114515
2176115
Stop Event
node limit
Counts
2 → 44
Calls
Call 1
Inputs
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (*.f64 -1/2 x) x 1) 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 (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 pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(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 (*.f64 -1/8 (pow.f64 (*.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))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 -1/2 x) x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x 1)))))

simplify44.0ms (2%)

Algorithm
egg-herbie
Rules
698×associate-/l*_binary64
458×fma-neg_binary64
383×associate-*l*_binary64
339×associate-*r*_binary64
273×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0101759
1237691
2717679
33778679
Stop Event
node limit
Counts
68 → 57
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))
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)))
(-.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3)
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(-.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1)
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(*.f64 1 (fma.f64 (*.f64 -1/2 x) x 1))
(*.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(*.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))
(*.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))))
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))
(/.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
(pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3)
(pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3)
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)
(sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2))
(log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)
(fma.f64 (*.f64 -1/2 x) x 1)
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(-.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(*.f64 -1/2 (*.f64 x x))
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(*.f64 -1/2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(*.f64 -1/2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(*.f64 -1/2 (*.f64 x x))
(pow.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)) 1/3)
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))
(cbrt.f64 (*.f64 -1/8 (pow.f64 x 6)))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))
(*.f64 -1/2 (*.f64 x x))
(cbrt.f64 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))
(cbrt.f64 (*.f64 -1/8 (pow.f64 x 6)))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(-.f64 (+.f64 1 (fma.f64 (*.f64 -1/2 x) x 1)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(*.f64 1 (fma.f64 (*.f64 -1/2 x) x 1))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 2) (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2)))))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1)))
(*.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2)))))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1)))
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2)))))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1)))
(/.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2)))))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1)))
(/.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x))))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))
(*.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/2)))))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 6) 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/4 (pow.f64 x 4) 1)))
(/.f64 (fma.f64 (pow.f64 x 6) 1/8 -1) (fma.f64 -1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/4 -1)))
(/.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
(/.f64 (+.f64 1 (*.f64 -1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(pow.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3) 1/3)
(fma.f64 -1/2 (*.f64 x x) 1)
(pow.f64 (cbrt.f64 (fma.f64 (*.f64 -1/2 x) x 1)) 3)
(fma.f64 -1/2 (*.f64 x x) 1)
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)
(fma.f64 -1/2 (*.f64 x x) 1)
(sqrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 2))
(fma.f64 -1/2 (*.f64 x x) 1)
(log.f64 (exp.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 -1/2 x) x 1) 3))
(fma.f64 -1/2 (*.f64 x x) 1)
(expm1.f64 (log1p.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(log1p.f64 (expm1.f64 (fma.f64 (*.f64 -1/2 x) x 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)
(fma.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) 1)
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 -1/2 x) x 1)
(fma.f64 -1/2 (*.f64 x x) 1)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 9 to 5 computations (44.4% saved)

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite39.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
461×pow1_binary64
448×add-sqr-sqrt_binary64
438×*-un-lft-identity_binary64
428×add-log-exp_binary64
426×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
11029
211989
Stop Event
node limit
Counts
2 → 46
Calls
Call 1
Inputs
(/.f64 1 (cosh.f64 x))
(cosh.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cosh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (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 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cosh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (cosh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cosh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 x)))))))

simplify35.0ms (1.6%)

Algorithm
egg-herbie
Rules
607×unswap-sqr_binary64
551×associate-/r*_binary64
479×associate-*l/_binary64
412×associate-*r/_binary64
354×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0119824
1282742
21238469
Stop Event
node limit
Counts
70 → 78
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 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)
(pow.f64 (cosh.f64 x) -1)
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))
(-.f64 (+.f64 1 (cosh.f64 x)) 1)
(*.f64 1 (cosh.f64 x))
(*.f64 (cosh.f64 x) 1)
(*.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))
(*.f64 (*.f64 2 (cosh.f64 x)) 1/2)
(/.f64 1 (/.f64 1 (cosh.f64 x)))
(/.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))
(/.f64 (cosh.f64 x) 1)
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(/.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2))
(/.f64 (*.f64 2 (cosh.f64 x)) 2)
(/.f64 (neg.f64 (cosh.f64 x)) -1)
(/.f64 (neg.f64 (*.f64 2 (cosh.f64 x))) -2)
(pow.f64 (cosh.f64 x) 1)
(pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3)
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3)
(pow.f64 (sqrt.f64 (cosh.f64 x)) 2)
(sqrt.f64 (pow.f64 (cosh.f64 x) 2))
(log.f64 (exp.f64 (cosh.f64 x)))
(cbrt.f64 (pow.f64 (cosh.f64 x) 3))
(expm1.f64 (log1p.f64 (cosh.f64 x)))
(log1p.f64 (expm1.f64 (cosh.f64 x)))
(exp.f64 (log.f64 (cosh.f64 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))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.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 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) 1/2))
(fma.f64 (*.f64 x x) 1/2 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (*.f64 (pow.f64 x 4) 1/24))
(fma.f64 (pow.f64 x 4) 1/24 (fma.f64 (*.f64 x x) 1/2 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/720))))
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (fma.f64 (pow.f64 x 6) 1/720 (*.f64 (pow.f64 x 4) 1/24)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 (pow.f64 x 6) 1/720)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2)
(fma.f64 (exp.f64 x) 1/2 (/.f64 1/2 (exp.f64 x)))
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (cosh.f64 x)))
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (cosh.f64 x)))
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (cosh.f64 x) -1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(cbrt.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(expm1.f64 (log1p.f64 (/.f64 1 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(-.f64 (+.f64 1 (cosh.f64 x)) 1)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 1 (cosh.f64 x))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 (cosh.f64 x) 1)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 (cbrt.f64 (cosh.f64 x)) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (cbrt.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 (sqrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(*.f64 (*.f64 2 (cosh.f64 x)) 1/2)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 1 (/.f64 1 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 (cosh.f64 x) 1)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 (sqrt.f64 (cosh.f64 x)) (pow.f64 (cosh.f64 x) -1/2))
(/.f64 (*.f64 2 (cosh.f64 x)) 2)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 (neg.f64 (cosh.f64 x)) -1)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(/.f64 (neg.f64 (*.f64 2 (cosh.f64 x))) -2)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(pow.f64 (cosh.f64 x) 1)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(pow.f64 (pow.f64 (cosh.f64 x) 3) 1/3)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(pow.f64 (cbrt.f64 (cosh.f64 x)) 3)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(pow.f64 (sqrt.f64 (cosh.f64 x)) 2)
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(sqrt.f64 (pow.f64 (cosh.f64 x) 2))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(log.f64 (exp.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(cbrt.f64 (pow.f64 (cosh.f64 x) 3))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(expm1.f64 (log1p.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(log1p.f64 (expm1.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)
(exp.f64 (log.f64 (cosh.f64 x)))
(+.f64 1 (-.f64 (cosh.f64 x) 1))
(+.f64 (cosh.f64 x) 0)
(cosh.f64 x)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(/.f64 2 (+.f64 2 (*.f64 x x)))
Compiler

Compiled 18 to 9 computations (50% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
700×pow1_binary64
657×add-log-exp_binary64
656×log1p-expm1-u_binary64
656×expm1-log1p-u_binary64
644×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0610
11378
217848
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(/.f64 2 (+.f64 2 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (fma.f64 x x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (fma.f64 x x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))))))))

simplify62.0ms (2.8%)

Algorithm
egg-herbie
Rules
880×fma-def_binary64
617×associate-/l*_binary64
429×log-prod_binary64
387×associate-*l*_binary64
354×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
091542
1228481
2733418
33659413
Stop Event
node limit
Counts
34 → 56
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2))))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 6)))))
(/.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(/.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(-.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1)
(*.f64 2 (/.f64 1 (fma.f64 x x 2)))
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(*.f64 1 (/.f64 2 (fma.f64 x x 2)))
(*.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2))))
(*.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2))))
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2)
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x)))))
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1)
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2)))
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2))))
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3))
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2))))
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x 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)
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2))))
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 1/4 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 1/4 x) x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 6)))))
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 6)))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/8 (pow.f64 x 6) 1)))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 2 x) x)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4)))
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4)))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))))
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))) (/.f64 -16 (pow.f64 x 8))))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 2 x) x)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4)))
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4)))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))))
(+.f64 (/.f64 (/.f64 2 x) x) (+.f64 (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))) (/.f64 -16 (pow.f64 x 8))))
(-.f64 (+.f64 1 (/.f64 2 (fma.f64 x x 2))) 1)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 2 (/.f64 1 (fma.f64 x x 2)))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 1 (/.f64 2 (fma.f64 x x 2)))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 -2 (*.f64 x x)))))
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x x) -2))))
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (fma.f64 (*.f64 x x) -2 (pow.f64 x 4))))
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (fma.f64 (*.f64 x x) (fma.f64 x x -2) 4))
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))
(/.f64 (fma.f64 x (*.f64 x -2) 4) (-.f64 4 (pow.f64 x 4)))
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1)
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2)))
(fabs.f64 (/.f64 2 (fma.f64 x x 2)))
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))))
(+.f64 1 (-.f64 (/.f64 2 (fma.f64 x x 2)) 1))
(+.f64 (/.f64 2 (fma.f64 x x 2)) 0)
(/.f64 2 (fma.f64 x x 2))

eval44.0ms (2%)

Compiler

Compiled 2081 to 1490 computations (28.4% saved)

prune57.0ms (2.6%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1892191
Fresh011
Picked011
Done022
Total1896195
Error
0b
Counts
195 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
46.9b
(/.f64 (/.f64 2 x) x)
15.3b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.5b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
31.6b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
31.1b
1
Compiler

Compiled 35 to 26 computations (25.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(/.f64 2 (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite53.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
491×pow1_binary64
479×add-sqr-sqrt_binary64
458×add-log-exp_binary64
458×log1p-expm1-u_binary64
458×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify33.0ms (1.5%)

Algorithm
egg-herbie
Rules
614×log-prod_binary64
557×associate-/r*_binary64
323×associate-*l*_binary64
305×associate-*r*_binary64
299×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054233
1125233
2406233
32601233
Stop Event
node limit
Counts
33 → 24
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(*.f64 2 (pow.f64 x -2))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(*.f64 1 (/.f64 2 (*.f64 x x)))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(*.f64 (pow.f64 x -2) 2)
(*.f64 (/.f64 2 x) (/.f64 1 x))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 1 (/.f64 2 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (pow.f64 x -2) 2)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(sqrt.f64 (*.f64 4 (pow.f64 x -4)))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 2 x) x)
Compiler

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite66.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
581×pow1_binary64
544×add-log-exp_binary64
544×log1p-expm1-u_binary64
544×expm1-log1p-u_binary64
534×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify63.0ms (2.8%)

Algorithm
egg-herbie
Rules
426×log-prod_binary64
355×log-div_binary64
345×fma-def_binary64
309×distribute-rgt-in_binary64
279×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095350
1244350
2796350
33529350
Stop Event
node limit
Counts
47 → 39
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x)))
(*.f64 2 (/.f64 (/.f64 1 x) x))
(*.f64 2 (/.f64 1 (*.f64 x x)))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(*.f64 1 (/.f64 2 (*.f64 x x)))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x)))
(*.f64 (/.f64 1 x) (/.f64 2 x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x))
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x)))
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x)))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (*.f64 x (*.f64 x 1/2)) -1)
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x)))
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (/.f64 (/.f64 1 x) x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (/.f64 1 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 1 (/.f64 2 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2))
(/.f64 2 (*.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(/.f64 2 (*.f64 x x))
(*.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 x) (/.f64 2 x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(/.f64 (*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (cbrt.f64 (/.f64 2 (*.f64 x x)))) (pow.f64 (cbrt.f64 x) 2))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(/.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(/.f64 2 (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(/.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (*.f64 x 1/2)) -1)
(/.f64 2 (*.f64 x x))
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2))
(/.f64 2 (*.f64 x x))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(/.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))

eval11.0ms (0.5%)

Compiler

Compiled 576 to 384 computations (33.3% saved)

prune12.0ms (0.5%)

Pruning

8 alts after pruning (3 fresh and 5 done)

PrunedKeptTotal
New61263
Fresh011
Picked011
Done044
Total61869
Error
0b
Counts
69 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
46.9b
(/.f64 (/.f64 2 x) x)
15.3b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.5b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
32.3b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
31.6b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
46.9b
(*.f64 (/.f64 2 x) (/.f64 1 x))
31.1b
1
Compiler

Compiled 53 to 40 computations (24.5% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 12 computations (29.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite39.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
642×pow1_binary64
597×add-log-exp_binary64
597×log1p-expm1-u_binary64
597×expm1-log1p-u_binary64
586×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
11497
217717
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(*.f64 (/.f64 2 x) (/.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 (neg.f64 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (*.f64 x 1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 x (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 x (/.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 x) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))))))

simplify40.0ms (1.8%)

Algorithm
egg-herbie
Rules
763×log-prod_binary64
422×associate-*l*_binary64
412×associate-*r*_binary64
303×fma-def_binary64
289×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099350
1232350
2715350
34533350
Stop Event
node limit
Counts
50 → 40
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1)
(/.f64 2 (*.f64 x x))
(/.f64 2 (*.f64 (neg.f64 x) (neg.f64 x)))
(/.f64 2 (/.f64 x (/.f64 1 x)))
(/.f64 (/.f64 2 x) x)
(/.f64 1 (*.f64 (*.f64 x 1/2) x))
(/.f64 1 (*.f64 x (*.f64 x 1/2)))
(/.f64 1 (/.f64 (*.f64 x x) 2))
(/.f64 1 (/.f64 x (/.f64 2 x)))
(/.f64 (/.f64 1 x) (*.f64 x 1/2))
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x))))
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x)))
(/.f64 -2 (neg.f64 (*.f64 x x)))
(/.f64 -2 (*.f64 (neg.f64 x) x))
(/.f64 -2 (*.f64 x (neg.f64 x)))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x))
(/.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x))
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x))
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2))
(log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2))))
(cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3))
(cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3)))
(cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x)))
(cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3)))
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x -2))) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 (neg.f64 x) (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (/.f64 x (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 2 x) x)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (*.f64 (*.f64 x 1/2) x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (*.f64 x (*.f64 x 1/2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (/.f64 (*.f64 x x) 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (/.f64 x (/.f64 2 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 1 x) (*.f64 x 1/2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -2 (neg.f64 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -2 (*.f64 (neg.f64 x) x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -2 (*.f64 x (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (*.f64 -2 (/.f64 1 x)) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (*.f64 -1 (/.f64 2 x)) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(sqrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(log.f64 (exp.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (/.f64 (pow.f64 (/.f64 2 x) 3) (pow.f64 x 3)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (*.f64 (pow.f64 (/.f64 2 x) 3) (/.f64 (pow.f64 x -2) x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (*.f64 (/.f64 (pow.f64 x -2) x) (pow.f64 (/.f64 2 x) 3)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(/.f64 2 (*.f64 x x))
0.7b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
Compiler

Compiled 28 to 16 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite76.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
863×pow1_binary64
812×add-log-exp_binary64
811×log1p-expm1-u_binary64
811×expm1-log1p-u_binary64
798×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0813
11847
225327
Stop Event
node limit
Counts
1 → 54
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 2 (pow.f64 x -2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 2 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (neg.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)))))

simplify56.0ms (2.5%)

Algorithm
egg-herbie
Rules
536×div-sub_binary64
388×unswap-sqr_binary64
371×log-prod_binary64
266×fma-def_binary64
264×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0134752
1323730
2904716
34514716
Stop Event
node limit
Counts
66 → 68
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(+.f64 1 (fma.f64 2 (pow.f64 x -2) -1))
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))
(+.f64 (/.f64 2 (*.f64 x x)) 0)
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)
(*.f64 1 (/.f64 2 (*.f64 x x)))
(*.f64 2 (pow.f64 x -2))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))
(*.f64 (pow.f64 x -2) 2)
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1))
(/.f64 1 (*.f64 (*.f64 x x) 1/2))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)))
(/.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))
(/.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1))
(/.f64 2 (*.f64 x x))
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x))))
(/.f64 -2 (*.f64 x (neg.f64 x)))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))
(/.f64 (/.f64 2 x) x)
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1))))
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1)))
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3)
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1)
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1)
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)
Outputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 1 (fma.f64 2 (pow.f64 x -2) -1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 (/.f64 2 (*.f64 x x)) 0)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 1 (/.f64 2 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (/.f64 4 (pow.f64 x 4))) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x))))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2))))
(*.f64 (pow.f64 x -2) 2)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (*.f64 (*.f64 x x) 1/2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x))))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 1 (/.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 1 (/.f64 (*.f64 (*.f64 x x) 1/2) 1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 -2 (*.f64 x (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x))))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x))))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (/.f64 2 (*.f64 x x)) 2))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) 1) -1))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 2 x) x)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (/.f64 2 (*.f64 x x)) 2))))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 2 (/.f64 2 (*.f64 x x))))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (*.f64 2 (pow.f64 x -2)) (+.f64 2 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) 1) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) 2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1)) (fma.f64 2 (pow.f64 x -2) -1))))
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (-.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))))
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) -2) 1))
(/.f64 (+.f64 1 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (+.f64 (/.f64 2 (*.f64 x x)) -2) 1))
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 1 (fma.f64 2 (pow.f64 x -2) -1)))
(/.f64 (-.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1))) (-.f64 2 (*.f64 2 (pow.f64 x -2))))
(/.f64 (neg.f64 (*.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 (*.f64 x x)) -2))) (+.f64 2 (/.f64 -2 (*.f64 x x))))
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4))))
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (pow.f64 x 4)))
(/.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)) 1/3)
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)))
(cbrt.f64 (*.f64 8 (pow.f64 (/.f64 1 x) 6)))
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(cbrt.f64 (*.f64 8 (pow.f64 (pow.f64 x -2) 3)))
(cbrt.f64 (*.f64 8 (pow.f64 (/.f64 1 x) 6)))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) 2) (cbrt.f64 (fma.f64 2 (pow.f64 x -2) 1)) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))

eval34.0ms (1.6%)

Compiler

Compiled 1501 to 1156 computations (23% saved)

prune17.0ms (0.8%)

Pruning

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New1320132
Fresh011
Picked011
Done066
Total1328140
Error
0b
Counts
140 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
46.9b
(/.f64 (/.f64 2 x) x)
15.3b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.5b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
32.3b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
31.6b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
46.9b
(*.f64 (/.f64 2 x) (/.f64 1 x))
31.1b
1
Compiler

Compiled 53 to 40 computations (24.5% saved)

regimes17.0ms (0.8%)

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

5 calls:

5.0ms
x
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(+.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 2 (+.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 88 to 61 computations (30.7% saved)

regimes16.0ms (0.7%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.1b3x
Compiler

Compiled 44 to 28 computations (36.4% saved)

bsearch46.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
28.0ms
926469.748887731
225775761996459.44
18.0ms
-1075901689414.2296
-44.67193968812822
Results
42.0ms304×body256valid
Compiler

Compiled 393 to 314 computations (20.1% saved)

regimes6.0ms (0.3%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
15.3b1x
Compiler

Compiled 35 to 22 computations (37.1% saved)

regimes46.0ms (2.1%)

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

1 calls:

45.0ms
x
Results
ErrorSegmentsBranch
15.3b3x
Compiler

Compiled 28 to 18 computations (35.7% saved)

bsearch29.0ms (1.3%)

Algorithm
binary-search
Steps
TimeLeftRight
12.0ms
1.2158291216509898
8.256553625253845
17.0ms
-44.67193968812822
-2.59541282204558e-6
Results
26.0ms240×body256valid
Compiler

Compiled 253 to 190 computations (24.9% saved)

regimes11.0ms (0.5%)

Accuracy

Total -46.5b remaining (-299.9%)

Threshold costs -46.5b (-299.9%)

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

1 calls:

10.0ms
x
Results
ErrorSegmentsBranch
15.5b3x
Compiler

Compiled 21 to 14 computations (33.3% saved)

bsearch36.0ms (1.6%)

Algorithm
binary-search
Steps
TimeLeftRight
11.0ms
1.2158291216509898
8.256553625253845
25.0ms
-44.67193968812822
-2.59541282204558e-6
Results
33.0ms240×body256valid
Compiler

Compiled 163 to 130 computations (20.2% saved)

simplify8.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034128
143128
244128
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 1 (cosh.f64 x))
(if (<=.f64 x -14200) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))
(/.f64 2 (+.f64 2 (*.f64 x x)))
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x))))
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x))))
1
Outputs
(/.f64 1 (cosh.f64 x))
(if (<=.f64 x -14200) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))
(if (<=.f64 x -14200) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (if (<=.f64 x 140000000) (/.f64 2 (+.f64 2 (*.f64 x x))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1)))
(/.f64 2 (+.f64 2 (*.f64 x x)))
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x))))
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5/4) (+.f64 1 (*.f64 (*.f64 x x) -1/2)) (/.f64 2 (*.f64 x x))))
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x))))
1
Compiler

Compiled 95 to 65 computations (31.6% saved)

soundness67.0ms (3%)

Algorithm
egg-herbie
Rules
643×fma-def_binary64
488×associate-*l*_binary64
407×associate-/l*_binary64
394×distribute-rgt-in_binary64
393×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
094566
1223550
2836413
34593335
Stop Event
node limit
Compiler

Compiled 56 to 45 computations (19.6% saved)

end50.0ms (2.3%)

Compiler

Compiled 90 to 57 computations (36.7% saved)

Profiling

Loading profile data...