Details

Time bar (total: 1.7s)

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

sample19.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
1.0ms16×body80invalid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
029911
129911

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: 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.1b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
5.6b
(* (- (* 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))
7.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
5.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
6.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series30.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04863853
14863853

prune112.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New74579
Fresh011
Picked011
Done000
Total74781

Merged error: 0.0b

Counts
81 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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-+ flip-+
associate-*r* pow-prod-down frac-add prod-exp cbrt-unprod
sum-log
+-commutative flip3-- *-commutative flip--
associate-+l- sub-neg associate-+l+ diff-log unswap-sqr
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (* x.re x.im) (* x.im x.re))
9.0ms
(+ (- (* x.re (* x.re x.im)) (pow x.im 3)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
4.0ms
(* x.re (* x.re x.im))
6.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)

series23.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05020778

prune103.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh055
Picked011
Done101
Total79786

Merged error: 0.0b

Counts
86 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

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

series20.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05033512

prune70.0ms

Filtered
31 candidates to 59 candidates (-90.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New56359
Fresh415
Picked011
Done011
Total60666

Merged error: 0.0b

Counts
66 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

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 → 50
Calls
3 calls:
7.0ms
(- (* x.re (* (* x.re x.im) 3)) (pow x.im 3))
6.0ms
(* x.re (* (* x.re x.im) 3))
5.0ms
(* (* x.re x.im) 3)

series19.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05178515

prune58.0ms

Filtered
33 candidates to 59 candidates (-78.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh033
Picked011
Done022
Total59665

Merged error: 0.0b

Counts
65 → 6

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

end0.0ms

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

sample534.0ms

Algorithm
intervals
Results
378.0ms8000×body80valid
26.0ms558×body80invalid

Profiling

Loading profile data...