Details

Time bar (total: 5.1s)

analyze443.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%68.6%18.9%6
18.7%62.4%18.9%7
18.7%59.3%22%8
28.1%39%32.9%9
32.8%34.3%32.9%10
32.8%32%35.3%11
38.2%20.7%41.1%12
41%17.9%41.1%13
41%16.6%42.5%14

sample73.0ms

Algorithm
intervals
Results
32.0ms124×body320valid
22.0ms126×body160valid
3.0ms39×body80nan
1.0msbody80valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
0490136
1490136

prune14.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: 36.2b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

7.5b
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
9.3b
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
30.4b
(sqrt (- (* g g) (* h h)))
30.4b
(sqrt (- (* g g) (* h h)))

rewrite30.0ms

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

series126.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05107883

prune252.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New471764
Fresh101
Picked101
Done000
Total491766

Merged error: 32.2b

Counts
66 → 17

localize23.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
7.5b
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
30.4b
(sqrt (- (* g g) (* h h)))
30.4b
(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
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-prod sub-neg cbrt-div pow1/3 diff-log associate-*r/
Counts
4 → 54
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
10.0ms
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series77.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05142741

prune246.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New60666
Fresh31316
Picked101
Done000
Total641983

Merged error: 31.6b

Counts
83 → 19

localize21.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* g g) (* h h))
9.3b
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
30.4b
(sqrt (- (* g g) (* h h)))
30.4b
(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
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-prod sub-neg cbrt-div pow1/3 diff-log associate-*r/
Counts
4 → 54
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
14.0ms
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series75.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05014754

prune229.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New61566
Fresh71118
Picked101
Done000
Total691685

Merged error: 31.5b

Counts
85 → 16

localize25.0ms

Local error

Found 4 expressions with local error:

16.6b
(- (* (sqrt (sqrt (- (* g g) (* h h)))) (sqrt (sqrt (- (* g g) (* h h))))) g)
30.4b
(sqrt (- (* g g) (* h h)))
30.4b
(sqrt (- (* g g) (* h h)))
30.4b
(sqrt (- (* g g) (* h h)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod
11×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div add-log-exp
add-exp-log flip3-- add-cbrt-cube flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
sub-neg diff-log
Counts
4 → 60
Calls
4 calls:
15.0ms
(- (* (sqrt (sqrt (- (* g g) (* h h)))) (sqrt (sqrt (- (* g g) (* h h))))) g)
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* (sqrt (sqrt (- (* g g) (* h h)))) (sqrt (sqrt (- (* g g) (* h h))))) g)
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))
7.0ms
(sqrt (- (* g g) (* h h)))

simplify60.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04878708
14878708

prune146.0ms

Filtered
62 candidates to 72 candidates (-16.1%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh21315
Picked011
Done000
Total721688

Merged error: 31.0b

Counts
88 → 16

regimes714.0ms

Accuracy

85.7% (1.3b remaining)

Error of 31.3b against oracle of 30.1b and baseline of 38.9b

bsearch98.0ms

Steps
ItersRangePoint
11
-2.973142410690192e-173
-2.462573784346457e-197
-2.9415560676817554e-173

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
023092
123092

end0.0ms

sample2.1s

Algorithm
intervals
Results
989.0ms3801×body320valid
726.0ms4079×body160valid
113.0ms1334×body80nan
11.0ms120×body80valid

Profiling

Loading profile data...