Details

Time bar (total: 3.9s)

sample49.0ms

Algorithm
intervals
Results
12.0ms181×body80valid
9.0ms28×body2560valid
7.0ms28×body1280valid
5.0ms256×pre80true
3.0ms12×body640valid
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

prune3.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: 15.8b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.8b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite17.0ms

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

series133.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
56.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify113.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0167267
1465248
21264247
33249247
45001247

prune108.0ms

Filtered
33 candidates to 29 candidates (87.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New25833
Fresh000
Picked101
Done000
Total26834

Merged error: 15.5b

Counts
34 → 8

localize19.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.0b
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
12.9b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite57.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:
37.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)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (pow 1.0 3) (pow (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))) 3))
50.0ms
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
56.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0296693
11364633
25001630

prune314.0ms

Filtered
82 candidates to 64 candidates (78.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh167
Picked101
Done000
Total82890

Merged error: 15.5b

Counts
90 → 8

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
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)))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series232.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
60.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify89.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
098500
1283484
2827484
32050484
45001484

prune467.0ms

Filtered
72 candidates to 64 candidates (88.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh167
Picked011
Done000
Total72880

Merged error: 15.5b

Counts
80 → 8

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

rewrite43.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:
20.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)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))
74.0ms
(+ 1.0 (/ x (* (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
57.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))
54.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
02911356
110851258
250021216

prune251.0ms

Filtered
137 candidates to 72 candidates (52.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1298137
Fresh336
Picked101
Done011
Total13312145

Merged error: 15.5b

Counts
145 → 12

regimes173.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04049
14049

end0.0ms

sample1.2s

Algorithm
intervals
Results
322.0ms6057×body80valid
244.0ms766×body2560valid
167.0ms641×body1280valid
152.0ms8000×pre80true
66.0ms313×body640valid
24.0ms145×body320valid
8.0ms78×body160valid

Profiling

Loading profile data...