Details

Time bar (total: 4.4s)

analyze393.0ms (8.9%)

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
74.9%25%0%13
74.9%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.2s (73.8%)

Results
1.5s2521×body1024valid
762.0ms1297×body2048valid
479.0ms1288×body512valid
306.0ms2469×body128valid
155.0ms634×body256valid
33.0ms47×body4096valid
Compiler

Compiled 22 to 16 computations (27.3% saved)

preprocess13.0ms (0.3%)

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 10 to 7 computations (30% saved)

simplify10.0ms (0.2%)

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

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
46.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
46.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
1.1b
(+.f64 x (hypot.f64 1 x))
2.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series6.0ms (0.1%)

Counts
3 → 36
Calls

9 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)))
1.0ms
x
@-inf
(+.f64 x (hypot.f64 1 x))
0.0ms
x
@inf
(+.f64 x (hypot.f64 1 x))

rewrite47.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
62×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0620
112120
2155520
Stop Event
node limit
Counts
3 → 75
Calls
Call 1
Inputs
(log.f64 (+.f64 x (hypot.f64 1 x)))
(+.f64 x (hypot.f64 1 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 (exp.f64 (log1p.f64 (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 exp.f64 (log.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 -.f64 (exp.f64 (log1p.f64 (+.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 log.f64 (+.f64 1 (expm1.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 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)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (hypot.f64 1 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 1 x)) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 1 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 1 x)))))))

simplify36.0ms (0.8%)

Algorithm
egg-herbie
Rules
447×cancel-sign-sub-inv_binary64
436×fma-neg_binary64
413×associate-/r*_binary64
338×sub-neg_binary64
314×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098569
1306549
2863537
32779537
Stop Event
node limit
Counts
111 → 139
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (*.f64 1/6 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (+.f64 (*.f64 5/112 (pow.f64 x 7)) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (log.f64 2) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 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 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (+.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 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) (*.f64 1/8 (pow.f64 x 4)))
(*.f64 2 x)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 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/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))) (*.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 5/128 (/.f64 1 (pow.f64 x 7))) (*.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))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 1 (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/8 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) (*.f64 1/8 (pow.f64 x 4)))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)))
Outputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 -1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (*.f64 1/6 (pow.f64 x 3)))
(+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3)))
(+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (+.f64 (*.f64 5/112 (pow.f64 x 7)) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 5/112 (pow.f64 x 7) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
(+.f64 x (fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 (*.f64 (pow.f64 x 7) -5/112))))
(-.f64 (log.f64 2) (log.f64 (/.f64 1 x)))
(-.f64 (log.f64 2) (neg.f64 (log.f64 x)))
(+.f64 (log.f64 2) (log.f64 x))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (neg.f64 (log.f64 x)))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (neg.f64 (log.f64 x)) (/.f64 3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x))))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (log.f64 x) (/.f64 3/32 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))) (+.f64 (neg.f64 (log.f64 x)) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (+.f64 (log.f64 2) (/.f64 5/96 (pow.f64 x 6))) (-.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x))))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.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 1/4 (*.f64 x x)) (-.f64 (log.f64 x) (/.f64 3/32 (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 (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 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.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)) (log.f64 1/2)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 1/4 (*.f64 x x))))
(+.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 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 -1/4 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (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)) (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 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (+.f64 (/.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 x (fma.f64 (*.f64 x x) 1/2 1))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 x))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (fma.f64 1/2 (*.f64 x x) x) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 1 (+.f64 (fma.f64 (*.f64 x x) 1/2 x) (*.f64 (pow.f64 x 4) -1/8)))
(+.f64 x (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (*.f64 x x) 1/2 1)))
(-.f64 (fma.f64 (*.f64 x x) 1/2 x) (fma.f64 (pow.f64 x 4) 1/8 -1))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))
(+.f64 (*.f64 x 2) (/.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 (/.f64 1/2 x) (-.f64 (*.f64 x 2) (/.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/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (+.f64 (*.f64 x 2) (/.f64 1/2 x)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (-.f64 (/.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 (/.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 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))
(-.f64 (+.f64 (*.f64 5/128 (/.f64 1 (pow.f64 x 7))) (*.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 5/128 (pow.f64 x 7)) (-.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 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5)))) (/.f64 -1/2 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 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x)))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) 1/2))
(fma.f64 (*.f64 x x) 1/2 1)
(-.f64 (+.f64 1 (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (*.f64 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (*.f64 (pow.f64 x 4) -1/8))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (*.f64 x x) 1/2 1))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (fma.f64 1/16 (pow.f64 x 6) (*.f64 (*.f64 x x) 1/2)) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 6) 1/16)) (-.f64 1 (*.f64 (pow.f64 x 4) 1/8)))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 6) 1/16 1)))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (pow.f64 x 6) 1/16 (fma.f64 (*.f64 x x) 1/2 1)))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(+.f64 x (/.f64 1/2 x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1/2 x) (-.f64 x (/.f64 1/8 (pow.f64 x 3))))
(+.f64 x (-.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))))
(+.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 x (/.f64 1/2 x))) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (+.f64 x (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 1/16 (pow.f64 x 5)))) (/.f64 -1/8 (pow.f64 x 3)))
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 x)
(neg.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(neg.f64 (+.f64 x (/.f64 1/2 x)))
(-.f64 (/.f64 -1/2 x) x)
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 x (/.f64 1/2 x)))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 x (/.f64 1/2 x))))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (-.f64 (/.f64 -1/2 x) x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))) x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) (+.f64 x (/.f64 1/16 (pow.f64 x 5)))))

