Details

Time bar (total: 13.0s)

sample29.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
done78

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
16.0ms
(+ (* re re) (* im im))
17.0ms
(sqrt (+ (* re re) (* im im)))

series115.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(+ (* re re) (* im im))
64.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.7s

Counts
32 → 32
Iterations

Useful iterations: 2 (446.0ms)

IterNodesCost
048379
1124347
2343295
3968295
42668295
done5000295

prune129.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.9b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
29.1b
(sqrt (+ (* re re) (* im im)))
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube add-log-exp
pow-prod-down pow-sqr
frac-times
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
8.0ms
(+ (* re re) (* im im))
58.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
8.0ms
(sqrt (+ (* re re) (* im im)))
11.0ms
(sqrt (+ (* re re) (* im im)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(+ (* re re) (* im im))
53.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
39.0ms
(sqrt (+ (* re re) (* im im)))
55.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.0s

Counts
136 → 136
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01212803
12331759
26381533
321871496
done50001457

prune407.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.9b

localize26.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* re re) (* im im)))
29.1b
(sqrt (+ (* re re) (* im im)))
29.1b
(sqrt (+ (* re re) (* im im)))
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
14.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(sqrt (+ (* re re) (* im im)))
13.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (* re re) (* im im)))
54.0ms
(sqrt (+ (* re re) (* im im)))
50.0ms
(sqrt (+ (* re re) (* im im)))
61.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.8s

Counts
72 → 72
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
038852
191744
2205680
3444656
41114656
53182656
done5001656

prune341.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 9.9b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
5.9b
(exp (log (sqrt (+ (* re re) (* im im)))))
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 log-prod exp-prod exp-sum sqrt-prod
add-log-exp
sqrt-div
add-exp-log flip3-+ log-pow add-cbrt-cube flip-+
log-div sqrt-pow1 pow1/2 exp-diff
+-commutative rem-sqrt-square sum-log rem-exp-log
Counts
3 → 48
Calls
3 calls:
10.0ms
(+ (* re re) (* im im))
11.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
8.0ms
(sqrt (+ (* re re) (* im im)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ (* re re) (* im im))
62.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
52.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.4s

Counts
57 → 57
Iterations

Useful iterations: 4 (1.1s)

IterNodesCost
087739
1169626
2398534
31056534
42807528
done5001528

prune156.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 9.9b

regimes406.0ms

Accuracy

58.2% (9.9b remaining)

Error of 17.8b against oracle of 7.9b and baseline of 31.6b

bsearch55.0ms

Steps
ItersRangePoint
8
9.20494146023971e+137
8.337939306029303e+141
1.3595155319523303e+138
7
-5.792006846201835e+113
-3.7885935661345695e+111
-1.1564076018637175e+112

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01319
11419
done1419

end0.0ms

sample578.0ms

Algorithm
intervals
Results
349.0ms8000×body80valid