Details

Time bar (total: 5.9s)

analyze103.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
50%50%0%4
62.5%37.5%0%5
68.7%31.2%0%6
71.8%28.1%0%7
73.4%26.5%0%8
74.2%25.8%0%9
74.6%25.4%0%10
74.8%25.2%0%11
74.9%25.1%0%12
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.0s (50.5%)

Results
1.5s2630×body1024valid
685.0ms1230×body2048valid
399.0ms3093×body256valid
383.0ms1264×body512valid
27.0ms39×body4096valid

preprocess45.0ms (0.8%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1139
2149
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1))))
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1))))
(log.f64 (+.f64 x (hypot.f64 1 x)))

eval1.0ms (0%)

Compiler

Compiled 16 to 11 computations (31.3% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
45.7b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))
1.0b
(+.f64 x (hypot.f64 1 x))
1.0b
(+.f64 x (hypot.f64 1 x))
3.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 17 to 11 computations (35.3% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(log.f64 (+.f64 x (hypot.f64 1 x)))
1.0ms
x
@-inf
(log.f64 (+.f64 x (hypot.f64 1 x)))
1.0ms
x
@inf
(log.f64 (+.f64 x (hypot.f64 1 x)))
0.0ms
x
@-inf
(+.f64 x (hypot.f64 1 x))
0.0ms
x
@inf
(+.f64 x (hypot.f64 1 x))

rewrite63.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
619×pow1_binary64
575×add-log-exp_binary64
575×log1p-expm1-u_binary64
575×expm1-log1p-u_binary64
563×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
112116
2155516
Stop Event
node limit
Counts
2 → 56
Calls
Call 1
Inputs
(log.f64 (+.f64 x (hypot.f64 1 x)))
(+.f64 x (hypot.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2)) (log.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (log.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (log.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2) (cbrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (/.f64 1 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))) (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (hypot.f64 1 x)) (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (+.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 (*.f64 x x) (*.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (-.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (neg.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 1 x) 2) (*.f64 x x)) (-.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)) x)))))

simplify49.0ms (0.8%)

Algorithm
egg-herbie
Rules
915×fma-def_binary64
732×sub-neg_binary64
447×associate-/r*_binary64
336×associate-+r+_binary64
285×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092402
1268389
2716389
32137385
47145385
Stop Event
node limit
Counts
80 → 100
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x)))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(/.f64 -1/2 x)
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x))))
Outputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4)))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (-.f64 (/.f64 -3/32 (pow.f64 x 4)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (log.f64 x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) (/.f64 3/32 (pow.f64 x 4)))
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (-.f64 (log.f64 2) (/.f64 3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (-.f64 (+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (+.f64 (log.f64 x) (/.f64 -3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (+.f64 (/.f64 5/96 (pow.f64 x 6)) (-.f64 (/.f64 -3/32 (pow.f64 x 4)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (log.f64 x)))))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) (/.f64 5/96 (pow.f64 x 6))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))) (log.f64 (/.f64 -1 x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6)))))
1
(+.f64 1 x)
(+.f64 x 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) x))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 x))
(+.f64 x (fma.f64 x (*.f64 x 1/2) 1))
(fma.f64 (fma.f64 x 1/2 1) x 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) x)))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 x)))
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) x)))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (fma.f64 x 1/2 1) x 1))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x)))
(fma.f64 2 x (/.f64 1/2 x))
(fma.f64 x 2 (/.f64 1/2 x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
(-.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1/2 x) (-.f64 (fma.f64 2 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1/2 x) (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5)))) (/.f64 1/8 (pow.f64 x 3)))
(-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
(+.f64 (/.f64 1/2 x) (-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))))
(/.f64 -1/2 x)
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/2 x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x))))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5)))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5)))))

eval54.0ms (0.9%)

Compiler

Compiled 1350 to 1028 computations (23.9% saved)

