Details

Time bar (total: 5.0s)

analyze790.0ms

Algorithm
search

sample40.0ms

Algorithm
intervals
Results
10.0ms32×body2560valid
10.0ms190×body80valid
5.0ms20×body1280valid
4.0ms256×pre80true
2.0msbody640valid
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: 13.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
0.1b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.0ms

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

series50.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 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)))

simplify113.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0206431
1565404
21561403
34083403
45001403

prune110.0ms

Filtered
43 candidates to 49 candidates (-14.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43649
Fresh000
Picked101
Done000
Total44650

Merged error: 13.2b

Counts
50 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
3.9b
(/ (* x x) (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
10×*-un-lft-identity
add-exp-log add-cbrt-cube
add-cube-cbrt
sqrt-prod
pow1 add-log-exp
times-frac
sqrt-div
flip3-+ associate-/r* flip-+ difference-of-squares
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-/r/
sub-neg flip3-- frac-2neg diff-log prod-exp clear-num flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out--
Counts
4 → 69
Calls
4 calls:
12.0ms
(- 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
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)))

series36.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0269680
11092624
24346614
35003614

prune236.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh145
Picked101
Done000
Total80787

Merged error: 13.2b

Counts
87 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

5.2b
(exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))
13.3b
(- 1.0 (/ x (exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
11×*-un-lft-identity
10×sqrt-prod
add-cube-cbrt
pow1 log-prod exp-sum
exp-prod sqrt-div add-log-exp
add-exp-log add-cbrt-cube difference-of-squares
sqrt-pow1 flip3-+ times-frac pow1/2 log-pow flip-+
rem-sqrt-square log-div exp-diff
sub-neg flip3-- diff-log flip-- rem-exp-log distribute-lft-out--
Counts
4 → 69
Calls
4 calls:
7.0ms
(exp (log (sqrt (+ (* (* 4.0 p) p) (* x x)))))
19.0ms
(- 1.0 (/ x (exp (log (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)))

series35.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 4 (101.0ms)

IterNodesCost
0222721
1510686
21290666
33279658
45002657

prune302.0ms

Filtered
67 candidates to 81 candidates (-20.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75681
Fresh336
Picked101
Done000
Total79988

Merged error: 13.2b

Counts
88 → 9

localize34.0ms

Local error

Found 4 expressions with local error:

13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(sqrt (+ (* (* 4.0 p) p) (* x x)))
13.8b
(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)))

series32.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
098500
1283484
2827484
32050484
45001484

prune427.0ms

Filtered
64 candidates to 72 candidates (-12.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New68472
Fresh178
Picked011
Done000
Total691281

Merged error: 13.2b

Counts
81 → 12

regimes310.0ms

Accuracy

82.2% (0.3b remaining)

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

bsearch37.0ms

Steps
ItersRangePoint
7
-7.383907664962524e-119
-3.492945761894721e-120
-1.727158006251015e-119

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04963
14963

end0.0ms

analyze766.0ms

Algorithm
search

sample1.1s

Algorithm
intervals
Results
318.0ms6001×body80valid
262.0ms802×body2560valid
162.0ms625×body1280valid
142.0ms8000×pre80true
68.0ms331×body640valid
26.0ms167×body320valid
9.0ms74×body160valid

Profiling

Loading profile data...