Details

Time bar (total: 21.8s)

sample258.0ms

Algorithm
intervals
Results
135.0ms1322×body80nan
57.0ms424×body80valid

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05417
117417
272017
3500117

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.3b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.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:
33.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 l) (/ 1.0 2.0))
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))

series1.6s

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

simplify49.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012872382
150012125

prune744.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.7b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite250.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:
4.0ms
(/ (* M D) (* 2.0 d))
194.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))))
4.0ms
(pow (/ d l) (/ 1.0 2.0))
26.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))

series1.5s

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

simplify80.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
017106060
150015717

prune834.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 9.9b

localize50.0ms

Local error

Found 4 expressions with local error:

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

rewrite289.0ms

Algorithm
rewrite-expression-head
Rules
978×add-exp-log
593×prod-exp
277×div-exp
236×pow-exp
82×pow-to-exp
71×add-cbrt-cube
43×add-sqr-sqrt
40×times-frac
38×cbrt-unprod
35×add-cube-cbrt *-un-lft-identity
27×cbrt-undiv
25×associate-*r*
13×unpow-prod-down pow-unpow
10×cbrt-prod
pow1
associate-*l* prod-diff
distribute-rgt-in distribute-lft-in div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r/ unswap-sqr
sub-neg pow-prod-down *-commutative
frac-times flip3-- pow-pow frac-2neg associate-*l/ clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 330
Calls
4 calls:
4.0ms
(/ (* M D) (* 2.0 d))
212.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)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
42.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))
4.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.7s

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

simplify92.0ms

Algorithm
egg-herbie
Counts
342 → 342
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
021588219
150027733

prune1.1s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 9.7b

localize58.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.7b
(/ (* M D) (* 2.0 d))
5.6b
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
7.0b
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))

rewrite575.0ms

Algorithm
rewrite-expression-head
Rules
7205×add-exp-log
5351×prod-exp
2634×pow-exp
1732×div-exp
793×pow-to-exp
232×rec-exp 1-exp
80×add-cbrt-cube
49×add-sqr-sqrt times-frac
45×cbrt-unprod
41×add-cube-cbrt *-un-lft-identity
27×cbrt-undiv
25×associate-*r*
22×unpow-prod-down
19×cbrt-prod
13×pow-unpow
12×pow1
associate-*l* prod-diff
distribute-rgt-in distribute-lft-in div-inv
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
associate-*r/ unswap-sqr
sub-neg *-commutative
frac-times flip3-- pow-pow frac-2neg associate-*l/ clear-num associate-/r* flip-- associate-/l* sqr-pow
Counts
4 → 1299
Calls
4 calls:
6.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
4.0ms
(/ (* M D) (* 2.0 d))
315.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
38.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))

series2.0s

Counts
4 → 12
Calls
4 calls:
229.0ms
(pow (/ d (cbrt l)) (/ 1.0 2.0))
27.0ms
(/ (* M D) (* 2.0 d))
972.0ms
(* (* (* (pow (/ (* (cbrt d) (cbrt d)) (* (cbrt h) (cbrt h))) (/ 1.0 2.0)) (pow (/ (cbrt d) (cbrt h)) (/ 1.0 2.0))) (* (pow (/ 1 (* (cbrt l) (cbrt l))) (/ 1.0 2.0)) (pow (/ d (cbrt l)) (/ 1.0 2.0)))) (- 1.0 (* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))))
745.0ms
(* (/ (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (* (cbrt l) (cbrt l))) (/ h (cbrt l)))

simplify429.0ms

Algorithm
egg-herbie
Counts
1311 → 1311
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0500152205

prune1.5s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 8.4b

regimes1.3s

Accuracy

0% (4.9b remaining)

Error of 15.4b against oracle of 10.5b and baseline of 15.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05049
15049

end0.0ms

sample7.2s

Algorithm
intervals
Results
3.8s38036×body80nan
1.8s12731×body80valid