Details

Time bar (total: 9.7s)

sample19.0ms

Algorithm
intervals
Results
4.0ms185×body80valid
3.0ms31×body640valid
2.0ms16×body1280valid
1.0ms15×body320valid
0.0msbody160valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 4 (22.0ms)

IterNodesCost
0811
11611
23511
37211
414110
528310
640110
751410
861610
986510
10120510
11170410
done500010

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 16.7b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
13.0ms
(/ (- x 1.0) (+ y 1.0))
0.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series98.0ms

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

simplify1.6s

Counts
64 → 64
Iterations

Useful iterations: done (1.6s)

IterNodesCost
0114834
1277799
2801745
33560739
done5000738

prune153.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 3 expressions with local error:

3.5b
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
10.4b
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0))
17.0b
(fma (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0)) y 1.0)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
57×*-un-lft-identity
41×times-frac
37×add-cube-cbrt
26×associate-*l*
21×difference-of-squares
18×prod-diff
11×distribute-rgt-in distribute-lft-in
10×add-exp-log add-cbrt-cube distribute-lft-out--
pow1 flip3-- associate-*r* flip-- associate-/l*
associate-/r* associate-/r/
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-times sub-neg associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
frac-2neg div-sub pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
3 → 133
Calls
3 calls:
12.0ms
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
38.0ms
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0))
0.0ms
(fma (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0)) y 1.0)

series241.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
68.0ms
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0))
103.0ms
(fma (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (- y 1.0)) y 1.0)

simplify1.4s

Counts
142 → 142
Iterations

Useful iterations: 2 (248.0ms)

IterNodesCost
02563206
16932990
231762695
done50002695

prune332.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.5b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.4b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite40.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:
10.0ms
(* (- 1.0 x) y)
16.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series148.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(* (- 1.0 x) y)
73.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify1.1s

Counts
111 → 111
Iterations

Useful iterations: 2 (396.0ms)

IterNodesCost
02022757
15462323
222381851
done50011851

prune201.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

2.5b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.4b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.4b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.4b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
30×prod-diff
29×add-sqr-sqrt
27×add-cube-cbrt
24×times-frac
19×add-exp-log add-cbrt-cube
12×associate-/r* associate-/r/
distribute-lft-out
cbrt-undiv flip3-+ div-exp associate-*l/ flip-+ div-inv associate-/l/ add-log-exp
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u
frac-2neg fma-neg prod-exp clear-num cbrt-unprod associate-/l*
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 136
Calls
4 calls:
16.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series204.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
43.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify765.0ms

Counts
148 → 148
Iterations

Useful iterations: 2 (157.0ms)

IterNodesCost
01763360
14892861
218912331
done50002331

prune377.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

regimes220.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch97.0ms

Steps
ItersRangePoint
10
0.00032040445667021406
117627206.70733242
96213748.28506726
8
-64880754058.88788
-1357526.7243520434
-153989642.2673166

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02248
12838
done2838

end0.0ms

sample443.0ms

Algorithm
intervals
Results
156.0ms6124×body80valid
66.0ms723×body640valid
43.0ms388×body1280valid
31.0ms474×body320valid
13.0ms291×body160valid