Details

Time bar (total: 3.3s)

sample51.0ms

Algorithm
intervals
Results
15.0ms194×body80valid
10.0ms31×body2560valid
5.0ms256×pre80true
5.0ms18×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03817
13817

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.0b
(+ (* (* 4.0 p) p) (* x x))
0.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
18.0b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-log-exp
*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
add-exp-log flip3-+ sqrt-div sqrt-prod add-cbrt-cube flip-+
sqrt-pow1
+-commutative pow1/2 associate-*r/ sum-log
rem-sqrt-square pow-prod-down distribute-lft-out
Counts
4 → 51
Calls
4 calls:
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
5.0ms
(+ (* (* 4.0 p) p) (* x x))
13.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
6.0ms
(+ (* (* 4.0 p) p) (* x x))
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
8.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05214875

prune148.0ms

Filtered
55 candidates to 63 candidates (-14.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New54963
Fresh000
Picked101
Done000
Total55964

Merged error: 12.3b

Counts
64 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
4.9b
(/ (* x x) (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
10×add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 sqrt-prod add-log-exp
distribute-lft-out
unpow-prod-down flip3-+ sqrt-div cube-prod flip-+
times-frac associate-/r*
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log sum-cubes cbrt-unprod div-inv associate-/l*
Counts
4 → 70
Calls
4 calls:
38.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
11.0ms
(/ (* x x) (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
7.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* 4.0 (* p p)) (* x x)))) 3))
8.0ms
(/ (* x x) (+ (* 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
82 → 82
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050471187

prune251.0ms

Filtered
64 candidates to 82 candidates (-28.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh178
Picked101
Done000
Total82991

Merged error: 12.3b

Counts
91 → 9

localize37.0ms

Local error

Found 4 expressions with local error:

18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))

series31.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04774840
14774840

prune415.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh178
Picked101
Done000
Total711081

Merged error: 12.3b

Counts
81 → 10

localize41.0ms

Local error

Found 4 expressions with local error:

18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.0b
(sqrt (+ (* 4.0 (* p p)) (* x x)))
18.8b
(cbrt (+ (* 4.0 (* p p)) (* x x)))
18.8b
(cbrt (+ (* 4.0 (* p p)) (* x x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-+ sqrt-div add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(cbrt (+ (* 4.0 (* p p)) (* x x)))
6.0ms
(cbrt (+ (* 4.0 (* p p)) (* x x)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
8.0ms
(sqrt (+ (* 4.0 (* p p)) (* x x)))
26.0ms
(cbrt (+ (* 4.0 (* p p)) (* x x)))
22.0ms
(cbrt (+ (* 4.0 (* p p)) (* x x)))

simplify51.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05275884

prune404.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New67168
Fresh099
Picked101
Done000
Total681078

Merged error: 12.3b

Counts
78 → 10

regimes165.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02250
12250

end0.0ms

sample1.2s

Algorithm
intervals
Results
306.0ms6009×body80valid
245.0ms778×body2560valid
160.0ms635×body1280valid
140.0ms8000×pre80true
68.0ms334×body640valid
25.0ms171×body320valid
7.0ms73×body160valid

Profiling

Loading profile data...