Details

Time bar (total: 14.5s)

sample49.0ms

Algorithm
intervals
Results
24.0ms272×body80valid

simplify130.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.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

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

rewrite64.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))
14.0ms
(- (* b c) (* a d))
40.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series183.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (* c c) (* d d))
47.0ms
(- (* b c) (* a d))
102.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

prune276.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 17.0b

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

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

series479.0ms

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

simplify3.7s

Counts
106 → 106
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01402025
13331894
210811642
342201642
done50001608

prune414.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.4b

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

rewrite28.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)))
13.0ms
(/ (/ (fma b c (- (* d a))) (hypot c d)) (hypot c d))
10.0ms
(/ (fma b c (- (* d a))) (hypot c d))

series406.0ms

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

simplify1.8s

Counts
120 → 120
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01612652
13272592
27492403
325562349
done50012285

prune429.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.3b

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

rewrite42.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)))
16.0ms
(/ (* (fma b c (- (* d a))) (/ 1 (hypot c d))) (hypot c d))
23.0ms
(* (fma b c (- (* d a))) (/ 1 (hypot c d)))

series368.0ms

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

simplify2.3s

Counts
86 → 86
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01201449
12721289
27991059
334991045
done50011044

prune237.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.3b

regimes221.0ms

Accuracy

37% (7.0b remaining)

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

bsearch79.0ms

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

simplify10.0ms

Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
02446
13540
23734
34134
done4134

end0.0ms

sample1.1s

Algorithm
intervals
Results
780.0ms8480×body80valid