Details

Time bar (total: 2.2s)

analyze129.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
31.2%50%18.8%7
40.6%37.5%22%8
45.3%26.5%28.2%9
46.8%19.5%33.7%10
48.8%14%37.2%11
51.7%10.1%38.1%12
52.8%7.1%40.1%13
53.3%5.1%41.6%14

sample20.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
0.0msbody80invalid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
027011
127011

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: 7.9b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re x.im) (* x.im x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.2b
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
7.4b
(* (- (* x.re x.re) (* x.im x.im)) x.re)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l*
associate-*r*
flip3-- flip3-+ frac-sub flip-- flip-+
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg diff-log sum-log difference-of-squares
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (* x.re x.im) (* x.im x.re))
6.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
7.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series29.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
7.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
9.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
8.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify46.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04878866
14878866

prune114.0ms

Filtered
62 candidates to 79 candidates (-27.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh101
Picked101
Done000
Total75681

Merged error: 0.0b

Counts
81 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
26×associate-*r/
24×associate-*l/
18×flip3-+ flip-+
16×frac-sub
15×add-sqr-sqrt
13×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
12×frac-times
11×sub-neg flip3-- flip--
10×associate-*l*
distribute-rgt-in add-cube-cbrt distribute-lft-in associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
associate--l+
*-commutative
unswap-sqr
diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 106
Calls
4 calls:
6.0ms
(* x.re (- x.re x.im))
5.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
14.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
9.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* x.re (- x.re x.im))
7.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
9.0ms
(- (* (+ x.re x.im) (* x.re (- x.re x.im))) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
8.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

simplify49.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051751561

prune140.0ms

Filtered
81 candidates to 118 candidates (-45.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1126118
Fresh325
Picked011
Done000
Total1159124

Merged error: 0.0b

Counts
124 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im))))
0.0b
(- (neg (+ x.re x.im)) (+ x.im x.im))
0.2b
(* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im)))
4.3b
(* (+ x.re x.im) (* x.re x.re))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
24×flip3-+ flip-+
23×add-log-exp
18×associate-*r/
16×frac-sub distribute-neg-frac
14×pow1 add-exp-log associate-*l/ add-cbrt-cube
12×frac-add distribute-lft-out--
11×add-sqr-sqrt associate-*r* distribute-lft-out
distribute-rgt-neg-in
add-cube-cbrt diff-log pow-prod-down prod-exp sum-log cbrt-unprod
sub-neg distribute-neg-in associate-*l* associate--l+
distribute-rgt-in associate-+r+ flip3-- distribute-lft-in neg-log flip--
*-commutative difference-of-squares
+-commutative associate--l- neg-sub0 associate--r+ unswap-sqr
Counts
4 → 114
Calls
4 calls:
13.0ms
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im))))
16.0ms
(- (neg (+ x.re x.im)) (+ x.im x.im))
18.0ms
(* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im)))
7.0ms
(* (+ x.re x.im) (* x.re x.re))

series28.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im))))
4.0ms
(- (neg (+ x.re x.im)) (+ x.im x.im))
9.0ms
(* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im)))
6.0ms
(* (+ x.re x.im) (* x.re x.re))

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
056241946

prune119.0ms

Filtered
80 candidates to 126 candidates (-57.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh077
Picked011
Done011
Total1269135

Merged error: 0.0b

Counts
135 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
10.6b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
10.6b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
10.6b
(cbrt (* x.re (+ x.im x.im)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×cbrt-prod
22×add-sqr-sqrt
18×cbrt-div
14×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times associate-*r/ add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
10.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
3.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
3.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
5.0ms
(cbrt (* x.re (+ x.im x.im)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
17.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
17.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
17.0ms
(cbrt (* x.re (+ x.im x.im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04840934
14840934

prune104.0ms

Filtered
75 candidates to 97 candidates (-29.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh066
Picked101
Done112
Total988106

Merged error: 0b

Counts
106 → 8

regimes103.0ms

Accuracy

0% (0.2b 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
02020
12020

end0.0ms

analyze313.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
31.2%50%18.8%7
40.6%37.5%22%8
45.3%26.5%28.2%9
46.8%19.5%33.7%10
48.8%14%37.2%11
51.7%10.1%38.1%12
52.8%7.1%40.1%13
53.3%5.1%41.6%14

sample571.0ms

Algorithm
intervals
Results
421.0ms8000×body80valid
21.0ms423×body80invalid

Profiling

Loading profile data...