prune22.0ms (0.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New919100
Fresh000
Picked011
Done000
Total9110101
Error
0b
Counts
101 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
47.9b
(log.f64 (/.f64 -1/2 x))
31.4b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
31.2b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
48.1b
(log.f64 (*.f64 x 2))
48.0b
(+.f64 (log.f64 2) (log.f64 x))
56.6b
(log.f64 (+.f64 1 x))
31.5b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
30.2b
x
45.7b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
Compiler

Compiled 157 to 124 computations (21% saved)

localize19.0ms (0.3%)

Local error

Found 6 expressions with local error:

NewErrorProgram
19.0b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
0.0b
(*.f64 3/40 (pow.f64 x 5))
0.0b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
19.0b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
Compiler

Compiled 42 to 32 computations (23.8% saved)

series5.0ms (0.1%)

Counts
3 → 6
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
1.0ms
x
@0
(*.f64 -1/6 (pow.f64 x 3))
1.0ms
x
@0
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
1.0ms
x
@0
(*.f64 3/40 (pow.f64 x 5))
0.0ms
x
@inf
(*.f64 3/40 (pow.f64 x 5))

rewrite73.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
556×log-prod_binary64
547×fma-def_binary64
332×pow2_binary64
319×fma-neg_binary64
228×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
127929
2351229
Stop Event
node limit
Counts
3 → 121
Calls
Call 1
Inputs
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(*.f64 -1/6 (pow.f64 x 3))
(*.f64 3/40 (pow.f64 x 5))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 6) 1/36) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))) (/.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (/.f64 1 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 (pow.f64 x 3) (*.f64 -1/6 (fma.f64 3/40 (pow.f64 x 5) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2)) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))) (neg.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))) (neg.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (-.f64 (*.f64 x x) (*.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (*.f64 (pow.f64 x 6) 1/36)) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (*.f64 x x)) (-.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x))) (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x))) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3)) 1 (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3/40 (pow.f64 x 5) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 3/40 (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5)) 1 (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) 1 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3/40 (pow.f64 x 5)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 2) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 3/40) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/6)) (cbrt.f64 (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 6) 1/36)) (*.f64 x (cbrt.f64 -1/6)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x x)) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 10) 9/1600 (neg.f64 (*.f64 x x))) (/.f64 1 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 x))) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 3/40) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) 2) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 x) (*.f64 x x) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (*.f64 x x)) x (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3/2)) (pow.f64 x 3/2) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5/2)) (pow.f64 x 5/2) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/6 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 9) -1/216) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 9) -1/216))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/6 (pow.f64 x 3))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3/40 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3/40 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 9/1600) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 15) 27/64000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 9/1600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 15) 27/64000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3/40 (pow.f64 x 5))) 1))))))

simplify116.0ms (2%)

Algorithm
egg-herbie
Rules
1252×sqr-pow_binary64
712×cube-prod_binary64
698×pow-sqr_binary64
679×fabs-mul_binary64
416×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
13051
26051
313151
426051
570951
6107351
7171551
8182351
9198551
10220051
11253051
12298651
13358351
14433251
15526251
16576851
17625451
18665251
19697651
20714051
Stop Event
node limit
Counts
127 → 127
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(*.f64 3/40 (pow.f64 x 5))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5)))
(*.f64 3/40 (pow.f64 x 5))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5)))
Outputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(*.f64 3/40 (pow.f64 x 5))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5)))
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))
(*.f64 3/40 (pow.f64 x 5))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5)))
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
3.3b
(log.f64 (+.f64 1 x))
3.3b
(log.f64 (+.f64 1 x))
Compiler

Compiled 10 to 7 computations (30% saved)

series3.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(log.f64 (+.f64 1 x))
1.0ms
x
@0
(log.f64 (+.f64 1 x))
0.0ms
x
@inf
(log.f64 (+.f64 1 x))

rewrite40.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

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

simplify50.0ms (0.8%)

