Details

Time bar (total: 5.8s)

sample94.0ms

Algorithm
intervals
Results
28.0ms118×body320valid
22.0ms280×body80nan
21.0ms136×body160valid
0.0msbody80valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500121

prune6.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.5b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

5.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
28.0b
(sqrt (- (* g g) (* h h)))
28.0b
(sqrt (- (* g g) (* h h)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series140.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
63.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0386766
11391724
25002718

prune260.0ms

Filtered
72 candidates to 64 candidates (11.1%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New512172
Fresh000
Picked101
Done000
Total522173

Merged error: 29.4b

Counts
73 → 21

localize19.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (* g g) (* h h))
5.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
28.0b
(sqrt (- (* g g) (* h h)))
28.0b
(sqrt (- (* g g) (* h h)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
63.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify36.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0298569
11198537
25002533

prune236.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh11920
Picked101
Done000
Total702292

Merged error: 29.1b

Counts
92 → 22

localize18.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (* g g) (* h h))
5.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
28.0b
(sqrt (- (* g g) (* h h)))
28.0b
(sqrt (- (* g g) (* h h)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
12.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* g g) (* h h))
65.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify36.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0298569
11198537
25002533

prune237.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh02121
Picked101
Done000
Total682593

Merged error: 29.0b

Counts
93 → 25

localize20.0ms

Local error

Found 4 expressions with local error:

2.6b
(- (* g g) (* h h))
10.1b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
28.0b
(sqrt (- (* g g) (* h h)))
28.0b
(sqrt (- (* g g) (* h h)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
11.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* g g) (* h h))
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0321569
11271537
25002533

prune139.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh42024
Picked101
Done000
Total722496

Merged error: 29.0b

Counts
96 → 24

regimes1.1s

Accuracy

80.5% (0.6b remaining)

Error of 31.5b against oracle of 30.9b and baseline of 33.9b

bsearch59.0ms

Steps
ItersRangePoint
5
2.4585323721607486e-159
7.473810393674044e-159
2.9583808105567004e-159

simplify8.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04956
16156
27156
39056
410056
511256
611756
712456
813456
914356
1015356
1116356
1217756
1317756

end0.0ms

sample2.8s

Algorithm
intervals
Results
890.0ms3717×body320valid
664.0ms4140×body160valid
627.0ms8019×body80nan
12.0ms143×body80valid

Profiling

Loading profile data...