Details

Time bar (total: 4.8s)

sample30.0ms

Algorithm
intervals
Results
13.0ms269×body80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01115
11515
done1515

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
27.8b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite18.0ms

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

series49.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* y.re y.re) (* y.im y.im))
14.0ms
(+ (* x.re y.re) (* x.im y.im))
29.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify759.0ms

Counts
62 → 62
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0991090
12821067
2966951
32815951
done5000951

prune126.0ms

Filtered
48 candidates to 62 candidates (-29.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New521062
Fresh000
Picked101
Done000
Total531063

Merged error: 27.5b

Counts
63 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
17.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite28.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:
7.0ms
(+ (* x.re y.re) (* x.im y.im))
10.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)))

series62.0ms

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

simplify669.0ms

Counts
96 → 96
Iterations

Useful iterations: 3 (237.0ms)

IterNodesCost
01171780
12811657
27771541
321911525
done50001525

prune135.0ms

Filtered
75 candidates to 96 candidates (-28.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New93396
Fresh279
Picked101
Done000
Total9610106

Merged error: 23.8b

Counts
106 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* x.re y.re) (* x.im y.im))
17.9b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
29.3b
(sqrt (+ (* y.re y.re) (* y.im y.im)))

rewrite25.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:
5.0ms
(+ (* x.re y.re) (* x.im y.im))
10.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)))

series65.0ms

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

simplify680.0ms

Counts
96 → 96
Iterations

Useful iterations: 3 (232.0ms)

IterNodesCost
01171780
12811657
27771541
321911525
done50011525

prune131.0ms

Filtered
75 candidates to 96 candidates (-28.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh099
Picked011
Done000
Total9610106

Merged error: 23.8b

Counts
106 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.5b
(+ (* x.re y.re) (* x.im y.im))
1.0b
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
27.1b
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-+ div-exp flip-+ add-log-exp
div-inv associate-/l*
pow1
cbrt-undiv
+-commutative rec-exp frac-2neg 1-exp clear-num sum-log associate-/l/
pow-flip inv-pow
Counts
4 → 137
Calls
4 calls:
4.0ms
(+ (* y.re y.re) (* y.im y.im))
4.0ms
(+ (* x.re y.re) (* x.im y.im))
10.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
9.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* y.re y.re) (* y.im y.im))
15.0ms
(+ (* x.re y.re) (* x.im y.im))
28.0ms
(/ 1 (/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im))))
20.0ms
(/ (+ (* y.re y.re) (* y.im y.im)) (+ (* x.re y.re) (* x.im y.im)))

simplify464.0ms

Counts
149 → 149
Iterations

Useful iterations: 2 (164.0ms)

IterNodesCost
02073676
15323470
219163111
done50003111

prune110.0ms

Filtered
88 candidates to 149 candidates (-69.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1481149
Fresh178
Picked011
Done011
Total14910159

Merged error: 23.8b

Counts
159 → 10

regimes471.0ms

Accuracy

40.8% (1.9b remaining)

Error of 25.6b against oracle of 23.7b and baseline of 27.0b

bsearch1.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02483
13183
done3183

end0.0ms

sample856.0ms

Algorithm
intervals
Results
434.0ms8479×body80valid

Profiling

Loading profile data...