Details

Time bar (total: 1.8s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample748.0ms (42.5%)

Results
736.0ms8256×body128valid

preprocess40.0ms (2.3%)

Algorithm
egg-herbie
Rules
492×fma-neg_binary64
454×unsub-neg_binary64
411×distribute-rgt-in_binary64
370×fma-def_binary64
363×distribute-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73189
86579
914219
1027459
1141279
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify32.0ms (1.8%)

Algorithm
egg-herbie
Rules
492×fma-neg_binary64
454×unsub-neg_binary64
411×distribute-rgt-in_binary64
370×fma-def_binary64
363×distribute-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73189
86579
914219
1027459
1141279
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 x x))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@0
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@-inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0ms
x
@inf
(-.f64 1 (*.f64 x x))
0.0ms
x
@0
(-.f64 1 (*.f64 x x))

rewrite38.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
580×pow1_binary64
544×add-log-exp_binary64
543×log1p-expm1-u_binary64
543×expm1-log1p-u_binary64
531×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify26.0ms (1.5%)

Algorithm
egg-herbie
Rules
687×associate-*l*_binary64
657×fma-def_binary64
221×associate-/l/_binary64
212×associate-*r/_binary64
206×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
053370
1156332
2463320
31638318
Stop Event
node limit
Counts
79 → 82
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(*.f64 (sqrt.f64 -1) x)
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(*.f64 -1 (pow.f64 x 2))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 -1/8 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 (*.f64 -1/16 (pow.f64 x 6)) (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (fma.f64 -1/16 (pow.f64 x 6) 1)))
(*.f64 (sqrt.f64 -1) x)
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 -1/8 (*.f64 (neg.f64 (sqrt.f64 -1)) (pow.f64 x 3))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))))
(+.f64 (+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (/.f64 -1/8 (*.f64 (neg.f64 (sqrt.f64 -1)) (pow.f64 x 3))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (sqrt.f64 -1)))
(*.f64 (sqrt.f64 -1) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (*.f64 x (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(-.f64 (+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))
(-.f64 (fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(+.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))))
(+.f64 (/.f64 -1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))))
1
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))
(+.f64 1 (*.f64 -1 (pow.f64 x 2)))
(+.f64 1 (neg.f64 (*.f64 x x)))
(-.f64 1 (*.f64 x x))

eval25.0ms (1.4%)

Compiler

Compiled 1072 to 751 computations (29.9% saved)

