Details

Time bar (total: 5.6s)

sample100.0ms

Algorithm
intervals
Results
33.0ms120×body320valid
22.0ms277×body80nan
22.0ms131×body160valid
0.0msbody80valid

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (106.0ms)

IterNodesCost
0488136
1488136

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.1b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
8.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
31.2b
(sqrt (- (* g g) (* h h)))
31.2b
(sqrt (- (* g g) (* h h)))

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

series142.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
66.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
72 → 72
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
053601068

prune243.0ms

Filtered
65 candidates to 72 candidates (-10.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New561672
Fresh101
Picked101
Done000
Total581674

Merged error: 33.0b

Counts
74 → 16

localize20.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
8.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
31.2b
(sqrt (- (* g g) (* h h)))
31.2b
(sqrt (- (* g g) (* h h)))

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

series86.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05217851

prune224.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New66571
Fresh11415
Picked101
Done000
Total681987

Merged error: 31.8b

Counts
87 → 19

localize18.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
8.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
31.2b
(sqrt (- (* g g) (* h h)))
31.2b
(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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series86.0ms

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

IterNodesCost
05217851

prune209.0ms

Filtered
59 candidates to 71 candidates (-20.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh11718
Picked101
Done000
Total711990

Merged error: 31.8b

Counts
90 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
31.2b
(sqrt (- (* g g) (* h h)))
31.2b
(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
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))
63.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04922838
14922838

prune133.0ms

Filtered
60 candidates to 71 candidates (-18.3%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh01818
Picked011
Done000
Total702090

Merged error: 31.8b

Counts
90 → 20

regimes907.0ms

Accuracy

67.8% (1.1b remaining)

Error of 31.5b against oracle of 30.4b and baseline of 33.8b

bsearch111.0ms

Steps
ItersRangePoint
11
9.953044774265867e-170
1.4692311910415118e-142
7.288101164839734e-160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
012172
112172

end0.0ms

sample2.8s

Algorithm
intervals
Results
900.0ms3703×body320valid
677.0ms4170×body160valid
621.0ms7820×body80nan
11.0ms127×body80valid

Profiling

Loading profile data...