Details

Time bar (total: 10.0m)

sample31.0ms

Algorithm
intervals
Results
8.0ms64×body640valid
6.0ms259×body80nan
3.0ms130×body80valid
3.0ms25×body1280valid
2.0ms23×body320valid
1.0ms14×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0116
1146
2146

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: 20.3b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
3.3b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
978×*-un-lft-identity
822×add-sqr-sqrt
789×add-cube-cbrt
653×sqrt-prod
594×prod-diff
175×associate-/r*
156×frac-sub
86×distribute-lft-out
81×associate-/l*
54×div-inv
48×sqrt-div
46×associate-/r/
27×frac-2neg clear-num
24×flip3-+ flip-+
22×fma-neg
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube
add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log flip-- hypot-def
Counts
4 → 913
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
56.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series288.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
76.0ms
(/ 1.0 (sqrt (+ x 1.0)))
41.0ms
(/ 1.0 (sqrt x))
140.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify255.0ms

Algorithm
egg-herbie
Counts
925 → 925
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
0259627798
1500123121

prune1.5s

Filtered
925 candidates to 468 candidates (50.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New91114925
Fresh000
Picked101
Done000
Total91214926

Merged error: 19.6b

Counts
926 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ (- (- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
0.3b
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
3.4b
(- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))

rewrite6.3s

Algorithm
rewrite-expression-head
Rules
99796×add-sqr-sqrt
43150×times-frac
40202×unswap-sqr
24889×cbrt-prod
23726×sqrt-prod
16758×difference-of-squares
16069×associate-*r*
15710×*-un-lft-identity
10989×add-cube-cbrt
10406×distribute-lft-neg-in distribute-rgt-neg-in
5614×associate-*l*
4118×swap-sqr
3304×prod-diff
2454×*-commutative
1845×distribute-lft-out
735×distribute-lft-out--
323×neg-mul-1
308×div-inv
264×associate-/l*
84×associate-/r*
59×fma-neg
36×associate-*r/
23×add-cbrt-cube
20×associate-/r/
18×add-exp-log
cbrt-undiv
pow1
sqrt-div cbrt-unprod associate-/l/ add-log-exp
div-exp clear-num
expm1-log1p-u prod-exp un-div-inv log1p-expm1-u
frac-2neg flip3-+ flip-+
flip3-- flip-- distribute-neg-frac
distribute-lft-neg-out neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-sub distribute-frac-neg pow-prod-down hypot-def
Counts
4 → 21838
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
831.0ms
(/ (- (- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
26.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
213.0ms
(- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))

series1.2s

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (+ x 1.0))
670.0ms
(/ (- (- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
160.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
302.0ms
(- (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))

simplify8.0s

Algorithm
egg-herbie
Counts
21850 → 21850
Iterations

Useful iterations: 0 (155.0ms)

IterNodesCost
084261006195

prune27.8s

Filtered
21850 candidates to 5642 candidates (25.8%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New218361421850
Fresh7613
Picked101
Done000
Total218442021864

Merged error: 19.5b

Counts
21864 → 20

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
0.3b
(* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
0.5b
(* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))
2.7b
(- (* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0)))) (* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))

rewrite57.5s

Algorithm
rewrite-expression-head
Rules
988737×add-sqr-sqrt
591609×unswap-sqr
282344×cbrt-prod
240688×sqrt-prod
222532×associate-*r*
197166×times-frac
150969×swap-sqr
145824×prod-diff
145012×*-un-lft-identity
90880×add-cube-cbrt
71029×associate-*l*
34579×*-commutative
21289×distribute-lft-out
20825×difference-of-squares
2361×div-inv
794×associate-*r/
400×frac-times
344×associate-/l*
258×associate-/r*
248×fma-neg
207×add-cbrt-cube
187×cbrt-unprod
159×pow1
86×sqrt-div clear-num un-div-inv associate-/l/
84×pow-prod-down
81×add-exp-log
50×prod-exp
43×frac-2neg flip3-+ flip-+
27×distribute-lft-out--
20×associate-*l/
18×cbrt-undiv
13×pow-sqr pow-prod-up
div-exp
distribute-lft-neg-in distribute-rgt-neg-in add-log-exp
pow-plus
expm1-log1p-u log1p-expm1-u
pow2
distribute-lft-neg-out neg-mul-1 sub-neg flip3-- diff-log flip--
Counts
4 → 168444
Calls
4 calls:
27.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
93.0ms
(* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
86.0ms
(* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))
7.3s
(- (* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0)))) (* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))

series704.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
142.0ms
(* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))))
92.0ms
(* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))
315.0ms
(- (* (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0)))) (* (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))

