Details

Time bar (total: 3.2s)

sample22.0ms

Algorithm
intervals
Results
11.0ms272×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
25.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite13.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)))

series115.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0231450
1847413
22837412
35001412

prune158.0ms

Filtered
48 candidates to 38 candidates (79.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New381048
Fresh000
Picked101
Done000
Total391049

Merged error: 25.5b

Counts
49 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
16.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite37.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:
6.0ms
(+ (* x.re y.re) (* x.im y.im))
16.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)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* x.re y.re) (* x.im y.im))
105.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
34.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
50.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify92.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune250.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New92496
Fresh369
Picked101
Done000
Total9610106

Merged error: 23.0b

Counts
106 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
16.3b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite21.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))
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
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x.re y.re) (* x.im y.im))
106.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
35.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
40.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify84.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune251.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh099
Picked011
Done000
Total9511106

Merged error: 23.0b

Counts
106 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

8.4b
(* (/ 1 (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im))))) (/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im))))))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
137×add-sqr-sqrt
108×sqrt-prod
99×times-frac
57×*-un-lft-identity
45×add-cube-cbrt
33×associate-*r* associate-*l*
28×unswap-sqr
26×add-exp-log
16×add-cbrt-cube
14×sqrt-div
pow1
div-exp prod-exp
flip3-+ flip-+
cbrt-undiv associate-/r/ cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
rec-exp 1-exp div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 163
Calls
4 calls:
32.0ms
(* (/ 1 (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im))))) (/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (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)))
3.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (/ 1 (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im))))) (/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im))))))
57.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
45.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
36.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify78.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05793020
134482732
250032578

prune393.0ms

Filtered
175 candidates to 104 candidates (59.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1750175
Fresh099
Picked011
Done011
Total17511186

Merged error: 23.0b

Counts
186 → 11

regimes235.0ms

Accuracy

26.9% (2.3b remaining)

Error of 25.4b against oracle of 23.1b and baseline of 26.2b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03127
13327
23327

end0.0ms

sample569.0ms

Algorithm
intervals
Results
363.0ms8465×body80valid

Profiling

Loading profile data...