prune72.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1363139
Fresh000
Picked011
Done000
Total1364140
Error
0b
Counts
140 → 4
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))
33.6b
(fma.f64 (pow.f64 x 3) -1/6 x)
46.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1882 to 1425 computations (24.3% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite29.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
522×pow1_binary64
493×add-log-exp_binary64
493×log1p-expm1-u_binary64
493×expm1-log1p-u_binary64
483×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify26.0ms (0.6%)

Algorithm
egg-herbie
Rules
1047×fma-def_binary64
818×unswap-sqr_binary64
241×associate-*l*_binary64
194×fma-neg_binary64
174×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
09105
123105
26187
319487
442987
5119087
6237487
7326687
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(*.f64 -1/6 (pow.f64 x 3))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(*.f64 -1/6 (pow.f64 x 3))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
Outputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(*.f64 -1/6 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -1/6)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(*.f64 -1/6 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -1/6)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)

prune16.0ms (0.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done011
Total26430
Error
0b
Counts
30 → 4
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))
33.6b
(fma.f64 (pow.f64 x 3) -1/6 x)
46.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 321 to 243 computations (24.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1/8 (pow.f64 x 3))
9.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series4.0ms (0.1%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
1.0ms
x
@0
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
1.0ms
x
@0
(/.f64 1/8 (pow.f64 x 3))
1.0ms
x
@-inf
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
0.0ms
x
@-inf
(/.f64 1/8 (pow.f64 x 3))

rewrite54.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
914×prod-diff_binary64
193×log1p-udef_binary64
113×add-sqr-sqrt_binary64
110×add-log-exp_binary64
109×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01022
123520
2309820
Stop Event
node limit
Counts
2 → 44
Calls
Call 1
Inputs
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
(/.f64 1/8 (pow.f64 x 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2))) (log.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3)))) (log.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2))) (log.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))) (log.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2) (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/8 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/8 (/.f64 1 (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 x) (pow.f64 (/.f64 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1/2 x) 2) (/.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1/8)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 8) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/64 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/8 (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/8 (pow.f64 x -3))))))))

