Details

Time bar (total: 8.0s)

sample20.0ms

Algorithm
intervals
Results
9.0ms264×body80valid

simplify47.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma c c (* d d))
1.2b
(- (* b c) (* a d))
25.0b
(/ (- (* b c) (* a d)) (fma c c (* d d)))

rewrite11.0ms

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

series162.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(fma c c (* d d))
41.0ms
(- (* b c) (* a d))
88.0ms
(/ (- (* b c) (* a d)) (fma c c (* d d)))

simplify2.0s

Counts
67 → 67
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0961039
12251011
2908892
34050892
done5000890

prune190.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot d c)
0.2b
(* (/ 1 (hypot d c)) (/ (- (* b c) (* a d)) (hypot d c)))
1.2b
(- (* b c) (* a d))
15.9b
(/ (- (* b c) (* a d)) (hypot d c))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
28×add-exp-log *-un-lft-identity
26×add-cube-cbrt
18×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
pow1 add-log-exp unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u
associate-/r* div-inv associate-/l*
rec-exp flip3-- 1-exp flip-- associate-/l/
frac-times sub-neg hypot-udef frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 116
Calls
4 calls:
0.0ms
(hypot d c)
20.0ms
(* (/ 1 (hypot d c)) (/ (- (* b c) (* a d)) (hypot d c)))
3.0ms
(- (* b c) (* a d))
7.0ms
(/ (- (* b c) (* a d)) (hypot d c))

series361.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot d c)
162.0ms
(* (/ 1 (hypot d c)) (/ (- (* b c) (* a d)) (hypot d c)))
39.0ms
(- (* b c) (* a d))
113.0ms
(/ (- (* b c) (* a d)) (hypot d c))

simplify808.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (164.0ms)

IterNodesCost
01702225
14882088
218851817
done50001817

prune336.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot d c)
0.1b
(/ (/ (- (* b c) (* a d)) (hypot d c)) (hypot d c))
1.2b
(- (* b c) (* a d))
15.9b
(/ (- (* b c) (* a d)) (hypot d c))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 131
Calls
4 calls:
0.0ms
(hypot d c)
9.0ms
(/ (/ (- (* b c) (* a d)) (hypot d c)) (hypot d c))
3.0ms
(- (* b c) (* a d))
7.0ms
(/ (- (* b c) (* a d)) (hypot d c))

series322.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot d c)
118.0ms
(/ (/ (- (* b c) (* a d)) (hypot d c)) (hypot d c))
38.0ms
(- (* b c) (* a d))
118.0ms
(/ (- (* b c) (* a d)) (hypot d c))

simplify665.0ms

Counts
143 → 143
Iterations

Useful iterations: 2 (141.0ms)

IterNodesCost
01932874
14762796
216702600
done50012600

prune427.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ c (hypot d c))
0.1b
(/ (- (* (/ c (hypot d c)) b) (/ d (/ (hypot d c) a))) (hypot d c))
2.1b
(* (/ c (hypot d c)) b)
7.3b
(/ d (/ (hypot d c) a))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt
70×add-cube-cbrt *-un-lft-identity
19×associate-/r*
18×add-exp-log add-cbrt-cube
13×associate-*l*
associate-/l*
div-inv
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r* clear-num associate-/l/
associate-*l/ prod-exp cbrt-unprod unswap-sqr
flip3-- div-sub pow-prod-down associate-/r/ *-commutative frac-sub flip--
Counts
4 → 168
Calls
4 calls:
2.0ms
(/ c (hypot d c))
48.0ms
(/ (- (* (/ c (hypot d c)) b) (/ d (/ (hypot d c) a))) (hypot d c))
7.0ms
(* (/ c (hypot d c)) b)
5.0ms
(/ d (/ (hypot d c) a))

series534.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ c (hypot d c))
291.0ms
(/ (- (* (/ c (hypot d c)) b) (/ d (/ (hypot d c) a))) (hypot d c))
90.0ms
(* (/ c (hypot d c)) b)
89.0ms
(/ d (/ (hypot d c) a))

simplify722.0ms

Counts
180 → 180
Iterations

Useful iterations: 2 (187.0ms)

IterNodesCost
02782714
16252613
224462415
done50002415

prune551.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes103.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01626
12222
22422
done2422

end0.0ms

sample515.0ms

Algorithm
intervals
Results
296.0ms8495×body80valid