Algorithm
egg-herbie
Rules
465×fma-def_binary64
360×associate-/r*_binary64
333×associate--l-_binary64
316×fma-neg_binary64
308×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046186
1135160
2332160
31018154
43138154
57486154
Stop Event
node limit
Counts
32 → 39
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x)))
(*.f64 -1 (log.f64 (/.f64 1 x)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
Outputs
x
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(fma.f64 x (*.f64 x -1/2) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) x))
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/3 (pow.f64 x 3) x))
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) x)))
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) x)))
(fma.f64 (*.f64 x x) (fma.f64 x 1/3 -1/2) (fma.f64 -1/4 (pow.f64 x 4) x))
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) (fma.f64 -1/4 (pow.f64 x 4) x))
(*.f64 -1 (log.f64 (/.f64 1 x)))
(neg.f64 (neg.f64 (log.f64 x)))
(log.f64 x)
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x))
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x))
(+.f64 (/.f64 1 x) (log.f64 x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x)))
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x)))
(+.f64 (log.f64 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 -1/2 (*.f64 x x)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x)))
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (/.f64 -1/2 (*.f64 x x))))
(+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1))
(neg.f64 (neg.f64 (log.f64 x)))
(log.f64 x)
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x)))
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x))
(+.f64 (/.f64 1 x) (log.f64 x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x)))
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x)))
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x)))
(+.f64 (log.f64 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 -1/2 (*.f64 x x)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x)))
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (/.f64 -1/2 (*.f64 x x))))
(+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))))

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 10 to 7 computations (30% saved)

series61.0ms (1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
29.0ms
x
@0
(log.f64 (/.f64 -1/2 x))
23.0ms
x
@-inf
(log.f64 (/.f64 -1/2 x))
9.0ms
x
@inf
(log.f64 (/.f64 -1/2 x))

rewrite45.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
474×pow1_binary64
465×add-sqr-sqrt_binary64
453×*-un-lft-identity_binary64
443×add-log-exp_binary64
442×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify23.0ms (0.4%)

Algorithm
egg-herbie
Rules
155×fma-neg_binary64
118×fma-def_binary64
56×cancel-sign-sub-inv_binary64
44×sub-neg_binary64
39×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
017124
127108
240108
360108
4109108
5203108
6335108
7509108
8657108
9778108
10798108
Stop Event
saturated
Counts
37 → 28
Calls
Call 1
Inputs
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
Outputs
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(+.f64 (log.f64 2) (log.f64 x))
0.1b
(+.f64 (log.f64 2) (log.f64 x))
Compiler

Compiled 12 to 8 computations (33.3% saved)

series80.0ms (1.3%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
55.0ms
x
@0
(+.f64 (log.f64 2) (log.f64 x))
14.0ms
x
@-inf
(+.f64 (log.f64 2) (log.f64 x))
10.0ms
x
@inf
(+.f64 (log.f64 2) (log.f64 x))

rewrite51.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
629×pow1_binary64
588×add-log-exp_binary64
587×log1p-expm1-u_binary64
587×expm1-log1p-u_binary64
576×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify120.0ms (2%)

Algorithm
egg-herbie
Rules
859×distribute-rgt-in_binary64
795×fma-neg_binary64
737×fma-def_binary64
546×distribute-lft-in_binary64
390×associate--r-_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01696
13364
25664
311864
425564
550264
6106764
7221164
8334364
9355064
10356664
11363064
12513764
13573064
14584264
15587864
16591264
17591264
18596464
19648764
20714164
21780264
Stop Event
node limit
Counts
41 → 36
Calls
Call 1
Inputs
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
Outputs
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1)))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))

localize29.0ms (0.5%)

Local error

Found 8 expressions with local error:

NewErrorProgram
22.2b
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
0.0b
(*.f64 3/40 (pow.f64 x 5))
0.0b
(*.f64 -5/112 (pow.f64 x 7))
0.0b
(*.f64 -5/112 (pow.f64 x 7))
0.0b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
22.2b
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))
Compiler

Compiled 71 to 55 computations (22.5% saved)

series5.0ms (0.1%)

Counts
2 → 6
Calls

6 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(*.f64 -5/112 (pow.f64 x 7))
1.0ms
x
@inf
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))
1.0ms
x
@0
(*.f64 -5/112 (pow.f64 x 7))
1.0ms
x
@0
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))
1.0ms
x
@inf
(*.f64 -5/112 (pow.f64 x 7))

