Details

Time bar (total: 1.8s)

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)

sample923.0ms (52.6%)

Results
913.0ms8256×body256valid
Bogosity

preprocess85.0ms (4.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
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)

simplify90.0ms (5.1%)

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

Local error

Found 1 expressions with local error:

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

Compiled 24 to 8 computations (66.7% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite64.0ms (3.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
121617
2327317
01017
Stop Event
iter limit
unsound
Counts
1 → 10
Calls
Call 1
Inputs
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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)))))))))

simplify56.0ms (3.2%)

Algorithm
egg-herbie
Rules
1426×associate-/r*
1258×associate--r+
726×associate-/r/
658×distribute-lft-out
624×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056550
1115546
2395290
31879286
46144286
Stop Event
node limit
Counts
22 → 27
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))))
(*.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)))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 5/24 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 5/24 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -61/720 (pow.f64 x 6)) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 5/24 (pow.f64 x 4))))
(+.f64 1 (fma.f64 5/24 (pow.f64 x 4) (fma.f64 -61/720 (pow.f64 x 6) (*.f64 x (*.f64 -1/2 x)))))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 5/24) -1/2) (fma.f64 -61/720 (pow.f64 x 6) 1))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 2 (/.f64 1 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(*.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 x))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.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 x) (exp.f64 (neg.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 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(pow.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))) 1)
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(log.f64 (exp.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.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 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(expm1.f64 (log1p.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))
(log1p.f64 (expm1.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(/.f64 1 (cosh.f64 x))

eval6.0ms (0.3%)

Compiler

Compiled 300 to 216 computations (28% saved)

prune47.0ms (2.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New24327
Fresh000
Picked101
Done000
Total25328
Error
0b
Counts
28 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 1 (cosh.f64 x))
32.5b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
32.0b
1
Compiler

Compiled 15 to 12 computations (20% saved)

localize6.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite55.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
1564×add-sqr-sqrt
1540×*-un-lft-identity
1444×add-cube-cbrt
1434×add-cbrt-cube
1424×add-exp-log
Iterations

Useful iterations: 1 (0.0ms)

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

simplify82.0ms (4.7%)

Algorithm
egg-herbie
Rules
1240×times-frac
1224×associate-/l*
938×associate-*r*
736×associate-*l*
578×associate-/r*
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911164
12101040
26921016
329581016
Stop Event
node limit
Counts
46 → 44
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(-.f64 (+.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) 1)
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 1/4) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(*.f64 1 (fma.f64 -1/2 (*.f64 x x) 1))
(*.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))
(*.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2))
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(*.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x))))))
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 (pow.f64 x 4) 1/4))))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))
(/.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x)))))
(/.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (+.f64 (*.f64 (pow.f64 x 4) 1/4) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
(/.f64 (neg.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (neg.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))) (neg.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x))))))
(pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)
(pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 3)
(pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3) 1/3)
(sqrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2))
(log.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3))
(expm1.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(exp.f64 (*.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))) 1))
(log1p.f64 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)
(fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)
(fma.f64 (*.f64 -1/2 x) x 1)
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 -1/2 (*.f64 x x) 1)
(-.f64 (+.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(-.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 1/4) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(*.f64 1 (fma.f64 -1/2 (*.f64 x x) 1))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)
(*.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(*.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x))))))
(/.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) 1) (+.f64 1 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (*.f64 x x) 1/2))))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 (pow.f64 x 4) 1/4 (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/4 1)))
(/.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 (pow.f64 x 4) 1/4))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))))
(/.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) 1) (+.f64 1 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (*.f64 x x) 1/2))))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 (pow.f64 x 4) 1/4 (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/4 1)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 1/2 (*.f64 x x))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x)))))
(/.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) 1) (+.f64 1 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (*.f64 x x) 1/2))))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 (pow.f64 x 4) 1/4 (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/4 1)))
(/.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) (+.f64 (*.f64 (pow.f64 x 4) 1/4) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) 1) (+.f64 1 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (*.f64 x x) 1/2))))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 (pow.f64 x 4) 1/4 (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/4 1)))
(/.f64 (-.f64 (*.f64 (pow.f64 x 4) 1/4) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (neg.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(/.f64 (-.f64 1 (*.f64 (pow.f64 x 4) 1/4)) (fma.f64 (*.f64 x x) 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 4) -1/4 1) (fma.f64 x (*.f64 x 1/2) 1))
(/.f64 (neg.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8))) (neg.f64 (+.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 1/4) (*.f64 1/2 (*.f64 x x))))))
(/.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 x x) 3) -1/8)) 1) (+.f64 1 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (*.f64 x x) 1/2))))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 (pow.f64 x 4) 1/4 (fma.f64 (*.f64 x x) 1/2 1)))
(/.f64 (fma.f64 (pow.f64 x 6) -1/8 1) (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/4 1)))
(pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)
(pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 3)
(fma.f64 -1/2 (*.f64 x x) 1)
(pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3) 1/3)
(fma.f64 -1/2 (*.f64 x x) 1)
(sqrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2))
(fma.f64 -1/2 (*.f64 x x) 1)
(log.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3))
(fma.f64 -1/2 (*.f64 x x) 1)
(expm1.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(exp.f64 (*.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))) 1))
(exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) -1/2 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 1/4)) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)
(fma.f64 (*.f64 -1/2 x) x 1)
(fma.f64 -1/2 (*.f64 x x) 1)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 9 to 5 computations (44.4% saved)

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite72.0ms (4.1%)

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

simplify50.0ms (2.9%)

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

eval54.0ms (3.1%)

Compiler

Compiled 904 to 624 computations (31% saved)

prune13.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh011
Picked011
Done011
Total83386
Error
0b
Counts
86 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 1 (cosh.f64 x))
32.5b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
32.0b
1
Compiler

Compiled 15 to 12 computations (20% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

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

Compiled 15 to 12 computations (20% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

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

Compiled 15 to 12 computations (20% saved)

regimes10.0ms (0.6%)

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

3 calls:

5.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 39 to 29 computations (25.6% saved)

regimes4.0ms (0.2%)

Accuracy

Total -0.6b remaining (-1.9%)

Threshold costs -0.6b (-1.9%)

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

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
32.0b1x
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
1912
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 1 (cosh.f64 x))
1
Outputs
(/.f64 1 (cosh.f64 x))
1
Compiler

Compiled 7 to 6 computations (14.3% saved)

soundness97.0ms (5.5%)

Algorithm
egg-herbie
Rules
1426×associate-/r*
1258×associate--r+
726×associate-/r/
658×distribute-lft-out
624×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056550
1115546
2395290
31879286
46144286
Stop Event
node limit
Compiler

Compiled 53 to 27 computations (49.1% saved)

end15.0ms (0.8%)

Compiler

Compiled 6 to 5 computations (16.7% saved)

Profiling

Loading profile data...