Details

Time bar (total: 49.8s)

sample493.0ms

Algorithm
intervals
Results
228.0ms1141×body80nan
135.0ms413×body80valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02235
15435
217435
370735
4448135
done500135

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.4b

localize42.0ms

Local error

Found 4 expressions with local error:

5.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.1b
(pow (/ d l) (/ 1.0 2.0))
11.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
12.3b
(pow (/ d h) (/ 1.0 2.0))

rewrite226.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:
111.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 l) (/ 1.0 2.0))
82.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
9.0ms
(pow (/ d h) (/ 1.0 2.0))

series2.4s

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

simplify2.7s

Counts
188 → 188
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
04404376
110813962
237803606
done50003606

prune1.2s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 9.6b

localize80.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
5.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))))
11.1b
(pow (/ d l) (/ 1.0 2.0))
11.9b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

rewrite720.0ms

Algorithm
rewrite-expression-head
Rules
739×add-exp-log
487×prod-exp
221×pow-exp
171×div-exp
79×pow-to-exp
37×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube
26×pow-unpow
18×unpow-prod-down
16×associate-*r* 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 → 272
Calls
4 calls:
19.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
566.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))))
8.0ms
(pow (/ d l) (/ 1.0 2.0))
80.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series2.5s

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

simplify2.5s

Counts
284 → 284
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
056611469
1126410273
242428917
done50008917

prune1.3s

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.3b

localize103.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.2s

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:
26.0ms
(/ (* M D) (* 2.0 d))
21.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
872.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))))
87.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series2.2s

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (* M D) (* 2.0 d))
164.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
969.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))))
1.0s
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

simplify1.4s

Counts
995 → 995
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0118371683
1199860502
done500051213

prune1.7s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 7.9b

localize89.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
4.2b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
5.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)) (* (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)))
5.6b
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
5937×add-exp-log
4313×prod-exp
1997×pow-exp
1384×div-exp
643×pow-to-exp
45×add-cbrt-cube
23×cbrt-unprod
18×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt
13×pow-unpow times-frac
12×pow1
associate-*r*
cbrt-undiv
unpow-prod-down
pow-prod-down associate-*l/ add-log-exp
associate-/r* div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l* *-commutative
flip3-- pow-pow frac-2neg clear-num flip-- associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 972
Calls
4 calls:
30.0ms
(pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0))
70.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h)
660.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)))
80.0ms
(/ (* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) h) l)

series3.3s

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

simplify1.1s

Counts
984 → 984
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0116771709
1192060533
done500051270

prune844.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 7.7b

regimes2.0s

Accuracy

28.6% (3.5b remaining)

Error of 13.3b against oracle of 9.9b and baseline of 14.7b

bsearch5.0ms

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
061334
178334
done78334

end0.0ms

sample16.8s

Algorithm
intervals
Results
9.4s38234×body80nan
3.8s12741×body80valid