Details

Time bar (total: 12.6s)

sample43.0ms

Algorithm
intervals
Results
24.0ms272×body80valid

simplify129.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.7b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.7b
(- (* b c) (* a d))
27.2b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 64
Calls
3 calls:
18.0ms
(+ (* c c) (* d d))
28.0ms
(- (* b c) (* a d))
28.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series256.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(+ (* c c) (* d d))
46.0ms
(- (* b c) (* a d))
167.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify2.0s

Counts
73 → 73
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01111202
13121070
21052961
33487961
done5000960

prune291.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 17.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma b c (- (* d a)))
0.3b
(* (/ 1 (hypot c d)) (/ (fma b c (- (* d a))) (hypot c d)))
16.6b
(/ (fma b c (- (* d a))) (hypot c d))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
34×times-frac
27×add-exp-log *-un-lft-identity
25×add-cube-cbrt
17×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
unswap-sqr
pow1 cbrt-undiv
cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l* add-log-exp
rec-exp 1-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
3 → 97
Calls
3 calls:
0.0ms
(fma b c (- (* d a)))
43.0ms
(* (/ 1 (hypot c d)) (/ (fma b c (- (* d a))) (hypot c d)))
5.0ms
(/ (fma b c (- (* d a))) (hypot c d))

series494.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(fma b c (- (* d a)))
247.0ms
(* (/ 1 (hypot c d)) (/ (fma b c (- (* d a))) (hypot c d)))
186.0ms
(/ (fma b c (- (* d a))) (hypot c d))

simplify3.3s

Counts
106 → 106
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01402025
13331894
210811642
342201642
done50001608

prune315.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.4b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma b c (- (* d a)))
0.0b
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
16.6b
(/ (fma b c (- (* d a))) (hypot c d))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef associate-/l/
Counts
3 → 111
Calls
3 calls:
0.0ms
(fma b c (- (* d a)))
11.0ms
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
5.0ms
(/ (fma b c (- (* d a))) (hypot c d))

series633.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma b c (- (* d a)))
420.0ms
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
159.0ms
(/ (fma b c (- (* d a))) (hypot c d))

simplify1.6s

Counts
120 → 120
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01612652
13272592
27492403
325562349
done50012285

prune413.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.3b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma b c (- (* d a)))
0.0b
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
16.7b
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log
20×add-sqr-sqrt
17×add-cbrt-cube
14×*-un-lft-identity times-frac
13×add-cube-cbrt associate-*r*
div-exp
prod-exp
pow1 cbrt-undiv
cbrt-unprod
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv associate-/l/
frac-2neg pow-prod-down clear-num *-commutative fma-udef associate-/l*
Counts
3 → 77
Calls
3 calls:
0.0ms
(fma b c (- (* d a)))
15.0ms
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
16.0ms
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

series351.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(fma b c (- (* d a)))
145.0ms
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
156.0ms
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

simplify2.1s

Counts
86 → 86
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01201449
12721289
27991059
334991045
done50011044

prune211.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.3b

regimes196.0ms

bsearch1.0ms