Details

Time bar (total: 4.2s)

sample49.0ms

Algorithm
intervals
Results
9.0ms31×body2560valid
8.0ms172×body80valid
7.0ms26×body1280valid
5.0ms256×pre80true
3.0ms14×body640valid
1.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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.3b

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))))
1.6b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite64.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:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
13.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
31.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series230.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0296867
11081815
24584798
35001795

prune340.0ms

Filtered
103 candidates to 79 candidates (76.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 16.9b

localize13.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)))))
4.8b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite59.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:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
36.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
2.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* (* 4.0 p) p) (* x x))
70.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
80.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0405867
11999779
25001742

prune342.0ms

Filtered
110 candidates to 80 candidates (72.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 16.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (/ (sqrt 1) (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.8b
(+ 1.0 (* x (/ (sqrt 1) (sqrt (+ (* (* 4.0 p) p) (* x x))))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
46×sqrt-prod
42×times-frac associate-*r*
34×*-un-lft-identity
32×add-cube-cbrt
add-exp-log add-cbrt-cube
add-log-exp
pow1 unswap-sqr
expm1-log1p-u fma-def flip3-+ sqrt-div flip-+ log1p-expm1-u
associate-*l*
+-commutative prod-exp sum-log associate-/r/ cbrt-unprod
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 115
Calls
4 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
41.0ms
(* x (/ (sqrt 1) (sqrt (+ (* (* 4.0 p) p) (* x x)))))
6.0ms
(+ 1.0 (* x (/ (sqrt 1) (sqrt (+ (* (* 4.0 p) p) (* x x))))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series236.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
04491134
123181072
25001929

prune378.0ms

Filtered
127 candidates to 85 candidates (66.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 16.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.0b
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
51×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
21×*-un-lft-identity
19×add-cube-cbrt
18×pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
expm1-log1p-u frac-times log1p-expm1-u
fma-def
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod distribute-lft-out
Counts
4 → 136
Calls
4 calls:
59.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
10.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
23.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

series257.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (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)))
81.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03051424
111511313
250011274

prune380.0ms

Filtered
148 candidates to 90 candidates (60.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 16.9b

regimes154.0ms

Accuracy

0% (0.5b remaining)

Error of 13.1b against oracle of 12.6b and baseline of 13.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02511
12511

end0.0ms

sample854.0ms

Algorithm
intervals
Results
226.0ms6084×body80valid
181.0ms798×body2560valid
112.0ms608×body1280valid
108.0ms8000×pre80true
45.0ms298×body640valid
14.0ms130×body320valid
6.0ms82×body160valid