Details

Time bar (total: 3.9s)

sample343.0ms

Algorithm
intervals
Results
10.0ms194×body80valid
8.0ms27×body2560valid
4.0ms256×pre80true
4.0ms15×body1280valid
3.0ms15×body640valid
0.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.1b

Counts
2 → 1

localize35.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
16×sqrt-prod
pow1
add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
sqrt-pow1 associate-/l*
pow1/2 associate-*r/ associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp pow-prod-down clear-num sum-log div-inv distribute-lft-out
Counts
4 → 81
Calls
4 calls:
8.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
38.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0280888
1816840
22486828
35001827

prune213.0ms

Filtered
71 candidates to 93 candidates (-31.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New791493
Fresh000
Picked101
Done000
Total801494

Merged error: 12.9b

Counts
94 → 14

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
3.4b
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
10×add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 sqrt-prod add-log-exp
distribute-lft-out
unpow-prod-down flip3-+ sqrt-div cube-prod flip-+
times-frac associate-/r*
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log sum-cubes cbrt-unprod div-inv associate-/l*
Counts
4 → 70
Calls
4 calls:
36.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
9.0ms
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
7.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
8.0ms
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0296693
11364633
25001630

prune257.0ms

Filtered
64 candidates to 82 candidates (-28.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New81182
Fresh01313
Picked101
Done000
Total821496

Merged error: 12.9b

Counts
96 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
3.4b
(/ (+ (* (* 4.0 p) p) (* x x)) (* x x))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
10×add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 sqrt-prod add-log-exp
distribute-lft-out
unpow-prod-down flip3-+ sqrt-div cube-prod flip-+
times-frac associate-/l*
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-/l/
+-commutative frac-2neg prod-exp clear-num associate-/r* sum-log sum-cubes cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
37.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
9.0ms
(/ (+ (* (* 4.0 p) p) (* x x)) (* x x))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
9.0ms
(/ (+ (* (* 4.0 p) p) (* x x)) (* x x))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0312706
11403646
25002646

prune273.0ms

Filtered
66 candidates to 82 candidates (-24.2%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh01313
Picked011
Done000
Total821496

Merged error: 12.9b

Counts
96 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.5b
(log (exp (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
0.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.2b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
add-log-exp
sqrt-prod log-pow
add-exp-log exp-prod sqrt-div add-cbrt-cube
log-prod sqrt-pow1 flip3-+ flip-+
pow1/2 associate-*r/
+-commutative rem-sqrt-square rem-log-exp pow-prod-down sum-log distribute-lft-out
Counts
4 → 56
Calls
4 calls:
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
2.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
14.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
32.0ms
(log (exp (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify122.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0234637
1607590
21618589
34163589
45001589

prune143.0ms

Filtered
60 candidates to 68 candidates (-13.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh3912
Picked101
Done101
Total691382

Merged error: 12.9b

Counts
82 → 13

regimes397.0ms

Accuracy

0% (0.3b remaining)

Error of 13.5b against oracle of 13.2b and baseline of 13.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03129
13129

end0.0ms

sample1.5s

Algorithm
intervals
Results
308.0ms6017×body80valid
244.0ms785×body2560valid
166.0ms632×body1280valid
144.0ms8000×pre80true
64.0ms317×body640valid
24.0ms161×body320valid
9.0ms88×body160valid

Profiling

Loading profile data...