Details

Time bar (total: 3.1s)

sample676.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 42.810059%

Guaranteed chance to sample good point: 94.578442%

Results
12.0ms256×body80valid
0.0msbody80invalid

simplify159.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21139
32775
47055
515715
644935
750025

prune10.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: 9.1b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series23.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0205293
1839254
24612251
35001251

prune84.0ms

Filtered
36 candidates to 61 candidates (-69.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New55661
Fresh011
Picked101
Done000
Total56763

Merged error: 0.1b

Counts
63 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
7.0ms
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
5.0ms
(* (* x.im x.re) x.re)
6.0ms
(* 3 (* (* x.im x.re) x.re))

series23.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0218293
11110254
25002251

prune76.0ms

Filtered
34 candidates to 60 candidates (-76.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New56460
Fresh426
Picked011
Done000
Total60767

Merged error: 0b

Counts
67 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
7.0ms
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
6.0ms
(* (* 3 (* x.im x.re)) x.re)
5.0ms
(* 3 (* x.im x.re))

series20.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0218289
11116254
25001251

prune73.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh145
Picked011
Done011
Total60767

Merged error: 0b

Counts
67 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
13×associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod add-log-exp
associate-*r*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
4 → 81
Calls
4 calls:
10.0ms
(- (* (* (sqrt 3) (* (sqrt 3) (* x.im x.re))) x.re) (pow x.im 3))
10.0ms
(* (* (sqrt 3) (* (sqrt 3) (* x.im x.re))) x.re)
5.0ms
(* (sqrt 3) (* x.im x.re))
9.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im x.re)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (* (* (sqrt 3) (* (sqrt 3) (* x.im x.re))) x.re) (pow x.im 3))
12.0ms
(* (* (sqrt 3) (* (sqrt 3) (* x.im x.re))) x.re)
5.0ms
(* (sqrt 3) (* x.im x.re))
8.0ms
(* (sqrt 3) (* (sqrt 3) (* x.im x.re)))

simplify61.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0301578
11560450
25001437

prune103.0ms

Filtered
52 candidates to 93 candidates (-78.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh044
Picked011
Done022
Total937100

Merged error: 0b

Counts
100 → 7

regimes146.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
0115
1115

end0.0ms

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 42.810059%

Guaranteed chance to sample good point: 94.578442%

Results
374.0ms8000×body80valid
11.0ms229×body80invalid

Profiling

Loading profile data...