Details

Time bar (total: 15.6s)

sample61.0ms

Algorithm
intervals
Results
30.0ms275×body80valid

simplify54.0ms

Counts
1 → 1
Iterations
IterNodes
done80
580
476
356
240
121
011

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.9b

localize24.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (* x.im y.re) (* x.re y.im))
24.4b
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.im y.im (* y.re y.re)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log add-log-exp
associate-/r* associate-/l*
expm1-log1p-u pow1 flip3-- log1p-expm1-u flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff div-inv
Counts
2 → 48
Calls
2 calls:
14.0ms
(- (* x.im y.re) (* x.re y.im))
23.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.im y.im (* y.re y.re)))

series158.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (* x.im y.re) (* x.re y.im))
112.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.im y.im (* y.re y.re)))

simplify2.8s

Counts
54 → 54
Iterations
IterNodes
done5001
32514
2718
1221
088

prune445.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 24.2b

localize33.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (* x.im y.re) (* x.re y.im))
15.4b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
31.3b
(sqrt (fma y.im y.im (* y.re y.re)))
31.3b
(sqrt (fma y.im y.im (* y.re y.re)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×times-frac sqrt-prod
pow1 associate-/r* add-cbrt-cube add-exp-log add-log-exp
expm1-log1p-u log1p-expm1-u
associate-/l*
rem-sqrt-square sqrt-pow1 flip3-- pow1/2 fma-udef hypot-def flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff div-inv
Counts
4 → 92
Calls
4 calls:
7.0ms
(- (* x.im y.re) (* x.re y.im))
25.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
3.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
3.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (* x.im y.re) (* x.re y.im))
220.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
81.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
77.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

simplify2.2s

Counts
104 → 104
Iterations
IterNodes
done5000
32174
2761
1267
0114

prune828.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 22.4b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re)))) (hypot y.im y.re))
1.1b
(- (* x.im y.re) (* x.re y.im))
15.4b
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
31.3b
(sqrt (fma y.im y.im (* y.re y.re)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
96×add-sqr-sqrt
95×*-un-lft-identity add-cube-cbrt
51×sqrt-prod
25×associate-/l*
11×add-cbrt-cube add-exp-log
associate-/r*
div-inv add-log-exp
pow1
expm1-log1p-u cbrt-undiv div-exp log1p-expm1-u
div-sub associate-/l/
clear-num frac-2neg flip3-- flip--
rem-sqrt-square sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff fma-udef hypot-def
Counts
4 → 185
Calls
4 calls:
35.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re)))) (hypot y.im y.re))
20.0ms
(- (* x.im y.re) (* x.re y.im))
29.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
1.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

series527.0ms

Counts
4 → 12
Calls
4 calls:
229.0ms
(/ (/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re)))) (hypot y.im y.re))
48.0ms
(- (* x.im y.re) (* x.re y.im))
195.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
55.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

simplify1.5s

Counts
197 → 197
Iterations
IterNodes
done5001
21683
1614
0255

prune1.4s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.4b

localize30.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
1.1b
(- (* x.im y.re) (* x.re y.im))
15.6b
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log
20×add-sqr-sqrt
17×add-cbrt-cube
14×*-un-lft-identity times-frac
13×associate-*r* add-cube-cbrt
div-exp
prod-exp
associate-/l/
pow1 cbrt-undiv flip3-- flip-- add-log-exp
frac-times associate-*l/ cbrt-unprod
expm1-log1p-u associate-/r* associate-*l* log1p-expm1-u unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv
clear-num sub-neg frac-2neg fma-neg diff-log prod-diff pow-prod-down *-commutative associate-/l*
Counts
3 → 91
Calls
3 calls:
22.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
7.0ms
(- (* x.im y.re) (* x.re y.im))
38.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re)))

series368.0ms

Counts
3 → 9
Calls
3 calls:
160.0ms
(/ (* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
49.0ms
(- (* x.im y.re) (* x.re y.im))
158.0ms
(* (- (* x.im y.re) (* x.re y.im)) (/ 1 (hypot y.im y.re)))

simplify1.8s

Counts
100 → 100
Iterations
IterNodes
done5000
21474
1427
0150

prune611.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.4b

regimes522.0ms

Accuracy

34% (7.3b remaining)

Error of 13.0b against oracle of 5.7b and baseline of 16.7b

bsearch114.0ms

Steps
ItersRangePoint
8
7.125568374099785e+144
5.300661243002492e+148
1.3360538186501758e+147
10
-1.1963497052112714e+106
-1.0713785531950437e+91
-1.477885392425796e+104

simplify7.0ms

Iterations
IterNodes
done27
127
021

end0.0ms

sample1.4s

Algorithm
intervals
Results
808.0ms8432×body80valid