Details

Time bar (total: 3.5s)

analyze102.0ms (2.9%)

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
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.6s (73.6%)

Results
1.4s8256×body256valid
1.2s8221×body256invalid

preprocess106.0ms (3%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
799×unsub-neg_binary64
450×distribute-neg-in_binary64
433×sub-neg_binary64
337×distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
10559812
11631912
12662412
13682112
14695312
15729712
16784312
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 11 to 8 computations (27.3% saved)

simplify99.0ms (2.8%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
799×unsub-neg_binary64
450×distribute-neg-in_binary64
433×sub-neg_binary64
337×distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
10559812
11631912
12662412
13682112
14695312
15729712
16784312
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))))

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
29.5b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
29.5b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Compiler

Compiled 10 to 7 computations (30% saved)

localize7.0ms (0.2%)

Local error

Found 8 expressions with local error:

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

series8.0ms (0.2%)

Counts
4 → 48
Calls

12 calls:

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

rewrite66.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
889×pow1_binary64
833×add-log-exp_binary64
831×log1p-expm1-u_binary64
831×expm1-log1p-u_binary64
814×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0834
117634
2243634
Stop Event
node limit
Counts
4 → 117
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 x x) 1))
(-.f64 (*.f64 x x) 1)
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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 (sqrt.f64 (fma.f64 x x -1)) 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 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.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 (+.f64 x 1)) (sqrt.f64 (+.f64 x -1)))))) (#(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 *.f64 (pow.f64 (+.f64 x 1) 1/2) (pow.f64 (+.f64 x -1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 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 (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 cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))))) (#(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 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 +.f64 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 1/4) (*.f64 (pow.f64 (fma.f64 x x -1) 1/4) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) -1) (/.f64 1 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (fma.f64 x x -1)) (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 (*.f64 (sqrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1)) (+.f64 (pow.f64 x 6) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x 1) (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1) (+.f64 (pow.f64 x 4) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 4) -1) (-.f64 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) -1)) (neg.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log.f64 x) 2))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.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 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 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.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 (E.f64) (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -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 pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2)) (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))) (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(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 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 (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 (cbrt.f64 x) 2) (cbrt.f64 x) (sqrt.f64 (fma.f64 x x -1)))))) (#(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 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 log1p.f64 (expm1.f64 (+.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 +.f64 0 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (log.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2)) (log.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2))) (log.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 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x -1))) (log.f64 (-.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2) (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))))

simplify41.0ms (1.2%)

Algorithm
egg-herbie
Rules
487×associate-*l*_binary64
485×associate-*r*_binary64
476×associate-*l/_binary64
390×associate-*r/_binary64
315×associate-+l-_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0112752
1317702
2912690
33017690
Stop Event
node limit
Counts
165 → 185
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))))
-1
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(-.f64 (pow.f64 x 2) 1)
(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))))))
(log.f64 (sqrt.f64 -1))
(+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))
(+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))))
(+.f64 (*.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (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 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))))
Outputs
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))
(+.f64 (sqrt.f64 -1) (/.f64 (*.f64 1/2 (*.f64 x x)) (sqrt.f64 -1)))
(fma.f64 1/2 (/.f64 x (/.f64 (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 (*.f64 1/2 (*.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 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (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))))))
(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 (*.f64 1/16 (pow.f64 x 6)) (pow.f64 (sqrt.f64 -1) 5)))))
(+.f64 (sqrt.f64 -1) (+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (*.f64 1/16 (/.f64 (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/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1))))
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 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 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 (-.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 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.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 x (+.f64 (/.f64 -1/2 x) (+.f64 (/.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)))
-1
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(-.f64 (pow.f64 x 2) 1)
(+.f64 (*.f64 x x) -1)
(fma.f64 x x -1)
(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 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x))
(+.f64 x (fma.f64 1/2 (/.f64 x (/.f64 (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 (*.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 (sqrt.f64 -1) (+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)))))
(+.f64 (sqrt.f64 -1) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x)))
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (sqrt.f64 -1)))
(*.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 x 2) (+.f64 (/.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 (-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.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 (/.f64 -1/2 x) (+.f64 (fma.f64 x 2 (/.f64 -1/8 (pow.f64 x 3))) (/.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 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/2 x) (/.f64 5/128 (pow.f64 x 7))))
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5))))
(+.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)))))
(log.f64 (sqrt.f64 -1))
(+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))
(+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1)))
(+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))))
(fma.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))))
(+.f64 (log.f64 (sqrt.f64 -1)) (+.f64 (/.f64 x (sqrt.f64 -1)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)))))
(+.f64 (log.f64 (sqrt.f64 -1)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))))
(+.f64 (*.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))))
(fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1)))))
(+.f64 (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))) (fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)))))
(+.f64 (log.f64 (sqrt.f64 -1)) (fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1)))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2))
(+.f64 (log.f64 2) (log.f64 x))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/4 (*.f64 x x)))
(+.f64 (log.f64 2) (-.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 3/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))
(+.f64 (log.f64 2) (-.f64 (log.f64 x) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4)))))
(+.f64 (+.f64 (log.f64 2) (log.f64 x)) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))))
(+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 3/32 (pow.f64 x 4))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))
(-.f64 (+.f64 (log.f64 2) (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6)))))
(+.f64 (+.f64 (log.f64 2) (log.f64 x)) (-.f64 (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))) (/.f64 5/96 (pow.f64 x 6))))
(+.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))) (+.f64 (log.f64 x) (/.f64 -5/96 (pow.f64 x 6)))))
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 -1/2)))
(+.f64 (log.f64 -1/2) (+.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/4 (*.f64 x x))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (+.f64 (log.f64 -1/2) (/.f64 3/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))))
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 -1/2)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x))))
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))))
(+.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))))
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6)))) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))) (/.f64 5/96 (pow.f64 x 6))))
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6)))))

