Details

Time bar (total: 24.2s)

sample5.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.539063%

Guaranteed chance to sample good point: 29.62963%

Results
54.0ms351×body80nan
45.0ms256×body80valid
25.0ms140×body80invalid

simplify198.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 1

localize28.0ms

Local error

Found 4 expressions with local error:

6.9b
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
10.8b
(pow (/ d l) (/ 1.0 2.0))
11.2b
(pow (/ d h) (/ 1.0 2.0))
12.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
205×add-exp-log
107×prod-exp
55×div-exp
45×times-frac
40×add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-exp
30×add-cbrt-cube
26×unpow-prod-down pow-unpow
16×associate-*r*
14×pow-to-exp
13×cbrt-unprod
10×pow1
cbrt-undiv div-inv
add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg pow-pow distribute-lft-in associate-*l* pow-prod-down *-commutative sqr-pow
frac-times flip3-- flip--
Counts
4 → 176
Calls
4 calls:
13.0ms
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
6.0ms
(pow (/ d l) (/ 1.0 2.0))
5.0ms
(pow (/ d h) (/ 1.0 2.0))
16.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series520.0ms

Counts
4 → 12
Calls
4 calls:
269.0ms
(* (* (pow (/ d h) (/ 1.0 2.0)) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.0ms
(pow (/ d l) (/ 1.0 2.0))
13.0ms
(pow (/ d h) (/ 1.0 2.0))
226.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify52.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
015192226
150022033

prune597.0ms

Filtered
109 candidates to 188 candidates (-72.5%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New16226188
Fresh000
Picked101
Done000
Total16326189

Merged error: 13.7b

Counts
189 → 26

localize44.0ms

Local error

Found 4 expressions with local error:

3.9b
(/ (* M D) (* 2.0 d))
6.9b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
10.8b
(pow (/ d l) (/ 1.0 2.0))
12.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
738×add-exp-log
487×prod-exp
216×pow-exp
171×div-exp
78×pow-to-exp
46×add-cbrt-cube
28×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
16×associate-*r*
13×unpow-prod-down pow-unpow
pow1 cbrt-undiv
div-inv add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg distribute-lft-in associate-*l* pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 260
Calls
4 calls:
5.0ms
(/ (* M D) (* 2.0 d))
29.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
5.0ms
(pow (/ d l) (/ 1.0 2.0))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series541.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
268.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(pow (/ d l) (/ 1.0 2.0))
255.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify75.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
019345729
150015431

prune569.0ms

Filtered
95 candidates to 272 candidates (-186.3%)
Pruning

33 alts after pruning (33 fresh and 0 done)

PrunedKeptTotal
New2639272
Fresh12425
Picked101
Done000
Total26533298

Merged error: 12.9b

Counts
298 → 33

localize44.0ms

Local error

Found 4 expressions with local error:

5.0b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.7b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
6.9b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
10.8b
(pow (/ d l) (/ 1.0 2.0))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
700×add-exp-log
475×prod-exp
211×pow-exp
152×div-exp
77×pow-to-exp
39×add-cbrt-cube
22×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
19×times-frac
18×cbrt-unprod
13×unpow-prod-down pow-unpow
pow1
associate-*r*
cbrt-undiv
add-log-exp
div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l* pow-prod-down *-commutative
flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 239
Calls
4 calls:
7.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
14.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
30.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series733.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
230.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
283.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (pow (/ d l) (/ 1.0 2.0))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))
12.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
018075702
150015404

prune599.0ms

Filtered
85 candidates to 251 candidates (-195.3%)
Pruning

36 alts after pruning (36 fresh and 0 done)

PrunedKeptTotal
New2429251
Fresh52732
Picked101
Done000
Total24836284

Merged error: 12.0b

Counts
284 → 36

localize57.0ms

Local error

Found 4 expressions with local error:

3.9b
(/ (* M D) (* 2.0 d))
5.0b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.7b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
6.9b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
5908×add-exp-log
4305×prod-exp
1987×pow-exp
1368×div-exp
641×pow-to-exp
60×add-cbrt-cube
29×cbrt-unprod
11×pow1
10×cbrt-undiv
add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt
pow-prod-down add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in times-frac associate-*r/ associate-*l* clear-num associate-/r* *-commutative div-inv associate-/l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 950
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
7.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
10.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
74.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

series708.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
207.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
225.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
271.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

simplify326.0ms

Algorithm
egg-herbie
Counts
962 → 962
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0418938107
1500137902

prune371.0ms

Filtered
71 candidates to 962 candidates (-1254.9%)
Pruning

39 alts after pruning (38 fresh and 1 done)

PrunedKeptTotal
New9593962
Fresh03535
Picked011
Done000
Total95939998

Merged error: 11.7b

Counts
998 → 39

regimes2.0s

Accuracy

8.1% (4.2b remaining)

Error of 15.7b against oracle of 11.5b and baseline of 16.1b

bsearch403.0ms

Steps
ItersRangePoint
8
4.096073418760359e-188
4.41391696384508e-184
3.748248705033733e-186
10
-1.425159513329315e-294
4.680088884579237e-304
1.6875689345001513e-308

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07893
17893

end0.0ms

sample10.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.539063%

Guaranteed chance to sample good point: 29.62963%

Results
1.6s11486×body80nan
1.4s8000×body80valid
1.1s4785×body80invalid

Profiling

Loading profile data...