Details

Time bar (total: 2.7s)

sample106.0ms

Algorithm
intervals
Results
29.0ms109×body320valid
25.0ms142×body160valid
22.0ms253×body80nan
4.0msbody80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
0538336

prune13.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.5b

Counts
2 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
8.4b
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
31.0b
(sqrt (- (* g g) (* h h)))
31.0b
(sqrt (- (* g g) (* h h)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-div add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square cbrt-div flip3-- sqrt-pow1 pow1/2 pow1/3 associate-*r/ flip-- difference-of-squares
Counts
4 → 52
Calls
4 calls:
15.0ms
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
10.0ms
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
60.0ms
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
8.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(sqrt (- (* g g) (* h h)))

simplify46.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04926855
14926855

prune253.0ms

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

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New461864
Fresh011
Picked101
Done000
Total471966

Merged error: 33.2b

Counts
66 → 19

localize21.0ms

Local error

Found 4 expressions with local error:

5.0b
(- (* g g) (* h h))
8.4b
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
31.0b
(sqrt (- (* g g) (* h h)))
31.0b
(sqrt (- (* g g) (* h h)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-prod sub-neg cbrt-div pow1/3 diff-log associate-*r/
Counts
4 → 55
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
12.0ms
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
4.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (- (* g g) (* h h)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* g g) (* h h))
59.0ms
(cbrt (* 1.0 (/ (- (neg g) (sqrt (- (* g g) (* h h)))) (* 2.0 a))))
8.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(sqrt (- (* g g) (* h h)))

simplify25.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
05841759

prune240.0ms

Filtered
55 candidates to 67 candidates (-21.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New63467
Fresh31518
Picked101
Done000
Total671986

Merged error: 33.0b

Counts
86 → 19

localize24.0ms

Local error

Found 4 expressions with local error:

5.0b
(- (* g g) (* h h))
8.4b
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
31.0b
(sqrt (- (* g g) (* h h)))
31.0b
(sqrt (- (* g g) (* h h)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-prod sub-neg cbrt-div pow1/3 diff-log associate-*r/
Counts
4 → 55
Calls
4 calls:
4.0ms
(- (* g g) (* h h))
10.0ms
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
4.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* g g) (* h h))
61.0ms
(cbrt (* 1.0 (/ (- (sqrt (- (* g g) (* h h))) g) (* 2.0 a))))
8.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(sqrt (- (* g g) (* h h)))

simplify25.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
05896745

prune233.0ms

Filtered
55 candidates to 67 candidates (-21.8%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New65267
Fresh21618
Picked011
Done000
Total671986

Merged error: 32.9b

Counts
86 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
8.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
31.0b
(sqrt (- (* g g) (* h h)))
31.0b
(sqrt (- (* g g) (* h h)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
14.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
13.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (- (* g g) (* h h)))

series161.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (neg g) (sqrt (- (* g g) (* h h))))))
73.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
8.0ms
(sqrt (- (* g g) (* h h)))
8.0ms
(sqrt (- (* g g) (* h h)))

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
052981054

prune163.0ms

Filtered
65 candidates to 72 candidates (-10.8%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New66672
Fresh61117
Picked101
Done011
Total731891

Merged error: 32.5b

Counts
91 → 18

regimes791.0ms

bsearch35.0ms

Profiling

Loading profile data...