eval60.0ms (1.7%)

Compiler

Compiled 2755 to 2027 computations (26.4% saved)

prune24.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1823185
Fresh000
Picked011
Done000
Total1824186
Error
0b
Counts
186 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
29.5b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.6b
(log.f64 (*.f64 x 2))
0.3b
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))))
0.8b
(+.f64 (log.f64 2) (log.f64 x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(+.f64 (log.f64 2) (log.f64 x))
0.2b
(+.f64 (log.f64 2) (log.f64 x))

series66.0ms (1.9%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
46.0ms
x
@0
(+.f64 (log.f64 2) (log.f64 x))
13.0ms
x
@-inf
(+.f64 (log.f64 2) (log.f64 x))
7.0ms
x
@inf
(+.f64 (log.f64 2) (log.f64 x))

rewrite41.0ms (1.2%)

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

Useful iterations: 0 (0.0ms)

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

simplify116.0ms (3.3%)

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

Useful iterations: 1 (0.0ms)

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

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite47.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
543×unpow-prod-down_binary64
424×fma-def_binary64
380×log-prod_binary64
281×exp-prod_binary64
266×pow-prod-down_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0712
116612
2249210
Stop Event
node limit
Counts
1 → 52
Calls
Call 1
Inputs
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (/.f64 1 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2))) (log.f64 (/.f64 1 (-.f64 x (+.f64 x (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (log.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2)) (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (+.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (-.f64 (*.f64 x x) (*.f64 x (+.f64 x (/.f64 -1/2 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2))) (log.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))) (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))) (log.f64 (neg.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))) (log.f64 (neg.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (*.f64 -1/8 (pow.f64 x -3)))) (log.f64 (+.f64 (pow.f64 (+.f64 x x) 2) (fma.f64 1/4 (pow.f64 x -2) (neg.f64 (*.f64 (+.f64 x x) (/.f64 -1/2 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (*.f64 x x))) (log.f64 (-.f64 (+.f64 x (/.f64 -1/2 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (pow.f64 (+.f64 x x) 2) (*.f64 1/4 (pow.f64 x -2)))) (log.f64 (-.f64 (+.f64 x x) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 3 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2) 1/3) (cbrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2) 3) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2)) (cbrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))) (sqrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))) (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))))

simplify40.0ms (1.1%)

