Details

Time bar (total: 3.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)

sample1.3s (36.5%)

Results
1.2s8256×body256valid
Bogosity

preprocess89.0ms (2.6%)

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)

simplify96.0ms (2.8%)

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.2%)

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

rewrite104.0ms (3%)

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

simplify58.0ms (1.7%)

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

eval56.0ms (1.6%)

Compiler

Compiled 654 to 443 computations (32.3% saved)

prune7.0ms (0.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

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

Compiled 31 to 25 computations (19.4% saved)

localize14.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

Compiled 37 to 25 computations (32.4% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite87.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1744×add-sqr-sqrt
1724×*-un-lft-identity
1604×add-cube-cbrt
1590×add-cbrt-cube
182×pow1
Iterations

Useful iterations: 0 (0.0ms)

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

simplify62.0ms (1.8%)

Algorithm
egg-herbie
Rules
1514×distribute-rgt-in
1508×distribute-lft-in
1364×associate-*r*
1136×associate-*l*
656×associate-*r/
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01162158
12812114
28231118
358931118
Stop Event
node limit
Counts
82 → 60
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 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 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)
(*.f64 2 (/.f64 1/2 (cosh.f64 x)))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(*.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4) (*.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4) (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (*.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2)
(*.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4)) (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4))
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(pow.f64 (cosh.f64 x) -1)
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(pow.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)) 1/2)
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
(fabs.f64 (/.f64 1 (cosh.f64 x)))
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))
(log.f64 (+.f64 1 (expm1.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))))
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))
(exp.f64 (*.f64 (*.f64 1/2 (neg.f64 (log.f64 (cosh.f64 x)))) 2))
(log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2)))
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x)))
(/.f64 1 (cosh.f64 x))
(/.f64 -2 (*.f64 (cosh.f64 x) -2))
(/.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 2)) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (*.f64 (sqrt.f64 2) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (/.f64 2 (cosh.f64 x)) 2)
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))
(/.f64 -1 (neg.f64 (cosh.f64 x)))
(pow.f64 (cosh.f64 x) -1)
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(pow.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)) 1/2)
(pow.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 3) 1/3)
(sqrt.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
(fabs.f64 (/.f64 1 (cosh.f64 x)))
(log.f64 (exp.f64 (/.f64 1 (cosh.f64 x))))
(log.f64 (+.f64 1 (expm1.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))))
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))
(exp.f64 (*.f64 (*.f64 1/2 (neg.f64 (log.f64 (cosh.f64 x)))) 2))
(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 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -61/720 (pow.f64 x 6)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -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 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) (*.f64 -61/720 (pow.f64 x 6)))))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 2 (/.f64 1/2 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (sqrt.f64 (cosh.f64 x))))
(/.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 (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4) (*.f64 (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4) (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (*.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))))))
(/.f64 (/.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)) (*.f64 (cbrt.f64 (cosh.f64 x)) (sqrt.f64 (cosh.f64 x))))
(*.f64 (pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 2) (/.f64 1 (cbrt.f64 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1/2 (cosh.f64 x)) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 -2 (/.f64 1 (*.f64 (cosh.f64 x) -2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4)) (pow.f64 (/.f64 1 (cosh.f64 x)) 1/4))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 1 (cbrt.f64 (cosh.f64 x)))) (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))))
(*.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))))))
(/.f64 (/.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (sqrt.f64 (cosh.f64 x))) (cbrt.f64 (cosh.f64 x)))
(/.f64 (cbrt.f64 (pow.f64 (cosh.f64 x) -1/2)) (*.f64 (cbrt.f64 (cosh.f64 x)) (sqrt.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 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)) 1/2)
(/.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 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(fabs.f64 (/.f64 1 (cosh.f64 x)))
(/.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))
(log.f64 (+.f64 1 (expm1.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))
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (*.f64 (*.f64 1/2 (neg.f64 (log.f64 (cosh.f64 x)))) 2))
(/.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))
(-.f64 (exp.f64 (log1p.f64 (/.f64 1 (cosh.f64 x)))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (*.f64 2 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (neg.f64 (*.f64 (cosh.f64 x) -2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 -2 (*.f64 (cosh.f64 x) -2))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 (*.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (sqrt.f64 2)) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 2)))
(/.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x))))
(/.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (cosh.f64 x)))
(/.f64 (*.f64 (sqrt.f64 2) (/.f64 1 (sqrt.f64 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) (/.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 2)))
(/.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 x))) (sqrt.f64 (cosh.f64 x))))
(/.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (cosh.f64 x)))
(/.f64 (/.f64 2 (cosh.f64 x)) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 (/.f64 2 (sqrt.f64 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 (/.f64 2 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 x))) 2)) (cbrt.f64 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2)) (cbrt.f64 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 -1 (neg.f64 (cosh.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (cosh.f64 x) -1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (cosh.f64 x)) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (sqrt.f64 (cosh.f64 x))) 2)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (cbrt.f64 (cosh.f64 x))) 3)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 1 (pow.f64 (cosh.f64 x) 2)) 1/2)
(/.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 (/.f64 1 (pow.f64 (cosh.f64 x) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(fabs.f64 (/.f64 1 (cosh.f64 x)))
(/.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))
(log.f64 (+.f64 1 (expm1.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))
(exp.f64 (*.f64 (neg.f64 (log.f64 (cosh.f64 x))) 1))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (*.f64 (*.f64 1/2 (neg.f64 (log.f64 (cosh.f64 x)))) 2))
(/.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))

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

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite95.0ms (2.8%)

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

simplify48.0ms (1.4%)

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

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 18 to 9 computations (50% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
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 2 (*.f64 x x)))

