Details

Time bar (total: 22.1s)

sample296.0ms

Algorithm
intervals
Results
15.0ms180×body80valid
10.0ms22×body2560valid
8.0ms13×body5120valid
7.0ms18×body1280valid
4.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid

simplify84.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.3b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.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:
18.0ms
(sqrt (* (- (hypot re im) re) 2.0))
1.0ms
(hypot re im)
18.0ms
(- (hypot re im) re)

series648.0ms

Counts
3 → 9
Calls
3 calls:
436.0ms
(sqrt (* (- (hypot re im) re) 2.0))
86.0ms
(hypot re im)
125.0ms
(- (hypot re im) re)

simplify3.1s

Counts
62 → 62
Iterations

Useful iterations: done (3.1s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune283.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 15.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
0.0b
(hypot re im)
0.9b
(- (hypot re im) re)
3.4b
(expm1 (log1p (- (hypot re im) re)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff
pow1
add-log-exp
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
sqrt-pow1
sub-neg expm1-log1p hypot-udef flip3-- pow1/2 diff-log pow-prod-down sqrt-prod flip-- distribute-lft-out-- expm1-udef difference-of-squares
Counts
4 → 62
Calls
4 calls:
10.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
1.0ms
(hypot re im)
21.0ms
(- (hypot re im) re)
1.0ms
(expm1 (log1p (- (hypot re im) re)))

series777.0ms

Counts
4 → 12
Calls
4 calls:
374.0ms
(sqrt (* (expm1 (log1p (- (hypot re im) re))) 2.0))
80.0ms
(hypot re im)
90.0ms
(- (hypot re im) re)
233.0ms
(expm1 (log1p (- (hypot re im) re)))

simplify3.2s

Counts
74 → 74
Iterations

Useful iterations: done (3.2s)

IterNodesCost
0141849
1289682
2662575
32369511
done5000495

prune316.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 15.0b

localize19.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))
18.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite16.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:
3.0ms
(sqrt (hypot re im))
3.0ms
(sqrt (hypot re im))
8.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series803.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(sqrt (hypot re im))
113.0ms
(sqrt (hypot re im))
371.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
197.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify5.4s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.7s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune321.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 15.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
18.5b
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

rewrite18.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:
14.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
0.0ms
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

series728.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))
179.0ms
(cbrt (hypot re im))
147.0ms
(cbrt (hypot re im))
251.0ms
(fma (sqrt (hypot re im)) (* (fabs (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (- re))

simplify3.1s

Counts
76 → 76
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01361064
12931010
2867914
32653884
done5000882

prune505.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 15.0b

regimes185.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.0s6068×body80valid
425.0ms711×body2560valid
224.0ms450×body1280valid
215.0ms285×body5120valid
62.0ms238×body640valid
33.0ms167×body320valid
11.0ms81×body160valid