Details

Time bar (total: 22.5s)

sample275.0ms

Algorithm
intervals
Results
142.0ms1124×body80nan
69.0ms408×body80valid

simplify30.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: 24.0b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

6.0b
(* (* (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 h) (/ 1.0 2.0))
11.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.2b
(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:
643.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))))
66.0ms
(pow (/ d h) (/ 1.0 2.0))
728.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
62.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012872382
150012125

prune737.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: 10.0b

Counts
203 → 18

localize49.0ms

Local error

Found 4 expressions with local error:

3.8b
(/ (* M D) (* 2.0 d))
6.0b
(* (* (* (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))))
11.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.2b
(pow (/ d l) (/ 1.0 2.0))

rewrite84.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×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))
31.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
(* (* (/ 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:
27.0ms
(/ (* M D) (* 2.0 d))
638.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))))
755.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
63.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
017106060
150015717

prune802.0ms

Filtered
286 candidates to 104 candidates (36.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New2797286
Fresh21517
Picked101
Done000
Total28222304

Merged error: 9.3b

Counts
304 → 22

localize54.0ms

Local error

Found 4 expressions with local error:

1.8b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
3.8b
(/ (* M D) (* 2.0 d))
6.0b
(* (* (* (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 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
11.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
5947×add-exp-log
4317×prod-exp
1997×pow-exp
1387×div-exp
643×pow-to-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:
19.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
6.0ms
(/ (* M D) (* 2.0 d))
76.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 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))

series1.5s

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

simplify334.0ms

Algorithm
egg-herbie
Counts
1009 → 1009
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
0416638921
1500137861

prune911.0ms

Filtered
1009 candidates to 99 candidates (9.8%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New100541009
Fresh21921
Picked101
Done000
Total1008231031

Merged error: 7.6b

Counts
1031 → 23

localize55.0ms

Local error

Found 4 expressions with local error:

3.8b
(/ (* M D) (* 2.0 d))
6.0b
(* (* (* (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))))
6.9b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
7.1b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

rewrite298.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
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))
78.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))))
8.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
15.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

series2.4s

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (* M D) (* 2.0 d))
677.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))))
745.0ms
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
946.0ms
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))

simplify338.0ms

Algorithm
egg-herbie
Counts
1000 → 1000
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0412541200
1500139750

prune720.0ms

Filtered
1000 candidates to 83 candidates (8.3%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New99821000
Fresh12122
Picked101
Done000
Total1000231023

Merged error: 7.6b

Counts
1023 → 23

regimes1.2s

Accuracy

41.9% (4.2b remaining)

Error of 14.3b against oracle of 10.0b and baseline of 17.3b

bsearch651.0ms

Steps
ItersRangePoint
7
1.4604126510842042e-86
3.3061259117174557e-84
3.243471014017301e-84
9
-8.898150898178952e-79
-5.067645266206579e-84
-1.778789773596539e-79

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067169
167169

end0.0ms

sample8.5s

Algorithm
intervals
Results
4.7s38051×body80nan
2.0s12817×body80valid