rewrite77.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
565×log-prod_binary64
531×fma-def_binary64
345×pow2_binary64
294×fma-neg_binary64
235×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
127922
2360822
Stop Event
node limit
Counts
2 → 102
Calls
Call 1
Inputs
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))
(*.f64 -5/112 (pow.f64 x 7))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 10) 9/1600) (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))) (/.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (/.f64 1 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (/.f64 1 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (+.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (*.f64 3/40 (*.f64 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))) (neg.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))) (neg.f64 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 2) (-.f64 (*.f64 x x) (*.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (*.f64 (pow.f64 x 10) 9/1600)) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 2) (*.f64 x x)) (-.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5)))) (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 3/40 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5)) 1 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -5/112 (pow.f64 x 7) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7) -5/112 (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (pow.f64 x 7)) 1 (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1 (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -5/112 (pow.f64 x 7)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 3/40) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 14)) (*.f64 (pow.f64 (cbrt.f64 x) 7) -5/112) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x x)) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (cbrt.f64 (*.f64 (pow.f64 x 14) 25/12544)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 14) 25/12544)) (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 21) -125/1404928 (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (*.f64 -5/112 (pow.f64 x 7))) (*.f64 (pow.f64 x 14) 25/12544))) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 14) 25/12544) (*.f64 x x)) (/.f64 1 (fma.f64 -5/112 (pow.f64 x 7) (neg.f64 x))) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 3/40) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7/2) (*.f64 (pow.f64 x 7/2) -5/112) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) 2) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5/2)) (pow.f64 x 5/2) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (cbrt.f64 (pow.f64 x 14))) (pow.f64 (cbrt.f64 x) 7) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (pow.f64 x 7/2)) (pow.f64 x 7/2) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -5/112 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -5/112 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 14) 25/12544) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 21) -125/1404928) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 14) 25/12544))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -5/112 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 21) -125/1404928))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -5/112 (pow.f64 x 7))) 1))))))

simplify118.0ms (2%)

Algorithm
egg-herbie
Rules
1252×sqr-pow_binary64
710×cube-prod_binary64
698×pow-sqr_binary64
674×fabs-mul_binary64
416×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
12751
24951
39751
421951
564951
696951
7160751
8171651
9187851
10209351
11242351
12287951
13347651
14422751
15515551
16566151
17614551
18653951
19686351
20702351
Stop Event
node limit
Counts
108 → 108
Calls
Call 1
Inputs
x
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x)
(*.f64 -5/112 (pow.f64 x 7))
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7)))
(*.f64 -5/112 (pow.f64 x 7))
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7)))
Outputs
x
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x)
(fma.f64 3/40 (pow.f64 x 5) x)
(*.f64 -5/112 (pow.f64 x 7))
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7)))
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))
(*.f64 -5/112 (pow.f64 x 7))
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7)))
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))

eval186.0ms (3.1%)

Compiler

Compiled 6780 to 5305 computations (21.8% saved)

prune60.0ms (1%)

Pruning

10 alts after pruning (5 fresh and 5 done)

PrunedKeptTotal
New3702372
Fresh134
Picked011
Done145
Total37210382
Error
0b
Counts
382 → 10
Alt Table
Click to see full alt table
StatusErrorProgram
48.0b
(+.f64 (log.f64 2) (log.f64 x))
27.2b
(log1p.f64 x)
47.9b
(log.f64 (/.f64 -1/2 x))
31.4b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
31.2b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
45.7b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
48.1b
(log.f64 (*.f64 2 x))
31.5b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
30.2b
x
Compiler

Compiled 81 to 63 computations (22.2% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 -1/6 (pow.f64 x 3))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
Compiler

Compiled 19 to 14 computations (26.3% saved)

rewrite0.0ms (0%)

Counts
0 → 0

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(log.f64 (*.f64 2 x))
0.2b
(log.f64 (*.f64 2 x))
Compiler

Compiled 10 to 7 computations (30% saved)

