Details

Time bar (total: 29.0s)

sample7.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.722168%

Guaranteed chance to sample good point: 15.956623%

Results
56.0ms361×body80nan
45.0ms256×body80valid
27.0ms150×body80invalid

simplify196.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.0b

Counts
2 → 1

localize33.0ms

Local error

Found 4 expressions with local error:

5.6b
(* (* (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.4b
(pow (/ d h) (/ 1.0 2.0))
13.0b
(pow (/ d l) (/ 1.0 2.0))
14.6b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite47.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:
14.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 h) (/ 1.0 2.0))
6.0ms
(pow (/ d l) (/ 1.0 2.0))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series550.0ms

Counts
4 → 12
Calls
4 calls:
281.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))))
13.0ms
(pow (/ d h) (/ 1.0 2.0))
13.0ms
(pow (/ d l) (/ 1.0 2.0))
243.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

prune606.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.8b

Counts
189 → 26

localize44.0ms

Local error

Found 4 expressions with local error:

4.3b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (pow (/ d 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
10.4b
(pow (/ d h) (/ 1.0 2.0))
14.6b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite80.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:
6.0ms
(/ (* M D) (* 2.0 d))
36.0ms
(* (* (pow (/ d 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
6.0ms
(pow (/ d h) (/ 1.0 2.0))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series545.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
284.0ms
(* (* (pow (/ d 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(pow (/ d h) (/ 1.0 2.0))
242.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify84.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
019655741
150015445

prune555.0ms

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

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New2657272
Fresh32225
Picked101
Done000
Total26929298

Merged error: 12.9b

Counts
298 → 29

localize57.0ms

Local error

Found 4 expressions with local error:

2.9b
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.3b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
14.6b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite309.0ms

Algorithm
rewrite-expression-head
Rules
6965×add-exp-log
5245×prod-exp
2614×pow-exp
1626×div-exp
789×pow-to-exp
232×rec-exp 1-exp
55×add-cbrt-cube
37×times-frac
32×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×cbrt-unprod
22×unpow-prod-down
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv cbrt-prod
pow-prod-down div-inv add-log-exp
associate-*r/ associate-*l/
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1229
Calls
4 calls:
14.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
81.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series617.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
329.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
243.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify376.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500145194

prune998.0ms

Filtered
131 candidates to 1241 candidates (-847.3%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New123381241
Fresh52328
Picked101
Done000
Total1239311270

Merged error: 10.8b

Counts
1270 → 31

localize56.0ms

Local error

Found 4 expressions with local error:

4.3b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
6.7b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.8b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
6936×add-exp-log
5237×prod-exp
2607×pow-exp
1610×div-exp
787×pow-to-exp
232×rec-exp 1-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 → 1182
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
83.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
8.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
13.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

series796.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
324.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
220.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
245.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

simplify359.0ms

Algorithm
egg-herbie
Counts
1194 → 1194
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
0500143399

prune463.0ms

Filtered
78 candidates to 1194 candidates (-1430.8%)
Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New119041194
Fresh22830
Picked101
Done000
Total1193321225

Merged error: 10.8b

Counts
1225 → 32

regimes2.3s

Accuracy

32% (3.7b remaining)

Error of 14.0b against oracle of 10.3b and baseline of 15.8b

bsearch424.0ms

Steps
ItersRangePoint
5
1.59968268880918e-114
4.7101461891650475e-114
4.334478490926267e-114
9
-3.084466870543489e-75
-2.0140240499087992e-81
-2.332602118792428e-75

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
086194
186194

end0.0ms

sample12.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.722168%

Guaranteed chance to sample good point: 15.956623%

Results
1.7s11854×body80nan
1.4s8000×body80valid
920.0ms4977×body80invalid

Profiling

Loading profile data...