Details

Time bar (total: 17.2s)

sample134.0ms

Algorithm
intervals
Results
20.0ms193×body80valid
11.0ms20×body2560valid
7.0ms17×body1280valid
6.0msbody5120valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify77.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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:
17.0ms
(sqrt (* (- (hypot re im) re) 2.0))
0.0ms
(hypot re im)
15.0ms
(- (hypot re im) re)

series463.0ms

Counts
3 → 9
Calls
3 calls:
279.0ms
(sqrt (* (- (hypot re im) re) 2.0))
69.0ms
(hypot re im)
114.0ms
(- (hypot re im) re)

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0115686
1232572
2519489
31765434
done5000423

prune269.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 13.6b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×sqrt-prod
21×pow1
15×add-cube-cbrt *-un-lft-identity
10×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
rem-sqrt-square
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 → 100
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
17.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
28.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series410.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(sqrt (hypot re im))
162.0ms
(sqrt (hypot re im))
58.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
69.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify5.1s

Counts
112 → 112
Iterations

Useful iterations: 4 (3.0s)

IterNodesCost
01241267
1244744
2569675
31551643
44853631
done5000631

prune391.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 13.6b

localize37.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.8b
(pow (sqrt (sqrt (hypot re im))) 3)
11.4b
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

rewrite97.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:
2.0ms
(sqrt (sqrt (hypot re im)))
44.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
5.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
39.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

series522.0ms

Counts
4 → 12
Calls
4 calls:
196.0ms
(sqrt (sqrt (hypot re im)))
60.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
180.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
85.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

simplify1.4s

Counts
165 → 165
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01742600
13772193
211451508
done50001343

prune482.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 13.6b

localize35.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.8b
(pow (sqrt (sqrt (hypot re im))) 3)
12.1b
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1
cbrt-prod add-log-exp
add-exp-log pow-pow add-cbrt-cube
expm1-log1p-u sqrt-pow1 log1p-expm1-u
pow-unpow prod-diff
pow1/2 pow1/3
cube-mult pow-to-exp sub-neg flip3-- fma-neg diff-log unpow3 pow-exp sqrt-pow2 flip-- rem-cube-cbrt sqr-pow
Counts
4 → 86
Calls
4 calls:
2.0ms
(cbrt (hypot re im))
2.0ms
(cbrt (hypot re im))
14.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
101.0ms
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

series606.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(cbrt (hypot re im))
177.0ms
(cbrt (hypot re im))
204.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
89.0ms
(- (* (sqrt (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im))))) (* (sqrt (sqrt (cbrt (hypot re im)))) (pow (sqrt (sqrt (hypot re im))) 3))) re)

simplify1.1s

Counts
98 → 98
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01471489
13331201
28301074
done50001066

prune660.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.6b

regimes184.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s6054×body80valid
290.0ms691×body2560valid
180.0ms297×body5120valid
148.0ms457×body1280valid
117.0ms266×body640valid
30.0ms163×body320valid
8.0ms72×body160valid