Details

Time bar (total: 24.0s)

sample255.0ms

Algorithm
intervals
Results
118.0ms1241×body80nan
55.0ms414×body80valid

simplify187.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.2b

localize28.0ms

Local error

Found 4 expressions with local error:

6.3b
(* (* (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.1b
(pow (/ d l) (/ 1.0 2.0))
11.4b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.3b
(pow (/ d h) (/ 1.0 2.0))

rewrite133.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:
59.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))))
7.0ms
(pow (/ d l) (/ 1.0 2.0))
51.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
8.0ms
(pow (/ d h) (/ 1.0 2.0))

series1.6s

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

simplify43.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012282042
150011847

prune698.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 10.9b

localize47.0ms

Local error

Found 4 expressions with local error:

4.2b
(/ (* M D) (* 2.0 d))
6.3b
(* (* (* (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.1b
(pow (/ d l) (/ 1.0 2.0))
11.4b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite394.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:
12.0ms
(/ (* M D) (* 2.0 d))
301.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))))
7.0ms
(pow (/ d l) (/ 1.0 2.0))
52.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.5s

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

simplify73.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
016425552
150025211

prune746.0ms

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 10.6b

localize62.0ms

Local error

Found 4 expressions with local error:

4.2b
(/ (* M D) (* 2.0 d))
4.4b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
6.3b
(* (* (* (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)) (/ h l))))
11.4b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite761.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:
12.0ms
(/ (* M D) (* 2.0 d))
9.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
488.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)) (/ h l))))
52.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series2.1s

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (* M D) (* 2.0 d))
181.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
1.2s
(* (* (* (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)) (/ h l))))
750.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify346.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500145012

prune1.3s

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 9.3b

localize63.0ms

Local error

Found 4 expressions with local error:

4.2b
(/ (* M D) (* 2.0 d))
4.4b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
6.3b
(* (* (* (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 h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
6.7b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

rewrite810.0ms

Algorithm
rewrite-expression-head
Rules
7265×add-exp-log
5416×prod-exp
2644×pow-exp
1716×div-exp
795×pow-to-exp
232×rec-exp 1-exp
79×add-cbrt-cube
54×cbrt-unprod
29×times-frac
26×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*
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 → 1275
Calls
4 calls:
12.0ms
(/ (* M D) (* 2.0 d))
9.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
497.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 h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
74.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

series1.8s

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (* M D) (* 2.0 d))
173.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
1.0s
(* (* (* (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 h) (cbrt h)) (* (cbrt l) (cbrt l)))) (/ (cbrt h) (cbrt l)))))
601.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ (* (cbrt h) (cbrt h)) (* (cbrt l) (cbrt l))))

simplify402.0ms

Algorithm
egg-herbie
Counts
1287 → 1287
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500157430

prune1.3s

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 9.1b

regimes1.6s

Accuracy

-3.9% (4.7b remaining)

Error of 14.5b against oracle of 9.8b and baseline of 14.3b

bsearch245.0ms

Steps
ItersRangePoint
8
6.400932178563695e+238
2.4915746406816684e+241
3.3506520359231006e+239

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07065
17065

end0.0ms

sample7.5s

Algorithm
intervals
Results
3.6s38630×body80nan
1.6s12783×body80valid