Details

Time bar (total: 9.6s)

sample71.0ms

Algorithm
intervals
Results
21.0ms121×body320valid
17.0ms246×body80nan
15.0ms131×body160valid
0.0msbody80valid

simplify135.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
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

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

rewrite197.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 expm1-log1p-u sqrt-div associate-*r/ add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 pow1/3 div-inv distribute-lft-out
Counts
4 → 334
Calls
4 calls:
56.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))))))
31.0ms
(sqrt (- (* g g) (* h h)))
34.0ms
(sqrt (- (* g g) (* h h)))

series745.0ms

Counts
4 → 12
Calls
4 calls:
325.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
317.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
49.0ms
(sqrt (- (* g g) (* h h)))
54.0ms
(sqrt (- (* g g) (* h h)))

simplify96.0ms

Algorithm
egg-herbie
Counts
346 → 346
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
020265434
150015392

prune1.4s

Filtered
346 candidates to 241 candidates (69.7%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New32620346
Fresh000
Picked101
Done000
Total32720347

Merged error: 31.6b

Counts
347 → 20

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

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
432×add-sqr-sqrt
237×*-un-lft-identity
225×prod-diff
197×add-cube-cbrt
163×associate-*l*
129×swap-sqr
116×associate-*r*
75×difference-of-squares
71×unswap-sqr
68×*-commutative
66×sqrt-prod
56×cbrt-div
53×cbrt-prod
38×times-frac
36×frac-times associate-/r*
19×flip3-+ flip-+
18×associate-*l/
15×fma-neg distribute-lft-out--
associate-/l*
pow1 add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
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 → 497
Calls
4 calls:
23.0ms
(- (* g g) (* h h))
57.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
36.0ms
(sqrt (- (* g g) (* h h)))
32.0ms
(sqrt (- (* g g) (* h h)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
336.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
57.0ms
(sqrt (- (* g g) (* h h)))

simplify111.0ms

Algorithm
egg-herbie
Counts
509 → 509
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
019076340
150025676

prune1.2s

Filtered
509 candidates to 193 candidates (37.9%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New5018509
Fresh71219
Picked101
Done000
Total50920529

Merged error: 31.0b

Counts
529 → 20

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
642×add-sqr-sqrt
450×prod-diff
364×*-un-lft-identity
316×add-cube-cbrt
234×swap-sqr
202×associate-*l*
186×associate-*r*
102×*-commutative unswap-sqr
100×difference-of-squares
66×sqrt-prod
30×fma-neg
20×distribute-lft-out--
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 662
Calls
4 calls:
24.0ms
(- (* g g) (* h h))
23.0ms
(- (* g g) (* h h))
34.0ms
(sqrt (- (* g g) (* h h)))
32.0ms
(sqrt (- (* g g) (* h h)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
35.0ms
(- (* g g) (* h h))
46.0ms
(sqrt (- (* g g) (* h h)))
56.0ms
(sqrt (- (* g g) (* h h)))

simplify132.0ms

Algorithm
egg-herbie
Counts
674 → 674
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06447290
116244886
250023368

prune696.0ms

Filtered
674 candidates to 104 candidates (15.4%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New6722674
Fresh11819
Picked101
Done000
Total67420694

Merged error: 31.0b

Counts
694 → 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)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
642×add-sqr-sqrt
450×prod-diff
364×*-un-lft-identity
316×add-cube-cbrt
234×swap-sqr
202×associate-*l*
186×associate-*r*
102×*-commutative unswap-sqr
100×difference-of-squares
66×sqrt-prod
30×fma-neg
20×distribute-lft-out--
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 662
Calls
4 calls:
24.0ms
(- (* g g) (* h h))
26.0ms
(- (* g g) (* h h))
32.0ms
(sqrt (- (* g g) (* h h)))
35.0ms
(sqrt (- (* g g) (* h h)))

series186.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
674 → 674
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06447292
116314886
250023368

prune559.0ms

Filtered
674 candidates to 104 candidates (15.4%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New6722674
Fresh11819
Picked101
Done000
Total67420694

Merged error: 31.0b

Counts
694 → 20

regimes775.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03535
13535

end0.0ms

sample1.9s

Algorithm
intervals
Results
641.0ms3687×body320valid
486.0ms4179×body160valid
435.0ms7816×body80nan
8.0ms134×body80valid