Details

Time bar (total: 2.4s)

sample38.0ms

Algorithm
intervals
Results
23.0ms459×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
0494011
1494011

prune13.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.1b

Counts
2 → 2

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

rewrite28.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 → 68
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
8.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)
7.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series31.0ms

Counts
4 → 12
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))
8.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
9.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify45.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04746949
14746949

prune126.0ms

Filtered
62 candidates to 80 candidates (-29.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New72880
Fresh101
Picked101
Done000
Total74882

Merged error: 0.0b

Counts
82 → 8

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/ associate-*l/
19×flip3-+ flip-+
16×distribute-rgt-in distribute-lft-in frac-sub
12×frac-times
11×pow1 add-exp-log add-cbrt-cube
10×flip3-- flip--
add-sqr-sqrt sub-neg *-un-lft-identity
associate--l+ add-log-exp
add-cube-cbrt associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
*-commutative
+-commutative diff-log sum-log distribute-lft-out unswap-sqr
Counts
4 → 102
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
13.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)
11.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x.re x.im) (* x.im x.re))
11.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.im x.re)) x.im)
9.0ms
(* (+ x.re x.im) (* x.re (- x.re x.im)))

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
046731680
146731680

prune141.0ms

Filtered
71 candidates to 114 candidates (-60.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1095114
Fresh257
Picked011
Done000
Total11111122

Merged error: 0.0b

Counts
122 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x.re x.im) (* x.im 2))
0.1b
(* x.re (+ (+ x.re x.im) (* x.im 2)))
0.2b
(* (neg x.im) (* x.re (+ (+ x.re x.im) (* x.im 2))))
6.0b
(* (+ x.re x.im) (* x.re x.re))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*l*
16×pow1 add-exp-log add-cbrt-cube
13×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
add-log-exp
pow-prod-down prod-exp cbrt-unprod
associate-*r/
distribute-rgt-in distribute-lft-in associate-*r*
flip3-+ flip-+
distribute-lft-neg-in distribute-rgt-neg-in sum-log *-commutative
associate-*l/ unswap-sqr
+-commutative distribute-lft-neg-out neg-mul-1 associate-+l+ distribute-lft-out
Counts
4 → 89
Calls
4 calls:
6.0ms
(+ (+ x.re x.im) (* x.im 2))
8.0ms
(* x.re (+ (+ x.re x.im) (* x.im 2)))
12.0ms
(* (neg x.im) (* x.re (+ (+ x.re x.im) (* x.im 2))))
8.0ms
(* (+ x.re x.im) (* x.re x.re))

series29.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (+ x.re x.im) (* x.im 2))
6.0ms
(* x.re (+ (+ x.re x.im) (* x.im 2)))
12.0ms
(* (neg x.im) (* x.re (+ (+ x.re x.im) (* x.im 2))))
6.0ms
(* (+ x.re x.im) (* x.re x.re))

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04956934
14956934

prune129.0ms

Filtered
70 candidates to 101 candidates (-44.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New983101
Fresh459
Picked011
Done011
Total10210112

Merged error: 0b

Counts
112 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2))))
0.0b
(+ (+ x.re x.im) (* x.im 2))
0.3b
(* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2)))
6.0b
(* (+ x.re x.im) (* x.re x.re))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
11×add-log-exp
*-un-lft-identity flip3-+ flip-+
add-sqr-sqrt
add-cube-cbrt associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
associate-*l*
associate-*r* frac-add sum-log
distribute-lft-neg-out distribute-rgt-neg-out
+-commutative distribute-rgt-in associate-+r+ distribute-lft-in *-commutative
associate-+l+ unsub-neg distribute-lft-out unswap-sqr
Counts
4 → 77
Calls
4 calls:
13.0ms
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2))))
6.0ms
(+ (+ x.re x.im) (* x.im 2))
11.0ms
(* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2)))
8.0ms
(* (+ x.re x.im) (* x.re x.re))

series32.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* (+ x.re x.im) (* x.re x.re)) (* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2))))
5.0ms
(+ (+ x.re x.im) (* x.im 2))
10.0ms
(* (* x.re (neg x.im)) (+ (+ x.re x.im) (* x.im 2)))
6.0ms
(* (+ x.re x.im) (* x.re x.re))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049901177
149901177

prune88.0ms

Filtered
61 candidates to 89 candidates (-45.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New89089
Fresh077
Picked011
Done022
Total891099

Merged error: 0b

Counts
99 → 10

regimes125.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
04220
14220

end0.0ms

sample1.2s

Algorithm
intervals
Results
747.0ms14656×body80valid

Profiling

Loading profile data...