Details

Time bar (total: 10.5s)

analyze2.0s

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
0%98.1%1.9%13
0%98.1%1.9%14

sample184.0ms

Algorithm
intervals
Results
44.0ms72×body5120valid
30.0ms382×body80nan
29.0ms53×body2560valid
14.0ms36×body1280valid
10.0ms16×body5120exit
10.0ms127×body80invalid
6.0ms75×body80valid
4.0ms13×body640valid
1.0msbody320valid
1.0msbody2560invalid
1.0msbody640invalid
1.0msbody5120invalid
0.0msbody160invalid
0.0msbody1280invalid
0.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0551542

prune16.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: 59.4b

Counts
2 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

18.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
18.1b
(/ (* c0 (* d d)) (* (* w h) (* D D)))
28.8b
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
211×add-exp-log add-cbrt-cube
117×prod-exp cbrt-unprod
45×cbrt-undiv div-exp
*-un-lft-identity add-log-exp
pow1 add-sqr-sqrt add-cube-cbrt
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
sqrt-div frac-add
+-commutative flip3-- flip3-+ sum-log flip-- flip-+ distribute-lft-out
Counts
4 → 143
Calls
4 calls:
12.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
13.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
12.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
45.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

series187.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
29.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
31.0ms
(/ (* c0 (* d d)) (* (* w h) (* D D)))
98.0ms
(+ (/ (* c0 (* d d)) (* (* w h) (* D D))) (sqrt (- (* (/ (* c0 (* d d)) (* (* w h) (* D D))) (/ (* c0 (* d d)) (* (* w h) (* D D)))) (* M M))))

simplify65.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049542695
149542695

prune164.0ms

Filtered
54 candidates to 155 candidates (-187.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1487155
Fresh011
Picked011
Done000
Total1489157

Merged error: 34.1b

Counts
157 → 9

localize5.0ms

Local error

Found 1 expressions with local error:

5.4b
(* (/ c0 (* 2.0 w)) 0)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
associate-*l*
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
pow1 times-frac associate-*r*
cbrt-undiv div-exp
pow-prod-down associate-*l/ *-commutative mul0-rgt div-inv add-log-exp unswap-sqr
Counts
1 → 28
Calls
1 calls:
6.0ms
(* (/ c0 (* 2.0 w)) 0)

series1.0ms

Counts
1 → 3
Calls
1 calls:
1.0ms
(* (/ c0 (* 2.0 w)) 0)

simplify41.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0517678

prune68.0ms

Filtered
21 candidates to 31 candidates (-47.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh077
Picked101
Done011
Total31940

Merged error: 32.5b

Counts
40 → 9

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune34.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done011
Total099

Merged error: 32.5b

Counts
9 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

11.5b
(sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))
11.7b
(* (/ c0 (* w h)) (* (/ d D) (/ d D)))
14.0b
(/ (* M M) (- (* (/ c0 (* w h)) (* (/ d D) (/ d D))) (sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))))
22.9b
(/ (* (pow d 4) c0) (* (pow D 4) (* w h)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
176×add-exp-log
99×add-cbrt-cube
90×prod-exp
52×div-exp
42×cbrt-unprod
30×cbrt-undiv
16×sqrt-div associate-/r/
15×frac-times pow-to-exp associate-*r/ pow-exp
14×frac-sub
11×add-sqr-sqrt
10×pow1
add-cube-cbrt flip3-- *-un-lft-identity associate-*l/ flip--
times-frac associate-*l*
associate-/r* add-log-exp
pow-prod-down sqrt-prod div-inv
frac-2neg clear-num associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r* *-commutative unswap-sqr
Counts
4 → 155
Calls
4 calls:
18.0ms
(sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))
12.0ms
(* (/ c0 (* w h)) (* (/ d D) (/ d D)))
32.0ms
(/ (* M M) (- (* (/ c0 (* w h)) (* (/ d D) (/ d D))) (sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))))
10.0ms
(/ (* (pow d 4) c0) (* (pow D 4) (* w h)))

series397.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))
39.0ms
(* (/ c0 (* w h)) (* (/ d D) (/ d D)))
200.0ms
(/ (* M M) (- (* (/ c0 (* w h)) (* (/ d D) (/ d D))) (sqrt (- (* (/ c0 (* w h)) (/ (* (pow d 4) c0) (* (pow D 4) (* w h)))) (* M M)))))
25.0ms
(/ (* (pow d 4) c0) (* (pow D 4) (* w h)))

simplify72.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050444037

prune225.0ms

Filtered
79 candidates to 167 candidates (-111.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1625167
Fresh426
Picked011
Done022
Total16610176

Merged error: 25.8b

Counts
176 → 10

regimes1.2s

Accuracy

12.5% (7.8b remaining)

Error of 32.1b against oracle of 24.3b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
085178
185178

end0.0ms

sample5.6s

Algorithm
intervals
Results
1.3s2242×body5120valid
1.0s13110×body80nan
802.0ms1685×body2560valid
372.0ms593×body5120exit
356.0ms4406×body80invalid
350.0ms895×body1280valid
202.0ms2484×body80valid
116.0ms372×body640valid
49.0ms216×body320valid
23.0ms56×body1280invalid
19.0ms62×body640invalid
18.0ms39×body2560invalid
16.0ms106×body160valid
8.0ms37×body320invalid
3.0ms19×body160invalid
2.0msbody5120invalid

Profiling

Loading profile data...