Details

Time bar (total: 2.4s)

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)

sample704.0ms (29.2%)

Results
694.0ms8256×body256valid
Bogosity

preprocess95.0ms (3.9%)

Algorithm
egg-herbie
Rules
1198×fma-def
778×sqr-pow
712×fabs-mul
684×*-commutative
530×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
11725
22225
32925
44925
59125
619625
741725
898925
9238025
10338225
11457525
12627025
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)

simplify95.0ms (3.9%)

Algorithm
egg-herbie
Rules
1198×fma-def
778×sqr-pow
712×fabs-mul
684×*-commutative
530×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
11725
22225
32925
44925
59125
619625
741725
898925
9238025
10338225
11457525
12627025
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.3%)

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)

series2.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))))
0.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)))

rewrite70.0ms (2.9%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
222×add-sqr-sqrt
222×add-sqr-sqrt
210×add-exp-log
210×pow1
210×*-un-lft-identity
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
121634
2327334
01017
121617
2327317
01017
0811
116911
2261611
0811
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 (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 *.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 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 exp.f64 (log.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 *.f64 1 (*.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 (*.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 2 (cosh.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 /.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 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 exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))))))

simplify54.0ms (2.2%)

Algorithm
egg-herbie
Rules
1420×associate-*r*
1162×associate-+r+
996×associate-*l*
988×associate-+l+
846×associate-/l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
096998
1227966
2902692
35000692
Stop Event
node limit
Counts
46 → 53
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 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.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)))))
(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)))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (*.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 2 (cosh.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))))
(/.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))))))
(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))))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))
(log1p.f64 (expm1.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)))))
(+.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 (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 (pow.f64 x 4) 1/12 (*.f64 x x)))
(fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 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 (pow.f64 x 4) 1/12 (*.f64 x x))))
(fma.f64 (pow.f64 x 6) 1/360 (fma.f64 (pow.f64 x 4) 1/12 (fma.f64 x x 2)))
(+.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 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))
(+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(+.f64 (exp.f64 (neg.f64 x)) (exp.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 (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))
(*.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))
(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))
(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))
(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))
(*.f64 1 (*.f64 2 (cosh.f64 x)))
(*.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 (cbrt.f64 (*.f64 2 (cosh.f64 x))) (cbrt.f64 (*.f64 2 (cosh.f64 x)))) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(*.f64 2 (cosh.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))))
(*.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 (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 (exp.f64 (*.f64 3 x)) (exp.f64 (*.f64 x -3))) (+.f64 (pow.f64 (exp.f64 2) x) (expm1.f64 (*.f64 x -2))))
(pow.f64 (*.f64 2 (cosh.f64 x)) 1)
(*.f64 2 (cosh.f64 x))
(log.f64 (exp.f64 (*.f64 2 (cosh.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 2 (cosh.f64 x))
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(exp.f64 (log.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))
(log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 x))))
(*.f64 2 (cosh.f64 x))

eval13.0ms (0.5%)

Compiler

Compiled 654 to 443 computations (32.3% saved)