prune131.0ms (7.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283
Error
0b
Counts
83 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
0.0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 46 to 36 computations (21.7% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2)
0.0b
(log1p.f64 (*.f64 x (neg.f64 x)))

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite33.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
508×pow1_binary64
469×add-log-exp_binary64
468×expm1-log1p-u_binary64
467×log1p-expm1-u_binary64
460×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify30.0ms (1.7%)

Algorithm
egg-herbie
Rules
614×associate-*l*_binary64
449×fma-neg_binary64
349×fma-def_binary64
284×sub-neg_binary64
278×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077577
1233548
2688533
32260524
Stop Event
node limit
Counts
50 → 74
Calls
Call 1
Inputs
(*.f64 -1 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (*.f64 -1 (pow.f64 x 2)))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 (*.f64 -1/3 (pow.f64 x 6)) (*.f64 -1 (pow.f64 x 2))))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 (*.f64 -1/3 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 8)))))
(+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (/.f64 1 (pow.f64 x 2)))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 1/3 (/.f64 1 (pow.f64 x 6))))))
(+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 1/3 (/.f64 1 (pow.f64 x 6))))))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4))))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/8 (pow.f64 x 8)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))))
(*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
Outputs
(*.f64 -1 (pow.f64 x 2))
(neg.f64 (*.f64 x x))
(*.f64 x (neg.f64 x))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (*.f64 -1 (pow.f64 x 2)))
(fma.f64 -1/2 (pow.f64 x 4) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 -1/2 (pow.f64 x 4)) (*.f64 x x))
(fma.f64 -1/2 (pow.f64 x 4) (*.f64 x (neg.f64 x)))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 (*.f64 -1/3 (pow.f64 x 6)) (*.f64 -1 (pow.f64 x 2))))
(fma.f64 -1/2 (pow.f64 x 4) (fma.f64 -1/3 (pow.f64 x 6) (neg.f64 (*.f64 x x))))
(fma.f64 -1/2 (pow.f64 x 4) (-.f64 (*.f64 -1/3 (pow.f64 x 6)) (*.f64 x x)))
(fma.f64 -1/2 (pow.f64 x 4) (fma.f64 -1/3 (pow.f64 x 6) (*.f64 x (neg.f64 x))))
(-.f64 (fma.f64 -1/2 (pow.f64 x 4) (*.f64 -1/3 (pow.f64 x 6))) (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 (*.f64 -1/3 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 8)))))
(fma.f64 -1/2 (pow.f64 x 4) (fma.f64 -1/3 (pow.f64 x 6) (fma.f64 -1 (*.f64 x x) (*.f64 -1/4 (pow.f64 x 8)))))
(fma.f64 -1/2 (pow.f64 x 4) (fma.f64 -1/3 (pow.f64 x 6) (-.f64 (*.f64 -1/4 (pow.f64 x 8)) (*.f64 x x))))
(fma.f64 -1/2 (pow.f64 x 4) (fma.f64 -1/3 (pow.f64 x 6) (fma.f64 -1/4 (pow.f64 x 8) (*.f64 x (neg.f64 x)))))
(+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))
(+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x))))
(fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1))
(+.f64 (log.f64 -1) (*.f64 2 (log.f64 x)))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (/.f64 1 (pow.f64 x 2)))
(+.f64 (log.f64 -1) (-.f64 (*.f64 -2 (neg.f64 (log.f64 x))) (/.f64 1 (*.f64 x x))))
(+.f64 (log.f64 -1) (fma.f64 -2 (neg.f64 (log.f64 x)) (/.f64 -1 (*.f64 x x))))
(+.f64 (log.f64 -1) (+.f64 (*.f64 2 (log.f64 x)) (/.f64 -1 (*.f64 x x))))
(+.f64 (log.f64 -1) (fma.f64 2 (log.f64 x) (/.f64 -1 (*.f64 x x))))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1/2 (pow.f64 x 4))))
(+.f64 (log.f64 -1) (-.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (/.f64 -1 (*.f64 x x))) (/.f64 1/2 (pow.f64 x 4))))
(+.f64 (*.f64 2 (log.f64 x)) (+.f64 (+.f64 (log.f64 -1) (/.f64 -1 (*.f64 x x))) (/.f64 -1/2 (pow.f64 x 4))))
(-.f64 (fma.f64 2 (log.f64 x) (/.f64 -1 (*.f64 x x))) (-.f64 (/.f64 1/2 (pow.f64 x 4)) (log.f64 -1)))
(-.f64 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 1/3 (/.f64 1 (pow.f64 x 6))))))
(+.f64 (log.f64 -1) (-.f64 (*.f64 -2 (neg.f64 (log.f64 x))) (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1/2 (pow.f64 x 4))) (/.f64 1/3 (pow.f64 x 6)))))
(-.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1/3 (pow.f64 x 6)))))
(+.f64 (log.f64 -1) (-.f64 (-.f64 (*.f64 2 (log.f64 x)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (/.f64 1/3 (pow.f64 x 6)))) (/.f64 1 (*.f64 x x))))
(+.f64 (-.f64 (fma.f64 2 (log.f64 x) (/.f64 -1 (*.f64 x x))) (-.f64 (/.f64 1/2 (pow.f64 x 4)) (log.f64 -1))) (/.f64 -1/3 (pow.f64 x 6)))
(+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))
(fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (/.f64 1 (pow.f64 x 2)))
(-.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 1 (*.f64 x x)))
(+.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1 (*.f64 x x)))
(+.f64 (log.f64 -1) (fma.f64 -2 (log.f64 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1/2 (pow.f64 x 4))))
(+.f64 (-.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 1/2 (pow.f64 x 4))) (/.f64 -1 (*.f64 x x)))
(+.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1/2 (pow.f64 x 4))))
(-.f64 (+.f64 (log.f64 -1) (fma.f64 -2 (log.f64 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))) (/.f64 1/2 (pow.f64 x 4)))
(-.f64 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (*.f64 1/3 (/.f64 1 (pow.f64 x 6))))))
(-.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1/2 (pow.f64 x 4))) (/.f64 1/3 (pow.f64 x 6))))
(-.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1/3 (pow.f64 x 6)))))
(+.f64 (log.f64 -1) (+.f64 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (/.f64 -1/2 (pow.f64 x 4))) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1/3 (pow.f64 x 6)))))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -1/2)
(*.f64 x (*.f64 x -1/2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/4))
(fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) -1/4))
(fma.f64 (pow.f64 x 4) -1/4 (*.f64 (*.f64 x x) -1/2))
(fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 4) -1/4))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4))))
(fma.f64 -1/6 (pow.f64 x 6) (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/4)))
(fma.f64 (pow.f64 x 6) -1/6 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) -1/4)))
(fma.f64 (pow.f64 x 4) -1/4 (fma.f64 x (*.f64 x -1/2) (*.f64 (pow.f64 x 6) -1/6)))
(+.f64 (*.f64 -1/6 (pow.f64 x 6)) (+.f64 (*.f64 -1/8 (pow.f64 x 8)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/4 (pow.f64 x 4)))))
(fma.f64 -1/6 (pow.f64 x 6) (fma.f64 -1/8 (pow.f64 x 8) (fma.f64 -1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/4))))
(fma.f64 (pow.f64 x 6) -1/6 (fma.f64 (pow.f64 x 8) -1/8 (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 4) -1/4))))
(fma.f64 (pow.f64 x 6) -1/6 (fma.f64 x (*.f64 x -1/2) (fma.f64 (pow.f64 x 4) -1/4 (*.f64 (pow.f64 x 8) -1/8))))
(*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x)))))
(*.f64 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))) 1/2)
(*.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) 1/2)
(fma.f64 (log.f64 -1) 1/2 (log.f64 x))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))) 1/2) (/.f64 1/2 (*.f64 x x)))
(fma.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) 1/2 (/.f64 -1/2 (*.f64 x x)))
(+.f64 (fma.f64 (log.f64 -1) 1/2 (log.f64 x)) (/.f64 -1/2 (*.f64 x x)))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))) 1/2) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))))
(-.f64 (fma.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) 1/2 (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4)))
(+.f64 (/.f64 -1/2 (*.f64 x x)) (fma.f64 (log.f64 -1) 1/2 (+.f64 (log.f64 x) (/.f64 -1/4 (pow.f64 x 4)))))
(+.f64 (fma.f64 (log.f64 -1) 1/2 (log.f64 x)) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/4 (pow.f64 x 4))))
(-.f64 (*.f64 1/2 (+.f64 (log.f64 -1) (*.f64 -2 (log.f64 (/.f64 1 x))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(-.f64 (*.f64 (+.f64 (log.f64 -1) (*.f64 -2 (neg.f64 (log.f64 x)))) 1/2) (+.f64 (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6))))
(-.f64 (-.f64 (fma.f64 (fma.f64 -2 (neg.f64 (log.f64 x)) (log.f64 -1)) 1/2 (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6)))
(+.f64 (fma.f64 (log.f64 -1) 1/2 (+.f64 (log.f64 x) (/.f64 -1/4 (pow.f64 x 4)))) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/6 (pow.f64 x 6))))
(+.f64 (fma.f64 (log.f64 -1) 1/2 (log.f64 x)) (+.f64 (/.f64 -1/2 (*.f64 x x)) (+.f64 (/.f64 -1/4 (pow.f64 x 4)) (/.f64 -1/6 (pow.f64 x 6)))))
(*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1)))
(*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)))
(fma.f64 (log.f64 -1) 1/2 (neg.f64 (log.f64 (/.f64 -1 x))))
(-.f64 (*.f64 (log.f64 -1) 1/2) (log.f64 (/.f64 -1 x)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (/.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x)))
(-.f64 (fma.f64 (log.f64 -1) 1/2 (/.f64 -1/2 (*.f64 x x))) (log.f64 (/.f64 -1 x)))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))))
(-.f64 (fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4)))
(+.f64 (/.f64 -1/2 (*.f64 x x)) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (fma.f64 (log.f64 -1) 1/2 (/.f64 -1/4 (pow.f64 x 4)))))
(+.f64 (/.f64 -1/2 (*.f64 x x)) (-.f64 (fma.f64 (log.f64 -1) 1/2 (/.f64 -1/4 (pow.f64 x 4))) (log.f64 (/.f64 -1 x))))
(-.f64 (*.f64 1/2 (+.f64 (*.f64 -2 (log.f64 (/.f64 -1 x))) (log.f64 -1))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (*.f64 1/6 (/.f64 1 (pow.f64 x 6))))))
(-.f64 (*.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (+.f64 (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6))))
(-.f64 (-.f64 (fma.f64 1/2 (fma.f64 -2 (log.f64 (/.f64 -1 x)) (log.f64 -1)) (/.f64 -1/2 (*.f64 x x))) (/.f64 1/4 (pow.f64 x 4))) (/.f64 1/6 (pow.f64 x 6)))
(+.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (fma.f64 (log.f64 -1) 1/2 (/.f64 -1/4 (pow.f64 x 4)))) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/6 (pow.f64 x 6))))
(+.f64 (-.f64 (fma.f64 (log.f64 -1) 1/2 (/.f64 -1/4 (pow.f64 x 4))) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 -1/6 (pow.f64 x 6))))

