Details

Time bar (total: 47.7s)

sample521.0ms

Algorithm
intervals
Results
291.0ms1213×body80nan
93.0ms412×body80valid

simplify3.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02235
15435
217435
371735
4458035
done500035

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.1b

localize44.0ms

Local error

Found 4 expressions with local error:

7.1b
(* (* (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))))
11.8b
(pow (/ d h) (/ 1.0 2.0))
14.7b
(pow (/ d l) (/ 1.0 2.0))
15.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite160.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:
77.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))))
8.0ms
(pow (/ d h) (/ 1.0 2.0))
10.0ms
(pow (/ d l) (/ 1.0 2.0))
54.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.9s

Counts
4 → 12
Calls
4 calls:
918.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))))
94.0ms
(pow (/ d h) (/ 1.0 2.0))
79.0ms
(pow (/ d l) (/ 1.0 2.0))
826.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify2.2s

Counts
202 → 202
Iterations

Useful iterations: done (2.2s)

IterNodesCost
04635058
111404644
239784180
done50014172

prune1.4s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 12.7b

localize75.0ms

Local error

Found 4 expressions with local error:

5.6b
(/ (* M D) (* 2.0 d))
7.1b
(* (* (* (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))))
14.7b
(pow (/ d l) (/ 1.0 2.0))
15.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite613.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×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 → 274
Calls
4 calls:
13.0ms
(/ (* M D) (* 2.0 d))
473.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))))
12.0ms
(pow (/ d l) (/ 1.0 2.0))
89.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series2.0s

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (* M D) (* 2.0 d))
933.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))))
82.0ms
(pow (/ d l) (/ 1.0 2.0))
907.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify853.0ms

Counts
286 → 286
Iterations

Useful iterations: done (838.0ms)

IterNodesCost
057411962
1133310811
done50009346

prune1.2s

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 11.7b

localize122.0ms

Local error

Found 4 expressions with local error:

5.6b
(/ (* M D) (* 2.0 d))
5.9b
(pow (/ (cbrt d) l) (/ 1.0 2.0))
7.1b
(* (* (* (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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
15.8b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite943.0ms

Algorithm
rewrite-expression-head
Rules
3061×add-exp-log
2393×prod-exp
1064×pow-exp
557×div-exp
424×pow-to-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 → 663
Calls
4 calls:
14.0ms
(/ (* M D) (* 2.0 d))
12.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
678.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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
107.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series2.8s

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (* M D) (* 2.0 d))
240.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
1.5s
(* (* (* (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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))))
1.1s
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify1.1s

Counts
675 → 675
Iterations

Useful iterations: done (1.0s)

IterNodesCost
091041283
1186134977
done500130174

prune1.6s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 10.1b

localize87.0ms

Local error

Found 4 expressions with local error:

5.6b
(/ (* M D) (* 2.0 d))
5.9b
(pow (/ (cbrt d) l) (/ 1.0 2.0))
7.1b
(* (* (* (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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))))
7.7b
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
3260×add-exp-log
2531×prod-exp
1084×pow-exp
604×div-exp
428×pow-to-exp
66×add-cbrt-cube
37×times-frac
35×cbrt-unprod
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×unpow-prod-down
16×rec-exp 1-exp associate-*r*
15×pow1
13×pow-unpow
10×cbrt-undiv
cbrt-prod
prod-diff pow-prod-down
distribute-rgt-in distribute-lft-in associate-*l/
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
associate-*r/
sub-neg associate-*l* *-commutative
frac-times flip3-- pow-pow frac-2neg clear-num associate-/r* un-div-inv flip-- associate-/l* sqr-pow
Counts
4 → 701
Calls
4 calls:
27.0ms
(/ (* M D) (* 2.0 d))
21.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
719.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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))))
288.0ms
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))

series3.1s

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (* M D) (* 2.0 d))
270.0ms
(pow (/ (cbrt d) l) (/ 1.0 2.0))
1.6s
(* (* (* (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)) (/ 1.0 2.0)) (pow (/ (cbrt d) l) (/ 1.0 2.0)))) (- 1.0 (* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))))
1.2s
(* (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) (/ 1 l))

simplify1.3s

Counts
713 → 713
Iterations

Useful iterations: done (1.2s)

IterNodesCost
096843503
1195735727
done500130870

prune1.4s

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 9.8b

regimes2.1s

Accuracy

-7.9% (4.9b remaining)

Error of 15.6b against oracle of 10.6b and baseline of 15.2b

bsearch12.0ms

simplify10.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
059170
179170
done79170

end0.0ms

sample17.6s

Algorithm
intervals
Results
9.8s38803×body80nan
4.1s12790×body80valid