simplify22.0ms (0.5%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
412×cancel-sign-sub-inv_binary64
346×sub-neg_binary64
240×associate-*l*_binary64
233×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056278
1157270
2464268
31724264
Stop Event
node limit
Counts
56 → 67
Calls
Call 1
Inputs
(-.f64 (log.f64 1/8) (*.f64 3 (log.f64 x)))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2))))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 8 (pow.f64 x 4)) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2)))))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 8 (pow.f64 x 4)) (+.f64 (*.f64 64/3 (pow.f64 x 6)) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2))))))
(+.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)) (log.f64 -1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (log.f64 (/.f64 1 x)) (log.f64 -1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(+.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)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
Outputs
(-.f64 (log.f64 1/8) (*.f64 3 (log.f64 x)))
(+.f64 (log.f64 1/8) (*.f64 -3 (log.f64 x)))
(fma.f64 (log.f64 x) -3 (log.f64 1/8))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2))))
(-.f64 (log.f64 1/8) (fma.f64 3 (log.f64 x) (*.f64 4 (*.f64 x x))))
(-.f64 (log.f64 1/8) (fma.f64 3 (log.f64 x) (*.f64 x (*.f64 x 4))))
(+.f64 (log.f64 1/8) (fma.f64 (log.f64 x) -3 (*.f64 (*.f64 x x) -4)))
(fma.f64 x (*.f64 x -4) (fma.f64 (log.f64 x) -3 (log.f64 1/8)))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 8 (pow.f64 x 4)) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2)))))
(-.f64 (log.f64 1/8) (fma.f64 8 (pow.f64 x 4) (fma.f64 3 (log.f64 x) (*.f64 4 (*.f64 x x)))))
(-.f64 (log.f64 1/8) (fma.f64 8 (pow.f64 x 4) (fma.f64 3 (log.f64 x) (*.f64 x (*.f64 x 4)))))
(-.f64 (log.f64 1/8) (fma.f64 3 (log.f64 x) (fma.f64 x (*.f64 x 4) (*.f64 8 (pow.f64 x 4)))))
(fma.f64 (pow.f64 x 4) -8 (fma.f64 x (*.f64 x -4) (fma.f64 (log.f64 x) -3 (log.f64 1/8))))
(-.f64 (log.f64 1/8) (+.f64 (*.f64 8 (pow.f64 x 4)) (+.f64 (*.f64 64/3 (pow.f64 x 6)) (+.f64 (*.f64 3 (log.f64 x)) (*.f64 4 (pow.f64 x 2))))))
(-.f64 (log.f64 1/8) (fma.f64 8 (pow.f64 x 4) (fma.f64 64/3 (pow.f64 x 6) (fma.f64 3 (log.f64 x) (*.f64 4 (*.f64 x x))))))
(-.f64 (log.f64 1/8) (fma.f64 8 (pow.f64 x 4) (fma.f64 64/3 (pow.f64 x 6) (fma.f64 3 (log.f64 x) (*.f64 x (*.f64 x 4))))))
(-.f64 (log.f64 1/8) (fma.f64 64/3 (pow.f64 x 6) (fma.f64 3 (log.f64 x) (fma.f64 x (*.f64 x 4) (*.f64 8 (pow.f64 x 4))))))
(-.f64 (log.f64 1/8) (fma.f64 3 (log.f64 x) (fma.f64 8 (pow.f64 x 4) (fma.f64 x (*.f64 x 4) (*.f64 64/3 (pow.f64 x 6))))))
(+.f64 (log.f64 (/.f64 1 x)) (log.f64 -1/2))
(+.f64 (neg.f64 (log.f64 x)) (log.f64 -1/2))
(-.f64 (log.f64 -1/2) (log.f64 x))
(-.f64 (+.f64 (log.f64 (/.f64 1 x)) (log.f64 -1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.f64 (neg.f64 (log.f64 x)) (-.f64 (log.f64 -1/2) (/.f64 1/4 (*.f64 x x))))
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 -1/4 (*.f64 x x)))
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 (/.f64 -1/4 x) x))
(+.f64 (log.f64 -1/2) (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 x)))
(-.f64 (+.f64 (log.f64 (/.f64 1 x)) (log.f64 -1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (-.f64 (+.f64 (neg.f64 (log.f64 x)) (log.f64 -1/2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))
(+.f64 (-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x)))
(-.f64 (log.f64 -1/2) (-.f64 (log.f64 x) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4)))))
(+.f64 (log.f64 -1/2) (+.f64 (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 x)) (/.f64 -1/32 (pow.f64 x 4))))
(-.f64 (+.f64 (log.f64 (/.f64 1 x)) (log.f64 -1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (neg.f64 (log.f64 x)) (-.f64 (log.f64 -1/2) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))))
(-.f64 (-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 1/32 (pow.f64 x 4))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))
(-.f64 (+.f64 (-.f64 (log.f64 -1/2) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6)))) (/.f64 (/.f64 -1/4 x) x)) (log.f64 x))
(+.f64 (log.f64 -1/2) (-.f64 (-.f64 (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6))) (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 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 (/.f64 -1/4 x) x)))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 1/32 (pow.f64 x 4))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4)))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))))
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/32 (pow.f64 x 4)))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))
(+.f64 (+.f64 (log.f64 1/2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4)))) (-.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/192 (pow.f64 x 6))))
(+.f64 (log.f64 1/2) (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (/.f64 -1/32 (pow.f64 x 4))) (+.f64 (/.f64 (/.f64 1/4 x) x) (/.f64 1/192 (pow.f64 x 6)))))

