Details

Time bar (total: 8.5s)

sample72.0ms

Algorithm
intervals
Results
21.0ms118×body320valid
16.0ms133×body160valid
13.0ms229×body80nan
0.0msbody80valid

simplify124.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

7.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
8.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(sqrt (- (* g g) (* h h)))

rewrite172.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:
59.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))))))
19.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series812.0ms

Counts
4 → 12
Calls
4 calls:
343.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
359.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
53.0ms
(sqrt (- (* g g) (* h h)))
56.0ms
(sqrt (- (* g g) (* h h)))

simplify107.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
020015376
150015334

prune1.2s

Filtered
338 candidates to 233 candidates (31.1%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New31424338
Fresh000
Picked101
Done000
Total31524339

Merged error: 30.5b

Counts
339 → 24

localize19.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
8.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(sqrt (- (* g g) (* h h)))

rewrite128.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:
17.0ms
(- (* g g) (* h h))
56.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
22.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series497.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* g g) (* h h))
351.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
49.0ms
(sqrt (- (* g g) (* h h)))
56.0ms
(sqrt (- (* g g) (* h h)))

simplify67.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014383102
150013072

prune904.0ms

Filtered
261 candidates to 152 candidates (41.8%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New24912261
Fresh101323
Picked101
Done000
Total26025285

Merged error: 29.8b

Counts
285 → 25

localize25.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(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:
18.0ms
(- (* g g) (* h h))
17.0ms
(- (* g g) (* h h))
21.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* g g) (* h h))
33.0ms
(- (* g g) (* h h))
55.0ms
(sqrt (- (* g g) (* h h)))
55.0ms
(sqrt (- (* g g) (* h h)))

simplify83.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0180872
1567844
22176844
35001844

prune510.0ms

Filtered
186 candidates to 68 candidates (63.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New1824186
Fresh42024
Picked101
Done000
Total18724211

Merged error: 29.8b

Counts
211 → 24

localize19.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
3.8b
(- (* g g) (* h h))
29.0b
(sqrt (- (* g g) (* h h)))
29.0b
(sqrt (- (* g g) (* h h)))

rewrite80.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))
20.0ms
(- (* g g) (* h h))
18.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* g g) (* h h))
37.0ms
(- (* g g) (* h h))
47.0ms
(sqrt (- (* g g) (* h h)))
53.0ms
(sqrt (- (* g g) (* h h)))

simplify82.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0180872
1567844
22176844
35001844

prune325.0ms

Filtered
186 candidates to 68 candidates (63.4%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New1842186
Fresh12223
Picked101
Done000
Total18624210

Merged error: 29.8b

Counts
210 → 24

regimes939.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02823
12823

end0.0ms

sample1.9s

Algorithm
intervals
Results
620.0ms3724×body320valid
453.0ms4130×body160valid
444.0ms8079×body80nan
8.0ms146×body80valid