Details

Time bar (total: 2.0s)

analyze124.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
12.0ms256×body80valid
1.0ms19×body80invalid

simplify10.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: 5.9b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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))
9.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.im) (* x.im x.re)) x.im)
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series27.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04878866
14878866

prune112.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New72779
Fresh101
Picked101
Done000
Total74781

Merged error: 0.0b

Counts
81 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x.re x.im) (* x.im x.re))
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.im x.re)) x.im)
0.2b
(* (+ x.re x.im) (* x.re (- x.re x.im)))

rewrite36.0ms

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

series28.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051781485

prune124.0ms

Filtered
73 candidates to 105 candidates (-43.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1014105
Fresh246
Picked101
Done000
Total1048112

Merged error: 0b

Counts
112 → 8

localize12.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)))
5.3b
(* (+ x.re x.im) (* x.re x.re))

rewrite58.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))))
14.0ms
(- (neg (+ x.re x.im)) (+ x.im x.im))
19.0ms
(* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im)))
7.0ms
(* (+ x.re x.im) (* x.re x.re))

series31.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))
12.0ms
(* (* x.re x.im) (- (neg (+ x.re x.im)) (+ x.im x.im)))
5.0ms
(* (+ x.re x.im) (* x.re x.re))

simplify52.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
056241946

prune116.0ms

Filtered
81 candidates to 126 candidates (-55.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1260126
Fresh077
Picked011
Done000
Total1268134

Merged error: 0b

Counts
134 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(* x.im (* x.im 3))
6.5b
(* x.re (* x.im (* x.im 3)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×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
associate-*r* *-commutative add-log-exp
Counts
2 → 39
Calls
2 calls:
4.0ms
(* x.im (* x.im 3))
6.0ms
(* x.re (* x.im (* x.im 3)))

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(* x.im (* x.im 3))
7.0ms
(* x.re (* x.im (* x.im 3)))

simplify39.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05209299

prune39.0ms

Filtered
22 candidates to 45 candidates (-104.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New44145
Fresh156
Picked011
Done011
Total45853

Merged error: 0b

Counts
53 → 8

regimes104.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02020
12020

end0.0ms

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

sample720.0ms

Algorithm
intervals
Results
570.0ms8000×body80valid
20.0ms430×body80invalid

Profiling

Loading profile data...