Details

Time bar (total: 5.2s)

sample36.0ms

Algorithm
intervals
Results
8.0ms202×body80valid
6.0ms18×body1280valid
6.0ms24×body2560valid
4.0ms256×pre80true
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune2.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: 11.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.4b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
22×add-sqr-sqrt
21×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
expm1-log1p-u fma-def flip3-+ sqrt-div flip-+ log1p-expm1-u
associate-/l*
+-commutative sum-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv distribute-lft-out
Counts
4 → 91
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
7.0ms
(/ 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)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* (* 4.0 p) p) (* x x))
54.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
78.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify155.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune315.0ms

Filtered
103 candidates to 79 candidates (76.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New8815103
Fresh000
Picked101
Done000
Total8915104

Merged error: 11.2b

Counts
104 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.4b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.4b
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
23×add-sqr-sqrt
22×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-exp-log
pow1 associate-/r* add-cbrt-cube add-log-exp
expm1-log1p-u log-prod flip3-+ sqrt-div flip-+ log1p-expm1-u
fma-def associate-/l*
log-div associate-/r/ distribute-lft-out
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp rem-log-exp clear-num sum-log log-pow div-inv
Counts
4 → 94
Calls
4 calls:
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series379.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
79.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
185.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
56.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
02961010
1864940
22544926
35001924

prune369.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1033106
Fresh7714
Picked101
Done000
Total11110121

Merged error: 8.0b

Counts
121 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

2.1b
(/ x (fma (* 4.0 p) p (* x x)))
3.4b
(log (/ (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)) (fma (/ x (fma (* 4.0 p) p (* x x))) x (* 1.0 (- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
36×times-frac
31×log-prod
29×add-sqr-sqrt
27×add-cube-cbrt
15×distribute-lft-out
12×unpow-prod-down cube-prod
add-exp-log
pow1
sqrt-prod add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/r* sum-cubes associate-/l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 div-exp rem-log-exp flip-+ div-inv
cbrt-undiv log-div frac-2neg clear-num log-pow
Counts
4 → 107
Calls
4 calls:
3.0ms
(/ x (fma (* 4.0 p) p (* x x)))
40.0ms
(log (/ (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)) (fma (/ x (fma (* 4.0 p) p (* x x))) x (* 1.0 (- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series613.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ x (fma (* 4.0 p) p (* x x)))
440.0ms
(log (/ (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3)) (fma (/ x (fma (* 4.0 p) p (* x x))) x (* 1.0 (- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify108.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
03902287
112122170
239612117
350022082

prune584.0ms

Filtered
119 candidates to 87 candidates (73.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh189
Picked011
Done000
Total11811129

Merged error: 8.0b

Counts
129 → 11

localize33.0ms

Local error

Found 4 expressions with local error:

13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.5b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify92.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0106544
1323524
2963524
32523524
45002524

prune706.0ms

Filtered
80 candidates to 72 candidates (90.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh099
Picked011
Done011
Total801191

Merged error: 8.0b

Counts
91 → 11

regimes201.0ms

Accuracy

0% (3.5b remaining)

Error of 12.5b against oracle of 9.0b and baseline of 12.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03127
13127

end0.0ms

sample857.0ms

Algorithm
intervals
Results
238.0ms6124×body80valid
181.0ms760×body2560valid
114.0ms592×body1280valid
106.0ms8000×pre80true
43.0ms291×body640valid
17.0ms158×body320valid
6.0ms75×body160valid