series35.0ms (0.6%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
16.0ms
x
@-inf
(log.f64 (*.f64 2 x))
10.0ms
x
@0
(log.f64 (*.f64 2 x))
9.0ms
x
@inf
(log.f64 (*.f64 2 x))

rewrite42.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
429×pow1_binary64
416×add-sqr-sqrt_binary64
409×*-un-lft-identity_binary64
396×add-log-exp_binary64
396×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify22.0ms (0.4%)

Algorithm
egg-herbie
Rules
172×fma-neg_binary64
101×fma-def_binary64
41×associate--r+_binary64
41×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018112
133108
245108
395108
4182108
5311108
6458108
7635108
8754108
9776108
Stop Event
saturated
Counts
51 → 42
Calls
Call 1
Inputs
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
Outputs
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2))
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2))
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2))
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x)))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2))
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x)))

localize17.0ms (0.3%)

Local error

Found 6 expressions with local error:

NewErrorProgram
3.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.3b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
1.0b
(+.f64 x (hypot.f64 1 x))
1.0b
(+.f64 x (hypot.f64 1 x))
3.3b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
3.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 35 to 25 computations (28.6% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
0.0ms
x
@inf
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
0.0ms
x
@-inf
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)

rewrite56.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
960×pow1_binary64
897×add-log-exp_binary64
897×log1p-expm1-u_binary64
897×expm1-log1p-u_binary64
97×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify48.0ms (0.8%)

Algorithm
egg-herbie
Rules
567×fma-def_binary64
564×sub-neg_binary64
505×unswap-sqr_binary64
375×associate-+l+_binary64
365×distribute-neg-frac_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
059243
1168230
2452230
31486230
45461230
Stop Event
node limit
Counts
53 → 63
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
Outputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x))))
(+.f64 (log.f64 2) (log.f64 x))
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x)))
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4)))
(+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (-.f64 (log.f64 x) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 2) (log.f64 x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) (/.f64 3/32 (pow.f64 x 4)))
(+.f64 (+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))) (-.f64 (log.f64 x) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) (-.f64 (/.f64 5/96 (pow.f64 x 6)) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 2) (log.f64 x)))))
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))
(+.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 -1/4 (*.f64 x x)))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 1/4 (*.f64 x x)))))
(+.f64 (log.f64 1/2) (+.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 -1/4 (*.f64 x x))) (log.f64 (/.f64 -1 x))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 -1/4 (*.f64 x x))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (log.f64 1/2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (+.f64 (log.f64 1/2) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -5/96 (pow.f64 x 6)))) (log.f64 (/.f64 -1 x))))
(-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 5/96 (pow.f64 x 6)) (log.f64 (/.f64 -1 x)))))

localize3.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

eval105.0ms (1.8%)

Compiler

Compiled 3337 to 2584 computations (22.6% saved)

prune37.0ms (0.6%)

Pruning

12 alts after pruning (3 fresh and 9 done)

PrunedKeptTotal
New2202222
Fresh011
Picked011
Done088
Total22012232
Error
0b
Counts
232 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
48.0b
(+.f64 (log.f64 2) (log.f64 x))
27.2b
(log1p.f64 x)
47.9b
(log.f64 (/.f64 -1/2 x))
31.4b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
31.2b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
59.8b
(-.f64 (+.f64 1 x) 1)
30.2b
x
61.2b
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
45.7b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
48.1b
(log.f64 (*.f64 2 x))
31.5b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
Compiler

Compiled 99 to 78 computations (21.2% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.3b
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
0.1b
(*.f64 -1/6 (pow.f64 x 3))
0.1b
(*.f64 -1/6 (pow.f64 x 3))
3.3b
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
Compiler

Compiled 40 to 31 computations (22.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
0.0ms
x
@0
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
0.0ms
x
@-inf
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)

rewrite65.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
553×fma-def_binary64
416×log-prod_binary64
323×fma-neg_binary64
314×exp-prod_binary64
295×pow-prod-down_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
12368
230898
Stop Event
node limit
Counts
1 → 116
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -1/6 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/6 (pow.f64 x 3) 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (-.f64 1 (*.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (fma.f64 x x (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) (neg.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/36)) (-.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 2)) (-.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2)) (cbrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (sqrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (pow.f64 (exp.f64 -1/6) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 x 3)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/6 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 x 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/6 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3)) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/6)) (pow.f64 (*.f64 x (cbrt.f64 -1/6)) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/6)) 2) (*.f64 x (cbrt.f64 -1/6)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) (*.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3)) (/.f64 1 (fma.f64 (fma.f64 -1/6 (pow.f64 x 3) x) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (/.f64 1 (-.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 2) (cbrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) 2) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) (sqrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) (-.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 x) (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (*.f64 x x)) x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3/2)) (pow.f64 x 3/2) x)))))

