Details

Time bar (total: 5.4s)

sample97.0ms

Algorithm
intervals
Results
30.0ms124×body320valid
25.0ms127×body160valid
13.0ms167×body80nan
0.0msbody80valid

simplify121.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: 35.6b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
10.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite34.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))))))
14.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)))

series143.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* 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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0386766
11391724
25002718

prune252.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: 31.8b

Counts
73 → 18

localize20.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite26.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)))
6.0ms
(sqrt (- (* g g) (* h h)))

series87.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0298569
11198537
25002533

prune244.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New63871
Fresh31417
Picked101
Done000
Total672289

Merged error: 30.8b

Counts
89 → 22

localize19.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(sqrt (- (* g g) (* h h)))

rewrite26.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))
14.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)))

series87.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0298569
11198537
25002533

prune226.0ms

Filtered
71 candidates to 59 candidates (16.9%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New69271
Fresh12021
Picked011
Done000
Total702393

Merged error: 30.8b

Counts
93 → 23

localize20.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* g g) (* h h))
10.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
29.8b
(sqrt (- (* g g) (* h h)))
29.8b
(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:
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))
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)))

simplify41.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0321569
11271537
25002535

prune141.0ms

Filtered
71 candidates to 61 candidates (14.1%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New68371
Fresh21921
Picked101
Done011
Total712394

Merged error: 30.8b

Counts
94 → 23

regimes903.0ms

Accuracy

63.9% (0.9b remaining)

Error of 33.4b against oracle of 32.5b and baseline of 35.0b

bsearch89.0ms

Steps
ItersRangePoint
8
7.433999639038502e-135
3.5529793400250077e-130
7.601886542220763e-135

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04648
15148
25548
35848
45848

end0.0ms

sample2.6s

Algorithm
intervals
Results
900.0ms3744×body320valid
675.0ms4129×body160valid
488.0ms6045×body80nan
10.0ms127×body80valid

Profiling

Loading profile data...