Details

Time bar (total: 2.5s)

analyze709.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
1.0ms12×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01515
11515

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.6b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
26.1b
(/ (+ (* 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:
4.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)))

series39.0ms

Counts
2 → 6
Calls
2 calls:
13.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)))

simplify37.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05169820

prune76.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh000
Picked101
Done000
Total44549

Merged error: 25.8b

Counts
49 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
14.5b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
31.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.1b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite22.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:
4.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))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
34.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)))
8.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
055031525

prune110.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92496
Fresh224
Picked011
Done000
Total947101

Merged error: 24.6b

Counts
101 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.3b
(+ (* x.re y.re) (* x.im y.im))
0.7b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
25.5b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×*-un-lft-identity times-frac
19×add-cube-cbrt
16×add-exp-log
15×associate-*r*
10×add-cbrt-cube
pow1
flip3-+ flip-+ add-log-exp
div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
+-commutative pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
3 → 86
Calls
3 calls:
4.0ms
(+ (* x.re y.re) (* x.im y.im))
7.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
12.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

series41.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(+ (* x.re y.re) (* x.im y.im))
6.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
26.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049861322
149861322

prune93.0ms

Filtered
62 candidates to 95 candidates (-53.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh055
Picked011
Done011
Total957102

Merged error: 24.6b

Counts
102 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
32×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
27×times-frac
10×sqrt-div
associate-/r*
pow1
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-/l*
associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 100
Calls
4 calls:
10.0ms
(/ (+ (* y.re x.re) (* y.im x.im)) (sqrt (sqrt (+ (* y.re y.re) (* y.im y.im)))))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
4.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (+ (* y.re x.re) (* y.im x.im)) (sqrt (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)))
6.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify55.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
057121977

prune100.0ms

Filtered
81 candidates to 112 candidates (-38.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh044
Picked011
Done022
Total1127119

Merged error: 24.6b

Counts
119 → 7

regimes261.0ms

Accuracy

0% (3.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01725
11725

end0.0ms

sample568.0ms

Algorithm
intervals
Results
343.0ms8000×body80valid
20.0ms485×body80invalid

Profiling

Loading profile data...