Details

Time bar (total: 53.9s)

sample172.0ms

Algorithm
intervals
Results
54.0ms23×body2560valid
24.0ms17×body1280valid
22.0ms196×body80valid
4.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify57.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune40.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.6b

localize78.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* (+ re (hypot re im)) 2.0))
0.0b
(hypot re im)
1.3b
(+ re (hypot re im))

rewrite200.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
sqrt-pow1 flip3-+ sqrt-div associate-*l/ flip-+
+-commutative hypot-udef pow1/2 pow-prod-down sum-log sqrt-prod distribute-lft-out
Counts
3 → 42
Calls
3 calls:
178.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
1.0ms
(hypot re im)
15.0ms
(+ re (hypot re im))

series1.1s

Counts
3 → 9
Calls
3 calls:
542.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
282.0ms
(hypot re im)
236.0ms
(+ re (hypot re im))

simplify13.7s

Counts
51 → 51
Iterations
IterNodes
done5000
44821
31399
2477
1187
086

prune720.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.4b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ re (hypot re im)))
0.0b
(hypot re im)
0.4b
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
1.3b
(+ re (hypot re im))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity
15×sqrt-prod
10×add-cube-cbrt
pow1
associate-*l*
add-exp-log associate-*r* add-cbrt-cube add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u unswap-sqr
fma-def sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out
associate-*l/
+-commutative rem-sqrt-square hypot-udef sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod hypot-def
Counts
4 → 81
Calls
4 calls:
23.0ms
(sqrt (+ re (hypot re im)))
1.0ms
(hypot re im)
53.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
12.0ms
(+ re (hypot re im))

series1.4s

Counts
4 → 12
Calls
4 calls:
632.0ms
(sqrt (+ re (hypot re im)))
86.0ms
(hypot re im)
533.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
116.0ms
(+ re (hypot re im))

simplify6.7s

Counts
93 → 93
Iterations
IterNodes
done5007
32486
2821
1306
0135

prune986.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.4b

localize214.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (* (sqrt (+ re (hypot re im))) (sqrt 2.0)))
1.3b
(+ re (hypot re im))
1.3b
(+ re (hypot re im))
1.3b
(+ re (hypot re im))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sum-log distribute-lft-out
cbrt-div sqrt-div associate-*l/
cbrt-prod pow1/3
Counts
4 → 64
Calls
4 calls:
22.0ms
(cbrt (* (sqrt (+ re (hypot re im))) (sqrt 2.0)))
12.0ms
(+ re (hypot re im))
12.0ms
(+ re (hypot re im))
13.0ms
(+ re (hypot re im))

series1.2s

Counts
4 → 12
Calls
4 calls:
845.0ms
(cbrt (* (sqrt (+ re (hypot re im))) (sqrt 2.0)))
105.0ms
(+ re (hypot re im))
123.0ms
(+ re (hypot re im))
113.0ms
(+ re (hypot re im))

simplify5.9s

Counts
76 → 76
Iterations
IterNodes
done5005
31973
2583
1215
0100

prune3.2s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 12.4b

localize61.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.1b
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×pow1
19×sqrt-prod
13×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 pow-prod-down log1p-expm1-u unswap-sqr
fma-def pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
+-commutative pow2 hypot-udef pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 92
Calls
4 calls:
0.0ms
(hypot re im)
11.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
31.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
17.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

series669.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(hypot re im)
347.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
132.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
111.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

simplify7.7s

Counts
104 → 104
Iterations
IterNodes
done5001
32306
2716
1283
0129

prune2.4s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 12.4b

regimes629.0ms

Accuracy

0% (0.6b remaining)

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

bsearch5.0ms

simplify23.0ms

Iterations
IterNodes
done13
113
010

end3.0ms

sample6.5s

Algorithm
intervals
Results
2.4s695×body2560valid
2.2s6026×body80valid
772.0ms300×body5120valid
359.0ms265×body640valid
344.0ms485×body1280valid
47.0ms152×body320valid
14.0ms77×body160valid