Details

Time bar (total: 13.6s)

sample33.0ms

Algorithm
intervals
Results
18.0ms264×body80valid

simplify115.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.5b

localize12.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (* b c) (* a d))
28.0b
(/ (- (* b c) (* a d)) (fma c c (* d d)))

rewrite37.0ms

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

series185.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(- (* b c) (* a d))
121.0ms
(/ (- (* b c) (* a d)) (fma c c (* d d)))

simplify2.5s

Counts
54 → 54
Iterations

Useful iterations: done (2.5s)

IterNodesCost
087931
1214906
2710807
32547807
done5000801

prune192.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.4b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.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:
1.0ms
(hypot c d)
41.0ms
(* (/ 1 (hypot c d)) (/ (- (* b c) (* a d)) (hypot c d)))
10.0ms
(- (* b c) (* a d))
26.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series523.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(hypot c d)
248.0ms
(* (/ 1 (hypot c d)) (/ (- (* b c) (* a d)) (hypot c d)))
63.0ms
(- (* b c) (* a d))
153.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify2.0s

Counts
128 → 128
Iterations

Useful iterations: 2 (288.0ms)

IterNodesCost
01702225
14542076
215271817
done50001817

prune504.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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 c d)
21.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
9.0ms
(- (* b c) (* a d))
20.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series376.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot c d)
143.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
46.0ms
(- (* b c) (* a d))
138.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify2.3s

Counts
143 → 143
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01932874
14522796
212512600
344892545
done50002540

prune546.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (hypot c d) b)
0.1b
(/ (- (/ c (/ (hypot c d) b)) (* d (/ a (hypot c d)))) (hypot c d))
7.0b
(* d (/ a (hypot c d)))
10.0b
(/ c (/ (hypot c d) b))

rewrite196.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-*r*
associate-/l*
div-inv
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*l* clear-num associate-/l/
associate-*r/ prod-exp cbrt-unprod unswap-sqr
flip3-- div-sub pow-prod-down associate-/r/ *-commutative frac-sub flip--
Counts
4 → 168
Calls
4 calls:
5.0ms
(/ (hypot c d) b)
135.0ms
(/ (- (/ c (/ (hypot c d) b)) (* d (/ a (hypot c d)))) (hypot c d))
32.0ms
(* d (/ a (hypot c d)))
17.0ms
(/ c (/ (hypot c d) b))

series713.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (hypot c d) b)
391.0ms
(/ (- (/ c (/ (hypot c d) b)) (* d (/ a (hypot c d)))) (hypot c d))
90.0ms
(* d (/ a (hypot c d)))
132.0ms
(/ c (/ (hypot c d) b))

simplify1.3s

Counts
180 → 180
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02742734
15992622
218792424
done50002422

prune585.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

regimes124.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01321
11819
done1819

end0.0ms

sample1.1s

Algorithm
intervals
Results
810.0ms8474×body80valid