Details

Time bar (total: 55.3s)

sample246.0ms

Algorithm
intervals
Results
123.0ms1241×body80nan
59.0ms413×body80valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
272017
3500117

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.9b

localize29.0ms

Local error

Found 4 expressions with local error:

6.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.8b
(pow (/ d h) (/ 1.0 2.0))
11.1b
(pow (/ d l) (/ 1.0 2.0))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
205×add-exp-log
107×prod-exp
55×div-exp
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
40×pow-exp
30×add-cbrt-cube
26×unpow-prod-down pow-unpow
16×associate-*r*
14×pow-to-exp
13×cbrt-unprod
10×pow1
prod-diff
cbrt-undiv distribute-rgt-in distribute-lft-in div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ associate-*l/
sub-neg pow-pow associate-*l* pow-prod-down *-commutative sqr-pow
frac-times flip3-- flip--
Counts
4 → 190
Calls
4 calls:
38.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))
4.0ms
(pow (/ d l) (/ 1.0 2.0))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.5s

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

simplify49.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012872382
150022125

prune954.0ms

Filtered
202 candidates to 119 candidates (58.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 11.5b

localize42.0ms

Local error

Found 4 expressions with local error:

4.1b
(/ (* M D) (* 2.0 d))
6.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))))
11.1b
(pow (/ d l) (/ 1.0 2.0))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite221.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×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
20×cbrt-unprod
16×associate-*r*
13×unpow-prod-down pow-unpow
pow1 cbrt-undiv
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 306
Calls
4 calls:
5.0ms
(/ (* M D) (* 2.0 d))
165.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))))
5.0ms
(pow (/ d l) (/ 1.0 2.0))
23.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.7s

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

simplify89.0ms

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
018766250
150025934

prune790.0ms

Filtered
318 candidates to 105 candidates (33.0%)
Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 10.5b

localize59.0ms

Local error

Found 4 expressions with local error:

2.9b
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.1b
(/ (* M D) (* 2.0 d))
6.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))))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite567.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
34×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
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1243
Calls
4 calls:
6.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
330.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:
186.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
28.0ms
(/ (* M D) (* 2.0 d))
884.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))))
734.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify370.0ms

Algorithm
egg-herbie
Counts
1255 → 1255
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0500145189

prune1.4s

Filtered
1255 candidates to 143 candidates (11.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 9.6b

localize72.0ms

Local error

Found 4 expressions with local error:

2.1b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
4.1b
(/ (* M D) (* 2.0 d))
6.7b
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (* (pow (/ 1 (cbrt (* (cbrt h) (cbrt h)))) (/ 1.0 2.0)) (pow (/ d (cbrt (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))))
12.5b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite2.9s

Algorithm
rewrite-expression-head
Rules
48183×add-exp-log
38099×prod-exp
20092×pow-exp
11805×div-exp
5826×pow-to-exp
2494×rec-exp 1-exp
66×add-cbrt-cube
36×cbrt-unprod
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×times-frac
16×associate-*r*
13×pow-unpow
12×pow1
cbrt-undiv
prod-diff
distribute-rgt-in unpow-prod-down distribute-lft-in
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
associate-*r/ associate-*l/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 6712
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))
1.1s
(* (* (* (pow (/ 1 (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (* (pow (/ 1 (cbrt (* (cbrt h) (cbrt h)))) (/ 1.0 2.0)) (pow (/ d (cbrt (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.7s

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

simplify2.8s

Algorithm
egg-herbie
Counts
6724 → 6724
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05554359725

prune29.9s

Filtered
6724 candidates to 2605 candidates (38.7%)
Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.0b

regimes943.0ms

Accuracy

29.3% (5.1b remaining)

Error of 14.4b against oracle of 9.3b and baseline of 16.5b

bsearch149.0ms

Steps
ItersRangePoint
5
3.179714059408941e+47
1.2308500574980452e+48
8.979283220920986e+47

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06683
16683

end0.0ms

sample6.9s

Algorithm
intervals
Results
3.6s38677×body80nan
1.6s12808×body80valid