prune7.0ms (0.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49453
Fresh000
Picked101
Done000
Total50454
Error
0b
Counts
54 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
14.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
0.0b
(/.f64 1 (cosh.f64 x))
31.0b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
30.6b
1
Compiler

Compiled 23 to 18 computations (21.7% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite80.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
1076×add-sqr-sqrt
1058×*-un-lft-identity
1006×pow1
986×add-cube-cbrt
978×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112213
2140913
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 -1/2 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(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 (pow.f64 (*.f64 -1/2 (*.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 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))

simplify39.0ms (1.6%)

Algorithm
egg-herbie
Rules
1470×distribute-rgt-in
1446×distribute-lft-in
1164×log-prod
760×associate-*r*
704×associate-+r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
193299
2347299
31912299
Stop Event
node limit
Counts
23 → 14
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))
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 -1/2 (*.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 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1/3)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(cbrt.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 9 to 5 computations (44.4% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.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))

rewrite70.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
1290×add-sqr-sqrt
1272×*-un-lft-identity
1180×add-cube-cbrt
1166×add-cbrt-cube
1156×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114011
2163011
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(/.f64 1 (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 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (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)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)))) (#(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 (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 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 (cosh.f64 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3)))) (#(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 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 exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))))

simplify49.0ms (2%)

Algorithm
egg-herbie
Rules
1416×associate-/r*
1090×associate-*r*
870×associate-*l*
710×distribute-lft-neg-out
678×distribute-rgt-neg-out
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
075851
1178847
2592487
33111481
Stop Event
node limit
Counts
33 → 39
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)))
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(*.f64 (pow.f64 (cosh.f64 x) -1/2) (pow.f64 (cosh.f64 x) -1/2))
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))
(*.f64 -1 (/.f64 1 (neg.f64 (cosh.f64 x))))
(*.f64 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)
(*.f64 (pow.f64 (sqrt.f64 (cosh.f64 x)) -1) (pow.f64 (sqrt.f64 (cosh.f64 x)) -1))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(pow.f64 (cosh.f64 x) -1)
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(pow.f64 (pow.f64 (cosh.f64 x) -1/2) 2)
(pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3)
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)
(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))))
(exp.f64 (neg.f64 (log.f64 (cosh.f64 x))))
(log1p.f64 (expm1.f64 (/.f64 1 (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)))))
(+.f64 (fma.f64 -61/720 (pow.f64 x 6) (*.f64 x (*.f64 -1/2 x))) (fma.f64 5/24 (pow.f64 x 4) 1))
(/.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))
(-.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 (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 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(*.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -2)) (cbrt.f64 (/.f64 1 (cosh.f64 x))))
(*.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) (cbrt.f64 (pow.f64 (cosh.f64 x) -2)))
(*.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 (/.f64 1 (*.f64 2 (cosh.f64 x))) 2)
(/.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))
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))
(/.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (cbrt.f64 (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 (cosh.f64 x) -1/2) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (cbrt.f64 (/.f64 1 (cosh.f64 x))) 3)
(/.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))
(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))
(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))
(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))

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 9 computations (50% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite60.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1624×add-sqr-sqrt
1596×*-un-lft-identity
1500×add-cube-cbrt
1490×add-cbrt-cube
154×pow1
Iterations

Useful iterations: 1 (0.0ms)

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

simplify68.0ms (2.8%)

Algorithm
egg-herbie
Rules
794×associate-/r*
672×unswap-sqr
632×associate-+l-
610×associate-+r-
532×+-commutative
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01581594
13651536
215491504
362131504
Stop Event
node limit
Counts
80 → 94
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)))))
2
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(+.f64 2 (pow.f64 x 2))
(-.f64 (exp.f64 (log1p.f64 (/.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 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) (sqrt.f64 (/.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 (/.f64 1 (fma.f64 x x 2)) 2)
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)
(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))))
(log.f64 (+.f64 1 (expm1.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))))
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))))
(exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))) 1))
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x 2))) 1)
(-.f64 (/.f64 4 (-.f64 2 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 2 (*.f64 x x))))
(*.f64 (fma.f64 x x 2) 1)
(*.f64 1 (fma.f64 x x 2))
(*.f64 (sqrt.f64 (fma.f64 x x 2)) (sqrt.f64 (fma.f64 x x 2)))
(*.f64 (cbrt.f64 (fma.f64 x x 2)) (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2) (cbrt.f64 (fma.f64 x x 2)))
(*.f64 (-.f64 4 (pow.f64 x 4)) (/.f64 1 (-.f64 2 (*.f64 x x))))
(*.f64 (+.f64 8 (pow.f64 x 6)) (/.f64 1 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))
(/.f64 1 (/.f64 (-.f64 2 (*.f64 x x)) (-.f64 4 (pow.f64 x 4))))
(/.f64 1 (/.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))) (+.f64 8 (pow.f64 x 6))))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 4 (*.f64 2 (*.f64 x x)))))
(/.f64 (neg.f64 (-.f64 4 (pow.f64 x 4))) (neg.f64 (-.f64 2 (*.f64 x x))))
(/.f64 (neg.f64 (+.f64 8 (pow.f64 x 6))) (neg.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))
(/.f64 (-.f64 (pow.f64 x 4) 4) (-.f64 (*.f64 x x) 2))
(pow.f64 (fma.f64 x x 2) 1)
(pow.f64 (sqrt.f64 (fma.f64 x x 2)) 2)
(pow.f64 (cbrt.f64 (fma.f64 x x 2)) 3)
(pow.f64 (pow.f64 (fma.f64 x x 2) 3) 1/3)
(sqrt.f64 (pow.f64 (fma.f64 x x 2) 2))
(log.f64 (exp.f64 (fma.f64 x x 2)))
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 2))))
(cbrt.f64 (pow.f64 (fma.f64 x x 2) 3))
(expm1.f64 (log1p.f64 (fma.f64 x x 2)))
(exp.f64 (log.f64 (fma.f64 x x 2)))
(exp.f64 (*.f64 (log.f64 (fma.f64 x x 2)) 1))
(log1p.f64 (expm1.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(fma.f64 1 (*.f64 x x) 2)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 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))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) 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)))))
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/8 (pow.f64 x 6) (*.f64 -1/2 (*.f64 x x)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/8 (pow.f64 x 6)))))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 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 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 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) (/.f64 8 (pow.f64 x 6)))
(-.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 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))))
(+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 16 (pow.f64 x 8))))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 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 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 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) (/.f64 8 (pow.f64 x 6)))
(-.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 2 (*.f64 x x)) (-.f64 (/.f64 8 (pow.f64 x 6)) (+.f64 (/.f64 4 (pow.f64 x 4)) (/.f64 16 (pow.f64 x 8)))))
(+.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4))) (-.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 16 (pow.f64 x 8))))
2
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(+.f64 2 (pow.f64 x 2))
(fma.f64 x x 2)
(-.f64 (exp.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2)))) 1)
(/.f64 2 (fma.f64 x x 2))
(*.f64 2 (/.f64 1 (fma.f64 x x 2)))
(/.f64 2 (fma.f64 x x 2))
(*.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(/.f64 2 (fma.f64 x x 2))
(*.f64 1 (/.f64 2 (fma.f64 x x 2)))
(/.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 (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 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 2 (fma.f64 x x 2))
(*.f64 (/.f64 1 (fma.f64 x x 2)) 2)
(/.f64 2 (fma.f64 x x 2))
(*.f64 -2 (/.f64 1 (neg.f64 (fma.f64 x x 2))))
(/.f64 2 (fma.f64 x x 2))
(*.f64 (/.f64 2 (-.f64 4 (pow.f64 x 4))) (-.f64 2 (*.f64 x x)))
(/.f64 (*.f64 2 (-.f64 2 (*.f64 x x))) (-.f64 4 (pow.f64 x 4)))
(/.f64 2 (/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x))))
(/.f64 2 (/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2)))
(*.f64 -2 (/.f64 (fma.f64 x x -2) (-.f64 4 (pow.f64 x 4))))
(*.f64 (/.f64 2 (+.f64 8 (pow.f64 x 6))) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (*.f64 2 (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4)) (+.f64 (pow.f64 x 6) 8))
(pow.f64 (/.f64 2 (fma.f64 x x 2)) 1)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 x x 2))) 2)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 x x 2))) 3)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3) 1/3)
(/.f64 2 (fma.f64 x x 2))
(pow.f64 (*.f64 (fma.f64 x x 2) 1/2) -1)
(/.f64 2 (fma.f64 x x 2))
(sqrt.f64 (/.f64 4 (pow.f64 (fma.f64 x x 2) 2)))
(log.f64 (exp.f64 (/.f64 2 (fma.f64 x x 2))))
(/.f64 2 (fma.f64 x x 2))
(log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (fma.f64 x x 2)))))
(/.f64 2 (fma.f64 x x 2))
(cbrt.f64 (pow.f64 (/.f64 2 (fma.f64 x x 2)) 3))
(/.f64 2 (fma.f64 x x 2))
(expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 x x 2))))
(/.f64 2 (fma.f64 x x 2))
(exp.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))))
(/.f64 2 (fma.f64 x x 2))
(exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 x x 2))) 1))
(/.f64 2 (fma.f64 x x 2))
(log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 x x 2))))
(/.f64 2 (fma.f64 x x 2))
(-.f64 (exp.f64 (log1p.f64 (fma.f64 x x 2))) 1)
(fma.f64 x x 2)
(-.f64 (/.f64 4 (-.f64 2 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 2 (*.f64 x x))))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(*.f64 (fma.f64 x x 2) 1)
(fma.f64 x x 2)
(*.f64 1 (fma.f64 x x 2))
(fma.f64 x x 2)
(*.f64 (sqrt.f64 (fma.f64 x x 2)) (sqrt.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(*.f64 (cbrt.f64 (fma.f64 x x 2)) (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2))
(fma.f64 x x 2)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 2)) 2) (cbrt.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(*.f64 (-.f64 4 (pow.f64 x 4)) (/.f64 1 (-.f64 2 (*.f64 x x))))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(*.f64 (+.f64 8 (pow.f64 x 6)) (/.f64 1 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.f64 1 (/.f64 (-.f64 2 (*.f64 x x)) (-.f64 4 (pow.f64 x 4))))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(/.f64 1 (/.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))) (+.f64 8 (pow.f64 x 6))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.f64 (+.f64 8 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 4 (*.f64 2 (*.f64 x x)))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.f64 (neg.f64 (-.f64 4 (pow.f64 x 4))) (neg.f64 (-.f64 2 (*.f64 x x))))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(/.f64 (neg.f64 (+.f64 8 (pow.f64 x 6))) (neg.f64 (+.f64 4 (*.f64 (*.f64 x x) (-.f64 (*.f64 x x) 2)))))
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) 8) 1) (+.f64 4 (*.f64 (*.f64 x x) (fma.f64 x x -2))))
(/.f64 (+.f64 (pow.f64 x 6) 8) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.f64 (-.f64 (pow.f64 x 4) 4) (-.f64 (*.f64 x x) 2))
(/.f64 (-.f64 4 (pow.f64 x 4)) (-.f64 2 (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 4) -4) (fma.f64 x x -2))
(pow.f64 (fma.f64 x x 2) 1)
(fma.f64 x x 2)
(pow.f64 (sqrt.f64 (fma.f64 x x 2)) 2)
(fma.f64 x x 2)
(pow.f64 (cbrt.f64 (fma.f64 x x 2)) 3)
(fma.f64 x x 2)
(pow.f64 (pow.f64 (fma.f64 x x 2) 3) 1/3)
(fma.f64 x x 2)
(sqrt.f64 (pow.f64 (fma.f64 x x 2) 2))
(fma.f64 x x 2)
(log.f64 (exp.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 2))))
(fma.f64 x x 2)
(cbrt.f64 (pow.f64 (fma.f64 x x 2) 3))
(fma.f64 x x 2)
(expm1.f64 (log1p.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(exp.f64 (log.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(exp.f64 (*.f64 (log.f64 (fma.f64 x x 2)) 1))
(fma.f64 x x 2)
(log1p.f64 (expm1.f64 (fma.f64 x x 2)))
(fma.f64 x x 2)
(fma.f64 x x 2)
(fma.f64 1 (*.f64 x x) 2)
(fma.f64 x x 2)
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) 2)

eval35.0ms (1.5%)

Compiler

Compiled 1613 to 1158 computations (28.2% saved)

prune50.0ms (2.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1461147
Fresh011
Picked011
Done022
Total1465151
Error
0b
Counts
151 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
14.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
45.9b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
31.0b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
30.6b
1
Compiler

Compiled 29 to 22 computations (24.1% 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%)

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

rewrite48.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
1198×add-sqr-sqrt
1176×*-un-lft-identity
1120×pow1
1100×add-cube-cbrt
1092×add-cbrt-cube
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112813
2156313
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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 2 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (*.f64 x (neg.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 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (pow.f64 (/.f64 2 (*.f64 x x)) 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 (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 exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))))))

simplify44.0ms (1.8%)

Algorithm
egg-herbie
Rules
1406×distribute-rgt-in
1398×associate-/r*
1372×distribute-lft-in
992×associate-+r+
956×associate-+l+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057485
1134485
2448485
32605485
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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 2 x) (/.f64 1 x))
(*.f64 (pow.f64 x -2) 2)
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(pow.f64 (/.f64 2 (*.f64 x x)) 1)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 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 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.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 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) 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 (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 2 x) (/.f64 1 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 -2 (/.f64 1 (*.f64 x (neg.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 (/.f64 (sqrt.f64 2) x) 2)
(/.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 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(/.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)))
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))
(/.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))
(exp.f64 (log.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))

