Details

Time bar (total: 1.8s)

analyze130.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%74.9%0.1%6
31.2%50%18.8%7
34.3%43.7%22%8
45.3%26.5%28.2%9
46.8%23.4%29.8%10
48.8%14%37.2%11
49.8%12.1%38.1%12
52.8%7.1%40.1%13
53.3%6.1%40.6%14

sample21.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
1.0ms14×body80invalid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
029911
129911

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

Counts
2 → 2

localize11.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.re)
0.1b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
7.9b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

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-+ flip-+
frac-add
flip3-- flip--
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (* x.re x.im) (* x.im x.re))
5.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
7.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
4.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
13.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
11.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify58.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04863853
14863853

prune115.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New73679
Fresh011
Picked011
Done000
Total73881

Merged error: 0b

Counts
81 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x.re (* x.re (* x.im 3)))
0.2b
(* x.re (* 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:
6.0ms
(* x.re (* x.re (* x.im 3)))
5.0ms
(* x.re (* x.im 3))

series8.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05203305

prune58.0ms

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

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New43245
Fresh246
Picked011
Done011
Total45853

Merged error: 0b

Counts
53 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series29.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* x.re (* x.re x.im)) (pow x.im 3))
4.0ms
(* x.re (* x.re x.im))
4.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
12.0ms
(+ (- (* x.re (* x.re x.im)) (pow x.im 3)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify34.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
04966864
14966864

prune98.0ms

Filtered
53 candidates to 79 candidates (-49.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New78179
Fresh145
Picked011
Done022
Total79887

Merged error: 0b

Counts
87 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* x.re (* x.re x.im))) (cbrt (* x.re (* x.re x.im))))
24.7b
(cbrt (* x.re (* x.re x.im)))
24.7b
(cbrt (* x.re (* x.re x.im)))
24.7b
(cbrt (* x.re (* x.re x.im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
5.0ms
(* (cbrt (* x.re (* x.re x.im))) (cbrt (* x.re (* x.re x.im))))
3.0ms
(cbrt (* x.re (* x.re x.im)))
3.0ms
(cbrt (* x.re (* x.re x.im)))
4.0ms
(cbrt (* x.re (* x.re x.im)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (cbrt (* x.re (* x.re x.im))) (cbrt (* x.re (* x.re x.im))))
17.0ms
(cbrt (* x.re (* x.re x.im)))
20.0ms
(cbrt (* x.re (* x.re x.im)))
18.0ms
(cbrt (* x.re (* x.re x.im)))

simplify37.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05090484

prune94.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New70070
Fresh044
Picked011
Done033
Total70878

Merged error: 0b

Counts
78 → 8

regimes153.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
01111
11111

end0.0ms

analyze130.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%74.9%0.1%6
31.2%50%18.8%7
34.3%43.7%22%8
45.3%26.5%28.2%9
46.8%23.4%29.8%10
48.8%14%37.2%11
49.8%12.1%38.1%12
52.8%7.1%40.1%13
53.3%6.1%40.6%14

sample519.0ms

Algorithm
intervals
Results
370.0ms8000×body80valid
27.0ms588×body80invalid

Profiling

Loading profile data...