simplify2.3m

Algorithm
egg-herbie
Counts
168456 → 168456
Iterations

Useful iterations: 0 (2.4s)

IterNodesCost
02699517037370

prune3.1m

Filtered
168456 candidates to 24006 candidates (14.3%)
Pruning

33 alts after pruning (33 fresh and 0 done)

PrunedKeptTotal
New16843323168456
Fresh91019
Picked101
Done000
Total16844333168476

Merged error: 19.0b

Counts
168476 → 33

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))
0.1b
(/ (- (- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))) (* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))))
0.3b
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
2.7b
(- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
9093×*-un-lft-identity
6601×associate-*l*
6361×times-frac
6265×add-sqr-sqrt
3465×associate-*r*
2415×distribute-lft-out
2208×add-cube-cbrt
1914×distribute-lft-neg-in distribute-rgt-neg-in
1850×distribute-lft-out--
1560×cbrt-prod
1537×unswap-sqr
1488×sqrt-prod
932×unpow-prod-down
925×difference-of-squares
660×prod-diff
291×sqr-pow
228×div-inv
203×*-commutative
161×distribute-rgt-out
135×neg-mul-1
133×associate-/r*
130×associate-*r/
96×associate-/l*
80×frac-times
62×associate-/r/
49×flip3-+ flip-+
46×unpow2
41×add-cbrt-cube
40×associate-*l/
32×add-exp-log
30×fma-neg
17×cbrt-unprod
16×associate-/l/
15×clear-num
14×sqrt-div un-div-inv
12×prod-exp
11×pow1 cbrt-undiv
add-log-exp
frac-2neg
div-exp
expm1-log1p-u pow-prod-down log1p-expm1-u
+-commutative distribute-lft-neg-out
distribute-rgt-in flip3-- distribute-lft-in diff-log associate--l+ flip-- distribute-neg-frac
neg-sub0 sub-neg div-sub distribute-frac-neg sum-log
Counts
4 → 4856
Calls
4 calls:
176.0ms
(* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))
493.0ms
(/ (- (- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))) (* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))))
24.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
198.0ms
(- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))

series3.6s

Counts
4 → 12
Calls
4 calls:
965.0ms
(* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0)))))
2.2s
(/ (- (- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))) (* (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (+ (* 1.0 (/ (sqrt (+ x 1.0)) (cbrt 1.0))) (* (sqrt x) (* (cbrt 1.0) (cbrt 1.0))))))
150.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) (cbrt 1.0)))
355.0ms
(- (+ (* 1.0 (/ x (pow (cbrt 1.0) 2))) (* 1.0 (/ 1 (pow (cbrt 1.0) 2)))) (* x (pow (cbrt 1.0) 4)))

simplify1.8s

Algorithm
egg-herbie
Counts
4868 → 4868
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
05001223979

prune12.4s

Filtered
4868 candidates to 2008 candidates (41.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New486084868
Fresh29332
Picked101
Done000
Total4890114901

Merged error: 0.7b

Counts
4901 → 11

regimes86.0ms

Accuracy

0% (0.1b remaining)

Error of 0.9b against oracle of 0.7b and baseline of 0.9b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04734
16234
27034
37434
48334
58634
68634

end0.0ms

sample776.0ms

Algorithm
intervals
Results
167.0ms7818×body80nan
160.0ms1823×body640valid
132.0ms1134×body1280valid
100.0ms4113×body80valid
42.0ms606×body320valid
14.0ms324×body160valid

end2.5m