Details

Time bar (total: 3.6s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
2.0ms102×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.0b
(sqrt (+ x 1.0))
0.2b
(/ x (+ 1.0 (sqrt (+ x 1.0))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
14×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 61
Calls
3 calls:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series216.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ 1.0 (sqrt (+ x 1.0)))
29.0ms
(sqrt (+ x 1.0))
142.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0317483
11159435
25001427

prune122.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New65570
Fresh000
Picked011
Done000
Total65671

Merged error: 0b

Counts
71 → 6

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
0.1b
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
31×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*r*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
flip3-+ div-exp prod-exp associate-/r* sqrt-prod associate-/r/ flip-+
associate-*l* associate-/l* unswap-sqr
cbrt-undiv rec-exp sqrt-div 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
12.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ 1.0 (sqrt (+ x 1.0)))
32.0ms
(sqrt (+ x 1.0))
98.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
140.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0452822
11960707
25001668

prune151.0ms

Filtered
118 candidates to 72 candidates (61.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh044
Picked011
Done011
Total1186124

Merged error: 0b

Counts
124 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
0.2b
(/ x (+ 1.0 (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))))
0.2b
(cbrt (+ x 1.0))
0.2b
(cbrt (+ x 1.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt
13×cbrt-prod
10×associate-*r*
times-frac sqrt-prod
add-exp-log add-cbrt-cube
pow1 cbrt-div
flip3-+ flip-+ add-log-exp
associate-*l* associate-/r* distribute-lft-out associate-/l* unswap-sqr
pow1/3 sqrt-div associate-*r/ associate-/r/
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv
Counts
4 → 86
Calls
4 calls:
8.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
4.0ms
(/ x (+ 1.0 (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))

series482.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
214.0ms
(/ x (+ 1.0 (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))))
84.0ms
(cbrt (+ x 1.0))
86.0ms
(cbrt (+ x 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06811304
130371229
250021209

prune247.0ms

Filtered
98 candidates to 79 candidates (80.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh033
Picked011
Done022
Total986104

Merged error: 0b

Counts
104 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.3b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.5b
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
306×*-un-lft-identity
232×sqrt-prod
192×add-sqr-sqrt
190×add-cube-cbrt
58×distribute-lft-out
30×associate-/l*
24×sqrt-div
20×associate-/r/
14×associate-/r*
12×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×div-inv
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 317
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
21.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series849.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
128.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
437.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
148.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
08875648
134955039
250024953

prune386.0ms

Filtered
329 candidates to 143 candidates (43.5%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New3290329
Fresh022
Picked011
Done033
Total3296335

Merged error: 0b

Counts
335 → 6

regimes44.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample323.0ms

Algorithm
intervals
Results
159.0ms7999×body80valid
47.0ms2604×body80nan
0.0msbody1280valid