Details

Time bar (total: 16.7s)

sample144.0ms

Algorithm
intervals
Results
18.0ms195×body80valid
8.0ms13×body5120valid
8.0ms16×body2560valid
4.0msbody1280valid
2.0msbody320valid
2.0msbody640valid
1.0msbody160valid

simplify65.0ms

Counts
1 → 1
Iterations
IterNodes
done44
544
442
335
227
119
012

prune52.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.9b

localize29.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot re im)
2.3b
(- (hypot re im) re)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
prod-diff add-cube-cbrt
add-log-exp
fma-neg
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u
hypot-udef sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 38
Calls
2 calls:
0.0ms
(hypot re im)
14.0ms
(- (hypot re im) re)

series209.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(hypot re im)
122.0ms
(- (hypot re im) re)

simplify3.3s

Counts
44 → 44
Iterations
IterNodes
done5000
54501
41608
3663
2260
1140
069

prune213.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.6b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×pow1
18×sqrt-prod
13×*-un-lft-identity add-cube-cbrt
sqrt-pow1 pow1/2 swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
prod-diff pow-prod-down pow-sqr
hypot-udef
pow2 sub-neg rem-square-sqrt pow-plus flip3-- fma-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod flip-- difference-of-squares
Counts
4 → 90
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
20.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
12.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series357.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(hypot re im)
86.0ms
(hypot re im)
83.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
107.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.7s

Counts
102 → 102
Iterations
IterNodes
done5003
31378
2512
1223
0108

prune542.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 12.5b

localize51.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
19×pow1
18×sqrt-prod
15×*-un-lft-identity add-cube-cbrt
10×add-log-exp
prod-diff
sqrt-pow1 pow1/2 swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
sub-neg flip3-- fma-neg diff-log pow-prod-down pow-sqr flip-- difference-of-squares
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 108
Calls
4 calls:
11.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
11.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
23.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
11.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series345.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
75.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
110.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
93.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify2.1s

Counts
120 → 120
Iterations
IterNodes
done5002
31378
2507
1214
0101

prune817.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 12.5b

localize121.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (hypot re im))
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
10.3b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
12.5b
(- (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-log-exp
prod-diff
*-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u
cbrt-prod sub-neg flip3-- fma-neg diff-log flip--
difference-of-squares
pow1/3
Counts
4 → 69
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
17.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
12.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
32.0ms
(- (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

series442.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(cbrt (hypot re im))
92.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
81.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
79.0ms
(- (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))) re)

simplify2.8s

Counts
81 → 81
Iterations
IterNodes
done5001
44104
31319
2514
1250
0108

prune810.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 12.5b

regimes322.0ms

Accuracy

0% (0.2b remaining)

Error of 12.9b against oracle of 12.7b and baseline of 12.9b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample2.1s

Algorithm
intervals
Results
943.0ms6073×body80valid
488.0ms665×body2560valid
164.0ms467×body1280valid
150.0ms300×body5120valid
127.0ms276×body640valid
26.0ms129×body320valid
11.0ms90×body160valid