eval4.0ms (0.2%)

Compiler

Compiled 186 to 129 computations (30.6% saved)

prune6.0ms (0.2%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New22224
Fresh011
Picked011
Done033
Total22729
Error
0b
Counts
29 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
14.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
45.9b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
33.5b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
31.0b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
46.2b
(*.f64 (/.f64 2 x) (/.f64 1 x))
30.6b
1
Compiler

Compiled 47 to 36 computations (23.4% 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)

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

rewrite79.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
1504×add-sqr-sqrt
1480×*-un-lft-identity
1386×add-cube-cbrt
1368×add-cbrt-cube
1352×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
117013
2199413
Stop Event
node limit
Counts
1 → 36
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 x (/.f64 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 (*.f64 x 1/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 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))))) (#(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 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (*.f64 (neg.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -2 (neg.f64 (*.f64 x x)))))) (#(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 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))))) (#(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 /.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) 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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.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 pow.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)))) (#(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 expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))))))

simplify69.0ms (2.9%)

Algorithm
egg-herbie
Rules
1148×associate-/r/
954×distribute-lft-in
948×distribute-rgt-in
866×associate-*r*
678×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094628
1212628
2676628
33309628
Stop Event
node limit
Counts
48 → 38
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 x (/.f64 2 x)))
(/.f64 1 (*.f64 x (*.f64 x 1/2)))
(/.f64 1 (/.f64 (*.f64 x x) 2))
(/.f64 1 (*.f64 (*.f64 x 1/2) x))
(/.f64 (/.f64 1 x) (*.f64 x 1/2))
(/.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 x (cbrt.f64 (/.f64 2 x))))
(/.f64 -2 (*.f64 x (neg.f64 x)))
(/.f64 -2 (*.f64 (neg.f64 x) x))
(/.f64 -2 (neg.f64 (*.f64 x x)))
(/.f64 -1 (*.f64 (*.f64 x 1/2) (neg.f64 x)))
(/.f64 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))
(/.f64 (*.f64 (/.f64 2 x) -1) (neg.f64 x))
(/.f64 (*.f64 (/.f64 1 x) -2) (neg.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) x)
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (/.f64 2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)
(pow.f64 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)
(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))
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))
(log1p.f64 (expm1.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 x (/.f64 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 (*.f64 x 1/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 (sqrt.f64 (/.f64 2 x)) (/.f64 x (sqrt.f64 (/.f64 2 x))))
(/.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 -2 (*.f64 x (neg.f64 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 (neg.f64 (*.f64 x x)))
(/.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 -1 (*.f64 (neg.f64 x) (*.f64 x 1/2)))
(/.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))
(/.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) 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) (pow.f64 (cbrt.f64 x) 2)) (cbrt.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))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(pow.f64 (/.f64 (sqrt.f64 2) 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 (pow.f64 (*.f64 2 (pow.f64 x -2)) 3) 1/3)
(/.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))
(expm1.f64 (log1p.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))
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))
(/.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))

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