prune33.0ms (0.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh011
Picked011
Done022
Total67471
Error
0b
Counts
71 → 4
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))
33.6b
(fma.f64 (pow.f64 x 3) -1/6 x)
46.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1051 to 852 computations (18.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
3.1b
(expm1.f64 (log1p.f64 (hypot.f64 1 x)))
18.5b
(+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x))))
28.3b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))

series3.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite45.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
703×pow1_binary64
653×expm1-log1p-u_binary64
652×add-log-exp_binary64
652×log1p-expm1-u_binary64
70×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify53.0ms (1.2%)

Algorithm
egg-herbie
Rules
447×cancel-sign-sub-inv_binary64
436×fma-neg_binary64
413×associate-/r*_binary64
338×sub-neg_binary64
314×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098569
1306549
2863537
32779537
Stop Event
node limit
Counts
116 → 144
Calls
Call 1
Inputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (*.f64 1/6 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (+.f64 (*.f64 5/112 (pow.f64 x 7)) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (log.f64 2) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 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 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (+.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 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) (*.f64 1/8 (pow.f64 x 4)))
(*.f64 2 x)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 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/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))) (*.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 5/128 (/.f64 1 (pow.f64 x 7))) (*.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))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(-.f64 (+.f64 1 (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/8 (pow.f64 x 4)))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) (*.f64 1/8 (pow.f64 x 4)))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)))
Outputs
x
(-.f64 x (*.f64 1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 -1/6 (pow.f64 x 3)))
(+.f64 x (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 x)
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (*.f64 1/6 (pow.f64 x 3)))
(+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3)))
(+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/6))
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 x))
(-.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) x) (+.f64 (*.f64 5/112 (pow.f64 x 7)) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 5/112 (pow.f64 x 7) (*.f64 1/6 (pow.f64 x 3))))
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
(+.f64 x (fma.f64 3/40 (pow.f64 x 5) (fma.f64 (pow.f64 x 3) -1/6 (*.f64 (pow.f64 x 7) -5/112))))
(-.f64 (log.f64 2) (log.f64 (/.f64 1 x)))
(-.f64 (log.f64 2) (neg.f64 (log.f64 x)))
(+.f64 (log.f64 2) (log.f64 x))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (log.f64 (/.f64 1 x)))
(-.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (neg.f64 (log.f64 x)))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x)))
(-.f64 (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (neg.f64 (log.f64 x)) (/.f64 3/32 (pow.f64 x 4)))))
(+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x))))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (log.f64 x) (/.f64 3/32 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))) (+.f64 (neg.f64 (log.f64 x)) (/.f64 3/32 (pow.f64 x 4))))
(+.f64 (+.f64 (log.f64 2) (/.f64 5/96 (pow.f64 x 6))) (-.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x))))
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.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 1/4 (*.f64 x x)) (-.f64 (log.f64 x) (/.f64 3/32 (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 (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 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(+.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)) (log.f64 1/2)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 1/4 (*.f64 x x))))
(+.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 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 -1/4 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (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)) (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 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (+.f64 (/.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 x (fma.f64 (*.f64 x x) 1/2 1))
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 x))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (fma.f64 1/2 (*.f64 x x) x) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 1 (+.f64 (fma.f64 (*.f64 x x) 1/2 x) (*.f64 (pow.f64 x 4) -1/8)))
(+.f64 x (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (*.f64 x x) 1/2 1)))
(-.f64 (fma.f64 (*.f64 x x) 1/2 x) (fma.f64 (pow.f64 x 4) 1/8 -1))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))
(+.f64 (*.f64 x 2) (/.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 (/.f64 1/2 x) (-.f64 (*.f64 x 2) (/.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/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (+.f64 (*.f64 x 2) (/.f64 1/2 x)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (-.f64 (/.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 (/.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 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))
(-.f64 (+.f64 (*.f64 5/128 (/.f64 1 (pow.f64 x 7))) (*.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 5/128 (pow.f64 x 7)) (-.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 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5)))) (/.f64 -1/2 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 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x)))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) 1/2))
(fma.f64 (*.f64 x x) 1/2 1)
(-.f64 (+.f64 1 (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (*.f64 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 1) (*.f64 (pow.f64 x 4) -1/8))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (*.f64 x x) 1/2 1))
(-.f64 (+.f64 1 (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) (*.f64 1/8 (pow.f64 x 4)))
(+.f64 1 (-.f64 (fma.f64 1/16 (pow.f64 x 6) (*.f64 (*.f64 x x) 1/2)) (*.f64 (pow.f64 x 4) 1/8)))
(+.f64 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 6) 1/16)) (-.f64 1 (*.f64 (pow.f64 x 4) 1/8)))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 6) 1/16 1)))
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (pow.f64 x 6) 1/16 (fma.f64 (*.f64 x x) 1/2 1)))
x
(+.f64 (*.f64 1/2 (/.f64 1 x)) x)
(+.f64 x (/.f64 1/2 x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1/2 x) (-.f64 x (/.f64 1/8 (pow.f64 x 3))))
(+.f64 x (-.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))))
(+.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(-.f64 (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 x (/.f64 1/2 x))) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (+.f64 x (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 1/16 (pow.f64 x 5)))) (/.f64 -1/8 (pow.f64 x 3)))
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 x)
(neg.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(neg.f64 (+.f64 x (/.f64 1/2 x)))
(-.f64 (/.f64 -1/2 x) x)
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 x (/.f64 1/2 x)))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x))
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/2 (/.f64 1 x)) x)))
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 x (/.f64 1/2 x))))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (-.f64 (/.f64 -1/2 x) x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))) x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) (+.f64 x (/.f64 1/16 (pow.f64 x 5)))))

