Details

Time bar (total: 1.3s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2144
3144

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.0b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

31.0b
(sqrt (+ (* x x) (* x x)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-prod
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square distribute-rgt-out sqrt-pow1 flip3-+ pow1/2 count-2 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 18
Calls
1 calls:
4.0ms
(sqrt (+ (* x x) (* x x)))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(sqrt (+ (* x x) (* x x)))

simplify198.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (195.0ms)

IterNodesCost
075109
1237107
2219597
3500296

prune37.0ms

Filtered
16 candidates to 21 candidates (-31.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New17421
Fresh000
Picked011
Done000
Total17522

Merged error: 0.2b

Counts
22 → 5

localize4.0ms

Local error

Found 1 expressions with local error:

0.4b
(* (sqrt 2) (fabs x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1 add-exp-log associate-*r* add-cbrt-cube
unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
Counts
1 → 22
Calls
1 calls:
4.0ms
(* (sqrt 2) (fabs x))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* (sqrt 2) (fabs x))

simplify79.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
065115
1224107
2526107
3884107
42528107
55001107

prune43.0ms

Filtered
15 candidates to 25 candidates (-66.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New21425
Fresh213
Picked101
Done011
Total24630

Merged error: 0b

Counts
30 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (cbrt (sqrt 2)) (fabs x))
0.3b
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log
12×add-sqr-sqrt
10×associate-*l*
pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-cube-cbrt *-un-lft-identity
associate-*r* sqrt-prod
unswap-sqr
*-commutative add-log-exp
Counts
2 → 48
Calls
2 calls:
5.0ms
(* (cbrt (sqrt 2)) (fabs x))
10.0ms
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

series28.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* (cbrt (sqrt 2)) (fabs x))
4.0ms
(* (* (cbrt (sqrt 2)) (cbrt (sqrt 2))) (* (cbrt (sqrt 2)) (fabs x)))

simplify131.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0155464
1674347
24101308
35001296

prune98.0ms

Filtered
34 candidates to 54 candidates (-58.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh044
Picked011
Done011
Total54660

Merged error: 0b

Counts
60 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (sqrt (sqrt 2)) (fabs x))
0.3b
(* (sqrt (sqrt 2)) (* (sqrt (sqrt 2)) (fabs x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod
18×associate-*l*
15×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* pow-prod-down prod-exp cbrt-unprod
unswap-sqr
*-commutative add-log-exp
Counts
2 → 50
Calls
2 calls:
6.0ms
(* (sqrt (sqrt 2)) (fabs x))
9.0ms
(* (sqrt (sqrt 2)) (* (sqrt (sqrt 2)) (fabs x)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* (sqrt (sqrt 2)) (fabs x))
4.0ms
(* (sqrt (sqrt 2)) (* (sqrt (sqrt 2)) (fabs x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0125357
1514305
21466305
32518305
45001305

prune75.0ms

Filtered
34 candidates to 56 candidates (-64.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New56056
Fresh033
Picked011
Done022
Total56662

Merged error: 0b

Counts
62 → 6

regimes139.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01010
11010

end0.0ms

sample302.0ms

Algorithm
intervals
Results
177.0ms8002×body80valid

Profiling

Loading profile data...