simplify138.0ms (2.3%)

Algorithm
egg-herbie
Rules
1329×sqr-pow_binary64
715×pow-sqr_binary64
532×cube-prod_binary64
470×fabs-mul_binary64
435×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0787
11887
23687
37587
414487
535787
6121887
7192987
8201687
9214987
10230787
11253787
12285987
13328087
14378087
15437587
16509587
17541687
18570087
19592287
20610287
21618487
22712487
Stop Event
node limit
Counts
128 → 118
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(*.f64 -1/6 (pow.f64 x 3))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(*.f64 -1/6 (pow.f64 x 3))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
Outputs
x
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(*.f64 -1/6 (pow.f64 x 3))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(*.f64 -1/6 (pow.f64 x 3))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(fma.f64 -1/6 (pow.f64 x 3) x)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
3.3b
(-.f64 (+.f64 1 x) 1)
3.3b
(-.f64 (+.f64 1 x) 1)
Compiler

Compiled 11 to 8 computations (27.3% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
553×pow1_binary64
521×add-log-exp_binary64
521×log1p-expm1-u_binary64
521×expm1-log1p-u_binary64
513×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112
Stop Event
saturated
Counts
49 → 38
Calls
Call 1
Inputs
x
x
x
x
x
x
x
x
x
x
x
x
Outputs
x
x
x
x
x
x
x
x
x
x
x
x

eval71.0ms (1.2%)

Compiler

Compiled 2397 to 1859 computations (22.4% saved)

prune31.0ms (0.5%)

Pruning

15 alts after pruning (5 fresh and 10 done)

PrunedKeptTotal
New1685173
Fresh101
Picked101
Done01010
Total17015185
Error
0b
Counts
185 → 15
Alt Table
Click to see full alt table
StatusErrorProgram
30.9b
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))
30.2b
x
48.0b
(+.f64 (log.f64 2) (log.f64 x))
27.2b
(log1p.f64 x)
47.9b
(log.f64 (/.f64 -1/2 x))
31.4b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
31.2b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
30.8b
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))
61.2b
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
45.7b
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
48.1b
(log.f64 (*.f64 2 x))
59.8b
(+.f64 1 (+.f64 x -1))
30.8b
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))
31.5b
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
Compiler

Compiled 133 to 103 computations (22.6% saved)

regimes56.0ms (0.9%)

