Details

Time bar (total: 25.3s)

sample366.0ms

Algorithm
intervals
Results
210.0ms1219×body80nan
92.0ms398×body80valid

simplify189.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.3b

localize30.0ms

Local error

Found 4 expressions with local error:

7.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))))
10.2b
(pow (/ d h) (/ 1.0 2.0))
11.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.7b
(pow (/ d l) (/ 1.0 2.0))

rewrite76.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:
35.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))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
5.0ms
(pow (/ d l) (/ 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))))
66.0ms
(pow (/ d h) (/ 1.0 2.0))
719.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
68.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012282042
150011847

prune703.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.6b

localize48.0ms

Local error

Found 4 expressions with local error:

3.2b
(/ (* M D) (* 2.0 d))
7.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.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.7b
(pow (/ d l) (/ 1.0 2.0))

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

series1.5s

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

simplify78.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
016425552
150025211

prune681.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 10.9b

localize69.0ms

Local error

Found 4 expressions with local error:

2.0b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
3.2b
(/ (* M D) (* 2.0 d))
7.3b
(* (* (* (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.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite596.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
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv
unpow-prod-down
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 → 983
Calls
4 calls:
9.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
349.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))))
30.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))
643.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))))
749.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify318.0ms

Algorithm
egg-herbie
Counts
995 → 995
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0408038233
1500238031

prune859.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 9.9b

localize63.0ms

Local error

Found 4 expressions with local error:

3.2b
(/ (* M D) (* 2.0 d))
4.8b
(* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
5.4b
(/ (* (* 1.0 (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (* 2.0 l))
7.3b
(* (* (* (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))))

rewrite563.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
29×cbrt-unprod
11×pow1
10×cbrt-undiv
add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt
pow-prod-down add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in times-frac associate-*r/ associate-*l* clear-num associate-/r* *-commutative div-inv associate-/l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 950
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
13.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))
360.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))))

series2.2s

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

simplify315.0ms

Algorithm
egg-herbie
Counts
962 → 962
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0387637890
1500137685

prune815.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 9.8b

regimes874.0ms

Accuracy

-0.5% (4.5b remaining)

Error of 15.6b against oracle of 11.1b and baseline of 15.6b

bsearch605.0ms

Steps
ItersRangePoint
9
1.2731826265573756e+246
2.725542050564335e+252
1.2656987513771255e+248
9
5.918584834930847e-55
2.364314595882201e-46
2.3155022248962846e-46

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087125
187125

end0.0ms

sample11.0s

Algorithm
intervals
Results
6.5s37707×body80nan
2.8s12686×body80valid