Details

Time bar (total: 1.6s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample861.0ms (52.7%)

Results
851.0ms8256×body256valid

preprocess68.0ms (4.2%)

Algorithm
egg-herbie
Rules
476×fma-def_binary64
327×fma-neg_binary64
238×div-sub_binary64
156×times-frac_binary64
146×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912210
1015810
1120010
1229210
1342310
1472510
15155310
16223310
17277510
18295810
19309410
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify54.0ms (3.3%)

Algorithm
egg-herbie
Rules
476×fma-def_binary64
327×fma-neg_binary64
238×div-sub_binary64
156×times-frac_binary64
146×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912210
1015810
1120010
1229210
1342310
1472510
15155310
16223310
17277510
18295810
19309410
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))

eval0.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% saved)

prune1.0ms (0%)

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
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 8 to 6 computations (25% saved)

localize7.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 16 to 11 computations (31.3% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite51.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
737×log1p-expm1-u_binary64
737×expm1-log1p-u_binary64
735×add-log-exp_binary64
722×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify41.0ms (2.5%)

Algorithm
egg-herbie
Rules
830×fma-neg_binary64
578×fma-def_binary64
553×associate-*l*_binary64
548×cancel-sign-sub-inv_binary64
471×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029147
191135
2268129
3859126
42725122
Stop Event
node limit
Counts
45 → 47
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
Outputs
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x))) (/.f64 -2 (pow.f64 x 3)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 (/.f64 -2 x) x) (/.f64 -2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x))) (/.f64 -2 (pow.f64 x 3)))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 (/.f64 -2 x) x) (/.f64 -2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))

eval13.0ms (0.8%)

Compiler

Compiled 563 to 443 computations (21.3% saved)

prune9.0ms (0.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New42547
Fresh000
Picked011
Done000
Total42648
Error
0b
Counts
48 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
29.9b
(+.f64 -1 (/.f64 -2 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))
30.6b
-1
33.0b
(+.f64 (*.f64 2 x) 1)
33.9b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 34 to 28 computations (17.6% saved)

localize10.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 1 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))
Compiler

Compiled 23 to 17 computations (26.1% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite58.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
884×pow1_binary64
828×log1p-expm1-u_binary64
828×expm1-log1p-u_binary64
826×add-log-exp_binary64
810×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify51.0ms (3.1%)

Algorithm
egg-herbie
Rules
733×times-frac_binary64
717×fma-def_binary64
470×associate-/l/_binary64
371×associate-*l/_binary64
342×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046330
1141300
2429293
31310290
43941290
Stop Event
node limit
Counts
91 → 93
Calls
Call 1
Inputs
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (pow.f64 x 2) x))
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
Outputs
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(+.f64 1 (*.f64 2 (fma.f64 x x x)))
(fma.f64 2 (fma.f64 x x x) 1)
(fma.f64 x (fma.f64 2 x 2) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(+.f64 (fma.f64 2 x 1) (*.f64 2 (fma.f64 x x (pow.f64 x 3))))
(+.f64 1 (*.f64 2 (fma.f64 x (fma.f64 x x x) x)))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x))
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x)))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (pow.f64 x 2) x))
(+.f64 (+.f64 1 (*.f64 x x)) x)
(+.f64 1 (fma.f64 x x x))
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)))
(+.f64 1 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))))
(+.f64 1 (+.f64 x (fma.f64 x x (pow.f64 x 3))))
(fma.f64 x (fma.f64 x x x) (+.f64 1 x))
(*.f64 (+.f64 1 x) (fma.f64 x x 1))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x)))
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 -1 (pow.f64 x 4)))
(+.f64 (-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))) (/.f64 -1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 -1 (/.f64 -1 x))))
(/.f64 -1 x)
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))
(-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x)))
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))))
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4))))
(+.f64 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 -1 (pow.f64 x 4)))
(+.f64 (-.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1 x) x))) (/.f64 -1 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 -1 (/.f64 -1 x))))

localize5.0ms (0.3%)

Compiler

