Details

Time bar (total: 17.9s)

sample118.0ms

Algorithm
intervals
Results
13.0ms187×body80valid
13.0ms31×body2560valid
4.0ms13×body1280valid
3.0msbody5120valid
2.0ms11×body640valid
1.0msbody320valid
0.0msbody160valid

simplify106.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.3b

localize23.0ms

Local error

Found 3 expressions with local error:

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

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

series502.0ms

Counts
3 → 9
Calls
3 calls:
314.0ms
(sqrt (* (- (hypot re im) re) 2.0))
84.0ms
(hypot re im)
104.0ms
(- (hypot re im) re)

simplify3.0s

Counts
62 → 62
Iterations

Useful iterations: done (3.0s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune222.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.0b

localize14.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)))
9.5b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×pow1
18×sqrt-prod
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube 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 flip3-- pow-plus fma-neg sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod difference-of-squares
Counts
4 → 90
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
14.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
15.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series328.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(hypot re im)
78.0ms
(hypot re im)
84.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
99.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify4.1s

Counts
102 → 102
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
01081091
1191592
2422547
31164523
43755509
done5000509

prune333.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 15.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.3b
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
0.7b
(pow (sqrt (sqrt (hypot re im))) 3)
11.0b
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
71×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×add-cube-cbrt *-un-lft-identity associate-*r* unswap-sqr
10×pow1 add-exp-log
associate-*l*
sqrt-pow1
add-cbrt-cube
add-log-exp
pow-pow sqr-pow
expm1-log1p-u pow1/2 log1p-expm1-u
pow-unpow prod-diff prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
sub-neg flip3-- fma-neg diff-log *-commutative pow-prod-up sqrt-pow2 flip-- cbrt-unprod rem-cube-cbrt
Counts
4 → 153
Calls
4 calls:
5.0ms
(sqrt (sqrt (hypot re im)))
59.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
10.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
32.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

series599.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(sqrt (sqrt (hypot re im)))
83.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
224.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
88.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

simplify1.3s

Counts
165 → 165
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01742600
13772193
211451508
done50001343

prune510.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 15.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(hypot re im)
0.0b
(hypot re im)
16.6b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite3.0ms

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

series523.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(sqrt (hypot re im))
90.0ms
(hypot re im)
62.0ms
(hypot re im)
219.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify3.4s

Counts
57 → 57
Iterations

Useful iterations: done (3.4s)

IterNodesCost
069452
1131360
2294314
3778310
42102309
done5000302

prune276.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 15.0b

regimes140.0ms

Accuracy

0% (0.2b remaining)

Error of 13.7b against oracle of 13.5b and baseline of 13.7b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.2s

Algorithm
intervals
Results
676.0ms467×body1280valid
547.0ms5974×body80valid
333.0ms754×body2560valid
171.0ms273×body5120valid
70.0ms291×body640valid
48.0ms75×body160valid
31.0ms166×body320valid