Details

Time bar (total: 5.4s)

sample44.0ms

Algorithm
intervals
Results
10.0ms56×body1280valid
9.0ms49×body640valid
8.0ms245×body80nan
4.0ms111×body80valid
3.0ms28×body320valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.1b

localize5.0ms

Local error

Found 1 expressions with local error:

3.2b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
57×sqrt-prod
50×*-un-lft-identity
42×prod-diff
37×add-sqr-sqrt
29×add-cube-cbrt
distribute-lft-out
fma-neg
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 70
Calls
1 calls:
26.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify128.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
02521065
1759733
24363623
35001593

prune199.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
16×add-sqr-sqrt add-cube-cbrt
fma-def
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 75
Calls
2 calls:
18.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
28.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
11.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0356693
11446627
25001586

prune415.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
19.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(cbrt (+ x 1.0))
7.0ms
(cbrt (+ x 1.0))
7.0ms
(cbrt (+ x 1.0))
9.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

simplify149.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0321818
11071769
24756694
35001692

prune1.1s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0))))
0.3b
(cbrt (sqrt (+ x 1.0)))
0.3b
(cbrt (sqrt (+ x 1.0)))
0.3b
(* (cbrt (+ x 1.0)) (* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0)))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
68×cbrt-prod
52×sqrt-div
47×add-sqr-sqrt
42×*-un-lft-identity
36×sqrt-prod
35×flip3-+ flip-+
32×frac-times
22×add-cube-cbrt
17×associate-*l*
16×pow1 associate-*r/
15×swap-sqr
11×add-exp-log pow1/3 associate-*r* unswap-sqr
10×associate-*l/
distribute-lft-out
pow-prod-down
add-cbrt-cube
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 163
Calls
4 calls:
22.0ms
(* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0))))
2.0ms
(cbrt (sqrt (+ x 1.0)))
2.0ms
(cbrt (sqrt (+ x 1.0)))
37.0ms
(* (cbrt (+ x 1.0)) (* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0)))))

series31.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0))))
7.0ms
(cbrt (sqrt (+ x 1.0)))
7.0ms
(cbrt (sqrt (+ x 1.0)))
9.0ms
(* (cbrt (+ x 1.0)) (* (cbrt (sqrt (+ x 1.0))) (cbrt (sqrt (+ x 1.0)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06082051
120111950
250011701

prune1.7s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes87.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01413
11813
21813

end0.0ms

sample1.2s

Algorithm
intervals
Results
298.0ms1752×body1280valid
281.0ms8078×body80nan
180.0ms1322×body640valid
146.0ms3992×body80valid
64.0ms628×body320valid
21.0ms306×body160valid