Details

Time bar (total: 10.7s)

sample77.0ms

Algorithm
intervals
Results
38.0ms306×body80valid
16.0ms112×body80nan

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0369
1819
21789
34469
415309
550019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize14.0ms

Local error

Found 4 expressions with local error:

1.7b
(* w0 (sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l)))))
4.7b
(/ (* M D) (* 2.0 d))
6.8b
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))))
8.4b
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
35×add-sqr-sqrt
27×prod-exp
23×add-cbrt-cube
19×div-exp associate-*r*
17×add-cube-cbrt *-un-lft-identity
14×times-frac
12×associate-*l*
10×pow-exp
unswap-sqr
pow1 unpow-prod-down sqrt-prod cbrt-unprod
cbrt-undiv
sqrt-div add-log-exp
associate-*r/ div-inv sqr-pow
pow-to-exp flip3-- *-commutative flip--
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down clear-num associate-/r* associate-/l*
Counts
4 → 113
Calls
4 calls:
8.0ms
(* w0 (sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l)))))
4.0ms
(/ (* M D) (* 2.0 d))
2.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))))
14.0ms
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))

series1.5s

Counts
4 → 12
Calls
4 calls:
399.0ms
(* w0 (sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l)))))
27.0ms
(/ (* M D) (* 2.0 d))
366.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))))
688.0ms
(* (pow (/ (* M D) (* 2.0 d)) 2.0) (/ h l))

simplify77.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06091076
12742997
25002994

prune397.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 9.5b

localize17.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
4.7b
(/ (* M D) (* 2.0 d))
6.8b
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
9.7b
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
77×add-exp-log
33×add-cbrt-cube
30×prod-exp
28×add-sqr-sqrt
23×div-exp
15×times-frac
14×add-cube-cbrt *-un-lft-identity
13×associate-*r*
10×pow-exp cbrt-unprod
cbrt-undiv associate-*l*
unpow-prod-down
unswap-sqr
pow1
div-inv add-log-exp
sqrt-prod sqr-pow
pow-to-exp frac-2neg sqrt-div clear-num associate-/r* associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-*r/ *-commutative flip--
Counts
4 → 110
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
4.0ms
(/ (* M D) (* 2.0 d))
2.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
14.0ms
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))

series1.1s

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (* M D) (* 2.0 d))
28.0ms
(/ (* M D) (* 2.0 d))
369.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
699.0ms
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))

simplify69.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05761132
125821013
250011012

prune410.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 8.9b

localize21.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
5.4b
(* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l))
6.5b
(* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))
6.8b
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l)))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
210×add-exp-log
121×prod-exp
43×div-exp
33×add-cbrt-cube
31×associate-*r*
30×pow-exp
23×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity times-frac
19×cbrt-unprod
cbrt-prod
pow1 cbrt-undiv
pow-to-exp unpow-prod-down
add-log-exp
sqrt-prod div-inv unswap-sqr
sqrt-div associate-*l* *-commutative sqr-pow
rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num associate-/r* flip-- associate-/l*
Counts
4 → 142
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
51.0ms
(* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l))
21.0ms
(* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))
2.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l)))))

series1.7s

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (* M D) (* 2.0 d))
799.0ms
(* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l))
462.0ms
(* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))
403.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (* (cbrt h) (cbrt h)) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2))) (/ (cbrt h) l)))))

simplify125.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09022071
146211848
250011848

prune476.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 8.9b

localize24.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
4.7b
(/ (* M D) (* 2.0 d))
5.4b
(* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l))
6.8b
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l)))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
117×add-exp-log
64×prod-exp
40×add-cbrt-cube
25×div-exp
22×associate-*r*
20×times-frac cbrt-unprod
19×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
11×cbrt-undiv
10×pow1 pow-exp
cbrt-prod
add-log-exp
pow-prod-down sqrt-prod div-inv
pow-to-exp frac-2neg sqrt-div clear-num associate-/r* associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-*r/ associate-*l* *-commutative flip--
Counts
4 → 115
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
4.0ms
(/ (* M D) (* 2.0 d))
47.0ms
(* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l))
2.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (* M D) (* 2.0 d))
28.0ms
(/ (* M D) (* 2.0 d))
598.0ms
(* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l))
398.0ms
(sqrt (- 1.0 (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (* (* (cbrt h) (* (cbrt h) (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)))) (/ (cbrt h) l)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07411600
135711388
250021366

prune397.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 8.9b

regimes889.0ms

Accuracy

-22.6% (2.8b remaining)

Error of 10.7b against oracle of 7.8b and baseline of 10.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07150
17150

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.2s9362×body80valid
371.0ms3001×body80nan