Details

Time bar (total: 16.7s)

sample47.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
7.0ms256×pre80true

simplify4.2s

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09282
123257
252257
3115257
4251257
5522257
61116257
74574257
done5000257

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.9b

localize26.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- x y) (+ x y))
0.0b
(fma x x (* y y))
17.7b
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×add-cbrt-cube add-exp-log
frac-times associate-/l/
add-cube-cbrt
flip3-+ flip3-- flip-+ flip--
pow1 associate-*l*
associate-*r* associate-*l/ associate-*r/
expm1-log1p-u associate-/r* times-frac log1p-expm1-u add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
distribute-rgt-in clear-num frac-2neg distribute-lft-in pow-prod-down *-commutative fma-udef div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 74
Calls
3 calls:
45.0ms
(* (- x y) (+ x y))
0.0ms
(fma x x (* y y))
16.0ms
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

series267.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(* (- x y) (+ x y))
64.0ms
(fma x x (* y y))
127.0ms
(/ (* (- x y) (+ x y)) (fma x x (* y y)))

simplify2.3s

Counts
83 → 83
Iterations

Useful iterations: done (2.3s)

IterNodesCost
011923423
137819298
2300218583
done500118323

prune468.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.7b

localize1.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune22.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize36.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
16.8b
(/ (fma x x (* y y)) (+ x y))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-cbrt-cube add-exp-log
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
expm1-log1p-u pow1 log1p-expm1-u add-log-exp
clear-num frac-2neg associate-/l/
flip3-- div-sub fma-udef flip--
Counts
3 → 178
Calls
3 calls:
0.0ms
(fma x x (* y y))
46.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
18.0ms
(/ (fma x x (* y y)) (+ x y))

series287.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma x x (* y y))
112.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
119.0ms
(/ (fma x x (* y y)) (+ x y))

simplify2.9s

Counts
187 → 187
Iterations

Useful iterations: 2 (1.2s)

IterNodesCost
023788783
172781663
2446574836
done500274836

prune848.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(* x (- x y))
0.0b
(* y (- x y))
17.7b
(/ (+ (* x (- x y)) (* y (- x y))) (fma x x (* y y)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
45×*-un-lft-identity
41×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in distribute-lft-in
12×times-frac associate-*r/
10×add-cbrt-cube associate-*r* add-exp-log
pow1
flip3-- associate-*l* flip-- associate-/l/
expm1-log1p-u sub-neg distribute-rgt-out frac-add log1p-expm1-u associate-/l* add-log-exp
associate-/r*
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv clear-num frac-2neg flip3-+ div-exp flip-+ fma-udef div-inv
Counts
4 → 141
Calls
4 calls:
0.0ms
(fma x x (* y y))
34.0ms
(* x (- x y))
38.0ms
(* y (- x y))
35.0ms
(/ (+ (* x (- x y)) (* y (- x y))) (fma x x (* y y)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(fma x x (* y y))
65.0ms
(* x (- x y))
63.0ms
(* y (- x y))
110.0ms
(/ (+ (* x (- x y)) (* y (- x y))) (fma x x (* y y)))

simplify2.7s

Counts
153 → 153
Iterations

Useful iterations: done (2.7s)

IterNodesCost
022848684
156840667
2317932474
done500032424

prune771.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

regimes109.0ms

Accuracy

79.1% (4.4b remaining)

Error of 4.9b against oracle of 0.4b and baseline of 21.6b

bsearch117.0ms

Steps
ItersRangePoint
8
1.4224717713323527e-167
8.131351164067834e-164
7.961862811311691e-164
4
-1.857850302800927e-158
-9.802288210601573e-159
-1.2218614719090495e-158
9
-2.741116183037804e+158
-4.389998254864137e+150
-5.797856225877881e+150

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
020692
128692
done28692

end0.0ms

sample983.0ms

Algorithm
intervals
Results
544.0ms8000×body80valid
228.0ms8000×pre80true