rewrite97.0ms (2.8%)

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
0719
115715
2203915
Stop Event
node limit
Counts
1 → 24
Calls
Call 1
Inputs
(/.f64 2 (+.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))))))))

simplify50.0ms (1.5%)

Algorithm
egg-herbie
Rules
1628×associate-/l*
1470×associate-/r*
1322×associate-*r*
1102×associate-*l*
888×associate-+r+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098848
1237840
2841836
34306836
Stop Event
node limit
Counts
36 → 57
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2))))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 6)))))
(/.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(/.f64 2 (pow.f64 x 2))
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 4))) (*.f64 16 (/.f64 1 (pow.f64 x 8)))))
(-.f64 (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))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 -1/2 (pow.f64 x 2))))
(+.f64 1 (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/2 (*.f64 x x))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 1/4 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) 1))
(+.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/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (*.f64 -1/8 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (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 x) x)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4)))
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4)))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 (/.f64 2 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 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 6))) (+.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 (/.f64 2 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 x) x)
(-.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4)))
(+.f64 (/.f64 2 (*.f64 x x)) (/.f64 -4 (pow.f64 x 4)))
(+.f64 (/.f64 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4)))
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 6))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) (*.f64 4 (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 8 (pow.f64 x 6)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 4 (pow.f64 x 4))))
(+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -4 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 (/.f64 2 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 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 6))) (+.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 (/.f64 2 x) x) (/.f64 -4 (pow.f64 x 4))) (+.f64 (/.f64 8 (pow.f64 x 6)) (/.f64 -16 (pow.f64 x 8))))
(-.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 (/.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 x (*.f64 x (fma.f64 x x -2)))))
(*.f64 (/.f64 2 (+.f64 (pow.f64 x 6) 8)) (fma.f64 x (*.f64 x (fma.f64 x x -2)) 4))
(/.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))

eval73.0ms (2.1%)

Compiler

Compiled 2921 to 2030 computations (30.5% saved)

