Details

Time bar (total: 55.4s)

sample243.0ms

Algorithm
intervals
Results
122.0ms1241×body80nan
55.0ms413×body80valid

simplify187.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune6.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))

rewrite77.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:
36.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:
649.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))
62.0ms
(pow (/ d l) (/ 1.0 2.0))
724.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify43.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
012282042
150011847

prune678.0ms

Filtered
188 candidates to 109 candidates (58.0%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 11.5b

localize39.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))

rewrite215.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:
6.0ms
(/ (* M D) (* 2.0 d))
158.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))))
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.7s

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

simplify85.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
018025799
150015527

prune741.0ms

Filtered
304 candidates to 95 candidates (31.3%)
Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 10.5b

localize62.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))

rewrite571.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:
6.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
322.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:
178.0ms
(pow (/ d (cbrt h)) (/ 1.0 2.0))
27.0ms
(/ (* M D) (* 2.0 d))
862.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))))
733.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify359.0ms

Algorithm
egg-herbie
Counts
1241 → 1241
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
0500145022

prune1.2s

Filtered
1241 candidates to 129 candidates (10.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 9.6b

localize70.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.8s

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
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 → 6698
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.2s
(* (* (* (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.8s

Counts
4 → 12
Calls
4 calls:
117.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt l) (cbrt l))) (/ 1.0 2.0))
33.0ms
(/ (* M D) (* 2.0 d))
884.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))))
721.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify3.0s

Algorithm
egg-herbie
Counts
6710 → 6710
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05531358967

prune30.2s

Filtered
6710 candidates to 2590 candidates (38.6%)
Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.0b

regimes946.0ms

Accuracy

29.3% (5.1b remaining)

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

bsearch151.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.8s

Algorithm
intervals
Results
3.6s38677×body80nan
1.6s12808×body80valid