Details

Time bar (total: 22.9s)

sample298.0ms

Algorithm
intervals
Results
164.0ms1215×body80nan
69.0ms411×body80valid

simplify204.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.1b

Counts
2 → 1

localize31.0ms

Local error

Found 4 expressions with local error:

7.1b
(* (* (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))))
11.6b
(pow (/ d l) (/ 1.0 2.0))
13.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
13.6b
(pow (/ d h) (/ 1.0 2.0))

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

series1.5s

Counts
4 → 12
Calls
4 calls:
639.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))))
68.0ms
(pow (/ d l) (/ 1.0 2.0))
734.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
61.0ms
(pow (/ d h) (/ 1.0 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012282042
150011847

prune869.0ms

Filtered
188 candidates to 109 candidates (58.0%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New16919188
Fresh000
Picked101
Done000
Total17019189

Merged error: 14.0b

Counts
189 → 19

localize46.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ (* M D) (* 2.0 d))
7.1b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
11.6b
(pow (/ d l) (/ 1.0 2.0))
13.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
818×add-exp-log
567×prod-exp
280×pow-exp
187×div-exp
94×pow-to-exp
46×add-cbrt-cube
32×rec-exp 1-exp
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 → 292
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
28.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
6.0ms
(pow (/ d l) (/ 1.0 2.0))
14.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (* M D) (* 2.0 d))
859.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ 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))))
60.0ms
(pow (/ d l) (/ 1.0 2.0))
719.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify79.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
018025799
150015377

prune740.0ms

Filtered
304 candidates to 95 candidates (31.3%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New29410304
Fresh21618
Picked101
Done000
Total29726323

Merged error: 12.7b

Counts
323 → 26

localize58.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ (cbrt d) l) (/ 1.0 2.0))
4.9b
(/ (* M D) (* 2.0 d))
7.1b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
13.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite313.0ms

Algorithm
rewrite-expression-head
Rules
6373×add-exp-log
4949×prod-exp
2614×pow-exp
1626×div-exp
789×pow-to-exp
528×1-exp
232×rec-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:
7.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
79.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
14.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.6s

Counts
4 → 12
Calls
4 calls:
160.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
27.0ms
(/ (* M D) (* 2.0 d))
652.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
731.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify347.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500138003

prune984.0ms

Filtered
1241 candidates to 112 candidates (9.0%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New123651241
Fresh42125
Picked101
Done000
Total1241261267

Merged error: 11.6b

Counts
1267 → 26

localize59.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ (* M D) (* 2.0 d))
5.7b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
6.5b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
7.1b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

rewrite322.0ms

Algorithm
rewrite-expression-head
Rules
6344×add-exp-log
4941×prod-exp
2607×pow-exp
1610×div-exp
787×pow-to-exp
528×1-exp
232×rec-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))
8.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
12.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
82.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

series2.2s

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (* M D) (* 2.0 d))
755.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
745.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
677.0ms
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ d (cbrt h)) (/ 1.0 2.0))) (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

simplify345.0ms

Algorithm
egg-herbie
Counts
1194 → 1194
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0470337643
1500137469

prune533.0ms

Filtered
1194 candidates to 70 candidates (5.9%)
Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New119131194
Fresh02525
Picked011
Done000
Total1191291220

Merged error: 11.6b

Counts
1220 → 29

regimes1.6s

Accuracy

22.1% (4.9b remaining)

Error of 14.6b against oracle of 9.7b and baseline of 16.0b

bsearch5.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
082133
182133

end0.0ms

sample8.8s

Algorithm
intervals
Results
5.0s37790×body80nan
2.1s12785×body80valid

Profiling

Loading profile data...