Details

Time bar (total: 1.9s)

sample36.0ms

Algorithm
intervals
Results
22.0ms489×body80valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0494011
1494011

prune9.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: 7.1b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x.re 3) (* x.re (* x.im (* x.im -3))))
0.2b
(* x.im (* x.im -3))
6.9b
(* x.re (* x.im (* x.im -3)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* *-commutative
+-commutative cube-mult flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 51
Calls
3 calls:
7.0ms
(+ (pow x.re 3) (* x.re (* x.im (* x.im -3))))
5.0ms
(* x.im (* x.im -3))
9.0ms
(* x.re (* x.im (* x.im -3)))

series19.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (pow x.re 3) (* x.re (* x.im (* x.im -3))))
3.0ms
(* x.im (* x.im -3))
7.0ms
(* x.re (* x.im (* x.im -3)))

simplify46.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05674511

prune82.0ms

Filtered
33 candidates to 60 candidates (-81.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh011
Picked011
Done000
Total54862

Merged error: 0.0b

Counts
62 → 8

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x.re 3) (* (* x.re x.im) (* x.im -3)))
0.2b
(* (* x.re x.im) (* x.im -3))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
+-commutative flip3-+ associate-*r* associate-*l* sum-log *-commutative flip-+
Counts
2 → 33
Calls
2 calls:
7.0ms
(+ (pow x.re 3) (* (* x.re x.im) (* x.im -3)))
6.0ms
(* (* x.re x.im) (* x.im -3))

series16.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (pow x.re 3) (* (* x.re x.im) (* x.im -3)))
7.0ms
(* (* x.re x.im) (* x.im -3))

simplify25.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
04956396
14956396

prune52.0ms

Filtered
20 candidates to 39 candidates (-95.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New38139
Fresh246
Picked011
Done011
Total40747

Merged error: 0.0b

Counts
47 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
0.6b
(cbrt x.re)
6.2b
(* (* (cbrt x.re) (cbrt x.re)) (* x.im (* (* x.im -3) (cbrt x.re))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
36×pow1 add-exp-log
24×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1/3
associate-*r* associate-*l* *-commutative
Counts
4 → 67
Calls
4 calls:
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)
1.0ms
(cbrt x.re)
13.0ms
(* (* (cbrt x.re) (cbrt x.re)) (* x.im (* (* x.im -3) (cbrt x.re))))

series76.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt x.re)
21.0ms
(cbrt x.re)
23.0ms
(cbrt x.re)
11.0ms
(* (* (cbrt x.re) (cbrt x.re)) (* x.im (* (* x.im -3) (cbrt x.re))))

simplify46.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05143443

prune71.0ms

Filtered
40 candidates to 79 candidates (-97.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New79079
Fresh044
Picked011
Done022
Total79786

Merged error: 0.0b

Counts
86 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x.re 3) (* (* x.re (* x.im x.im)) -3))
0.2b
(* (* x.re (* x.im x.im)) -3)
6.9b
(* x.re (* x.im x.im))

rewrite22.0ms

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

series22.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (pow x.re 3) (* (* x.re (* x.im x.im)) -3))
7.0ms
(* (* x.re (* x.im x.im)) -3)
6.0ms
(* x.re (* x.im x.im))

simplify58.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04943520
14943520

prune54.0ms

Filtered
32 candidates to 60 candidates (-87.5%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New58260
Fresh123
Picked011
Done033
Total59867

Merged error: 0.0b

Counts
67 → 8

regimes104.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample1.0s

Algorithm
intervals
Results
664.0ms14498×body80valid

Profiling

Loading profile data...