Details

Time bar (total: 3.3s)

sample29.0ms

Algorithm
intervals
Results
11.0ms270×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1157

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.9b
(+ (* x.re y.re) (* x.im y.im))
28.4b
(/ (+ (* 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))
7.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)))

simplify80.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0231450
1847413
22837412
35001412

prune141.0ms

Filtered
48 candidates to 38 candidates (20.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44448
Fresh000
Picked011
Done000
Total44549

Merged error: 28.2b

Counts
49 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (* x.re y.re) (* x.im y.im))
16.8b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite20.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))
8.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)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
11.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)))

simplify81.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune362.0ms

Filtered
96 candidates to 74 candidates (22.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New93396
Fresh033
Picked011
Done011
Total938101

Merged error: 25.4b

Counts
101 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (* x.re y.re) (* x.im y.im))
16.8b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
30.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
30.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite20.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))
8.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)))

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

simplify81.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0273893
1868840
22679828
35002828

prune363.0ms

Filtered
96 candidates to 74 candidates (22.9%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh055
Picked011
Done022
Total968104

Merged error: 25.4b

Counts
104 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

4.4b
(- (* y.re y.re) (* y.im y.im))
8.9b
(+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))
22.0b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re)))
38.2b
(* (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))) (- (* y.re y.re) (* y.im y.im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
15×associate-*l*
11×add-exp-log add-cbrt-cube
add-log-exp
pow1
flip3-+ associate-*r* associate-/r/ flip-+
sub-neg flip3-- associate-/r* flip-- associate-/l*
cbrt-undiv distribute-rgt-in frac-times distribute-lft-in associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ difference-of-squares unswap-sqr
+-commutative frac-2neg diff-log pow-prod-down associate-*l/ clear-num sum-log *-commutative
Counts
4 → 98
Calls
4 calls:
3.0ms
(- (* y.re y.re) (* y.im y.im))
5.0ms
(+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))
9.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re)))
14.0ms
(* (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))) (- (* y.re y.re) (* y.im y.im)))

series133.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* y.re y.re) (* y.im y.im))
14.0ms
(+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))
55.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re)))
55.0ms
(* (/ (+ (* x.re y.re) (* x.im y.im)) (+ (* (neg (pow y.im 3)) y.im) (* (pow y.re 3) y.re))) (- (* y.re y.re) (* y.im y.im)))

simplify91.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
04931528
127291229
250021202

prune482.0ms

Filtered
110 candidates to 85 candidates (22.7%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1100110
Fresh044
Picked011
Done033
Total1108118

Merged error: 25.4b

Counts
118 → 8

regimes451.0ms

Accuracy

4.5% (2.9b remaining)

Error of 26.5b against oracle of 23.5b and baseline of 26.6b

bsearch35.0ms

Steps
ItersRangePoint
6
1.3653351403313602e+73
1.322226463547956e+74
7.546018787528083e+73

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02118
12118

end0.0ms

sample721.0ms

Algorithm
intervals
Results
361.0ms8458×body80valid

Profiling

Loading profile data...