prune107.0ms (3.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1984202
Fresh011
Picked011
Done112
Total1997206
Error
0b
Counts
206 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
46.2b
(/.f64 (/.f64 2 x) x)
18.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.0b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
0.7b
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
34.3b
1
Compiler

Compiled 42 to 33 computations (21.4% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 23 to 15 computations (34.8% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.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 (1.4%)

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

simplify43.0ms (1.3%)

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

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite55.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
1378×add-sqr-sqrt
1356×*-un-lft-identity
1274×add-cube-cbrt
1260×add-cbrt-cube
1248×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

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

simplify79.0ms (2.3%)

Algorithm
egg-herbie
Rules
1518×associate-+r+
1368×associate-+l+
882×distribute-rgt-in
850×distribute-lft-in
736×associate-*r/
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
097744
1255726
2879726
33763726
Stop Event
node limit
Counts
48 → 43
Calls
Call 1
Inputs
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x)))
(*.f64 2 (/.f64 1 (*.f64 x x)))
(*.f64 2 (/.f64 (/.f64 1 x) x))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(*.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 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(*.f64 (/.f64 1 x) (/.f64 2 x))
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x)))
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x)))
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x 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 x (/.f64 2 x)) -1)
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x)))
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(exp.f64 (*.f64 (log.f64 (/.f64 2 (*.f64 x x))) 1))
(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 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(/.f64 2 (pow.f64 x 2))
(/.f64 2 (*.f64 x x))
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
(/.f64 2 (*.f64 x x))
(*.f64 2 (*.f64 (/.f64 1 x) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (/.f64 1 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 2 (/.f64 (/.f64 1 x) x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 x) (/.f64 1 x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (*.f64 x x)) 1)
(/.f64 2 (*.f64 x x))
(*.f64 1 (/.f64 2 (*.f64 x x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (sqrt.f64 2) x) (/.f64 (sqrt.f64 2) x))
(/.f64 2 (*.f64 x x))
(*.f64 (sqrt.f64 (/.f64 2 x)) (*.f64 (sqrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2))
(/.f64 2 (*.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) 2) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(*.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (*.f64 (cbrt.f64 (/.f64 2 x)) (/.f64 1 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 x) (/.f64 2 x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 -2 x) (/.f64 1 (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 2 x) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 2 x) (cbrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 2 (*.f64 (cbrt.f64 x) x)))
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x))))
(*.f64 (/.f64 2 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 2 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 2 (*.f64 (cbrt.f64 x) x)))
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x))))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) 1) (/.f64 (sqrt.f64 (/.f64 2 x)) x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (sqrt.f64 (/.f64 2 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 2 x)) (cbrt.f64 x)))
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 2 (*.f64 (cbrt.f64 x) x)))
(/.f64 (/.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
(/.f64 2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 2 x)) x))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 2 x)) (sqrt.f64 x)))
(/.f64 2 (*.f64 x x))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x x))) (/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (pow.f64 (cbrt.f64 x) 2)))
(/.f64 (pow.f64 (cbrt.f64 (/.f64 2 x)) 2) (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (/.f64 2 (*.f64 x x)))))
(pow.f64 (/.f64 2 (*.f64 x x)) 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 (*.f64 x x))) 3)
(/.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3) 1/3)
(/.f64 2 (*.f64 x x))
(pow.f64 (/.f64 x (/.f64 2 x)) -1)
(/.f64 2 (*.f64 x x))
(neg.f64 (/.f64 (/.f64 2 x) (neg.f64 x)))
(/.f64 2 (*.f64 x x))
(sqrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 2))
(/.f64 2 (*.f64 x x))
(log.f64 (exp.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x x)) 3))
(/.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 (/.f64 2 (*.f64 x x))) 1))
(/.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 x x))))
(/.f64 2 (*.f64 x x))

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
Compiler

Compiled 13 to 6 computations (53.8% saved)

series4.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
1.0ms
x
@-inf
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
0.0ms
x
@0
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)

rewrite52.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
1500×add-sqr-sqrt
1472×*-un-lft-identity
1374×add-cube-cbrt
1360×add-cbrt-cube
1348×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
116711
2193311
Stop Event
node limit
Counts
1 → 18
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
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 (/.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 (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 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cosh.f64 x))))) (#(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 (*.f64 -1 (log.f64 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cosh.f64 x))))))))

simplify76.0ms (2.2%)

Algorithm
egg-herbie
Rules
886×unswap-sqr
802×associate-/l*
660×associate-+r+
624×associate-+l+
592×associate-*r/
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0771128
1173772
2433460
31241456
45372456
Stop Event
node limit
Counts
30 → 38
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 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(*.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 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(*.f64 (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2))
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2))
(/.f64 1 (cosh.f64 x))
(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 (*.f64 -1 (log.f64 (cosh.f64 x))))
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1))
(exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1))
(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))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 5/24 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) (*.f64 -61/720 (pow.f64 x 6)))))
(fma.f64 -61/720 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 5/24 -1/2) 1))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (/.f64 1 (exp.f64 x)) (exp.f64 x)) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (/.f64 1 (cosh.f64 x)) 1)
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 1 (/.f64 1 (cosh.f64 x)))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 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 (pow.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) 2) -1) (pow.f64 (cbrt.f64 (cosh.f64 x)) -1))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2) (pow.f64 (pow.f64 (cosh.f64 x) 1/4) -2))
(pow.f64 (pow.f64 (cosh.f64 x) 1/4) -4)
(*.f64 (pow.f64 (cbrt.f64 (cosh.f64 x)) -2) (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2))
(/.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (cosh.f64 x))) -2) (pow.f64 (cbrt.f64 (cosh.f64 x)) 2))
(/.f64 1 (cosh.f64 x))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(sqrt.f64 (pow.f64 (cosh.f64 x) -2))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (*.f64 -1 (log.f64 (cosh.f64 x))))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (*.f64 (log.f64 (cosh.f64 x)) -1))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (*.f64 (*.f64 -1 (log.f64 (cosh.f64 x))) 1))
(/.f64 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.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 1 (*.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (pow.f64 (sqrt.f64 1/2) 2)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))

eval37.0ms (1.1%)

Compiler

Compiled 1503 to 1038 computations (30.9% saved)

prune18.0ms (0.5%)

Pruning

9 alts after pruning (3 fresh and 6 done)

