Details

Time bar (total: 8.8s)

sample25.0ms

Algorithm
intervals
Results
5.0ms59×body1280valid
4.0ms229×body80nan
3.0ms127×body80valid
2.0ms36×body640valid
1.0ms21×body320valid
0.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

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

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg flip3-- flip--
Counts
1 → 4
Calls
1 calls:
3.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series72.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
7 → 7
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
011762
136650
2154745
3500142

prune15.0ms

Filtered
7 candidates to 5 candidates (71.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New617
Fresh000
Picked011
Done000
Total628

Merged error: 0.1b

Counts
8 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ associate-/r/ flip-+
+-commutative frac-2neg clear-num div-inv
Counts
2 → 8
Calls
2 calls:
3.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
4.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series200.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
136.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify121.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0209148
1752127
23995104
35001103

prune37.0ms

Filtered
14 candidates to 12 candidates (85.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New13114
Fresh000
Picked011
Done011
Total13316

Merged error: 0.1b

Counts
16 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt x) (sqrt x))
0.5b
(/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3)))
4.5b
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
9.3b
(* (/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
120×sqrt-div
112×frac-times
80×frac-add
67×flip3-+ flip-+
41×flip3-- flip--
38×associate-*r/
24×associate-*l/
20×frac-2neg clear-num associate-/r* sum-cubes
19×*-commutative
12×associate-+r+ prod-diff
distribute-rgt-in distribute-lft-in
pow1/2
associate-/r/
sub-neg associate-*l*
+-commutative distribute-rgt-out-- fma-neg div-inv distribute-lft-out--
pow2 sqrt-unprod pow-prod-down rem-square-sqrt pow-sqr pow-prod-up
Counts
4 → 141
Calls
4 calls:
3.0ms
(* (sqrt x) (sqrt x))
5.0ms
(/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3)))
7.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
23.0ms
(* (/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

series701.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (sqrt x) (sqrt x))
150.0ms
(/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3)))
88.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
449.0ms
(* (/ 1.0 (+ (pow (sqrt (+ x 1.0)) 3) (pow (sqrt x) 3))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

simplify86.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
018446673
150015725

prune680.0ms

Filtered
153 candidates to 99 candidates (64.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1485153
Fresh000
Picked011
Done112
Total1497156

Merged error: 0.0b

Counts
156 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt x) (sqrt x))
4.5b
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
4.5b
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
9.3b
(* (/ (/ 1.0 (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x))))) (+ (sqrt (+ x 1.0)) (sqrt x))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
1080×sqrt-div
810×frac-times
720×frac-add
586×flip3-+ flip-+
362×flip3-- flip--
361×associate-/l*
344×associate-/r/
205×associate-*l/
198×associate-*r/
57×associate-/l/
38×frac-2neg clear-num
28×*-commutative
20×div-inv
16×prod-diff
12×associate-+r+
distribute-rgt-in distribute-lft-in
pow1/2
sub-neg distribute-rgt-out-- fma-neg distribute-lft-out--
associate-*l*
+-commutative
pow2 sqrt-unprod pow-prod-down rem-square-sqrt pow-sqr pow-prod-up
Counts
4 → 548
Calls
4 calls:
3.0ms
(* (sqrt x) (sqrt x))
7.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
7.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
51.0ms
(* (/ (/ 1.0 (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x))))) (+ (sqrt (+ x 1.0)) (sqrt x))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

series347.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (sqrt x) (sqrt x))
86.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
87.0ms
(- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))
151.0ms
(* (/ (/ 1.0 (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x))))) (+ (sqrt (+ x 1.0)) (sqrt x))) (+ (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1.0)) (sqrt x)))))

simplify440.0ms

Algorithm
egg-herbie
Counts
560 → 560
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
0500159522

prune5.0s

Filtered
560 candidates to 535 candidates (95.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New5555560
Fresh314
Picked101
Done022
Total5598567

Merged error: 0.0b

Counts
567 → 8

regimes62.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample706.0ms

Algorithm
intervals
Results
160.0ms1742×body1280valid
139.0ms7833×body80nan
94.0ms1315×body640valid
78.0ms4034×body80valid
31.0ms591×body320valid
11.0ms318×body160valid