Details

Time bar (total: 27.6s)

sample67.0ms

Algorithm
intervals
Results
17.0ms196×body80valid
12.0ms23×body2560valid
7.0ms17×body1280valid
4.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify39.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.6b

localize58.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))

rewrite31.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:
16.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
1.0ms
(hypot re im)
12.0ms
(+ re (hypot re im))

series691.0ms

Counts
3 → 9
Calls
3 calls:
455.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
106.0ms
(hypot re im)
129.0ms
(+ re (hypot re im))

simplify6.1s

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

prune509.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))

rewrite95.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:
14.0ms
(sqrt (+ re (hypot re im)))
2.0ms
(hypot re im)
63.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
12.0ms
(+ re (hypot re im))

series805.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(sqrt (+ re (hypot re im)))
90.0ms
(hypot re im)
353.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
126.0ms
(+ re (hypot re im))

simplify4.1s

Counts
93 → 93
Iterations
IterNodes
done5007
32486
2821
1306
0135

prune764.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.4b

localize121.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))

rewrite72.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:
30.0ms
(cbrt (* (sqrt (+ re (hypot re im))) (sqrt 2.0)))
13.0ms
(+ re (hypot re im))
13.0ms
(+ re (hypot re im))
13.0ms
(+ re (hypot re im))

series929.0ms

Counts
4 → 12
Calls
4 calls:
584.0ms
(cbrt (* (sqrt (+ re (hypot re im))) (sqrt 2.0)))
102.0ms
(+ re (hypot re im))
127.0ms
(+ re (hypot re im))
114.0ms
(+ re (hypot re im))

simplify3.0s

Counts
76 → 76
Iterations
IterNodes
done5005
31973
2583
1215
0100

prune995.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 12.4b

localize30.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))))

rewrite51.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)
16.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
21.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
11.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

series732.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(hypot re im)
436.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
93.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
101.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

simplify4.4s

Counts
104 → 104
Iterations
IterNodes
done5001
32306
2716
1283
0129

prune779.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 12.4b

regimes345.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done13
113
010

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.1s300×body5120valid
736.0ms6026×body80valid
405.0ms695×body2560valid
303.0ms485×body1280valid
85.0ms265×body640valid
44.0ms152×body320valid
12.0ms77×body160valid