Details

Time bar (total: 4.1s)

sample32.0ms

Algorithm
intervals
Results
7.0ms202×body80valid
4.0ms18×body2560valid
4.0ms256×pre80true
3.0ms19×body1280valid
2.0ms11×body640valid
0.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1409
2489
3509
4529
5539
6539

prune3.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.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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))
12.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)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* (* 4.0 p) p) (* x x))
59.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
77.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify149.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune322.0ms

Filtered
103 candidates to 79 candidates (76.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New8914103
Fresh000
Picked101
Done000
Total9014104

Merged error: 11.1b

Counts
104 → 14

localize26.0ms

Local error

Found 4 expressions with local error:

1.1b
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
1.8b
(/ x (fma (* 4.0 p) p (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
80×*-un-lft-identity
78×add-cube-cbrt
72×prod-diff
65×times-frac
34×sqrt-prod
10×sqrt-div
pow1 add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
expm1-log1p-u log1p-expm1-u div-inv
fma-neg associate-/r* associate-/l* difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
4 → 156
Calls
4 calls:
16.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0ms
(/ x (fma (* 4.0 p) p (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
58.0ms
(/ x (fma (* 4.0 p) p (* x x)))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
62.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify81.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06824617
122563256
250012931

prune627.0ms

Filtered
168 candidates to 94 candidates (56.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1671168
Fresh01313
Picked101
Done000
Total16814182

Merged error: 11.1b

Counts
182 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.3b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
14×sqrt-prod
13×add-exp-log
add-cbrt-cube
add-log-exp
pow1
unswap-sqr
expm1-log1p-u fma-def flip3-+ sqrt-div prod-exp flip-+ log1p-expm1-u
associate-*l*
+-commutative div-exp sum-log associate-/r/ cbrt-unprod
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 98
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
14.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* (* 4.0 p) p) (* x x))
56.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
76.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0405867
11999779
25001742

prune314.0ms

Filtered
110 candidates to 81 candidates (73.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh12113
Picked101
Done000
Total1195124

Merged error: 11.1b

Counts
124 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod
add-cube-cbrt
pow1
sqrt-div add-log-exp
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
rem-sqrt-square fma-def sqrt-pow1 pow1/2
+-commutative sum-log distribute-lft-out
Counts
4 → 68
Calls
4 calls:
17.0ms
(+ 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)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify112.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (100.0ms)

IterNodesCost
0180566
1522535
21457534
33954533
45001525

prune320.0ms

Filtered
80 candidates to 72 candidates (90.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New79180
Fresh044
Picked101
Done000
Total80585

Merged error: 11.1b

Counts
85 → 5

regimes83.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02719
12719

end0.0ms

sample843.0ms

Algorithm
intervals
Results
215.0ms6001×body80valid
187.0ms852×body2560valid
112.0ms8000×pre80true
106.0ms608×body1280valid
43.0ms315×body640valid
15.0ms145×body320valid
5.0ms79×body160valid