Details

Time bar (total: 21.4s)

sample259.0ms

Algorithm
intervals
Results
133.0ms1322×body80nan
60.0ms424×body80valid

simplify198.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.3b

localize29.0ms

Local error

Found 4 expressions with local error:

5.6b
(* (* (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.5b
(pow (/ d l) (/ 1.0 2.0))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
13.1b
(pow (/ d h) (/ 1.0 2.0))

rewrite79.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 l) (/ 1.0 2.0))
24.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
5.0ms
(pow (/ d h) (/ 1.0 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
637.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))))
63.0ms
(pow (/ d l) (/ 1.0 2.0))
713.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
64.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

prune704.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.7b

localize48.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (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.5b
(pow (/ d l) (/ 1.0 2.0))
12.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite265.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×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 → 260
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
206.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))))
5.0ms
(pow (/ d l) (/ 1.0 2.0))
24.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.4s

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

simplify81.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
016425552
150025211

prune758.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 9.9b

localize51.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (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)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
7.0b
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))
11.5b
(pow (/ d l) (/ 1.0 2.0))

rewrite283.0ms

Algorithm
rewrite-expression-head
Rules
978×add-exp-log
593×prod-exp
277×div-exp
236×pow-exp
82×pow-to-exp
71×add-cbrt-cube
41×add-sqr-sqrt
40×times-frac
38×cbrt-unprod
33×add-cube-cbrt *-un-lft-identity
27×cbrt-undiv
25×associate-*r*
13×unpow-prod-down pow-unpow
10×cbrt-prod
pow1
associate-*l*
div-inv
add-log-exp
associate-*r/ unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg associate-*l/ clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 316
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
203.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)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
40.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))
5.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (* M D) (* 2.0 d))
664.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)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
748.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))
60.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
020917601
150017183

prune1.1s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 9.7b

localize59.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.7b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt 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 l) (cbrt l))) (/ h (cbrt l)))))
7.0b
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))

rewrite605.0ms

Algorithm
rewrite-expression-head
Rules
7205×add-exp-log
5351×prod-exp
2634×pow-exp
1732×div-exp
793×pow-to-exp
232×rec-exp 1-exp
80×add-cbrt-cube
49×times-frac
47×add-sqr-sqrt
45×cbrt-unprod
39×add-cube-cbrt *-un-lft-identity
27×cbrt-undiv
25×associate-*r*
22×unpow-prod-down
19×cbrt-prod
13×pow-unpow
12×pow1
associate-*l*
div-inv
pow-prod-down add-log-exp
associate-*r/ unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in *-commutative
frac-times flip3-- pow-pow frac-2neg associate-*l/ clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1285
Calls
4 calls:
6.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
331.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt 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 l) (cbrt l))) (/ h (cbrt l)))))
41.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))

series2.0s

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

simplify620.0ms

Algorithm
egg-herbie
Counts
1297 → 1297
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0500151927

prune1.3s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 8.4b

regimes1.3s

Accuracy

0% (4.9b remaining)

Error of 15.4b against oracle of 10.5b and baseline of 15.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05049
15049

end0.0ms

sample7.2s

Algorithm
intervals
Results
3.8s38036×body80nan
1.7s12731×body80valid