Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.99593%

Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

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))))

rewrite17.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:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series25.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
4.0ms
(sqrt (+ x 1.0))
16.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0460585
11938554
25002551

prune128.0ms

Filtered
55 candidates to 70 candidates (-27.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New67370
Fresh000
Picked101
Done000
Total68371

Merged error: 0b

Counts
71 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
6.5b
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
7.7b
(sqrt (+ (pow x 3) (pow 1.0 3)))
9.4b
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
143×*-un-lft-identity
114×sqrt-prod
84×times-frac
57×add-sqr-sqrt
55×add-cube-cbrt
44×distribute-lft-out
32×unpow-prod-down cube-prod
15×associate-/l*
10×associate-/r*
add-exp-log sqrt-div sum-cubes add-cbrt-cube
pow1
flip3-+ flip-+
associate-/r/ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv associate-/l/
sqrt-undiv
Counts
4 → 176
Calls
4 calls:
34.0ms
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
23.0ms
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
11.0ms
(sqrt (+ (pow x 3) (pow 1.0 3)))
5.0ms
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
7.0ms
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
4.0ms
(sqrt (+ (pow x 3) (pow 1.0 3)))
4.0ms
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06993257
130473043
250023032

prune380.0ms

Filtered
104 candidates to 188 candidates (-80.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1880188
Fresh022
Picked011
Done000
Total1883191

Merged error: 0b

Counts
191 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(/ x (+ 1.0 (log (exp (sqrt (+ x 1.0))))))
0.0b
(exp (sqrt (+ x 1.0)))
1.5b
(log (exp (sqrt (+ x 1.0))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
15×times-frac
14×exp-prod
12×sqrt-prod log-pow
11×distribute-lft-out
10×pow1
add-exp-log add-cbrt-cube
associate-/r* add-log-exp
log-prod associate-/l*
flip3-+ sqrt-div associate-/r/ flip-+
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp rem-log-exp clear-num div-inv rem-exp-log
Counts
4 → 87
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
9.0ms
(/ x (+ 1.0 (log (exp (sqrt (+ x 1.0))))))
4.0ms
(exp (sqrt (+ x 1.0)))
4.0ms
(log (exp (sqrt (+ x 1.0))))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
15.0ms
(/ x (+ 1.0 (log (exp (sqrt (+ x 1.0))))))
7.0ms
(exp (sqrt (+ x 1.0)))
4.0ms
(log (exp (sqrt (+ x 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0580891
12495824
25002812

prune182.0ms

Filtered
73 candidates to 99 candidates (-35.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh011
Picked011
Done011
Total993102

Merged error: 0b

Counts
102 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ x (- (- (* 1.0 1.0) x) 1.0)) (- 1.0 (sqrt (+ x 1.0))))
0.0b
(sqrt (+ x 1.0))
4.3b
(- (- (* 1.0 1.0) x) 1.0)
4.3b
(- 1.0 (sqrt (+ x 1.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
29×*-un-lft-identity
21×associate-*l*
16×times-frac
15×add-cube-cbrt
11×add-log-exp
add-exp-log add-cbrt-cube
difference-of-squares
pow1
associate-*r* sqrt-prod distribute-lft-out--
sub-neg flip3-- flip--
diff-log
distribute-rgt-in frac-times distribute-lft-in sqrt-div associate-*r/ prod-exp associate--l+ associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv associate--l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 div-exp pow-prod-down associate-*l/ *-commutative flip-+ div-inv distribute-lft-out
Counts
4 → 100
Calls
4 calls:
18.0ms
(* (/ x (- (- (* 1.0 1.0) x) 1.0)) (- 1.0 (sqrt (+ x 1.0))))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(- (- (* 1.0 1.0) x) 1.0)
6.0ms
(- 1.0 (sqrt (+ x 1.0)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (/ x (- (- (* 1.0 1.0) x) 1.0)) (- 1.0 (sqrt (+ x 1.0))))
3.0ms
(sqrt (+ x 1.0))
1.0ms
(- (- (* 1.0 1.0) x) 1.0)
5.0ms
(- 1.0 (sqrt (+ x 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0503940
12155875
25001866

prune166.0ms

Filtered
82 candidates to 112 candidates (-36.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh000
Picked011
Done022
Total1123115

Merged error: 0b

Counts
115 → 3

regimes35.0ms

Accuracy

100% (0.0b remaining)

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

bsearch15.0ms

Steps
ItersRangePoint
9
0.05542000641073973
11806.685469302465
0.8795243452021285

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02014
12014

end0.0ms

sample353.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.99593%

Results
223.0ms7995×body80valid
1.0msbody1280valid

Profiling

Loading profile data...