eval33.0ms (1.9%)

Compiler

Compiled 1172 to 890 computations (24.1% saved)

prune69.0ms (3.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done000
Total74276
Error
0b
Counts
76 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
0.0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 37 to 29 computations (21.6% saved)

localize9.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
0.0b
(sqrt.f64 (-.f64 1 (pow.f64 x 4)))
0.0b
(sqrt.f64 (+.f64 1 (*.f64 x x)))

series5.0ms (0.3%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sqrt.f64 (-.f64 1 (pow.f64 x 4)))
1.0ms
x
@-inf
(sqrt.f64 (-.f64 1 (pow.f64 x 4)))
1.0ms
x
@0
(sqrt.f64 (-.f64 1 (pow.f64 x 4)))
0.0ms
x
@0
(sqrt.f64 (+.f64 1 (*.f64 x x)))
0.0ms
x
@inf
(sqrt.f64 (+.f64 1 (*.f64 x x)))

rewrite54.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
506×prod-diff_binary64
283×fma-def_binary64
183×expm1-udef_binary64
182×log1p-udef_binary64
138×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify38.0ms (2.1%)

Algorithm
egg-herbie
Rules
412×unswap-sqr_binary64
404×fma-neg_binary64
394×fma-def_binary64
371×cancel-sign-sub-inv_binary64
270×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0105742
1315697
2903672
33299672
Stop Event
node limit
Counts
122 → 144
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.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/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))
(*.f64 -1 x)
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5)))))
1
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) 1)
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 1 (*.f64 -1/8 (pow.f64 x 8))))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1/16 (pow.f64 x 12)) (*.f64 -1/8 (pow.f64 x 8)))))
(*.f64 (sqrt.f64 -1) (pow.f64 x 2))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(*.f64 (sqrt.f64 -1) (pow.f64 x 2))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(*.f64 (sqrt.f64 -1) x)
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
Outputs
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 1/2 (*.f64 x x)))
(fma.f64 1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (*.f64 1/16 (pow.f64 x 6)))))
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 x (/.f64 1/2 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/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (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 x (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (neg.f64 x) (/.f64 1/2 x))
(fma.f64 x -1 (/.f64 -1/2 x))
(-.f64 (/.f64 -1/2 x) x)
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x)))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (/.f64 -1/2 x))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5)))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/16 (pow.f64 x 5))))
1
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) 1)
(fma.f64 -1/2 (pow.f64 x 4) 1)
(fma.f64 (pow.f64 x 4) -1/2 1)
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 1 (*.f64 -1/8 (pow.f64 x 8))))
(+.f64 (fma.f64 -1/2 (pow.f64 x 4) 1) (*.f64 -1/8 (pow.f64 x 8)))
(fma.f64 (pow.f64 x 4) -1/2 (fma.f64 -1/8 (pow.f64 x 8) 1))
(fma.f64 -1/8 (pow.f64 x 8) (fma.f64 (pow.f64 x 4) -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 -1/16 (pow.f64 x 12)) (*.f64 -1/8 (pow.f64 x 8)))))
(+.f64 (fma.f64 -1/2 (pow.f64 x 4) 1) (fma.f64 -1/16 (pow.f64 x 12) (*.f64 -1/8 (pow.f64 x 8))))
(+.f64 (fma.f64 -1/8 (pow.f64 x 8) (*.f64 -1/16 (pow.f64 x 12))) (fma.f64 (pow.f64 x 4) -1/2 1))
(fma.f64 (pow.f64 x 4) -1/2 (fma.f64 -1/8 (pow.f64 x 8) (fma.f64 -1/16 (pow.f64 x 12) 1)))
(*.f64 (sqrt.f64 -1) (pow.f64 x 2))
(*.f64 (*.f64 x x) (sqrt.f64 -1))
(*.f64 x (*.f64 x (sqrt.f64 -1)))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))
(+.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (-.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 6) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))) (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (-.f64 (+.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (/.f64 1/8 (*.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 (/.f64 1/16 (pow.f64 x 10)) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (/.f64 -1/8 (*.f64 (pow.f64 x 6) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10))) (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6)))))
(+.f64 (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10))) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6))))
(*.f64 (sqrt.f64 -1) (pow.f64 x 2))
(*.f64 (*.f64 x x) (sqrt.f64 -1))
(*.f64 x (*.f64 x (sqrt.f64 -1)))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))
(+.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (-.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 6) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))) (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 6)))))
(+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (-.f64 (+.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10)))) (/.f64 1/8 (*.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (fma.f64 (*.f64 x x) (sqrt.f64 -1) (/.f64 (/.f64 1/16 (pow.f64 x 10)) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (/.f64 1/2 (*.f64 (*.f64 x x) (sqrt.f64 -1))) (/.f64 -1/8 (*.f64 (pow.f64 x 6) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10))) (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6)))))
(+.f64 (fma.f64 x (*.f64 x (sqrt.f64 -1)) (/.f64 (/.f64 1/2 x) (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 10))) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 6))))
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)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (*.f64 -1/8 (pow.f64 x 4))))
(fma.f64 x (*.f64 x -1/2) (fma.f64 -1/8 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 (*.f64 x x) -1/2 (fma.f64 -1/8 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/16))))
(+.f64 1 (fma.f64 x (*.f64 x -1/2) (fma.f64 -1/8 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/16))))
(*.f64 (sqrt.f64 -1) x)
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))) (-.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (/.f64 1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 3)))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (+.f64 (/.f64 (/.f64 1/16 (pow.f64 x 5)) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (sqrt.f64 -1)))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))))
(-.f64 (/.f64 -1/8 (*.f64 (pow.f64 x 3) (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(+.f64 (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))))))
(-.f64 (fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))))
(+.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (/.f64 -1/8 (*.f64 (pow.f64 x 3) (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))))))
(+.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (/.f64 -1/8 (*.f64 (pow.f64 x 3) (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/16 (pow.f64 x 5)) (pow.f64 (sqrt.f64 -1) 5)))))

eval57.0ms (3.2%)

Compiler

Compiled 2384 to 1867 computations (21.7% saved)

prune342.0ms (19.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done011
Total1442146
Error
0b
Counts
146 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
0.0b
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Compiler

Compiled 23 to 18 computations (21.7% saved)

regimes13.0ms (0.7%)

Accuracy

Total -0.0b remaining (-600%)

Threshold costs -0.0b (-600%)

Counts
3 → 1
Calls
Call 1
Inputs
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Results
TimeErrorSegmentsBranch
3.0ms0.0b1x
4.0ms0.0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
2.0ms0.0b1(-.f64 1 (*.f64 x x))
2.0ms0.0b1(*.f64 x x)
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11613
22013
32313
42413
Stop Event
saturated
Calls
Call 1
Inputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
Outputs
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))

end15.0ms (0.8%)

Stop Event
done
Compiler

Compiled 18 to 14 computations (22.2% saved)

Profiling

Loading profile data...