Details

Time bar (total: 15.9s)

sample254.0ms

Algorithm
intervals
Results
132.0ms1244×body80nan
59.0ms410×body80valid

simplify204.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05417
117417
271017
3494017
4500217

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.1b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

6.9b
(* (* (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.0b
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
10.5b
(pow (/ d h) (/ 1.0 2.0))
10.9b
(pow (/ d l) (/ 1.0 2.0))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l*
15×associate-*l/
frac-times unpow-prod-down associate-*r* clear-num div-inv
frac-2neg *-commutative
sqr-pow
associate-*r/
times-frac
distribute-rgt-in pow-to-exp sub-neg pow-unpow distribute-lft-in
flip3-- un-div-inv flip-- unswap-sqr
Counts
4 → 49
Calls
4 calls:
10.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))))
10.0ms
(* (* (/ 1.0 2.0) (pow (/ (* M D) (* 2.0 d)) 2.0)) (/ h l))
2.0ms
(pow (/ d h) (/ 1.0 2.0))
2.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.7s

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

simplify60.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0551575
12099559
25001557

prune364.0ms

Filtered
61 candidates to 53 candidates (86.9%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New421961
Fresh000
Picked101
Done000
Total431962

Merged error: 10.1b

Counts
62 → 19

localize37.0ms

Local error

Found 4 expressions with local error:

6.9b
(* (* (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 2))) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
9.4b
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))
10.5b
(pow (/ d h) (/ 1.0 2.0))
10.9b
(pow (/ d l) (/ 1.0 2.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-*l*
unpow-prod-down
div-inv
*-commutative sqr-pow
associate-*r/
times-frac
associate-*r*
distribute-rgt-in pow-to-exp sub-neg pow-unpow distribute-lft-in clear-num
flip3-- frac-2neg un-div-inv flip-- unswap-sqr
Counts
4 → 34
Calls
4 calls:
9.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 2))) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
8.0ms
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))
2.0ms
(pow (/ d h) (/ 1.0 2.0))
2.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
651.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 2))) (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l)))))
708.0ms
(* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (/ h l))
67.0ms
(pow (/ d h) (/ 1.0 2.0))
62.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0457559
11762545
25001525

prune289.0ms

Filtered
46 candidates to 38 candidates (82.6%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New311546
Fresh14418
Picked101
Done000
Total461965

Merged error: 9.6b

Counts
65 → 19

localize33.0ms

Local error

Found 4 expressions with local error:

6.2b
(/ (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (- h)) (- l))
6.9b
(* (* (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 2))) (/ (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (- h)) (- l)))))
10.5b
(pow (/ d h) (/ 1.0 2.0))
10.9b
(pow (/ d l) (/ 1.0 2.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
21×associate-*l*
17×times-frac
14×unpow-prod-down
12×neg-mul-1 *-commutative
div-inv associate-/l*
sqr-pow
associate-*r*
distribute-rgt-in pow-to-exp sub-neg pow-unpow distribute-lft-in associate-*r/
flip3-- frac-2neg distribute-frac-neg clear-num associate-/r* distribute-rgt-neg-out flip-- unswap-sqr
Counts
4 → 45
Calls
4 calls:
10.0ms
(/ (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (- h)) (- l))
13.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 2))) (/ (* (pow (/ (* M D) (* 2.0 d)) (/ 2.0 2)) (- h)) (- l)))))
2.0ms
(pow (/ d h) (/ 1.0 2.0))
2.0ms
(pow (/ d l) (/ 1.0 2.0))

series1.4s

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

simplify54.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0543712
12001687
25002687

prune364.0ms

Filtered
57 candidates to 49 candidates (86.0%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New451257
Fresh12618
Picked101
Done000
Total581876

Merged error: 7.6b

Counts
76 → 18

localize38.0ms

Local error

Found 4 expressions with local error:

10.5b
(pow (/ d h) (/ 1.0 2.0))
10.5b
(pow (/ d h) (/ 1.0 2.0))
10.9b
(pow (/ d l) (/ 1.0 2.0))
10.9b
(pow (/ d l) (/ 1.0 2.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
div-inv
pow-to-exp unpow-prod-down pow-unpow sqr-pow
Counts
4 → 16
Calls
4 calls:
2.0ms
(pow (/ d h) (/ 1.0 2.0))
3.0ms
(pow (/ d h) (/ 1.0 2.0))
2.0ms
(pow (/ d l) (/ 1.0 2.0))
2.0ms
(pow (/ d l) (/ 1.0 2.0))

series254.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(pow (/ d h) (/ 1.0 2.0))
65.0ms
(pow (/ d h) (/ 1.0 2.0))
65.0ms
(pow (/ d l) (/ 1.0 2.0))
59.0ms
(pow (/ d l) (/ 1.0 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
0115148
1269120
2804120
32349120
45002100

prune117.0ms

Filtered
28 candidates to 20 candidates (71.4%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New25328
Fresh31417
Picked101
Done000
Total291746

Merged error: 7.6b

Counts
46 → 17

regimes728.0ms

Accuracy

37.5% (9.1b remaining)

Error of 16.6b against oracle of 7.5b and baseline of 22.1b

bsearch780.0ms

Steps
ItersRangePoint
7
7.94742693071978e+186
8.718640230163806e+188
1.7042909891776182e+187
4
3.631715492995854e+82
6.027276772227959e+82
3.706576782971857e+82
11
-2.1991128365843992e-299
5.554464097013436e-298
-1.86853407285333e-310
3
-1.2333817938772057e+129
-8.987021278480719e+128
-9.614545652285346e+128

simplify6.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106125
1112125
2117125
3120125
4125125
5127125
6127125

end0.0ms

sample7.5s

Algorithm
intervals
Results
4.0s38284×body80nan
1.8s12748×body80valid