Details

Time bar (total: 2.8s)

sample28.0ms

Algorithm
intervals
Results
12.0ms467×body80valid

simplify281.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

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

prune11.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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))

series57.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* 3 (* y y)) (* x x))
24.0ms
(* 3 (* y y))

simplify81.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune105.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New30636
Fresh000
Picked011
Done000
Total30737

Merged error: 0.0b

Counts
37 → 7

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 y) y) (* x x))
0.2b
(* (* 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)

series59.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (* (* 3 y) y) (* x x))
26.0ms
(* (* 3 y) y)

simplify127.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune89.0ms

Filtered
35 candidates to 21 candidates (60.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New34135
Fresh145
Picked011
Done011
Total35742

Merged error: 0.0b

Counts
42 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3 (* y y))
0.3b
(* (sqrt (* 3 (* y y))) (sqrt (* 3 (* y y))))
18.4b
(sqrt (* 3 (* y y)))
18.4b
(sqrt (* 3 (* y y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
17×pow-prod-up
14×pow1/2
12×add-sqr-sqrt
11×add-exp-log pow-sqr add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l*
sqrt-prod
associate-*r*
swap-sqr prod-exp cbrt-unprod add-log-exp
*-commutative unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 109
Calls
4 calls:
5.0ms
(* 3 (* y y))
13.0ms
(* (sqrt (* 3 (* y y))) (sqrt (* 3 (* y y))))
4.0ms
(sqrt (* 3 (* y y)))
5.0ms
(sqrt (* 3 (* y y)))

series162.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* 3 (* y y))
68.0ms
(* (sqrt (* 3 (* y y))) (sqrt (* 3 (* y y))))
33.0ms
(sqrt (* 3 (* y y)))
33.0ms
(sqrt (* 3 (* y y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0169344
1783285
25001269

prune221.0ms

Filtered
121 candidates to 54 candidates (44.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1183121
Fresh314
Picked101
Done022
Total1226128

Merged error: 0b

Counts
128 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (sqrt 3) (* (sqrt 3) (* y y))) (* x x))
0.3b
(* (sqrt 3) (* y y))
0.3b
(* (sqrt 3) (* (sqrt 3) (* y y)))

rewrite27.0ms

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

series188.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(+ (* (sqrt 3) (* (sqrt 3) (* y y))) (* x x))
43.0ms
(* (sqrt 3) (* y y))
70.0ms
(* (sqrt 3) (* (sqrt 3) (* y y)))

simplify157.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
0233391
1994310
24280302
35001298

prune153.0ms

Filtered
67 candidates to 40 candidates (59.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh033
Picked011
Done022
Total67673

Merged error: 0b

Counts
73 → 6

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

sample727.0ms

Algorithm
intervals
Results
378.0ms14149×body80valid

Profiling

Loading profile data...