Details

Time bar (total: 23.2s)

sample21.0ms

Algorithm
intervals
Results
9.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

localize20.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.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:
15.0ms
(+ (* re re) (* im im))
14.0ms
(sqrt (+ (* re re) (* im im)))

series102.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* re re) (* im im))
61.0ms
(sqrt (+ (* re re) (* im im)))

simplify5.6s

Counts
32 → 32
Iterations

Useful iterations: 2 (927.0ms)

IterNodesCost
048379
1266339
22801295
done5000295

prune146.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.9b

localize11.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)))

rewrite133.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:
21.0ms
(+ (* re re) (* im im))
76.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
17.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(sqrt (+ (* re re) (* im im)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* re re) (* im im))
47.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
75.0ms
(sqrt (+ (* re re) (* im im)))
51.0ms
(sqrt (+ (* re re) (* im im)))

simplify5.5s

Counts
136 → 136
Iterations

Useful iterations: done (5.5s)

IterNodesCost
01212803
done50001781

prune480.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.9b

localize49.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)))

rewrite35.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:
8.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(sqrt (+ (* re re) (* im im)))
9.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(sqrt (+ (* re re) (* im im)))

series230.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(sqrt (+ (* re re) (* im im)))
62.0ms
(sqrt (+ (* re re) (* im im)))
42.0ms
(sqrt (+ (* re re) (* im im)))
76.0ms
(sqrt (+ (* re re) (* im im)))

simplify3.3s

Counts
72 → 72
Iterations

Useful iterations: 2 (173.0ms)

IterNodesCost
038852
1170744
2626680
32817680
done5000680

prune382.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 9.9b

localize12.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)))

rewrite33.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:
12.0ms
(+ (* re re) (* im im))
11.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
8.0ms
(sqrt (+ (* re re) (* im im)))

series129.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ (* re re) (* im im))
43.0ms
(exp (log (sqrt (+ (* re re) (* im im)))))
49.0ms
(sqrt (+ (* re re) (* im im)))

simplify5.4s

Counts
57 → 57
Iterations

Useful iterations: 2 (948.0ms)

IterNodesCost
087739
1320596
22867528
done5000528

prune205.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 9.9b

regimes433.0ms

Accuracy

58.2% (9.9b remaining)

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

bsearch58.0ms

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

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
11419
done1419

end0.0ms

sample662.0ms

Algorithm
intervals
Results
403.0ms8000×body80valid