Compiled 28 to 16 computations (42.9% saved)

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

rewrite64.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
1950×add-sqr-sqrt
1924×*-un-lft-identity
1812×add-cube-cbrt
1802×add-cbrt-cube
196×pow1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0925
120413
2277913
Stop Event
node limit
Counts
1 → 56
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 (pow.f64 x -2)) 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 (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 1 (*.f64 2 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 x -2)) 1)))) (#(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 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (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 (pow.f64 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 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) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 2))))))) (#(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 (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 (*.f64 2 (pow.f64 x -2)) 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 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 (/.f64 2 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (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 (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) 3) -1) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 -2 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x 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) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))))) (#(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 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 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2)))))) (#(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 (pow.f64 x -2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 2 x)) (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 (/.f64 (sqrt.f64 2) x) 2)))) (#(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 (*.f64 x x) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x 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 exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))))) (#(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 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -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)))))

simplify112.0ms (4.6%)

Algorithm
egg-herbie
Rules
1054×associate-+r-
902×associate--l+
818×associate-+l-
728×associate-*r*
726×associate-*l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01411740
13381634
210371622
349781622
Stop Event
node limit
Counts
68 → 76
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 (pow.f64 x -2)) 0)
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))
(*.f64 1 (*.f64 2 (pow.f64 x -2)))
(*.f64 2 (pow.f64 x -2))
(*.f64 (*.f64 2 (pow.f64 x -2)) 1)
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(*.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 (pow.f64 x -2))))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 2)))
(*.f64 (pow.f64 x -2) 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 (pow.f64 x -2)) 2))))
(*.f64 -2 (/.f64 1 (*.f64 x (neg.f64 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 (*.f64 2 (pow.f64 x -2)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 2)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3) -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 (/.f64 2 x) x)
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) 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 -1 (neg.f64 (*.f64 (*.f64 x x) 1/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 (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 -2 (*.f64 x (neg.f64 x)))
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x)))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 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)))
(/.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 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 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 (pow.f64 x -2)) 2))))
(/.f64 (neg.f64 (/.f64 2 x)) (neg.f64 x))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3)
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2)))))
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)))
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))
(fma.f64 1 (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)
(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)
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 1 (fma.f64 2 (pow.f64 x -2) -1))
(/.f64 2 (*.f64 x x))
(+.f64 1 (*.f64 (fma.f64 2 (pow.f64 x -2) -1) 1))
(/.f64 2 (*.f64 x x))
(+.f64 (*.f64 2 (pow.f64 x -2)) 0)
(/.f64 2 (*.f64 x x))
(+.f64 (fma.f64 2 (pow.f64 x -2) 1) -1)
(/.f64 2 (*.f64 x x))
(+.f64 (fma.f64 2 (pow.f64 x -2) -1) 1)
(/.f64 2 (*.f64 x x))
(+.f64 -1 (fma.f64 2 (pow.f64 x -2) 1))
(/.f64 2 (*.f64 x x))
(*.f64 1 (*.f64 2 (pow.f64 x -2)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x -2))
(/.f64 2 (*.f64 x x))
(*.f64 (*.f64 2 (pow.f64 x -2)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(/.f64 2 (*.f64 x x))
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.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 (pow.f64 x -2))))
(*.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (cbrt.f64 (/.f64 4 (pow.f64 x 4))))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(/.f64 2 (*.f64 x x))
(*.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2 (pow.f64 x -2)) 2)))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2)))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2))
(*.f64 (pow.f64 x -2) 2)
(/.f64 2 (*.f64 x 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 -2 (/.f64 1 (*.f64 x (neg.f64 x))))
(/.f64 2 (*.f64 x x))
(*.f64 (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1) (-.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) 1))
(*.f64 (+.f64 1 (hypot.f64 1 (/.f64 (sqrt.f64 2) x))) (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1))
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)
(/.f64 1 (*.f64 (*.f64 x x) 1/2))
(/.f64 2 (*.f64 x x))
(/.f64 1 (/.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2)))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (+.f64 (*.f64 2 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 x x) 1/2) 1))
(/.f64 2 (*.f64 x x))
(/.f64 2 (*.f64 x x))
(/.f64 2 (neg.f64 (*.f64 x (neg.f64 x))))
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 2 x) x)
(/.f64 2 (*.f64 x x))
(/.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1) (+.f64 (*.f64 2 (pow.f64 x -2)) 2))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2)))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 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 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2)))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 2))
(/.f64 -1 (neg.f64 (*.f64 (*.f64 x x) 1/2)))
(/.f64 2 (*.f64 x 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 -2 (*.f64 x (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 2 (cbrt.f64 (pow.f64 x 4))) (cbrt.f64 (*.f64 x x)))
(/.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x))))
(/.f64 (/.f64 (/.f64 2 x) 1) x)
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 (/.f64 2 x) (sqrt.f64 x)) (sqrt.f64 x))
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 (/.f64 2 x) (cbrt.f64 (*.f64 x x))) (cbrt.f64 x))
(/.f64 2 (*.f64 (cbrt.f64 x) (*.f64 x (cbrt.f64 (*.f64 x x)))))
(/.f64 2 (*.f64 x (*.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x))))
(/.f64 2 (*.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) 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)))
(/.f64 (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 -2 (pow.f64 x -2) 1) 1) (+.f64 (/.f64 (/.f64 -2 x) x) 2))
(/.f64 (*.f64 (/.f64 2 (*.f64 x x)) (+.f64 2 (/.f64 -2 (*.f64 x x)))) (+.f64 2 (/.f64 -2 (*.f64 x 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 (pow.f64 (fma.f64 2 (pow.f64 x -2) -1) 3)) (+.f64 1 (fma.f64 (fma.f64 2 (pow.f64 x -2) -1) (fma.f64 2 (pow.f64 x -2) -1) (neg.f64 (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 (*.f64 x x)) -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 -2 (/.f64 -2 (*.f64 x x))) 1))
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2 (pow.f64 x -2)) 2)))
(*.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (/.f64 1 (fma.f64 2 (pow.f64 x -2) 2)))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2)) (fma.f64 2 (pow.f64 x -2) 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 (pow.f64 x -2)) 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) (fma.f64 2 (pow.f64 x -2) 2))))
(/.f64 (+.f64 -1 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 3)) (+.f64 (pow.f64 (fma.f64 2 (pow.f64 x -2) 1) 2) (fma.f64 2 (pow.f64 x -2) 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 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 2 x)) (neg.f64 x))
(/.f64 2 (*.f64 x x))
(pow.f64 (*.f64 2 (pow.f64 x -2)) 1)
(/.f64 2 (*.f64 x x))
(pow.f64 (/.f64 (sqrt.f64 2) x) 2)
(/.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 x -2))) 3)
(/.f64 2 (*.f64 x x))
(pow.f64 (*.f64 (*.f64 x x) 1/2) -1)
(/.f64 2 (*.f64 x x))
(pow.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)) 1/3)
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)))
(cbrt.f64 (/.f64 8 (pow.f64 x 6)))
(sqrt.f64 (/.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (pow.f64 x -2)))
(/.f64 2 (*.f64 x x))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x -2)))))
(/.f64 2 (*.f64 x x))
(cbrt.f64 (/.f64 8 (pow.f64 (*.f64 x x) 3)))
(cbrt.f64 (/.f64 8 (pow.f64 x 6)))
(expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x -2))) 1))
(/.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x -2))))
(/.f64 2 (*.f64 x x))
(fma.f64 1 (fma.f64 2 (pow.f64 x -2) 1) -1)
(/.f64 2 (*.f64 x x))
(fma.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -1)
(*.f64 (+.f64 1 (hypot.f64 1 (/.f64 (sqrt.f64 2) x))) (+.f64 (hypot.f64 1 (/.f64 (sqrt.f64 2) x)) -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)
(/.f64 2 (*.f64 x x))

eval67.0ms (2.8%)

Compiler

Compiled 1618 to 1275 computations (21.2% saved)

prune17.0ms (0.7%)

Pruning

9 alts after pruning (3 fresh and 6 done)

PrunedKeptTotal
New1362138
Fresh011
Picked011
Done055
Total1369145
Error
0b
Counts
145 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
46.2b
(/.f64 (/.f64 2 x) x)
45.9b
(/.f64 2 (/.f64 x (/.f64 1 x)))
14.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
45.9b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
33.5b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
31.0b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
46.2b
(*.f64 (/.f64 2 x) (/.f64 1 x))
30.6b
1
Compiler

Compiled 61 to 46 computations (24.6% saved)

regimes13.0ms (0.5%)

Counts
10 → 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 2 (/.f64 x (/.f64 1 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

3 calls:

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

Compiled 79 to 54 computations (31.6% saved)

regimes16.0ms (0.7%)

Counts
8 → 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 2 (/.f64 x (/.f64 1 x)))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
Outputs
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
Calls

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.8b3x
Compiler

Compiled 51 to 33 computations (35.3% saved)

bsearch55.0ms (2.3%)

Algorithm
binary-search
Steps
TimeLeftRight
38.0ms
1.7501427039274028e-6
3087.9381171339805
17.0ms
-982.7266498769322
-0.005665755189545006
Results
51.0ms288×body256valid
Compiler

Compiled 373 to 298 computations (20.1% saved)

regimes7.0ms (0.3%)

Counts
7 → 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 2 (/.f64 x (/.f64 1 x)))
Outputs
(/.f64 2 (+.f64 2 (*.f64 x x)))
Calls

1 calls:

6.0ms
x
Results
ErrorSegmentsBranch
14.1b1x
Compiler

Compiled 42 to 27 computations (35.7% saved)

regimes44.0ms (1.8%)

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:

43.0ms
x
Results
ErrorSegmentsBranch
14.1b3x
Compiler

Compiled 28 to 18 computations (35.7% saved)

bsearch34.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
18.0ms
1.7501427039274028e-6
3087.9381171339805
16.0ms
-982.7266498769322
-0.005665755189545006
Results
30.0ms288×body256valid
Compiler

Compiled 301 to 226 computations (24.9% saved)

regimes13.0ms (0.5%)

Accuracy

Total -47.8b remaining (-333.4%)

Threshold costs -47.8b (-333.4%)

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:

12.0ms
x
Results
ErrorSegmentsBranch
14.3b3x
Compiler

Compiled 21 to 14 computations (33.3% saved)

bsearch38.0ms (1.6%)

Algorithm
binary-search
Steps
TimeLeftRight
17.0ms
1.7501427039274028e-6
3087.9381171339805
20.0ms
-982.7266498769322
-0.005665755189545006
Results
33.0ms288×body256valid
Compiler

Compiled 193 to 154 computations (20.2% saved)

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative
if-if-or-not
sub-neg
1-exp
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034196
152196
253196
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 1 (cosh.f64 x))
(if (<=.f64 x -5/4) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/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 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x))))
(if (<=.f64 x -799388933858263/562949953421312) (/.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 -5/4) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))
(if (or (<=.f64 x -5/4) (not (<=.f64 x 5404319552844595/4503599627370496))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (+.f64 1 (*.f64 (*.f64 x x) -1/2)))
(/.f64 2 (+.f64 2 (*.f64 x x)))
(if (<=.f64 x -5/4) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 5404319552844595/4503599627370496) (+.f64 1 (*.f64 -1/2 (*.f64 x x))) (/.f64 2 (*.f64 x x))))
(if (or (<=.f64 x -5/4) (not (<=.f64 x 5404319552844595/4503599627370496))) (/.f64 2 (*.f64 x x)) (+.f64 1 (*.f64 (*.f64 x x) -1/2)))
(if (<=.f64 x -799388933858263/562949953421312) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x))))
(if (or (<=.f64 x -799388933858263/562949953421312) (not (<=.f64 x 3152519739159347/2251799813685248))) (/.f64 2 (*.f64 x x)) 1)
1
Compiler

Compiled 79 to 58 computations (26.6% saved)

soundness92.0ms (3.8%)

Algorithm
egg-herbie
Rules
1420×associate-*r*
1162×associate-+r+
996×associate-*l*
988×associate-+l+
846×associate-/l*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
096998
1227966
2902692
35000692
Stop Event
node limit
Compiler

Compiled 53 to 27 computations (49.1% saved)

end43.0ms (1.8%)

Compiler

Compiled 74 to 50 computations (32.4% saved)

Profiling

Loading profile data...