Details

Time bar (total: 12.8s)

sample102.0ms

Algorithm
intervals
Results
39.0ms187×body80valid
18.0ms22×body2560valid
16.0ms21×body1280valid
6.0ms11×body640valid
6.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify20.0ms

Counts
1 → 1
Iterations
IterNodes
done24
224
122
012

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.2b

localize20.0ms

Local error

Found 3 expressions with local error:

0.2b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.7b
(+ (sqrt (+ (* re re) (* im im))) re)
29.7b
(sqrt (+ (* re re) (* im im)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-sqr-sqrt add-log-exp
sqrt-div add-cube-cbrt sqrt-prod
sqrt-pow1 flip3-+ add-cbrt-cube add-exp-log flip-+ insert-posit16
pow1/2 associate-*r/
+-commutative rem-sqrt-square sum-log pow-prod-down distribute-lft-out
Counts
3 → 43
Calls
3 calls:
21.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
34.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))

series343.0ms

Counts
3 → 9
Calls
3 calls:
222.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
75.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
47.0ms
(sqrt (+ (* re re) (* im im)))

simplify988.0ms

Counts
52 → 52
Iterations
IterNodes
done2001
32001
2669
1246
0102

prune380.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 18.1b

localize38.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (sqrt (+ (* re re) (* im im))) re)
0.3b
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
29.7b
(sqrt (+ (* re re) (* im im)))
31.0b
(sqrt (* 2.0 (+ (* im im) 0)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt sqrt-prod
37×*-un-lft-identity
36×times-frac
25×add-cube-cbrt
12×difference-of-squares
associate-/r*
pow1 sqrt-div
add-cbrt-cube add-exp-log distribute-lft-out-- add-log-exp
associate-*r/ insert-posit16 associate-/l*
sqrt-pow1 flip3-+ flip-+
flip3-- pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv rem-sqrt-square sqrt-undiv clear-num sub-neg frac-2neg diff-log div-exp pow-prod-down div-inv
Counts
4 → 113
Calls
4 calls:
34.0ms
(- (sqrt (+ (* re re) (* im im))) re)
66.0ms
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
12.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (* 2.0 (+ (* im im) 0)))

series462.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (sqrt (+ (* re re) (* im im))) re)
256.0ms
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
48.0ms
(sqrt (+ (* re re) (* im im)))
71.0ms
(sqrt (* 2.0 (+ (* im im) 0)))

simplify1.2s

Counts
125 → 125
Iterations
IterNodes
done2000
32000
21122
1453
0216

prune599.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 11.6b

localize44.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (sqrt (+ (* re re) (* im im))) re)
0.3b
(/ (* (sqrt 2.0) (fabs im)) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
0.5b
(* (sqrt 2.0) (fabs im))
29.7b
(sqrt (+ (* re re) (* im im)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×sqrt-prod
18×*-un-lft-identity
12×add-cube-cbrt
11×add-cbrt-cube add-exp-log
associate-/r* times-frac
pow1
associate-*l* add-log-exp difference-of-squares
sqrt-div insert-posit16
associate-*r* distribute-lft-out--
cbrt-undiv flip3-- div-exp prod-exp associate-/r/ cbrt-unprod flip-- unswap-sqr
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log pow-prod-down *-commutative flip-+ div-inv associate-/l*
Counts
4 → 91
Calls
4 calls:
35.0ms
(- (sqrt (+ (* re re) (* im im))) re)
70.0ms
(/ (* (sqrt 2.0) (fabs im)) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
12.0ms
(* (sqrt 2.0) (fabs im))
17.0ms
(sqrt (+ (* re re) (* im im)))

series364.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (sqrt (+ (* re re) (* im im))) re)
193.0ms
(/ (* (sqrt 2.0) (fabs im)) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
63.0ms
(* (sqrt 2.0) (fabs im))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.3s

Counts
103 → 103
Iterations
IterNodes
done2041
32041
21546
1463
0194

prune595.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 9.0b

localize61.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
0.3b
(* (* (sqrt 2.0) (fabs im)) (/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re))))
0.5b
(* (sqrt 2.0) (fabs im))
29.7b
(sqrt (+ (* re re) (* im im)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
56×*-un-lft-identity sqrt-prod
54×times-frac
42×add-cube-cbrt
36×associate-*r*
32×add-exp-log
20×add-cbrt-cube
14×pow1 difference-of-squares
13×prod-exp
associate-/r*
associate-*l* cbrt-unprod distribute-lft-out--
sqrt-div div-exp
pow-prod-down associate-/r/ insert-posit16 add-log-exp
cbrt-undiv rec-exp 1-exp pow-flip associate-/l*
sqrt-pow1 flip3-- pow1/2 *-commutative div-inv flip-- unswap-sqr
rem-sqrt-square clear-num frac-2neg flip3-+ associate-*r/ un-div-inv flip-+ inv-pow
Counts
4 → 158
Calls
4 calls:
31.0ms
(/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
127.0ms
(* (* (sqrt 2.0) (fabs im)) (/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re))))
19.0ms
(* (sqrt 2.0) (fabs im))
12.0ms
(sqrt (+ (* re re) (* im im)))

series503.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
261.0ms
(* (* (sqrt 2.0) (fabs im)) (/ 1 (sqrt (- (sqrt (+ (* re re) (* im im))) re))))
65.0ms
(* (sqrt 2.0) (fabs im))
67.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.0s

Counts
170 → 170
Iterations
IterNodes
done2001
22001
1706
0270

prune729.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 9.0b

regimes400.0ms

Accuracy

64.2% (10.4b remaining)

Error of 18.4b against oracle of 8.0b and baseline of 37.1b

bsearch332.0ms

Steps
ItersRangePoint
6
1.0720302096475472e+92
7.938065894163254e+92
3.4696741244957e+92
8
2.682856457515952e-293
3.682879132878819e-290
1.3130508878524708e-291
7
-1.5942858179205256e-248
-4.44103357617797e-250
-9.529220942855773e-250
9
-4.397076889216472e+51
-6.689715143507821e+43
-3.106642014201959e+51

simplify26.0ms

Iterations
IterNodes
done64
164
048

end0.0ms

sample2.8s

Algorithm
intervals
Results
800.0ms5992×body80valid
743.0ms525×body1280valid
601.0ms682×body2560valid
279.0ms306×body5120valid
162.0ms285×body640valid
43.0ms132×body320valid
18.0ms78×body160valid