Details

Time bar (total: 7.8s)

sample46.0ms

Algorithm
intervals
Results
10.0ms194×body80valid
7.0ms25×body2560valid
4.0ms256×pre80true
4.0ms17×body1280valid
2.0ms11×body640valid
1.0msbody160valid
0.0msbody320valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0279
1349
2389
3409
4419
5419

prune4.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: 13.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 4.0 p) p) (* x x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
1.7b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite39.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:
5.0ms
(+ (* (* 4.0 p) p) (* x x))
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
16.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* (* 4.0 p) p) (* x x))
295.0ms
(sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))))
80.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
59.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify89.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0242529
1853492
22977488
35002487

prune289.0ms

Filtered
63 candidates to 52 candidates (82.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New55863
Fresh000
Picked101
Done000
Total56864

Merged error: 13.1b

Counts
64 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3))
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3)
1.7b
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
15.4b
(sqrt (+ (* (* 4.0 p) p) (* x x)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1
unpow-prod-down cube-prod
sqrt-prod
sqrt-div add-log-exp
add-exp-log add-cbrt-cube
cube-div pow-pow flip3-+ associate-*r/ flip-+
pow-unpow sqrt-pow1
cube-mult cbrt-div pow1/2 unpow3 sqr-pow
+-commutative pow-to-exp rem-sqrt-square pow1/3 pow-prod-down pow-exp sum-log sqrt-pow2 rem-cbrt-cube distribute-lft-out rem-cube-cbrt
Counts
4 → 83
Calls
4 calls:
3.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3))
14.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3)
12.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
5.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

series979.0ms

Counts
4 → 12
Calls
4 calls:
297.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3))
537.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x))))))) 3)
83.0ms
(+ 1.0 (/ x (sqrt (+ (* (* 4.0 p) p) (* x x)))))
61.0ms
(sqrt (+ (* (* 4.0 p) p) (* x x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03431068
111501033
250011025

prune373.0ms

Filtered
95 candidates to 64 candidates (67.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New89695
Fresh347
Picked011
Done000
Total9211103

Merged error: 13.1b

Counts
103 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (sqrt (* 0.5 (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x))))))))) 3)
8.2b
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))
16.2b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
16.2b
(cbrt (+ (* (* 4.0 p) p) (* x x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1
cbrt-prod add-log-exp
add-exp-log add-cbrt-cube
unpow-prod-down cbrt-div pow-pow flip3-+ cube-prod flip-+
pow-unpow
cube-div sqrt-pow1 pow1/3 sqrt-div associate-*r/ sqrt-prod
+-commutative cube-mult pow-to-exp pow1/2 unpow3 pow-prod-down pow-exp sum-log sqrt-pow2 distribute-lft-out rem-cube-cbrt sqr-pow
Counts
4 → 69
Calls
4 calls:
14.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x))))))))) 3)
6.0ms
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (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)))

series1.4s

Counts
4 → 12
Calls
4 calls:
961.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x))))))))) 3)
163.0ms
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))
143.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
141.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify86.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07501616
133711540
250021532

prune539.0ms

Filtered
81 candidates to 64 candidates (79.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New75681
Fresh459
Picked101
Done011
Total801292

Merged error: 13.1b

Counts
92 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

8.2b
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))
8.3b
(log (exp (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))))
16.2b
(cbrt (+ (* (* 4.0 p) p) (* x x)))
16.2b
(cbrt (+ (* (* 4.0 p) p) (* x x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
cbrt-prod add-log-exp
pow1 log-pow
add-exp-log cbrt-div log-prod exp-prod add-cbrt-cube
flip3-+ flip-+
pow1/3 distribute-lft-out
+-commutative rem-log-exp exp-sum sum-log
Counts
4 → 55
Calls
4 calls:
6.0ms
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))
7.0ms
(log (exp (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (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)))

series624.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))
168.0ms
(log (exp (+ 1.0 (/ x (* (fabs (cbrt (+ (* (* 4.0 p) p) (* x x)))) (sqrt (cbrt (+ (* (* 4.0 p) p) (* x x)))))))))
139.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))
148.0ms
(cbrt (+ (* (* 4.0 p) p) (* x x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03421044
11243938
25001930

prune465.0ms

Filtered
67 candidates to 61 candidates (91.0%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New62567
Fresh1910
Picked011
Done011
Total631679

Merged error: 13.1b

Counts
79 → 16

regimes949.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03442
13442

end0.0ms

sample1.2s

Algorithm
intervals
Results
304.0ms6055×body80valid
245.0ms810×body2560valid
143.0ms579×body1280valid
130.0ms8000×pre80true
60.0ms315×body640valid
24.0ms155×body320valid
8.0ms86×body160valid

Profiling

Loading profile data...