Details

Time bar (total: 9.1s)

sample30.0ms

Algorithm
intervals
Results
8.0ms28×body2560valid
7.0ms193×body80valid
2.0ms10×body5120valid
2.0ms13×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33510
44110
54310
done4310

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.2b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
pow1
add-log-exp
add-exp-log expm1-log1p-u fma-neg add-cbrt-cube log1p-expm1-u
flip3-- sqrt-pow1 sqrt-div associate-*l/ flip--
sub-neg hypot-udef pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
3 → 53
Calls
3 calls:
0.0ms
(hypot re im)
4.0ms
(sqrt (* (- (hypot re im) re) 2.0))
3.0ms
(- (hypot re im) re)

series286.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(hypot re im)
179.0ms
(sqrt (* (- (hypot re im) re) 2.0))
61.0ms
(- (hypot re im) re)

simplify1.2s

Counts
62 → 62
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0115686
1232572
2557498
31951452
done5001451

prune158.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (- (hypot re im) re))
0.3b
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
0.5b
(- (hypot re im) re)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
22×*-un-lft-identity
17×sqrt-prod
16×add-cube-cbrt
pow1 prod-diff
associate-*l*
add-exp-log associate-*r* add-cbrt-cube add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u unswap-sqr
flip3-- sqrt-pow1 pow1/2 fma-neg pow-prod-down flip-- distribute-lft-out-- difference-of-squares
associate-*l/
sub-neg rem-sqrt-square hypot-udef sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
0.0ms
(hypot re im)
8.0ms
(sqrt (- (hypot re im) re))
14.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
3.0ms
(- (hypot re im) re)

series413.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot re im)
128.0ms
(sqrt (- (hypot re im) re))
181.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
55.0ms
(- (hypot re im) re)

simplify1.4s

Counts
105 → 105
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01681199
13511045
2868953
32725903
done5000902

prune250.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 13.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
15.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-pow1 add-cbrt-cube log1p-expm1-u add-log-exp
pow1/2
rem-sqrt-square
pow-prod-down fma-udef
Counts
4 → 53
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
2.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series571.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(sqrt (hypot re im))
91.0ms
(sqrt (hypot re im))
246.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
145.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify1.1s

Counts
65 → 65
Iterations

Useful iterations: done (1.1s)

IterNodesCost
093753
1201559
2559486
31915467
done5001466

prune194.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 12.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
15.5b
(fma (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
pow1/3
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 64
Calls
4 calls:
6.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
0.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
0.0ms
(fma (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

series510.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
109.0ms
(cbrt (hypot re im))
110.0ms
(cbrt (hypot re im))
163.0ms
(fma (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify1.6s

Counts
76 → 76
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01361064
12931015
2883917
33092886
done5001882

prune309.0ms

Pruning

14 alts after pruning (11 fresh and 3 done)

Merged error: 12.9b

regimes136.0ms

Accuracy

0% (0.3b remaining)

Error of 13.1b against oracle of 12.8b and baseline of 13.1b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample688.0ms

Algorithm
intervals
Results
203.0ms6026×body80valid
149.0ms713×body2560valid
78.0ms481×body1280valid
72.0ms294×body5120valid
36.0ms266×body640valid
14.0ms144×body320valid
5.0ms76×body160valid