Details

Time bar (total: 2.7s)

analyze425.0ms (15.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
12.5%62.5%25%4
18.7%43.7%37.5%5
21.9%34.4%43.8%6
23.4%29.7%46.9%7
24.2%27.3%48.5%8
24.6%26.2%49.2%9
24.8%25.6%49.6%10
24.9%25.3%49.8%11
24.9%25.1%49.9%12
25%25.1%50%13
25%25%50%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.7s (64.3%)

Results
907.0ms8256×body128valid
801.0ms8125×body128invalid

preprocess37.0ms (1.4%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
396×unsub-neg_binary64
348×distribute-neg-in_binary64
330×fma-def_binary64
262×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
011
Stop Event
saturated
node limit
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))))
Compiler

Compiled 10 to 7 computations (30% saved)

simplify27.0ms (1%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
396×unsub-neg_binary64
348×distribute-neg-in_binary64
330×fma-def_binary64
262×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
Stop Event
node limit
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))))

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
28.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
28.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
26.5b
(sqrt.f64 (fma.f64 x x -1))

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite37.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
654×pow1_binary64
610×add-log-exp_binary64
610×log1p-expm1-u_binary64
610×expm1-log1p-u_binary64
64×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify26.0ms (1%)

Algorithm
egg-herbie
Rules
676×associate-/l*_binary64
634×fma-def_binary64
474×associate-/r*_binary64
379×associate-*l*_binary64
221×associate-*l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069395
1200377
2511369
31543366
Stop Event
node limit
Counts
79 → 97
Calls
Call 1
Inputs
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5))))))
x
(-.f64 x (*.f64 1/2 (/.f64 1 x)))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))))
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) x)
(+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x)))
(*.f64 2 x)
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(/.f64 1/2 x)
(+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 5/128 (/.f64 1 (pow.f64 x 7))))))
Outputs
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1))
(fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (sqrt.f64 -1))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))))
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)))))
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))))
(fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (sqrt.f64 -1)))
(+.f64 (sqrt.f64 -1) (*.f64 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (+.f64 1/2 (/.f64 (*.f64 x x) 8))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5))))))
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5))))))
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) (+.f64 (/.f64 (*.f64 1/16 (pow.f64 x 6)) (pow.f64 (sqrt.f64 -1) 5)) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (sqrt.f64 -1))))
(+.f64 (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1)) (*.f64 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (+.f64 1/2 (/.f64 (*.f64 x x) 8))))
x
(-.f64 x (*.f64 1/2 (/.f64 1 x)))
(-.f64 x (/.f64 1/2 x))
(+.f64 x (/.f64 -1/2 x))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 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 x (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(-.f64 x (+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))))
(-.f64 (+.f64 x (/.f64 -1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 x (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (/.f64 -1/16 (pow.f64 x 5))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(fma.f64 -1 x (/.f64 1/2 x))
(-.f64 (/.f64 1/2 x) x)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x)))
(+.f64 (/.f64 1/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x)))
(+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x)))
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) x)
(+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x))
(+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) x))
(+.f64 x (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)))
(+.f64 (sqrt.f64 -1) (fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) x) x))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x)))
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) x)))
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))) (+.f64 x (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1))))
(+.f64 (sqrt.f64 -1) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (*.f64 (/.f64 x (sqrt.f64 -1)) x) x)))
(+.f64 (sqrt.f64 -1) (+.f64 x (*.f64 (*.f64 (/.f64 x (sqrt.f64 -1)) x) (+.f64 1/2 (/.f64 (*.f64 x x) 8)))))
(*.f64 2 x)
(*.f64 x 2)
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x)))
(-.f64 (*.f64 x 2) (/.f64 1/2 x))
(fma.f64 x 2 (/.f64 -1/2 x))
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))
(-.f64 (-.f64 (*.f64 x 2) (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
(-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.f64 -1/8 (pow.f64 x 3)))
(+.f64 (/.f64 -1/2 x) (fma.f64 x 2 (/.f64 -1/8 (pow.f64 x 3))))
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(-.f64 (-.f64 (*.f64 x 2) (/.f64 1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))
(-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (+.f64 (/.f64 -1/8 (pow.f64 x 3)) (/.f64 -1/16 (pow.f64 x 5))))
(+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5))))
(/.f64 1/2 x)
(+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 5/128 (/.f64 1 (pow.f64 x 7))))))
(+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 5/128 (pow.f64 x 7)))))
(+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 5/128 (pow.f64 x 7)))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 5/128 (pow.f64 x 7)))))

prune110.0ms (4.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh000
Picked011
Done000
Total96298
Error
0b
Counts
98 → 2
Alt Table
StatusErrorProgram
0.1b
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))
28.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 1490 to 1085 computations (27.2% saved)

localize12.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 -1/16 (pow.f64 x 5))
0.4b
(/.f64 -1/8 (pow.f64 x 3))

series3.0ms (0.1%)

