Details

Time bar (total: 3.7s)

analyze138.0ms (3.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14

sample26.0ms (0.7%)

Algorithm
intervals
Results
17.0ms256×body80valid

simplify110.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
0490631
1490631

prune7.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.6b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite35.0ms (1%)

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*r*
pow-prod-down prod-exp cbrt-unprod
associate-*l*
flip3-+ frac-add flip-+ add-log-exp
distribute-rgt-in unpow-prod-down pow-unpow flip3-- distribute-lft-in *-commutative flip-- unswap-sqr
sub-neg
pow-to-exp pow-pow pow-exp distribute-lft-out sqr-pow
Counts
4 → 90
Calls

4 calls:

13.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)

series50.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

21.0ms
(pow (+ (* a a) (* b b)) 2.0)
17.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
5.0ms
(* (* a a) (+ 1.0 a))

simplify48.0ms (1.3%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049971432
149971432

prune230.0ms (6.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New993102
Fresh000
Picked011
Done000
Total994103

Merged error: 0.1b

Counts
103 → 4

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (- 1.0 (* 3.0 a)))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log unpow-prod-down add-cbrt-cube
add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod sqr-pow
sub-neg associate-*r/
distribute-rgt-in flip3-- distribute-lft-in associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 68
Calls

4 calls:

7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

series110.0ms (3%)

Counts
4 → 12
Calls

4 calls:

35.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
34.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
34.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify43.0ms (1.1%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049881098
149881098

prune316.0ms (8.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New76480
Fresh022
Picked011
Done011
Total76884

Merged error: 0.1b

Counts
84 → 8

localize29.0ms (0.8%)

Local error

Found 4 expressions with local error:

8.4b
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
8.4b
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
34×cbrt-prod
18×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp sqr-pow
Counts
4 → 66
Calls

4 calls:

5.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
5.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

series139.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

36.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
35.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
34.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
33.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))

simplify61.0ms (1.7%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
048321262
148321262

prune371.0ms (10%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New75378
Fresh145
Picked011
Done022
Total761086

Merged error: 0.0b

Counts
86 → 10

localize38.0ms (1%)

Local error

Found 4 expressions with local error:

7.9b
(sqrt (+ (* b b) (* a a)))
8.4b
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
18.5b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt unpow-prod-down *-un-lft-identity
sqrt-prod
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqr-pow
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 63
Calls

4 calls:

5.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(sqrt (+ (* b b) (* a a)))

series107.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

36.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
33.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
33.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
6.0ms
(sqrt (+ (* b b) (* a a)))

simplify52.0ms (1.4%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
056771069

prune369.0ms (9.9%)

Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New69675
Fresh156
Picked011
Done123
Total711485

Merged error: 0.0b

Counts
85 → 14

regimes627.0ms (16.9%)

Accuracy

Total 0.1b remaining (62.5%)

Threshold costs 0.1b (62.5%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06131
16131

end0.0ms (0%)

sample693.0ms (18.7%)

Algorithm
intervals
Results
548.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...