Algorithm
egg-herbie
Rules
660×fma-def_binary64
585×times-frac_binary64
412×associate-+l-_binary64
297×sub-neg_binary64
285×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060282
1165264
2476262
31661258
46151258
Stop Event
node limit
Counts
64 → 76
Calls
Call 1
Inputs
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (*.f64 -1 (log.f64 x))))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -1 (log.f64 x)))))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (+.f64 (*.f64 -64/3 (pow.f64 x 6)) (*.f64 -1 (log.f64 x))))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 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 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -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/2) (*.f64 -1 (log.f64 x)))
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))
(-.f64 (log.f64 -1/2) (log.f64 x))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (*.f64 -1 (log.f64 x))))
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (neg.f64 (log.f64 x))))
(-.f64 (+.f64 (log.f64 -1/2) (*.f64 -4 (*.f64 x x))) (log.f64 x))
(-.f64 (fma.f64 x (*.f64 x -4) (log.f64 -1/2)) (log.f64 x))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -1 (log.f64 x)))))
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (neg.f64 (log.f64 x)))))
(+.f64 (log.f64 -1/2) (-.f64 (fma.f64 -4 (*.f64 x x) (*.f64 -8 (pow.f64 x 4))) (log.f64 x)))
(-.f64 (fma.f64 -4 (*.f64 x x) (*.f64 -8 (pow.f64 x 4))) (-.f64 (log.f64 x) (log.f64 -1/2)))
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -8) -4) (log.f64 -1/2)) (log.f64 x))
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (+.f64 (*.f64 -64/3 (pow.f64 x 6)) (*.f64 -1 (log.f64 x))))))
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (fma.f64 -64/3 (pow.f64 x 6) (neg.f64 (log.f64 x))))))
(+.f64 (log.f64 -1/2) (fma.f64 x (*.f64 x -4) (-.f64 (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6))) (log.f64 x))))
(fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (-.f64 (fma.f64 -64/3 (pow.f64 x 6) (log.f64 -1/2)) (log.f64 x))))
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x))))
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2))
(+.f64 (log.f64 x) (log.f64 2))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/4 (*.f64 x x)))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 (/.f64 -1/4 x) x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))
(+.f64 (log.f64 x) (-.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4)))))
(+.f64 (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x))) (+.f64 (log.f64 x) (/.f64 -1/32 (pow.f64 x 4))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 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 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))))
(+.f64 (log.f64 x) (-.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6)))))
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))))
(+.f64 (log.f64 2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (-.f64 (log.f64 x) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))))
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2))
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2))
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x)))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))
(-.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) (/.f64 1/4 (*.f64 x x)))
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (/.f64 -1/4 (*.f64 x x)))
(+.f64 (log.f64 -2) (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 (/.f64 -1 x))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (-.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))
(+.f64 (-.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x)))
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -1/32 (pow.f64 x 4))))
(+.f64 (log.f64 -2) (+.f64 (/.f64 -1/32 (pow.f64 x 4)) (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 (/.f64 -1 x)))))
(+.f64 (log.f64 -2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x)))))
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -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 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -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 -2) (log.f64 (/.f64 -1 x))) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6))))
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (-.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 -1/4 x) x) (-.f64 (log.f64 -2) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))))
(+.f64 (/.f64 (/.f64 -1/4 x) x) (+.f64 (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -2) (/.f64 -1/192 (pow.f64 x 6)))))

localize3.0ms (0.1%)

eval41.0ms (1.2%)

Compiler

Compiled 1726 to 1319 computations (23.6% saved)

prune14.0ms (0.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1120112
Fresh000
Picked011
Done033
Total1124116
Error
0b
Counts
116 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
29.5b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.6b
(log.f64 (*.f64 x 2))
0.3b
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))))
0.8b
(+.f64 (log.f64 2) (log.f64 x))
Compiler

Compiled 30 to 22 computations (26.7% saved)

regimes13.0ms (0.4%)

Accuracy

Total -29.8b remaining (-9137.5%)

Threshold costs -29.8b (-9137.5%)

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

3 calls:

4.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
4.0ms
x
4.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
Results
ErrorSegmentsBranch
0.3b1x
0.3b1(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.3b1(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
Compiler

Compiled 48 to 33 computations (31.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11318
Stop Event
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))))
(log.f64 (*.f64 x 2))
Outputs
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))))
(log.f64 (*.f64 x 2))

end19.0ms (0.5%)

Stop Event
done
Compiler

Compiled 27 to 19 computations (29.6% saved)

Profiling

Loading profile data...