Details

Time bar (total: 5.8s)

sample110.0ms

Algorithm
intervals
Results
30.0ms120×body320valid
27.0ms135×body160valid
17.0ms201×body80nan
0.0msbody80valid

simplify118.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500121

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: 40.1b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

7.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
11.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite31.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))))))
3.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series140.0ms

Counts
4 → 12
Calls
4 calls:
63.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0386766
11391724
25002718

prune257.0ms

Filtered
72 candidates to 64 candidates (11.1%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New541872
Fresh000
Picked101
Done000
Total551873

Merged error: 35.0b

Counts
73 → 18

localize23.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
7.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

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

series84.0ms

Counts
4 → 12
Calls
4 calls:
6.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)))

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0298569
11198537
25002533

prune235.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh21517
Picked101
Done000
Total711889

Merged error: 34.3b

Counts
89 → 18

localize19.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
7.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(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))))))
4.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))
62.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
7.0ms
(sqrt (- (* g g) (* h h)))
9.0ms
(sqrt (- (* g g) (* h h)))

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0298569
11198537
25002533

prune220.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New70171
Fresh01717
Picked101
Done000
Total711889

Merged error: 34.3b

Counts
89 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
11.3b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
32.9b
(sqrt (- (* g g) (* h h)))
32.9b
(sqrt (- (* g g) (* h h)))

rewrite25.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))
13.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)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* g g) (* h h))
60.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)))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0321569
11271537
25002533

prune329.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh01717
Picked011
Done000
Total711889

Merged error: 34.3b

Counts
89 → 18

regimes930.0ms

Accuracy

84.8% (0.6b remaining)

Error of 32.9b against oracle of 32.4b and baseline of 36.0b

bsearch150.0ms

Steps
ItersRangePoint
12
2.897146004413971e-210
3.6410551725971376e-135
5.53107825321531e-161

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04341
14841
25241
35541
45541

end0.0ms

sample2.7s

Algorithm
intervals
Results
967.0ms3721×body320valid
713.0ms4143×body160valid
525.0ms6211×body80nan
12.0ms136×body80valid

Profiling

Loading profile data...