Counts
2 → 0
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 -1/8 (pow.f64 x 3))
1.0ms
x
@0
(/.f64 -1/16 (pow.f64 x 5))
0.0ms
x
@-inf
(/.f64 -1/16 (pow.f64 x 5))
0.0ms
x
@inf
(/.f64 -1/16 (pow.f64 x 5))
0.0ms
x
@inf
(/.f64 -1/8 (pow.f64 x 3))

rewrite41.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
531×unpow-prod-down_binary64
400×log-prod_binary64
256×pow2_binary64
180×expm1-udef_binary64
180×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
123014
2252814
Stop Event
node limit
Counts
2 → 76
Calls
Call 1
Inputs
(/.f64 -1/8 (pow.f64 x 3))
(/.f64 -1/16 (pow.f64 x 5))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/8) (pow.f64 x -3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/8) (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/8) (pow.f64 x -3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/8) (pow.f64 x -3)))))))) (#(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 (/.f64 (cbrt.f64 -1/8) x) (cbrt.f64 (/.f64 1/64 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/64 (pow.f64 x 6))) (/.f64 (cbrt.f64 -1/8) 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 1/8 (/.f64 1 (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/8 (pow.f64 (/.f64 1 (neg.f64 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) -1/8)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 -1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 -1/512 (pow.f64 (pow.f64 x -3) 3))) 1/3) (pow.f64 (sqrt.f64 (*.f64 -1/512 (pow.f64 (pow.f64 x -3) 3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/64 (pow.f64 x 6)) -1/8) 1/3) (cbrt.f64 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/64 (pow.f64 x 6)) (cbrt.f64 (/.f64 1/64 (pow.f64 x 6)))) 1/3) (cbrt.f64 (/.f64 (cbrt.f64 -1/8) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 (sqrt.f64 -1/8) (pow.f64 x 3/2))) 1/3) (cbrt.f64 (/.f64 (sqrt.f64 -1/8) (pow.f64 x 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 -1/8) 3) (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1/8) x)) 2) 3) (/.f64 (cbrt.f64 -1/8) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 -1/8) x)) 3) (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 -1/8) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 -1/8) 2) (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) -8)) 2) -1) (/.f64 (cbrt.f64 -1/8) x))))) (#(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/64 (pow.f64 x 6)) 1/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 (cbrt.f64 -1/8) 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 (pow.f64 x 3) -8) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (pow.f64 x 3) -8) 1) -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 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 expm1.f64 (log1p.f64 (*.f64 -1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/8 (pow.f64 x -3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/16 (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/16 (pow.f64 x -5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/16 (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/16 (pow.f64 x -5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/16 (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5))) (cbrt.f64 (/.f64 1/256 (pow.f64 x 10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/256 (pow.f64 x 10))) (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -1/16) (pow.f64 x 5/2)) (/.f64 (sqrt.f64 -1/16) (pow.f64 x 5/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/16 (/.f64 1 (neg.f64 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/16 (pow.f64 (/.f64 1 (neg.f64 (pow.f64 x 5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -5) -1/16)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 -1/16 (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -5) 3))) 1/3) (pow.f64 (sqrt.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -5) 3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/256 (pow.f64 x 10)) -1/16) 1/3) (cbrt.f64 (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/256 (pow.f64 x 10)) (cbrt.f64 (/.f64 1/256 (pow.f64 x 10)))) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (/.f64 1/256 (pow.f64 x 10)) (/.f64 (sqrt.f64 -1/16) (pow.f64 x 5/2))) 1/3) (cbrt.f64 (/.f64 (sqrt.f64 -1/16) (pow.f64 x 5/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 -1/16) 3) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5)))) 2) 3) (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 -1/16) 2) (pow.f64 x -5))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 5) -16)) 2) -1) (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/16 (pow.f64 x -5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/256 (pow.f64 x 10)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -5) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/16 (pow.f64 x -5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -1/16) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 5) -16) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (pow.f64 x 5) -16) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/256 (pow.f64 x 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/16) (pow.f64 x -5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/16 (pow.f64 x -5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1/4096 (pow.f64 (pow.f64 x -5) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/16 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/16 (pow.f64 x -5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/16 (pow.f64 x -5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/16 (pow.f64 x -5))))))))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

prune188.0ms (7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh000
Picked011
Done011
Total76278
Error
0b
Counts
78 → 2
Alt Table
StatusErrorProgram
0.1b
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))
28.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 1888 to 1549 computations (18% saved)

regimes12.0ms (0.4%)

Accuracy

Total -28.5b remaining (-19609.1%)

Threshold costs -28.5b (-19609.1%)

Counts
3 → 1
Calls
Call 1
Inputs
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))
Results
4.0ms0.1bx
3.0ms0.1b(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
3.0ms0.1b(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
Compiler

Compiled 58 to 41 computations (29.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01728
11928
Stop Event
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))
Outputs
(log.f64 (+.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))))

end22.0ms (0.8%)

Stop Event
done
Compiler

Compiled 40 to 32 computations (20% saved)

Profiling

Loading profile data...