Details

Time bar (total: 23.5s)

sample303.0ms

Algorithm
intervals
Results
167.0ms1275×body80nan
69.0ms393×body80valid

simplify29.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: 28.0b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

8.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))))
11.6b
(pow (/ d h) (/ 1.0 2.0))
12.2b
(pow (/ d l) (/ 1.0 2.0))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite51.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:
15.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))
8.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.5s

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

simplify49.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012872382
150022125

prune749.0ms

Filtered
202 candidates to 119 candidates (58.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New18418202
Fresh000
Picked101
Done000
Total18518203

Merged error: 12.9b

Counts
203 → 18

localize42.0ms

Local error

Found 4 expressions with local error:

3.2b
(/ (* M D) (* 2.0 d))
8.9b
(* (* (* (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.2b
(pow (/ d l) (/ 1.0 2.0))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite74.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))
29.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))))
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))

series1.8s

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

simplify79.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
017355412
150024978

prune733.0ms

Filtered
286 candidates to 104 candidates (36.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New2806286
Fresh11617
Picked101
Done000
Total28222304

Merged error: 12.6b

Counts
304 → 22

localize59.0ms

Local error

Found 4 expressions with local error:

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

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
5483×add-exp-log
4085×prod-exp
1997×pow-exp
1387×div-exp
643×pow-to-exp
232×1-exp
55×add-cbrt-cube
27×cbrt-unprod
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×times-frac
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv
prod-diff
distribute-rgt-in unpow-prod-down 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 → 997
Calls
4 calls:
11.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
65.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
12.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.9s

Counts
4 → 12
Calls
4 calls:
123.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
28.0ms
(/ (* M D) (* 2.0 d))
975.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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))))
736.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify308.0ms

Algorithm
egg-herbie
Counts
1009 → 1009
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0419734505
1500133453

prune1.1s

Filtered
1009 candidates to 99 candidates (9.8%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New100271009
Fresh31821
Picked101
Done000
Total1006251031

Merged error: 11.2b

Counts
1031 → 25

localize53.0ms

Local error

Found 4 expressions with local error:

3.2b
(/ (* M D) (* 2.0 d))
5.2b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
5.4b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
8.9b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
5444×add-exp-log
4073×prod-exp
1987×pow-exp
1368×div-exp
641×pow-to-exp
232×1-exp
60×add-cbrt-cube
30×prod-diff
29×cbrt-unprod
24×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
17×distribute-rgt-in distribute-lft-in
11×pow1
10×cbrt-undiv
times-frac associate-*r* div-inv
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
sub-neg frac-2neg associate-*r/ associate-*l* clear-num associate-/r* *-commutative associate-/l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 988
Calls
4 calls:
6.0ms
(/ (* M D) (* 2.0 d))
10.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
7.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
72.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) 1) (/ 1.0 2.0)) (pow (/ (cbrt 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 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))))

series2.5s

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

simplify339.0ms

Algorithm
egg-herbie
Counts
1000 → 1000
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0415736584
1500235142

prune628.0ms

Filtered
1000 candidates to 82 candidates (8.2%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New99641000
Fresh22224
Picked101
Done000
Total999261025

Merged error: 11.2b

Counts
1025 → 26

regimes1.3s

Accuracy

6.6% (5.8b remaining)

Error of 16.1b against oracle of 10.3b and baseline of 16.5b

bsearch594.0ms

Steps
ItersRangePoint
9
1.5053062010065768e-82
3.6177285477854536e-75
6.952712762929639e-82
9
-1.0444048500662454e-19
-8.012786377735694e-26
-2.95032860738234e-24

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06774
16774

end0.0ms

sample8.9s

Algorithm
intervals
Results
5.0s39268×body80nan
2.1s12807×body80valid