Details

Time bar (total: 2.8s)

analyze128.0ms (4.6%)

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%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14

sample26.0ms (0.9%)

Algorithm
intervals
Results
18.0ms256×body80valid

simplify82.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
0505429

prune6.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

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite30.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
distribute-rgt-in unpow-prod-down pow-unpow distribute-lft-in
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 79
Calls

4 calls:

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

series58.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

24.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
23.0ms
(pow (+ (* a a) (* b b)) 2.0)
5.0ms
(* (* b b) (+ 3.0 a))
5.0ms
(* (* a a) (- 1.0 a))

simplify27.0ms (1%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
056661201

prune190.0ms (6.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh000
Picked011
Done000
Total88492

Merged error: 0b

Counts
92 → 4

localize23.0ms (0.8%)

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (+ 3.0 a))
8.4b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
8.4b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
8.4b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))

rewrite29.0ms (1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
cbrt-div
flip3-+ associate-*r* flip-+ add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod
associate-*r/
distribute-rgt-in distribute-lft-in associate-*l* *-commutative distribute-lft-out unswap-sqr
Counts
4 → 63
Calls

4 calls:

8.0ms
(* (* b b) (+ 3.0 a))
7.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
7.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))

series154.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

50.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
50.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
48.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* (* b b) (+ 3.0 a)) (* (* a a) (- 1.0 a))))))
5.0ms
(* (* b b) (+ 3.0 a))

simplify71.0ms (2.5%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049092144
149092144

prune365.0ms (13.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh022
Picked011
Done011
Total75479

Merged error: 0b

Counts
79 → 4

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(+ (pow b 4) (* 2 (* (* b b) (* a a))))
0.0b
(* 2 (* (* b b) (* a a)))
1.4b
(* (* b b) (* a a))

rewrite30.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
49×pow1
33×add-exp-log add-cbrt-cube
27×pow-prod-down
21×prod-exp cbrt-unprod
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow-plus associate-*l* pow-prod-up
pow2 associate-*r* pow-sqr *-commutative
+-commutative flip3-+ sum-log flip-+ unswap-sqr
Counts
3 → 67
Calls

3 calls:

12.0ms
(* 2 (* (* b b) (* a a)))
8.0ms
(* (* b b) (* a a))
7.0ms
(+ (pow b 4) (* 2 (* (* b b) (* a a))))

series23.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

9.0ms
(+ (pow b 4) (* 2 (* (* b b) (* a a))))
7.0ms
(* 2 (* (* b b) (* a a)))
6.0ms
(* (* b b) (* a a))

simplify30.0ms (1.1%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05466665

prune151.0ms (5.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done022
Total76480

Merged error: 0b

Counts
80 → 4

localize22.0ms (0.8%)

Local error

Found 4 expressions with local error:

0.1b
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
0.3b
(pow (+ (* b b) (* a a)) 2.0)
0.7b
(* (* b b) (+ 3.0 a))
29.8b
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))

rewrite27.0ms (1%)

Algorithm
rewrite-expression-head
Rules
29×unpow-prod-down
20×cbrt-prod
19×*-un-lft-identity
18×add-sqr-sqrt
17×add-cube-cbrt
14×cube-prod
12×add-exp-log
10×pow1 add-cbrt-cube
sqr-pow
pow-unpow
pow-exp
associate-*r* add-log-exp
pow-to-exp pow-prod-down prod-exp cbrt-unprod
cube-mult pow-pow unpow3 associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow1/3 associate-*l* *-commutative rem-cbrt-cube flip-+ distribute-lft-out rem-cube-cbrt unswap-sqr
Counts
4 → 103
Calls

4 calls:

7.0ms
(* (* b b) (+ 3.0 a))
6.0ms
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
6.0ms
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))
5.0ms
(pow (+ (* b b) (* a a)) 2.0)

series91.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

32.0ms
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))
30.0ms
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
24.0ms
(pow (+ (* b b) (* a a)) 2.0)
5.0ms
(* (* b b) (+ 3.0 a))

simplify55.0ms (2%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050811470

prune269.0ms (9.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1150115
Fresh000
Picked011
Done033
Total1154119

Merged error: 0b

Counts
119 → 4

regimes231.0ms (8.3%)

Accuracy

Total 0.2b remaining (85.7%)

Threshold costs 0.2b (85.7%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04329
14329

end0.0ms (0%)

sample647.0ms (23.2%)

Algorithm
intervals
Results
504.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...