Details

Time bar (total: 1.6s)

analyze4.0ms (0.3%)

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)

sample804.0ms (49.4%)

Results
792.0ms8256×body256valid

preprocess39.0ms (2.4%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
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)

simplify29.0ms (1.8%)

Algorithm
egg-herbie
Rules
468×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
156×times-frac_binary64
137×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42910
53910
65210
76910
88810
912010
1015310
1119510
1228710
1341710
1466910
15129210
16194910
17246910
18264410
19278010
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)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite48.0ms (3%)

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
2196310
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 exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 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 expm1.f64 (log1p.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))))

simplify30.0ms (1.9%)

Algorithm
egg-herbie
Rules
848×fma-neg_binary64
571×fma-def_binary64
547×associate-*l*_binary64
537×cancel-sign-sub-inv_binary64
471×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029147
191135
2268129
3858126
42664122
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 (+.f64 -1 (/.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 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 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 (+.f64 -1 (/.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 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 x) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1))

eval15.0ms (0.9%)

Compiler

Compiled 563 to 443 computations (21.3% saved)

prune8.0ms (0.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41647
Fresh000
Picked011
Done000
Total41748
Error
0b
Counts
48 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
28.6b
(+.f64 -1 (/.f64 -2 x))
33.8b
(+.f64 (*.f64 2 x) 1)
34.6b
1
0.1b
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
29.3b
-1
0.0b
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 46 to 38 computations (17.4% saved)

localize6.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite52.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
989×pow1_binary64
926×log1p-expm1-u_binary64
926×expm1-log1p-u_binary64
924×add-log-exp_binary64
87×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify48.0ms (2.9%)

Algorithm
egg-herbie
Rules
590×fma-def_binary64
550×associate-/l*_binary64
416×div-sub_binary64
327×distribute-lft-out_binary64
296×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
032189
199177
2301171
3988167
43814167
57924167
Stop Event
node limit
Counts
44 → 46
Calls
Call 1
Inputs
2
(+.f64 (*.f64 2 x) 2)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2)))
(/.f64 -2 x)
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(/.f64 -2 x)
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
Outputs
2
(+.f64 (*.f64 2 x) 2)
(fma.f64 2 x 2)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 2))
(fma.f64 2 (fma.f64 x x x) 2)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 2)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 2)))
(fma.f64 2 (*.f64 x (fma.f64 x x x)) (fma.f64 2 x 2))
(*.f64 (fma.f64 x x 1) (fma.f64 2 x 2))
(*.f64 (fma.f64 2 x 2) (fma.f64 x x 1))
(/.f64 -2 x)
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 x)))
(-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x)))
(+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 x))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 (/.f64 -2 (*.f64 x x)) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(neg.f64 (+.f64 (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 -2 (*.f64 x x)) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))) (/.f64 -2 (pow.f64 x 4)))
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 4)))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 2 (pow.f64 x 3)))))
(/.f64 -2 x)
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 x)))
(-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x)))
(+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 x))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 (/.f64 -2 (*.f64 x x)) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))
(neg.f64 (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))))
(neg.f64 (+.f64 (+.f64 (/.f64 2 (pow.f64 x 4)) (/.f64 2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))
(-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 -2 (*.f64 x x)) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3)))) (/.f64 -2 (pow.f64 x 4)))
(+.f64 (/.f64 -2 (*.f64 x x)) (-.f64 (/.f64 -2 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 4)))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 -2 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 2 x) x) (/.f64 2 (pow.f64 x 3)))))

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite49.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
847×pow1_binary64
792×log1p-expm1-u_binary64
792×expm1-log1p-u_binary64
790×add-log-exp_binary64
776×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
116017
2221917
Stop Event
node limit
Counts
2 → 62
Calls
Call 1
Inputs
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
(/.f64 1 (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (-.f64 1 x)) (*.f64 x (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1 (-.f64 1 x)) (*.f64 (/.f64 1 (-.f64 1 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (/.f64 1 (-.f64 1 x))) (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 1 (-.f64 1 x)) x) (/.f64 1 (-.f64 1 x)))))) (#(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 1 x) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x 1) (-.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (/.f64 (-.f64 1 x) (cbrt.f64 (+.f64 x 1))))))) (#(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 x 1)) (neg.f64 (-.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)) (-.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 -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 x 1) (sqrt.f64 (-.f64 1 x))) (sqrt.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 x 1) 1) (-.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 x 1) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.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 -1 (+.f64 x 1)) (neg.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 1) -1) (neg.f64 (-.f64 1 x)))))) (#(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 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 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 cbrt.f64 (*.f64 (pow.f64 (+.f64 x 1) 3) (pow.f64 (/.f64 1 (-.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 x 1) 3)))))) (#(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 log1p.f64 (expm1.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(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 -.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 (pow.f64 (-.f64 1 x) -1/2) (pow.f64 (-.f64 1 x) -1/2))))) (#(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 x 1))))) (#(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 exp.f64 (neg.f64 (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (-.f64 1 x))))))))

simplify34.0ms (2.1%)

Algorithm
egg-herbie
Rules
733×times-frac_binary64
727×fma-def_binary64
466×associate-/l/_binary64
363×associate-*l/_binary64
345×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046330
1141300
2429293
31300290
43875290
Stop Event
node limit
Counts
86 → 88
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)
(+.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))))))
(+.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)))
(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 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (-.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)) (-.f64 -1 (/.f64 2 (pow.f64 x 3))))
-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)))
(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 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (-.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3)))))
(+.f64 -1 (+.f64 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)) (/.f64 -2 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x)) (-.f64 -1 (/.f64 2 (pow.f64 x 3))))
1
(+.f64 1 x)
(+.f64 1 (+.f64 (pow.f64 x 2) x))
(+.f64 1 (+.f64 x (*.f64 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 (fma.f64 x x (pow.f64 x 3)) (+.f64 1 x))
(fma.f64 x (fma.f64 x x x) (+.f64 1 x))
(*.f64 (fma.f64 x x 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 x) (/.f64 (/.f64 1 x) 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 (/.f64 -1 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)))
(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 (/.f64 -1 x) x) (/.f64 -1 (pow.f64 x 3))) (-.f64 (/.f64 -1 x) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 4))))
(/.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 x) (/.f64 (/.f64 1 x) 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 (/.f64 -1 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)))
(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 (/.f64 -1 x) x) (/.f64 -1 (pow.f64 x 3))) (-.f64 (/.f64 -1 x) (/.f64 1 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 -1 x) x) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))) (/.f64 -1 (pow.f64 x 4))))

