Details

Time bar (total: 6.7s)

sample342.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
8.0ms259×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1196
2216
3216

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
0.0b
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
0.0b
(/ (- 1.0 x) (+ 1.0 x))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
45×add-sqr-sqrt
41×times-frac
26×sqrt-prod
24×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
pow1 associate-/r* associate-/r/
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv flip3-- frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num flip--
Counts
3 → 97
Calls
3 calls:
1.0ms
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
18.0ms
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
28.0ms
(/ (- 1.0 x) (+ 1.0 x))

series136.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(atan (sqrt (/ (- 1.0 x) (+ 1.0 x))))
87.0ms
(sqrt (/ (- 1.0 x) (+ 1.0 x)))
46.0ms
(/ (- 1.0 x) (+ 1.0 x))

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0370779
11128734
25001719

prune246.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3)))
0.0b
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
0.0b
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
0.0b
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

rewrite262.0ms

Algorithm
rewrite-expression-head
Rules
184×*-un-lft-identity
91×times-frac
79×add-sqr-sqrt
55×distribute-lft-out
51×associate-*l*
44×unpow-prod-down cube-prod
36×add-cube-cbrt
19×distribute-lft-out-- difference-of-squares
11×add-exp-log sum-cubes add-cbrt-cube
pow1 associate-/r*
flip3-+ flip-+
sqrt-div associate-/l*
expm1-log1p-u frac-times associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
associate-*r*
cbrt-undiv sqrt-pow1 div-exp pow-prod-down associate-*l/ prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
distribute-rgt-in flip3-- frac-2neg distribute-lft-in pow1/2 div-sub clear-num sqrt-prod *-commutative flip--
Counts
4 → 183
Calls
4 calls:
50.0ms
(/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3)))
1.0ms
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
43.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
158.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

series243.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3)))
9.0ms
(atan (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))
122.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
67.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

simplify106.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08242223
136602022
250022014

prune538.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
0.0b
(* (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))) (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
0.0b
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
0.0b
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

rewrite692.0ms

Algorithm
rewrite-expression-head
Rules
180×*-un-lft-identity
125×sqrt-div
109×associate-*l*
102×add-sqr-sqrt
92×times-frac
76×sqrt-pow1
68×pow1
55×frac-times
50×distribute-lft-out
44×add-cube-cbrt
40×unpow-prod-down cube-prod
35×associate-*r/
32×flip3-+ flip-+
27×sqrt-prod
25×pow-prod-down
20×associate-*l/
19×pow1/2
18×distribute-lft-out-- difference-of-squares
16×add-exp-log add-cbrt-cube
14×pow-prod-up
13×associate-*r*
10×sum-cubes
swap-sqr
pow-sqr unswap-sqr
prod-exp cbrt-unprod
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
*-commutative
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp div-inv
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 282
Calls
4 calls:
44.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
322.0ms
(* (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))) (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
153.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
155.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))
126.0ms
(* (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))) (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
62.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))
65.0ms
(* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))

simplify132.0ms

Algorithm
egg-herbie
Counts
294 → 294
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08074946
136114542
250034464

prune1.0s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
0.0b
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
0.0b
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
0.0b
(pow (cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))) 4)

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
30×sqrt-div
28×cbrt-prod
20×sqrt-prod
15×cbrt-div
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×unpow-prod-down
frac-times flip3-+ associate-*r/ flip-+
pow1 add-exp-log
expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow associate-*l/
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 93
Calls
4 calls:
45.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
44.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
45.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
10.0ms
(pow (cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))) 4)

series733.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
161.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
162.0ms
(cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x)))))))
248.0ms
(pow (cbrt (sqrt (sqrt (* (/ (- 1.0 x) (+ (pow 1.0 3) (pow x 3))) (+ (* 1.0 1.0) (- (* x x) (* 1.0 x))))))) 4)

simplify61.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04352269
115772131
250012101

prune562.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02314
12314

end0.0ms

sample809.0ms

Algorithm
intervals
Results
329.0ms8000×body80valid
213.0ms7844×body80nan