Details

Time bar (total: 27.2s)

sample28.0ms

Algorithm
intervals
Results
8.0ms191×body80valid
4.0ms25×body640valid
2.0ms12×body1280valid
2.0ms14×body320valid
1.0ms14×body160valid

simplify10.5s

Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
0811
11611
23511
37611
413110
524210
630910
737410
842410
951310
1058210
1159110
1261010
1364810
1477710
1591510
16123310
17168910
18227010
19243610
20244210
done244210

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
15.2b
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ fma-udef div-inv
Counts
2 → 58
Calls
2 calls:
50.0ms
(/ (- x 1.0) (+ y 1.0))
1.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series130.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(/ (- x 1.0) (+ y 1.0))
99.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

simplify2.2s

Counts
64 → 64
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0114834
1277799
2718745
31747739
done5000737

prune187.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.2b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.3b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
30×add-sqr-sqrt prod-diff
24×add-cube-cbrt
16×times-frac
10×add-exp-log add-cbrt-cube
associate-/r/
pow1 associate-*l* distribute-lft-out add-log-exp
flip3-+ associate-*l/ associate-/r* flip-+ div-inv
expm1-log1p-u flip3-- fma-neg associate-*r* flip-- log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ distribute-lft-out-- difference-of-squares
sub-neg frac-2neg diff-log pow-prod-down clear-num *-commutative associate-/l* unswap-sqr
Counts
3 → 102
Calls
3 calls:
50.0ms
(* (- 1.0 x) y)
46.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
27.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series199.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(* (- 1.0 x) y)
110.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
56.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify2.6s

Counts
111 → 111
Iterations

Useful iterations: done (2.6s)

IterNodesCost
02022757
15282323
219651851
done50001619

prune259.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* (/ 1.0 y) (- 1 x)))
0.1b
(* (/ 1.0 y) (- 1 x))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
38×*-un-lft-identity
36×prod-diff
35×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
13×associate-*l*
10×times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1 sub-neg add-log-exp
fma-def
expm1-log1p-u frac-times flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 101
Calls
2 calls:
13.0ms
(+ x (* (/ 1.0 y) (- 1 x)))
62.0ms
(* (/ 1.0 y) (- 1 x))

series126.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(+ x (* (/ 1.0 y) (- 1 x)))
70.0ms
(* (/ 1.0 y) (- 1 x))

simplify1.8s

Counts
107 → 107
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01891649
14571210
212931033
done50001029

prune255.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt y) (cbrt y))
0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
15.0ms
(* (cbrt y) (cbrt y))
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series1.2s

Counts
4 → 12
Calls
4 calls:
327.0ms
(* (cbrt y) (cbrt y))
294.0ms
(cbrt y)
271.0ms
(cbrt y)
271.0ms
(cbrt y)

simplify5.6s

Counts
93 → 93
Iterations

Useful iterations: done (5.6s)

IterNodesCost
065554
1119443
2327423
31104405
44523400
done5001390

prune386.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.1b

regimes208.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 14.4b

bsearch128.0ms

Steps
ItersRangePoint
9
6884452.324493753
1848124645084217.8
191468540.1676344
9
-186345010136707.7
-3592450.023809973
-319655046.4933925

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01836
12628
done2628

end0.0ms

sample1.1s

Algorithm
intervals
Results
407.0ms6103×body80valid
168.0ms704×body640valid
116.0ms528×body320valid
112.0ms369×body1280valid
28.0ms296×body160valid