Details

Time bar (total: 23.0s)

sample284.0ms

Algorithm
intervals
Results
153.0ms1207×body80nan
66.0ms395×body80valid

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
272017
3500117

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: 25.1b

Counts
2 → 1

localize30.0ms

Local error

Found 4 expressions with local error:

7.5b
(* (* (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.3b
(pow (/ d h) (/ 1.0 2.0))
11.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.4b
(pow (/ d l) (/ 1.0 2.0))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
205×add-exp-log
107×prod-exp
55×div-exp
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
40×pow-exp
30×add-cbrt-cube
26×unpow-prod-down pow-unpow
16×associate-*r*
14×pow-to-exp
13×cbrt-unprod
10×pow1
prod-diff
cbrt-undiv distribute-rgt-in distribute-lft-in div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ associate-*l/
sub-neg pow-pow associate-*l* pow-prod-down *-commutative sqr-pow
frac-times flip3-- flip--
Counts
4 → 190
Calls
4 calls:
18.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))
13.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
633.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))))
65.0ms
(pow (/ d h) (/ 1.0 2.0))
730.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
70.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012872382
150012125

prune943.0ms

Filtered
202 candidates to 119 candidates (58.9%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New18121202
Fresh000
Picked101
Done000
Total18221203

Merged error: 13.1b

Counts
203 → 21

localize39.0ms

Local error

Found 4 expressions with local error:

4.5b
(/ (* M D) (* 2.0 d))
7.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.4b
(pow (/ d l) (/ 1.0 2.0))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
674×add-exp-log
455×prod-exp
216×pow-exp
171×div-exp
78×pow-to-exp
46×add-cbrt-cube
32×1-exp
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
20×cbrt-unprod
16×associate-*r*
13×unpow-prod-down pow-unpow
pow1 cbrt-undiv
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 274
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
30.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
6.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.8s

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
947.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
726.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
66.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
017355412
150024978

prune728.0ms

Filtered
286 candidates to 104 candidates (36.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New2797286
Fresh51520
Picked101
Done000
Total28522307

Merged error: 12.8b

Counts
307 → 22

localize54.0ms

Local error

Found 4 expressions with local error:

2.6b
(pow (/ (cbrt d) h) (/ 1.0 2.0))
4.5b
(/ (* M D) (* 2.0 d))
7.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) h) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
11.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite292.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
34×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
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1243
Calls
4 calls:
7.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
74.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) h) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.6s

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

simplify349.0ms

Algorithm
egg-herbie
Counts
1255 → 1255
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500139780

prune1.2s

Filtered
1255 candidates to 144 candidates (11.5%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New124871255
Fresh31821
Picked101
Done000
Total1252251277

Merged error: 10.3b

Counts
1277 → 25

localize61.0ms

Local error

Found 4 expressions with local error:

2.6b
(pow (/ (cbrt d) h) (/ 1.0 2.0))
4.5b
(/ (* M D) (* 2.0 d))
7.5b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) h) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
7.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
6673×add-exp-log
5120×prod-exp
2644×pow-exp
1716×div-exp
795×pow-to-exp
528×1-exp
232×rec-exp
79×add-cbrt-cube
54×cbrt-unprod
29×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×unpow-prod-down
21×cbrt-undiv
13×pow-unpow
12×pow1
cbrt-prod
associate-*r*
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1289
Calls
4 calls:
7.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
74.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) h) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
18.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

series1.5s

Counts
4 → 12
Calls
4 calls:
157.0ms
(pow (/ (cbrt d) h) (/ 1.0 2.0))
36.0ms
(/ (* M D) (* 2.0 d))
718.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt d) h) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
561.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

simplify415.0ms

Algorithm
egg-herbie
Counts
1301 → 1301
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500152410

prune1.5s

Filtered
1301 candidates to 145 candidates (11.1%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New129561301
Fresh12324
Picked101
Done000
Total1297291326

Merged error: 9.4b

Counts
1326 → 29

regimes1.4s

Accuracy

0% (6.7b remaining)

Error of 16.1b against oracle of 9.5b and baseline of 16.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052134
152134

end0.0ms

sample8.7s

Algorithm
intervals
Results
4.9s39002×body80nan
2.1s12896×body80valid

Profiling

Loading profile data...