Compiled 12 to 9 computations (25% saved)

localize5.0ms (0.3%)

Compiler

Compiled 12 to 9 computations (25% saved)

eval28.0ms (1.7%)

Compiler

Compiled 1218 to 939 computations (22.9% saved)

prune14.0ms (0.8%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New91293
Fresh202
Picked011
Done033
Total93699
Error
0b
Counts
99 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
33.9b
1
29.9b
(+.f64 -1 (/.f64 -2 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))
30.6b
-1
33.0b
(+.f64 (*.f64 2 x) 1)
Compiler

Compiled 34 to 28 computations (17.6% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
33.9b
1
29.9b
(+.f64 -1 (/.f64 -2 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))
30.6b
-1
33.0b
(+.f64 (*.f64 2 x) 1)
Compiler

Compiled 34 to 28 computations (17.6% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
33.9b
1
29.9b
(+.f64 -1 (/.f64 -2 x))
0.1b
(*.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))
30.6b
-1
33.0b
(+.f64 (*.f64 2 x) 1)
Compiler

Compiled 34 to 28 computations (17.6% saved)

regimes10.0ms (0.6%)

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

2 calls:

5.0ms
x
2.0ms
(/.f64 (+.f64 x 1) (-.f64 1 x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 41 to 32 computations (22% saved)

regimes15.0ms (0.9%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
0.8b3x
Compiler

Compiled 17 to 14 computations (17.6% saved)

bsearch47.0ms (2.9%)

Algorithm
binary-search
Steps
TimeLeftRight
22.0ms
0.47224194520391305
10.074060315508158
25.0ms
-0.6704009491705715
-1.472547355990547e-5
Compiler

Compiled 12 to 9 computations (25% saved)

regimes15.0ms (0.9%)

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

1 calls:

14.0ms
x
Results
ErrorSegmentsBranch
1.3b3x
Compiler

Compiled 12 to 10 computations (16.7% saved)

bsearch45.0ms (2.8%)

Algorithm
binary-search
Steps
TimeLeftRight
30.0ms
0.47224194520391305
10.074060315508158
15.0ms
-53488144429.54227
-0.6704009491705715
Compiler

Compiled 12 to 9 computations (25% saved)

regimes67.0ms (4.1%)

Accuracy

Total -61.5b remaining (-3994.6%)

Threshold costs -61.5b (-3994.6%)

Counts
4 → 3
Calls
Call 1
Inputs
1
-1
-1
1
Outputs
-1
1
-1
Calls

1 calls:

66.0ms
x
Results
ErrorSegmentsBranch
1.5b3x
Compiler

Compiled 7 to 6 computations (14.3% saved)

bsearch30.0ms (1.8%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
0.47224194520391305
10.074060315508158
14.0ms
-53488144429.54227
-0.6704009491705715
Compiler

Compiled 12 to 9 computations (25% saved)

simplify7.0ms (0.4%)

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
02686
13486
23786
33986
44086
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
(if (<=.f64 x -6038434929746825/9007199254740992) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2126788648449061/4503599627370496) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -1752699516667241/32768) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2126788648449061/4503599627370496) 1 (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -1752699516667241/32768) -1 (if (<=.f64 x 2126788648449061/4503599627370496) 1 -1))
1
Outputs
(/.f64 (+.f64 x 1) (-.f64 1 x))
(if (<=.f64 x -6038434929746825/9007199254740992) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2126788648449061/4503599627370496) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -6038434929746825/9007199254740992) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2126788648449061/4503599627370496) (+.f64 1 (*.f64 x 2)) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -1752699516667241/32768) (+.f64 -1 (/.f64 -2 x)) (if (<=.f64 x 2126788648449061/4503599627370496) 1 (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -1752699516667241/32768) -1 (if (<=.f64 x 2126788648449061/4503599627370496) 1 -1))
1
Compiler

Compiled 66 to 53 computations (19.7% saved)

soundness0.0ms (0%)

end108.0ms (6.6%)

Compiler

Compiled 62 to 49 computations (21% saved)

Profiling

Loading profile data...