localize3.0ms (0.2%)

localize3.0ms (0.2%)

eval63.0ms (3.9%)

Compiler

Compiled 2701 to 2174 computations (19.5% saved)

prune24.0ms (1.5%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1801181
Fresh112
Picked011
Done044
Total1817188
Error
0b
Counts
188 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
28.6b
(+.f64 -1 (/.f64 -2 x))
33.8b
(+.f64 (*.f64 2 x) 1)
0.1b
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
29.3b
-1
0.0b
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
34.6b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 46 to 38 computations (17.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done055
Total077
Error
0b
Counts
7 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
28.6b
(+.f64 -1 (/.f64 -2 x))
33.8b
(+.f64 (*.f64 2 x) 1)
0.1b
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
29.3b
-1
0.0b
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
34.6b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 46 to 38 computations (17.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.2%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done055
Total077
Error
0b
Counts
7 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
28.6b
(+.f64 -1 (/.f64 -2 x))
33.8b
(+.f64 (*.f64 2 x) 1)
0.1b
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
29.3b
-1
0.0b
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
34.6b
1
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 46 to 38 computations (17.4% saved)

regimes12.0ms (0.7%)

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

2 calls:

7.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 51 to 40 computations (21.6% saved)

regimes9.0ms (0.5%)

Counts
7 → 1
Calls
Call 1
Inputs
1
1
-1
(+.f64 -1 (/.f64 -2 x))
(+.f64 (*.f64 2 x) 1)
(/.f64 (+.f64 x 1) (-.f64 1 x))
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))
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 40 to 31 computations (22.5% saved)

regimes32.0ms (2%)

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

1 calls:

31.0ms
x
Results
ErrorSegmentsBranch
0.4b3x
Compiler

Compiled 16 to 13 computations (18.8% saved)

bsearch69.0ms (4.2%)

Algorithm
binary-search
Steps
TimeLeftRight
16.0ms
0.012335033877358499
93147663.61935408
53.0ms
-160479371722540540.0
-0.00033330058431122297
Compiler

Compiled 12 to 9 computations (25% saved)

regimes13.0ms (0.8%)

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

1 calls:

12.0ms
x
Results
ErrorSegmentsBranch
0.7b3x
Compiler

Compiled 11 to 9 computations (18.2% saved)

bsearch62.0ms (3.8%)

Algorithm
binary-search
Steps
TimeLeftRight
45.0ms
0.012335033877358499
93147663.61935408
17.0ms
-160479371722540540.0
-0.00033330058431122297
Compiler

Compiled 12 to 9 computations (25% saved)

regimes12.0ms (0.7%)

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

1 calls:

11.0ms
x
Results
ErrorSegmentsBranch
0.9b3x
Compiler

Compiled 6 to 5 computations (16.7% saved)

bsearch74.0ms (4.6%)

Algorithm
binary-search
Steps
TimeLeftRight
16.0ms
0.012335033877358499
93147663.61935408
58.0ms
-160479371722540540.0
-0.00033330058431122297
Compiler

Compiled 12 to 9 computations (25% saved)

regimes4.0ms (0.2%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0.0b (-0%)

Counts
2 → 1
Calls
Call 1
Inputs
1
1
Outputs
1
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
34.6b1x
Compiler

Compiled 5 to 4 computations (20% saved)

simplify4.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02690
13790
24190
34390
44490
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
(/.f64 (+.f64 x 1) (-.f64 1 x))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) 1 (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) 1 -1))
1
Outputs
(-.f64 (+.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x))) 1)
(+.f64 (+.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x))) -1)
(/.f64 (+.f64 x 1) (-.f64 1 x))
(/.f64 (+.f64 1 x) (-.f64 1 x))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) (+.f64 (*.f64 2 x) 1) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 7110662908630295/576460752303423488) (+.f64 1 (*.f64 x 2)) (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) 1 (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 7110662908630295/576460752303423488) 1 (+.f64 -1 (/.f64 -2 x))))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 227541213076169440/18446744073709551616) 1 -1))
(if (<=.f64 x -160479371722540544) -1 (if (<=.f64 x 7110662908630295/576460752303423488) 1 -1))
1

end55.0ms (3.4%)

Stop Event
fuel
Compiler

Compiled 135 to 109 computations (19.3% saved)

Profiling

Loading profile data...