Details

Time bar (total: 8.5s)

sample65.0ms

Algorithm
intervals
Results
20.0ms121×body320valid
14.0ms131×body160valid
13.0ms246×body80nan
0.0msbody80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.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: 36.2b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

9.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
9.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.9b
(sqrt (- (* g g) (* h h)))
29.9b
(sqrt (- (* g g) (* h h)))

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
124×associate-*l*
112×cbrt-div
110×*-un-lft-identity
108×cbrt-prod
78×add-cube-cbrt
76×times-frac
72×frac-times associate-/r*
67×sqrt-prod
52×difference-of-squares
48×associate-*r*
40×unswap-sqr
36×associate-*l/
34×*-commutative
24×swap-sqr
21×flip3-- flip--
19×flip3-+ flip-+
18×associate-/l*
12×distribute-lft-out--
pow1 frac-2neg clear-num
add-exp-log sqrt-div associate-*r/ add-cbrt-cube add-log-exp
rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 pow1/3 div-inv distribute-lft-out
Counts
4 → 326
Calls
4 calls:
54.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
56.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
18.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series761.0ms

Counts
4 → 12
Calls
4 calls:
332.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
328.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
47.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(sqrt (- (* g g) (* h h)))

simplify94.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
020015376
150015334

prune1.4s

Filtered
338 candidates to 233 candidates (68.9%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New31820338
Fresh000
Picked101
Done000
Total31920339

Merged error: 31.6b

Counts
339 → 20

localize24.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
9.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.9b
(sqrt (- (* g g) (* h h)))
29.9b
(sqrt (- (* g g) (* h h)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
215×add-sqr-sqrt
82×*-un-lft-identity
75×difference-of-squares
70×associate-*l*
66×sqrt-prod
56×cbrt-div
53×cbrt-prod
42×add-cube-cbrt
40×unswap-sqr
38×times-frac
37×*-commutative
36×frac-times swap-sqr associate-/r*
23×associate-*r*
19×flip3-+ flip-+
18×associate-*l/
15×distribute-lft-out--
associate-/l*
pow1 add-log-exp
add-exp-log sqrt-div add-cbrt-cube
flip3-- frac-2neg clear-num flip--
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ distribute-lft-out
sub-neg distribute-rgt-neg-in pow1/3 diff-log div-inv
Counts
4 → 249
Calls
4 calls:
20.0ms
(- (* g g) (* h h))
51.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
21.0ms
(sqrt (- (* g g) (* h h)))
19.0ms
(sqrt (- (* g g) (* h h)))

series465.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* g g) (* h h))
328.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
47.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(sqrt (- (* g g) (* h h)))

simplify62.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014383102
150013072

prune941.0ms

Filtered
261 candidates to 152 candidates (58.2%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New2529261
Fresh81119
Picked101
Done000
Total26120281

Merged error: 31.0b

Counts
281 → 20

localize24.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
3.0b
(- (* g g) (* h h))
29.9b
(sqrt (- (* g g) (* h h)))
29.9b
(sqrt (- (* g g) (* h h)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
208×add-sqr-sqrt
100×difference-of-squares
66×sqrt-prod
54×*-un-lft-identity
48×swap-sqr
40×*-commutative unswap-sqr
20×distribute-lft-out--
16×associate-*l*
add-log-exp
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 174
Calls
4 calls:
16.0ms
(- (* g g) (* h h))
16.0ms
(- (* g g) (* h h))
18.0ms
(sqrt (- (* g g) (* h h)))
21.0ms
(sqrt (- (* g g) (* h h)))

series165.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
51.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify73.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0180872
1567844
22176844
35001844

prune491.0ms

Filtered
186 candidates to 68 candidates (36.6%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New1842186
Fresh11819
Picked101
Done000
Total18620206

Merged error: 31.0b

Counts
206 → 20

localize22.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (* g g) (* h h))
3.0b
(- (* g g) (* h h))
29.9b
(sqrt (- (* g g) (* h h)))
29.9b
(sqrt (- (* g g) (* h h)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
208×add-sqr-sqrt
100×difference-of-squares
66×sqrt-prod
54×*-un-lft-identity
48×swap-sqr
40×*-commutative unswap-sqr
20×distribute-lft-out--
16×associate-*l*
add-log-exp
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 174
Calls
4 calls:
16.0ms
(- (* g g) (* h h))
16.0ms
(- (* g g) (* h h))
17.0ms
(sqrt (- (* g g) (* h h)))
21.0ms
(sqrt (- (* g g) (* h h)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
49.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify72.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0180872
1567844
22176844
35001844

prune386.0ms

Filtered
186 candidates to 68 candidates (36.6%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New1842186
Fresh11819
Picked101
Done000
Total18620206

Merged error: 31.0b

Counts
206 → 20

regimes775.0ms

Accuracy

0% (1.3b remaining)

Error of 32.1b against oracle of 30.8b and baseline of 32.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03535
13535

end0.0ms

sample2.0s

Algorithm
intervals
Results
653.0ms3687×body320valid
492.0ms4179×body160valid
447.0ms7816×body80nan
8.0ms134×body80valid