Details

Time bar (total: 4.7s)

sample42.0ms

Algorithm
intervals
Results
10.0ms198×body80valid
7.0ms21×body2560valid
5.0ms256×pre80true
5.0ms19×body1280valid
2.0ms12×body640valid
0.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: 11.6b

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.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
14.4b
(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))
11.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)))

series219.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)))))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify160.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0278822
11014772
24246757
35001757

prune276.0ms

Filtered
91 candidates to 67 candidates (73.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New791291
Fresh000
Picked101
Done000
Total801292

Merged error: 11.3b

Counts
92 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.3b
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt log-prod
pow1
add-log-exp
add-exp-log
log-div exp-prod flip3-+ exp-sum add-cbrt-cube flip-+
sqrt-prod distribute-lft-out
exp-diff sqrt-div log-pow
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log rem-exp-log
Counts
4 → 60
Calls
4 calls:
13.0ms
(exp (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series381.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0230707
1588645
21449625
33630619
45001619

prune258.0ms

Filtered
72 candidates to 57 candidates (79.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh3811
Picked101
Done000
Total731184

Merged error: 8.1b

Counts
84 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
4.2b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
23×add-cube-cbrt
12×unpow-prod-down
add-exp-log
associate-/l*
sqrt-prod
pow1 add-cbrt-cube add-log-exp
sqrt-div unpow2 sqr-pow
flip3-+ div-exp associate-/r* flip-+ difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-exp clear-num flip-- div-inv distribute-lft-out--
Counts
4 → 97
Calls
4 calls:
12.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
56.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
55.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03251030
11289956
25001954

prune394.0ms

Filtered
109 candidates to 81 candidates (74.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1090109
Fresh01010
Picked011
Done000
Total10911120

Merged error: 8.1b

Counts
120 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow E (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.3b
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
14.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt
pow1 log-prod
add-exp-log add-log-exp
unpow-prod-up log-div pow-unpow flip3-+ add-cbrt-cube flip-+
unpow-prod-down sqrt-prod distribute-lft-out
sqrt-div pow-exp log-pow pow-sub
+-commutative pow-to-exp rem-sqrt-square e-exp-1 pow-pow sqrt-pow1 pow1/2 rem-log-exp sum-log sqr-pow
Counts
4 → 67
Calls
4 calls:
13.0ms
(pow E (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
16.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
11.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series640.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(pow E (log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
72.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
185.0ms
(log (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify79.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0292860
1847782
22726767
35001755

prune194.0ms

Filtered
79 candidates to 57 candidates (72.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New77279
Fresh639
Picked011
Done011
Total83790

Merged error: 5.1b

Counts
90 → 7

regimes197.0ms

Accuracy

84.9% (1.0b remaining)

Error of 7.8b against oracle of 6.8b and baseline of 13.3b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04024
14024

end0.0ms

sample1.2s

Algorithm
intervals
Results
335.0ms6024×body80valid
278.0ms819×body2560valid
172.0ms609×body1280valid
158.0ms8000×pre80true
71.0ms311×body640valid
24.0ms152×body320valid
9.0ms85×body160valid