Details

Time bar (total: 3.6s)

analyze517.0ms

Algorithm
search

sample23.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
1.0ms15×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.2b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
22.8b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 42
Calls
2 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
8.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series35.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x.re y.re) (* x.im y.im))
26.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify277.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0231450
1847413
22837412
35001412

prune93.0ms

Filtered
38 candidates to 48 candidates (-26.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New40848
Fresh000
Picked011
Done000
Total40949

Merged error: 22.5b

Counts
49 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
14.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
11.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x.re y.re) (* x.im y.im))
33.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify78.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune127.0ms

Filtered
74 candidates to 96 candidates (-29.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New90696
Fresh347
Picked101
Done011
Total9411105

Merged error: 20.7b

Counts
105 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (* x.re y.re) (* x.im y.im))
14.4b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
28.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
28.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
22×*-un-lft-identity times-frac
20×add-cube-cbrt
17×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
flip3-+ sqrt-div flip-+ add-log-exp
unswap-sqr
prod-exp
associate-*l*
frac-times rem-sqrt-square sqrt-pow1 pow1/2 div-exp associate-*l/ associate-/r/ cbrt-unprod
cbrt-undiv +-commutative rec-exp 1-exp associate-*r/ pow-prod-down sum-log un-div-inv *-commutative div-inv
Counts
4 → 94
Calls
4 calls:
3.0ms
(+ (* x.re y.re) (* x.im y.im))
14.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (* x.re y.re) (* x.im y.im))
33.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (sqrt (+ (* y.re y.re) (* y.im y.im)))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0385913
11927826
25001802

prune130.0ms

Filtered
75 candidates to 106 candidates (-41.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh099
Picked011
Done011
Total10611117

Merged error: 20.7b

Counts
117 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

14.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
28.7b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.7b
(cbrt (+ (* y.re y.re) (* y.im y.im)))
29.7b
(cbrt (+ (* y.re y.re) (* y.im y.im)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
18×times-frac
15×sqrt-prod
add-exp-log cbrt-prod associate-/r* add-cbrt-cube
pow1 flip3-+ flip-+
cbrt-div sqrt-div add-log-exp
associate-/l*
pow1/3 associate-/r/ associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 84
Calls
4 calls:
9.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
3.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
23.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))
21.0ms
(cbrt (+ (* y.re y.re) (* y.im y.im)))

simplify149.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0322999
11027938
23826915
35002899

prune98.0ms

Filtered
76 candidates to 96 candidates (-26.3%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New94296
Fresh088
Picked011
Done022
Total9413107

Merged error: 20.7b

Counts
107 → 13

regimes551.0ms

Accuracy

28.3% (2.2b remaining)

Error of 25.5b against oracle of 23.3b and baseline of 26.3b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02726
12726

end0.0ms

analyze514.0ms

Algorithm
search

sample608.0ms

Algorithm
intervals
Results
365.0ms8000×body80valid
21.0ms473×body80invalid

Profiling

Loading profile data...