Counts
20 → 3
Calls
Call 1
Inputs
x
x
(+.f64 1 (+.f64 x -1))
(-.f64 (+.f64 1 x) 1)
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))
(log1p.f64 x)
(log.f64 (*.f64 2 x))
(log.f64 (/.f64 -1/2 x))
(log.f64 (*.f64 x 2))
(log.f64 (+.f64 1 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
(+.f64 (log.f64 2) (log.f64 x))
(log.f64 (+.f64 x (hypot.f64 1 x)))
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
Outputs
(log.f64 (/.f64 -1/2 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))
(+.f64 (log.f64 2) (log.f64 x))
Calls

3 calls:

32.0ms
x
10.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
8.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
Results
ErrorSegmentsBranch
0.1b3x
8.1b3(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
8.1b3(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
Compiler

Compiled 163 to 119 computations (27% saved)

bsearch52.0ms (0.9%)

Algorithm
binary-search
Steps
TimeLeftRight
26.0ms
3.6098787903290164e-5
1912091059265.0308
26.0ms
-22389289596.595707
-0.010409275933574996
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes50.0ms (0.8%)

Counts
19 → 3
Calls
Call 1
Inputs
x
x
(+.f64 1 (+.f64 x -1))
(-.f64 (+.f64 1 x) 1)
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))
(log1p.f64 x)
(log.f64 (*.f64 2 x))
(log.f64 (/.f64 -1/2 x))
(log.f64 (*.f64 x 2))
(log.f64 (+.f64 1 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
(+.f64 (log.f64 2) (log.f64 x))
(log.f64 (+.f64 x (hypot.f64 1 x)))
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
Outputs
(log.f64 (/.f64 -1/2 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x))
(+.f64 (log.f64 2) (log.f64 x))
Calls

3 calls:

27.0ms
x
9.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
8.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
Results
ErrorSegmentsBranch
0.1b3x
8.1b3(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
8.1b3(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
Compiler

Compiled 144 to 104 computations (27.8% saved)

bsearch48.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
3.6098787903290164e-5
1912091059265.0308
24.0ms
-22389289596.595707
-0.010409275933574996
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes46.0ms (0.8%)

Counts
18 → 3
Calls
Call 1
Inputs
x
x
(+.f64 1 (+.f64 x -1))
(-.f64 (+.f64 1 x) 1)
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))
(log1p.f64 x)
(log.f64 (*.f64 2 x))
(log.f64 (/.f64 -1/2 x))
(log.f64 (*.f64 x 2))
(log.f64 (+.f64 1 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
(+.f64 (log.f64 2) (log.f64 x))
(log.f64 (+.f64 x (hypot.f64 1 x)))
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)
Outputs
(log.f64 (/.f64 -1/2 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(+.f64 (log.f64 2) (log.f64 x))
Calls

3 calls:

25.0ms
x
9.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
8.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
Results
ErrorSegmentsBranch
0.2b3x
8.2b3(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
8.2b3(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
Compiler

Compiled 131 to 94 computations (28.2% saved)

bsearch47.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
23.0ms
3.6098787903290164e-5
1912091059265.0308
24.0ms
-22389289596.595707
-0.010409275933574996
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes26.0ms (0.4%)

Counts
14 → 3
Calls
Call 1
Inputs
x
x
(+.f64 1 (+.f64 x -1))
(-.f64 (+.f64 1 x) 1)
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))
(log1p.f64 x)
(log.f64 (*.f64 2 x))
(log.f64 (/.f64 -1/2 x))
(log.f64 (*.f64 x 2))
(log.f64 (+.f64 1 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1)
Outputs
(log.f64 (/.f64 -1/2 x))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)
(log.f64 (*.f64 2 x))
Calls

1 calls:

22.0ms
x
Results
ErrorSegmentsBranch
0.4b3x
Compiler

Compiled 82 to 59 computations (28% saved)

bsearch49.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
3.6098787903290164e-5
1912091059265.0308
25.0ms
-22389289596.595707
-0.010409275933574996
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes23.0ms (0.4%)

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

1 calls:

20.0ms
x
Results
ErrorSegmentsBranch
0.6b3x
Compiler

Compiled 64 to 45 computations (29.7% saved)

bsearch50.0ms (0.8%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
3.6098787903290164e-5
1912091059265.0308
26.0ms
-22389289596.595707
-0.010409275933574996
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes14.0ms (0.2%)

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

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
15.5b2x
Compiler

Compiled 52 to 36 computations (30.8% saved)

bsearch24.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
3.6098787903290164e-5
1912091059265.0308
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes13.0ms (0.2%)

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

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
26.0b2x
Compiler

Compiled 48 to 33 computations (31.3% saved)

bsearch24.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
24.0ms
3.6098787903290164e-5
1912091059265.0308
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes7.0ms (0.1%)

Accuracy

Total -30.3b remaining (-100.4%)

Threshold costs -30.3b (-100.4%)

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

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
30.2b1x
Compiler

Compiled 46 to 32 computations (30.4% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046218
157218
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (log.f64 (*.f64 2 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x))))
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x)))
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log1p.f64 x))
x
Outputs
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 x (*.f64 -5/112 (pow.f64 x 7))))) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 x (*.f64 3/40 (pow.f64 x 5)))) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))) (+.f64 (log.f64 2) (log.f64 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (log.f64 (*.f64 2 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))) (log.f64 (*.f64 x 2))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x))))
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 x 2))))
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x)))
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 x 2)))
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log1p.f64 x))
x

end103.0ms (1.7%)

Stop Event
fuel
Compiler

Compiled 303 to 223 computations (26.4% saved)

Profiling

Loading profile data...