prune76.0ms (1.7%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1820182
Fresh000
Picked011
Done033
Total1824186
Error
0b
Counts
186 → 4
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))
33.6b
(fma.f64 (pow.f64 x 3) -1/6 x)
46.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 2483 to 1881 computations (24.2% saved)

regimes62.0ms (1.4%)

Accuracy

Total 0.2b remaining (74.3%)

Threshold costs 0.2b (74.3%)

Counts
20 → 3
Compiler

Compiled 190 to 142 computations (25.3% saved)

bsearch42.0ms (1%)

Algorithm
binary-search
Calls

2 calls:

22.0ms
x
20.0ms
x
Steps
ItersPointRange
0.00091
∈ [
2.4900353047570746e-10
,
1.5243018303468856
]
-1.1
∈ [
-735853.2678905125
,
-9.667434853046122e-5
]
Compiler

Compiled 2 to 1 computations (50% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02548
12948
Stop Event
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -2476979795053773/2251799813685248) (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (if (<=.f64 x 4196634276768923/4611686018427387904) (fma.f64 (pow.f64 x 3) -1/6 x) (log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))))
Outputs
(if (<=.f64 x -2476979795053773/2251799813685248) (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (if (<=.f64 x 4196634276768923/4611686018427387904) (fma.f64 (pow.f64 x 3) -1/6 x) (log.f64 (+.f64 x (expm1.f64 (log1p.f64 (hypot.f64 1 x)))))))

end82.0ms (1.9%)

Stop Event
done
Compiler

Compiled 100 to 76 computations (24% saved)

Profiling

Loading profile data...