Details

Time bar (total: 3.5s)

sample46.0ms

Algorithm
intervals
Results
12.0ms39×body2560valid
9.0ms175×body80valid
5.0ms20×body1280valid
4.0ms256×pre80true
3.0ms16×body640valid
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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.2b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.6b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite25.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))
14.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series25.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0203365
1753336
22672332
35002331

prune122.0ms

Filtered
38 candidates to 47 candidates (-23.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New39847
Fresh000
Picked011
Done000
Total39948

Merged error: 16.0b

Counts
48 → 9

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
20×*-un-lft-identity
18×add-cube-cbrt 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
frac-times
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 → 125
Calls
4 calls:
18.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
9.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (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)))

series34.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02901356
110841258
250011216

prune237.0ms

Filtered
72 candidates to 137 candidates (-90.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1316137
Fresh347
Picked101
Done011
Total13511146

Merged error: 16.0b

Counts
146 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

12.6b
(sqrt (* (* (cbrt (+ (* (* 4.0 p) p) (* x x))) (cbrt (+ (* (* 4.0 p) p) (* x x)))) (cbrt (+ (* (* 4.0 p) p) (* x x)))))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
19.0ms
(sqrt (* (* (cbrt (+ (* (* 4.0 p) p) (* x x))) (cbrt (+ (* (* 4.0 p) p) (* x x)))) (cbrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

series72.0ms

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

simplify164.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
03251861
17571811
235451792
350031690

prune257.0ms

Filtered
66 candidates to 101 candidates (-53.0%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New974101
Fresh279
Picked011
Done011
Total9913112

Merged error: 16.0b

Counts
112 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
13.4b
(cbrt (+ (* (* 4.0 p) p) (* x x)))

rewrite20.0ms

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

series87.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
24.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
21.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
21.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0156652
1431608
21509600
35002568

prune293.0ms

Filtered
56 candidates to 64 candidates (-14.3%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New62264
Fresh3710
Picked011
Done022
Total651277

Merged error: 16.0b

Counts
77 → 12

regimes609.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1199

end0.0ms

sample1.2s

Algorithm
intervals
Results
302.0ms6008×body80valid
252.0ms814×body2560valid
155.0ms629×body1280valid
135.0ms8000×pre80true
64.0ms308×body640valid
23.0ms156×body320valid
8.0ms85×body160valid

Profiling

Loading profile data...