Details

Time bar (total: 23.2s)

sample50.0ms

Algorithm
intervals
Results
11.0ms197×body80valid
10.0ms15×body640valid
6.0ms18×body2560valid
3.0msbody5120valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify22.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01215
12410
23010
33210
done3210

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.6b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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:
0.0ms
(hypot re im)
9.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
7.0ms
(+ re (hypot re im))

series451.0ms

Counts
3 → 9
Calls
3 calls:
84.0ms
(hypot re im)
272.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
95.0ms
(+ re (hypot re im))

simplify5.3s

Counts
51 → 51
Iterations

Useful iterations: 4 (2.5s)

IterNodesCost
086414
1187377
2459354
31219345
43260344
done5001344

prune245.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.3b

localize27.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))
0.7b
(+ re (hypot re im))

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

series680.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(sqrt (+ re (hypot re im)))
89.0ms
(hypot re im)
298.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
85.0ms
(+ re (hypot re im))

simplify3.9s

Counts
93 → 93
Iterations

Useful iterations: done (3.9s)

IterNodesCost
0135898
1298819
2742778
31970766
done5000764

prune339.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.2b
(* (* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.2b
(* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0)))
0.7b
(+ re (hypot re im))

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod
25×add-sqr-sqrt
18×associate-*r*
17×*-un-lft-identity
16×pow1
13×add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×pow-prod-down
associate-*l*
associate-*l/ add-log-exp unswap-sqr
sqrt-pow1 pow1/2
expm1-log1p-u sqrt-div prod-exp cbrt-unprod log1p-expm1-u
fma-def flip3-+ sqrt-unprod flip-+
*-commutative distribute-lft-out
+-commutative hypot-udef sum-log
Counts
4 → 98
Calls
4 calls:
0.0ms
(hypot re im)
85.0ms
(* (* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
63.0ms
(* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0)))
6.0ms
(+ re (hypot re im))

series802.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(hypot re im)
300.0ms
(* (* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
365.0ms
(* (sqrt (+ re (hypot re im))) (sqrt (sqrt 2.0)))
84.0ms
(+ re (hypot re im))

simplify2.9s

Counts
110 → 110
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01571408
13751181
210871086
333491074
done50001071

prune531.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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:
0.0ms
(hypot re im)
8.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
6.0ms
(+ re (hypot re im))

series500.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(hypot re im)
314.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
105.0ms
(+ re (hypot re im))

simplify4.7s

Counts
51 → 51
Iterations

Useful iterations: 4 (2.4s)

IterNodesCost
086414
1187377
2459354
31219345
43260344
done5001344

prune222.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 12.3b

regimes98.0ms

Accuracy

0% (0.3b remaining)

Error of 13.4b against oracle of 13.2b and baseline of 13.4b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11210
done1210

end0.0ms

sample2.2s

Algorithm
intervals
Results
900.0ms6004×body80valid
429.0ms690×body2560valid
278.0ms474×body1280valid
153.0ms310×body5120valid
73.0ms295×body640valid
29.0ms151×body320valid
13.0ms76×body160valid