Details

Time bar (total: 3.6s)

sample53.0ms

Algorithm
intervals
Results
11.0ms193×body80valid
9.0ms25×body2560valid
6.0ms21×body1280valid
6.0ms256×pre80true
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

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: 12.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))))
1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
20×add-cube-cbrt
18×times-frac
15×sqrt-prod
add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1
flip3-+ sqrt-div flip-+
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 → 79
Calls
4 calls:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
7.0ms
(/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))
15.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series218.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0278822
11014772
24246757
35001757

prune254.0ms

Filtered
91 candidates to 67 candidates (73.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New771491
Fresh000
Picked101
Done000
Total781492

Merged error: 12.0b

Counts
92 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity sqrt-prod
pow1 add-cube-cbrt
sqrt-div add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative sum-log distribute-lft-out
Counts
4 → 57
Calls
4 calls:
12.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)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
53.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify122.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0167517
1465490
21264489
33249489
45001489

prune283.0ms

Filtered
69 candidates to 61 candidates (88.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh01313
Picked011
Done000
Total691483

Merged error: 12.0b

Counts
83 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
0.2b
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.9b
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
40×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
26×sqrt-prod
24×associate-*r*
17×add-exp-log
11×add-cbrt-cube
pow1
sqrt-div associate-/r* add-log-exp
unswap-sqr
flip3-+ div-exp prod-exp associate-/r/ flip-+
pow-flip associate-*l* associate-/l*
cbrt-undiv rec-exp sqrt-pow1 pow1/2 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 122
Calls
4 calls:
8.0ms
(/ 1 (sqrt (+ (* (* 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)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))
52.0ms
(* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x)))))
78.0ms
(+ 1.0 (* x (/ 1 (sqrt (+ (* (* 4.0 p) p) (* x x))))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03671199
116421080
250011018

prune264.0ms

Filtered
134 candidates to 79 candidates (59.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1313134
Fresh6612
Picked011
Done011
Total13711148

Merged error: 12.0b

Counts
148 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2)))
4.9b
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))))
13.9b
(pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×add-exp-log pow-unpow
add-log-exp
unpow-prod-down associate-*r*
add-cbrt-cube
pow1
distribute-lft-neg-in pow-neg distribute-rgt-neg-in associate-*l* prod-exp unswap-sqr sqr-pow
+-commutative neg-sub0 pow-to-exp flip3-+ associate-*r/ pow-exp sum-log flip-+ pow-sub
neg-mul-1 pow-pow un-div-inv *-commutative cbrt-unprod
Counts
4 → 76
Calls
4 calls:
9.0ms
(+ (* (* 4.0 p) p) (* x x))
22.0ms
(* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2)))
3.0ms
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))))
6.0ms
(pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))

series299.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* (* 4.0 p) p) (* x x))
58.0ms
(* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2)))
77.0ms
(+ 1.0 (* x (pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))))
132.0ms
(pow (+ (* (* 4.0 p) p) (* x x)) (- 1/2))

simplify51.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0362711
11483663
25001662

prune203.0ms

Filtered
88 candidates to 65 candidates (73.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New86288
Fresh088
Picked101
Done112
Total881199

Merged error: 12.0b

Counts
99 → 11

regimes143.0ms

Accuracy

0% (0.5b remaining)

Error of 13.4b against oracle of 12.9b and baseline of 13.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample856.0ms

Algorithm
intervals
Results
223.0ms6052×body80valid
181.0ms765×body2560valid
122.0ms652×body1280valid
106.0ms8000×pre80true
46.0ms314×body640valid
16.0ms151×body320valid
5.0ms66×body160valid