Details

Time bar (total: 13.5s)

sample44.0ms

Algorithm
intervals
Results
21.0ms272×body80valid

simplify87.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.7b

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

rewrite85.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:
9.0ms
(+ (* c c) (* d d))
13.0ms
(- (* b c) (* a d))
63.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series252.0ms

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

simplify2.1s

Counts
73 → 73
Iterations

Useful iterations: done (2.1s)

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

rewrite40.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)))
30.0ms
(* (/ 1 (hypot c d)) (/ (fma b c (- (* d a))) (hypot c d)))
5.0ms
(/ (fma b c (- (* d a))) (hypot c d))

series508.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(fma b c (- (* d a)))
260.0ms
(* (/ 1 (hypot c d)) (/ (fma b c (- (* d a))) (hypot c d)))
171.0ms
(/ (fma b c (- (* d a))) (hypot c d))

simplify3.2s

Counts
106 → 106
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01402025
13331894
210811642
342201642
done50001608

prune304.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.4b

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

rewrite23.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)))
12.0ms
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
6.0ms
(/ (fma b c (- (* d a))) (hypot c d))

series375.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(fma b c (- (* d a)))
153.0ms
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
169.0ms
(/ (fma b c (- (* d a))) (hypot c d))

simplify1.7s

Counts
120 → 120
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01612652
13272592
27492403
325562349
done50012285

prune346.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.3b

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

rewrite39.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)))
21.0ms
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
15.0ms
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

series351.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(fma b c (- (* d a)))
152.0ms
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
150.0ms
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

simplify2.2s

Counts
86 → 86
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01201449
12721289
27991059
334991045
done50011044

prune186.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.3b

regimes192.0ms

Accuracy

37% (7.0b remaining)

Error of 12.6b against oracle of 5.6b and baseline of 16.7b

bsearch66.0ms

Steps
ItersRangePoint
9
1.5814553296019978e+194
7.10860021261402e+199
1.6082228280465774e+194
7
-1.5687549986519656e+132
-4.3271727545254867e+130
-5.0891457798304875e+131

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01934
12534
22734
done2734

end0.0ms

sample1.1s

Algorithm
intervals
Results
806.0ms8480×body80valid