PrunedKeptTotal
New1422144
Fresh011
Picked011
Done055
Total1429151
Error
0b
Counts
151 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
46.2b
(/.f64 (/.f64 2 x) x)
18.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.0b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
29.3b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
0.7b
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
46.2b
(*.f64 (/.f64 2 x) (/.f64 1 x))
34.3b
1
Compiler

Compiled 60 to 47 computations (21.7% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.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))

rewrite54.0ms (1.6%)

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

simplify50.0ms (1.5%)

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

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 28 to 16 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

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

simplify77.0ms (2.2%)

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

eval38.0ms (1.1%)

Compiler

Compiled 1618 to 1275 computations (21.2% saved)

prune22.0ms (0.6%)

Pruning

10 alts after pruning (2 fresh and 8 done)

PrunedKeptTotal
New1371138
Fresh011
Picked011
Done077
Total13710147
Error
0b
Counts
147 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
46.2b
(/.f64 (/.f64 2 x) x)
46.0b
(/.f64 2 (/.f64 x (/.f64 1 x)))
18.1b
(/.f64 2 (+.f64 2 (*.f64 x x)))
46.0b
(/.f64 2 (*.f64 x x))
0.0b
(/.f64 1 (cosh.f64 x))
29.3b
(-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)
0.7b
(-.f64 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
46.2b
(*.f64 (/.f64 2 x) (/.f64 1 x))
34.3b
1
Compiler

Compiled 68 to 53 computations (22.1% saved)

regimes14.0ms (0.4%)

Counts
12 → 1
Calls
Call 1
Inputs
1
(/.f64 2 (*.f64 x x))
(/.f64 (/.f64 2 x) x)
(*.f64 (/.f64 2 x) (/.f64 1 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 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))) (sqrt.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
Outputs
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
Calls

3 calls:

7.0ms
x
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
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 100 to 70 computations (30% saved)

regimes18.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 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 (+.f64 1 (/.f64 1 (cosh.f64 x))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
(/.f64 1 (cosh.f64 x))
Calls

3 calls:

6.0ms
x
2.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
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 80 to 56 computations (30% saved)

regimes16.0ms (0.5%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.3b3x
Compiler

Compiled 44 to 29 computations (34.1% saved)

bsearch31.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
14.0ms
40379.80361996811
7192880.464862326
17.0ms
-14021311235.546526
-153.2444537325989
Results
28.0ms256×body256valid
Compiler

Compiled 333 to 266 computations (20.1% saved)

regimes6.0ms (0.2%)

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

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
18.1b1x
Compiler

Compiled 35 to 23 computations (34.3% saved)

regimes12.0ms (0.3%)

Accuracy

Total -44.1b remaining (-243.3%)

Threshold costs -44.1b (-243.3%)

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:

11.0ms
x
Results
ErrorSegmentsBranch
18.1b3x
Compiler

Compiled 21 to 14 computations (33.3% saved)

bsearch33.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
0.05665526891295325
107.70142919303083
18.0ms
-104.00541843591535
-7.427028481787271e-15
Results
29.0ms288×body256valid
Compiler

Compiled 193 to 154 computations (20.2% saved)

simplify7.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
032154
147154
248154
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
(/.f64 1 (cosh.f64 x))
(if (<=.f64 x -10000000) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 350000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))
(/.f64 2 (+.f64 2 (*.f64 x x)))
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x))))
1
Outputs
(pow.f64 (sqrt.f64 (cosh.f64 x)) -2)
(/.f64 1 (cosh.f64 x))
(if (<=.f64 x -10000000) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1) (if (<=.f64 x 350000) (/.f64 2 (+.f64 2 (*.f64 x x))) (-.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) 1)))
(if (or (<=.f64 x -10000000) (not (<=.f64 x 350000))) (+.f64 (+.f64 1 (/.f64 2 (*.f64 x x))) -1) (/.f64 2 (+.f64 2 (*.f64 x x))))
(/.f64 2 (+.f64 2 (*.f64 x x)))
(if (<=.f64 x -3152519739159347/2251799813685248) (/.f64 2 (*.f64 x x)) (if (<=.f64 x 3152519739159347/2251799813685248) 1 (/.f64 2 (*.f64 x x))))
(if (or (<=.f64 x -3152519739159347/2251799813685248) (not (<=.f64 x 3152519739159347/2251799813685248))) (/.f64 2 (*.f64 x x)) 1)
1
Compiler

Compiled 63 to 48 computations (23.8% saved)

soundness146.0ms (4.2%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
096998
1227966
2902692
35000692
075851
1178847
2592487
33111481
Stop Event
node limit
node limit
Compiler

Compiled 77 to 41 computations (46.8% saved)

end40.0ms (1.2%)

Compiler

Compiled 58 to 40 computations (31% saved)

Profiling

Loading profile data...