Details

Time bar (total: 23.3s)

sample250.0ms

Algorithm
intervals
Results
128.0ms1255×body80nan
58.0ms423×body80valid

simplify189.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize28.0ms

Local error

Found 4 expressions with local error:

8.4b
(* (* (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))))
12.9b
(pow (/ d h) (/ 1.0 2.0))
14.4b
(pow (/ d l) (/ 1.0 2.0))
14.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite75.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:
36.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))))
4.0ms
(pow (/ d h) (/ 1.0 2.0))
4.0ms
(pow (/ d l) (/ 1.0 2.0))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.5s

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

simplify45.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012282042
150011847

prune720.0ms

Filtered
188 candidates to 109 candidates (58.0%)
Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 15.0b

localize42.0ms

Local error

Found 4 expressions with local error:

5.0b
(/ (* M D) (* 2.0 d))
8.4b
(* (* (* (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))))
14.4b
(pow (/ d l) (/ 1.0 2.0))
14.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite215.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:
4.0ms
(/ (* M D) (* 2.0 d))
158.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))))
8.0ms
(pow (/ d l) (/ 1.0 2.0))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.8s

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (* M D) (* 2.0 d))
892.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))))
69.0ms
(pow (/ d l) (/ 1.0 2.0))
770.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify82.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
018025799
150015527

prune765.0ms

Filtered
304 candidates to 95 candidates (31.3%)
Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 13.5b

localize55.0ms

Local error

Found 4 expressions with local error:

2.7b
(pow (/ d (cbrt h)) (/ 1.0 2.0))
5.0b
(/ (* M D) (* 2.0 d))
8.4b
(* (* (* (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.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite550.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:
6.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
318.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))))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.9s

Counts
4 → 12
Calls
4 calls:
185.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
28.0ms
(/ (* M D) (* 2.0 d))
891.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))))
763.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify367.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0500145022

prune1.3s

Filtered
1241 candidates to 129 candidates (10.4%)
Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 10.9b

localize55.0ms

Local error

Found 4 expressions with local error:

4.0b
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))
5.0b
(/ (* M D) (* 2.0 d))
8.4b
(* (* (* (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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
9.4b
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))

rewrite821.0ms

Algorithm
rewrite-expression-head
Rules
7251×add-exp-log
5438×prod-exp
2642×pow-exp
1681×div-exp
794×pow-to-exp
232×rec-exp 1-exp
87×add-cbrt-cube
58×cbrt-unprod
26×associate-*r*
22×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity times-frac
17×cbrt-undiv
14×pow1
11×associate-*l*
cbrt-prod
unpow-prod-down pow-prod-down
add-log-exp
associate-*r/ associate-*l/ *-commutative div-inv unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in sqr-pow
frac-times flip3-- frac-2neg clear-num associate-/r* flip-- associate-/l*
Counts
4 → 1269
Calls
4 calls:
16.0ms
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))
4.0ms
(/ (* M D) (* 2.0 d))
315.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
129.0ms
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))

series2.1s

Counts
4 → 12
Calls
4 calls:
452.0ms
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))
33.0ms
(/ (* M D) (* 2.0 d))
914.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) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))))
743.0ms
(* (* (/ 1.0 2.0) (* (pow (/ (* M D) (* 2.0 d)) 2.0) (* (cbrt h) (cbrt h)))) (/ (cbrt h) l))

simplify406.0ms

Algorithm
egg-herbie
Counts
1281 → 1281
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0500151825

prune1.2s

Filtered
1281 candidates to 128 candidates (10.0%)
Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 9.9b

regimes1.3s

Accuracy

-1.5% (5.2b remaining)

Error of 14.3b against oracle of 9.1b and baseline of 14.2b

bsearch215.0ms

Steps
ItersRangePoint
7
3.1426237300699927e+215
1.17096206461238e+217
1.1032456709433566e+217

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06658
16658

end0.0ms

sample7.4s

Algorithm
intervals
Results
3.9s39119×body80nan
1.8s12930×body80valid