Details

Time bar (total: 1.5s)

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

sample19.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
1.0ms14×body80invalid

simplify115.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (113.0ms)

IterNodesCost
0529111

prune9.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.6b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x.re 3) (* x.re (* x.im (* x.im -3))))
0.1b
(* x.im (* x.im -3))
9.4b
(* x.re (* x.im (* 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
+-commutative cube-mult flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 51
Calls
3 calls:
8.0ms
(+ (pow x.re 3) (* x.re (* x.im (* x.im -3))))
4.0ms
(* x.im (* x.im -3))
7.0ms
(* x.re (* x.im (* x.im -3)))

series21.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
04963511
14963511

prune78.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New56460
Fresh011
Picked011
Done000
Total56662

Merged error: 0.1b

Counts
62 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
+-commutative flip3-+ associate-*r* associate-*l* sum-log *-commutative flip-+
Counts
2 → 33
Calls
2 calls:
8.0ms
(+ (pow x.re 3) (* (* x.re x.im) (* x.im -3)))
6.0ms
(* (* x.re x.im) (* x.im -3))

series18.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(+ (pow x.re 3) (* (* x.re x.im) (* x.im -3)))
7.0ms
(* (* x.re x.im) (* x.im -3))

simplify52.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04974396
14974396

prune48.0ms

Filtered
21 candidates to 39 candidates (-85.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh044
Picked011
Done011
Total39645

Merged error: 0.1b

Counts
45 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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
+-commutative cube-mult flip3-+ sum-log flip-+ distribute-lft-out unswap-sqr
Counts
3 → 52
Calls
3 calls:
9.0ms
(+ (pow x.re 3) (* x.re (* (* x.im x.im) -3)))
5.0ms
(* (* x.im x.im) -3)
7.0ms
(* x.re (* (* x.im x.im) -3))

series18.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04939523
14939523

prune68.0ms

Filtered
37 candidates to 61 candidates (-64.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New61061
Fresh033
Picked011
Done022
Total61667

Merged error: 0.1b

Counts
67 → 6

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

rewrite27.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:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
10.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)

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04798950
14798950

prune86.0ms

Filtered
61 candidates to 79 candidates (-29.5%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New77279
Fresh022
Picked101
Done033
Total78785

Merged error: 0.0b

Counts
85 → 7

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
01311
11311

end0.0ms

sample517.0ms

Algorithm
intervals
Results
366.0ms8000×body80valid
18.0ms407×body80invalid

Profiling

Loading profile data...