Details

Time bar (total: 27.4s)

sample368.0ms

Algorithm
intervals
Results
216.0ms1251×body80nan
85.0ms396×body80valid

simplify196.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: 24.7b

localize28.0ms

Local error

Found 4 expressions with local error:

5.7b
(* (* (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.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
10.5b
(pow (/ d h) (/ 1.0 2.0))
11.3b
(pow (/ d l) (/ 1.0 2.0))

rewrite74.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:
32.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))))
25.0ms
(* (* (/ 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))

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))))
745.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
67.0ms
(pow (/ d h) (/ 1.0 2.0))
67.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012282042
150011847

prune750.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 10.1b

localize48.0ms

Local error

Found 4 expressions with local error:

4.7b
(/ (* M D) (* 2.0 d))
5.7b
(* (* (* (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))))
10.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
11.3b
(pow (/ d l) (/ 1.0 2.0))

rewrite212.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))
154.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))))
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.9s

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (* M D) (* 2.0 d))
863.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))))
936.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
64.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
018025799
150015527

prune774.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 8.3b

localize60.0ms

Local error

Found 4 expressions with local error:

2.7b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.7b
(/ (* M D) (* 2.0 d))
5.7b
(* (* (* (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))))
10.3b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite542.0ms

Algorithm
rewrite-expression-head
Rules
6975×add-exp-log
5249×prod-exp
2617×pow-exp
1629×div-exp
789×pow-to-exp
232×rec-exp 1-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 → 1215
Calls
4 calls:
8.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
313.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.8s

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

simplify379.0ms

Algorithm
egg-herbie
Counts
1227 → 1227
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
0496443540
1500243540

prune978.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 7.9b

localize56.0ms

Local error

Found 4 expressions with local error:

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

rewrite562.0ms

Algorithm
rewrite-expression-head
Rules
6964×add-exp-log
5245×prod-exp
2612×pow-exp
1626×div-exp
788×pow-to-exp
232×rec-exp 1-exp
57×add-cbrt-cube
27×cbrt-unprod
11×pow1
10×cbrt-undiv add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r*
times-frac pow-prod-down associate-*l/ associate-/r* add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in associate-*r/ associate-*l* clear-num *-commutative div-inv associate-/l*
flip3-- flip-- associate-/l/ distribute-lft-out-- difference-of-squares
Counts
4 → 1192
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
21.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
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)

series2.4s

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (* M D) (* 2.0 d))
768.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
879.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)))
759.0ms
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)

simplify373.0ms

Algorithm
egg-herbie
Counts
1204 → 1204
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0479243270
1500243115

prune674.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 7.7b

regimes1.9s

Accuracy

13.7% (5.3b remaining)

Error of 15.1b against oracle of 9.7b and baseline of 15.9b

bsearch602.0ms

Steps
ItersRangePoint
8
1.0958571220855845e+190
2.857675463504744e+194
2.3801564825230497e+193
9
-5.881229502877824e-19
-5.991077653990306e-25
-2.200261327311812e-19

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07896
17896

end0.0ms

sample11.0s

Algorithm
intervals
Results
6.5s38622×body80nan
2.7s12750×body80valid