Details

Time bar (total: 3.7s)

sample46.0ms

Algorithm
intervals
Results
11.0ms202×body80valid
6.0msbody640valid
5.0ms16×body2560valid
5.0ms19×body1280valid
5.0ms256×pre80true
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.9b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.9b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite24.0ms

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

series28.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* (* 4.0 p) p) (* x x))
14.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify79.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0203365
1753336
22672332
35002332

prune124.0ms

Filtered
47 candidates to 39 candidates (17.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New371047
Fresh000
Picked101
Done000
Total381048

Merged error: 11.6b

Counts
48 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
5.8b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
25×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
16×unpow-prod-down
add-exp-log
associate-/l*
pow1 sqrt-prod add-cbrt-cube add-log-exp
distribute-lft-out
flip3-+ sqrt-div cube-prod flip-+ unpow2 sqr-pow
div-exp associate-/r*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv +-commutative pow-to-exp frac-2neg pow-exp clear-num sum-log sum-cubes div-inv
Counts
4 → 98
Calls
4 calls:
38.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
10.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
8.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03521056
11610965
25001964

prune361.0ms

Filtered
110 candidates to 81 candidates (26.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1073110
Fresh279
Picked101
Done000
Total11010120

Merged error: 11.6b

Counts
120 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

0.9b
(log (exp (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
5.8b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
27×add-sqr-sqrt
25×add-cube-cbrt
24×times-frac
16×unpow-prod-down
10×log-pow
add-exp-log exp-prod
associate-/l*
pow1
sqrt-prod add-cbrt-cube
distribute-lft-out
log-prod sqrt-div cube-prod unpow2 add-log-exp sqr-pow
flip3-+ div-exp associate-/r* flip-+
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv pow-to-exp frac-2neg rem-log-exp exp-sum pow-exp clear-num sum-cubes div-inv
Counts
4 → 103
Calls
4 calls:
40.0ms
(log (exp (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
10.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(log (exp (+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))))
9.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03381056
11380962
25001961

prune432.0ms

Filtered
115 candidates to 82 candidates (28.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1096115
Fresh189
Picked101
Done000
Total11114125

Merged error: 11.6b

Counts
125 → 14

localize31.0ms

Local error

Found 4 expressions with local error:

5.8b
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
16.1b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity times-frac
12×unpow-prod-down
add-exp-log sqrt-prod
associate-/l*
pow1
sqrt-div add-cbrt-cube
flip3-+ flip-+ unpow2 add-log-exp sqr-pow
rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-/r*
associate-/r/
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
Counts
4 → 96
Calls
4 calls:
8.0ms
(/ (pow x 2) (+ (* (* 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)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (pow x 2) (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0256941
11094877
25002876

prune547.0ms

Filtered
108 candidates to 81 candidates (25.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1026108
Fresh8513
Picked011
Done000
Total11012122

Merged error: 11.6b

Counts
122 → 12

regimes333.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03543
13543

end0.0ms

sample1.3s

Algorithm
intervals
Results
320.0ms6013×body80valid
251.0ms762×body2560valid
180.0ms678×body1280valid
142.0ms8000×pre80true
66.0ms320×body640valid
23.0ms151×body320valid
8.0ms76×body160valid

Profiling

Loading profile data...