Details

Time bar (total: 2.1s)

sample31.0ms

Algorithm
intervals
Results
17.0ms478×body80valid

simplify271.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131834
1250014

prune8.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: 0.1b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* y y)) (* x x))
0.2b
(* 3 (* y y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ (* 3 (* y y)) (* x x))
5.0ms
(* 3 (* y y))

series9.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* 3 (* y y)) (* x x))
3.0ms
(* 3 (* y y))

simplify76.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune47.0ms

Filtered
23 candidates to 36 candidates (-56.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh101
Picked011
Done000
Total34438

Merged error: 0.0b

Counts
38 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 y) y) (* x x))
0.1b
(* (* 3 y) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
5.0ms
(+ (* (* 3 y) y) (* x x))
5.0ms
(* (* 3 y) y)

series9.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* (* 3 y) y) (* x x))
3.0ms
(* (* 3 y) y)

simplify120.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune37.0ms

Filtered
21 candidates to 35 candidates (-66.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New35035
Fresh022
Picked011
Done011
Total35439

Merged error: 0.0b

Counts
39 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3 (* y y))
0.2b
(* (sqrt (+ (* 3 (* y y)) (* x x))) (sqrt (+ (* 3 (* y y)) (* x x))))
8.9b
(sqrt (+ (* 3 (* y y)) (* x x)))
8.9b
(sqrt (+ (* 3 (* y y)) (* x x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
26×pow1
24×sqrt-prod
16×sqrt-div
15×add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
10×sqrt-pow1 pow1/2
associate-*l*
flip3-+ swap-sqr flip-+
associate-*r*
pow-prod-down
pow-prod-up unswap-sqr
frac-times prod-exp cbrt-unprod add-log-exp
pow-sqr
rem-sqrt-square associate-*r/ associate-*l/ *-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 106
Calls
4 calls:
5.0ms
(* 3 (* y y))
14.0ms
(* (sqrt (+ (* 3 (* y y)) (* x x))) (sqrt (+ (* 3 (* y y)) (* x x))))
5.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
6.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3 (* y y))
8.0ms
(* (sqrt (+ (* 3 (* y y)) (* x x))) (sqrt (+ (* 3 (* y y)) (* x x))))
7.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
8.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0248886
11010795
25001764

prune130.0ms

Filtered
67 candidates to 118 candidates (-76.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1162118
Fresh101
Picked011
Done022
Total1175122

Merged error: 0.0b

Counts
122 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))) (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))))
8.9b
(sqrt (+ (* 3 (* y y)) (* x x)))
8.9b
(sqrt (+ (* 3 (* y y)) (* x x)))
8.9b
(sqrt (+ (* 3 (* y y)) (* x x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
75×sqrt-prod
52×add-sqr-sqrt
35×sqrt-pow1
30×pow1 sqrt-div
19×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
rem-sqrt-square
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
20.0ms
(* (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))) (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))))
5.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
5.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
5.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))) (sqrt (sqrt (+ (* 3 (* y y)) (* x x)))))
7.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
7.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))
7.0ms
(sqrt (+ (* 3 (* y y)) (* x x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02181202
18431122
250011096

prune196.0ms

Filtered
78 candidates to 140 candidates (-79.5%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1400140
Fresh011
Picked011
Done033
Total1405145

Merged error: 0.0b

Counts
145 → 5

regimes211.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample682.0ms

Algorithm
intervals
Results
383.0ms14374×body80valid

Profiling

Loading profile data...