Details

Time bar (total: 21.8s)

sample49.0ms

Algorithm
intervals
Results
14.0ms51×body1280valid
8.0ms39×body640valid
7.0ms130×body80valid
3.0ms21×body320valid
2.0ms15×body160valid

simplify148.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87713
99913
1011313
1111913
1212313
done12313

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
4.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite330.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
13.0ms
(/ x (+ x 1.0))
32.0ms
(/ (+ x 1.0) (- x 1.0))
210.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series237.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ x (+ x 1.0))
54.0ms
(/ (+ x 1.0) (- x 1.0))
147.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify3.4s

Counts
605 → 605
Iterations

Useful iterations: done (3.3s)

IterNodesCost
052334216
1119930851
2282322735
done500016848

prune686.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x 1.0) (+ x 1.0))
0.0b
(/ x (+ x 1.0))
0.0b
(/ 1 (/ (- x 1.0) (+ x 1.0)))
4.5b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

rewrite820.0ms

Algorithm
rewrite-expression-head
Rules
3703×times-frac
3383×*-un-lft-identity
2296×add-sqr-sqrt
1789×add-cube-cbrt
1494×prod-diff
553×distribute-lft-out
307×associate-/r/
247×difference-of-squares
241×distribute-lft-out--
164×div-inv
144×flip3-+ flip-+
34×associate-/r*
19×add-exp-log
18×fma-neg
13×add-cbrt-cube
11×associate-/l*
div-exp
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
rec-exp flip3-- 1-exp flip-- associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 1754
Calls
4 calls:
49.0ms
(/ (- x 1.0) (+ x 1.0))
23.0ms
(/ x (+ x 1.0))
41.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
281.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series336.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ (- x 1.0) (+ x 1.0))
38.0ms
(/ x (+ x 1.0))
45.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
206.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify2.0s

Counts
1766 → 1766
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01421134449
13236105662
done500082921

prune1.8s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

12.9b
(/ x (- (* x x) (* 1.0 1.0)))
13.0b
(/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3))))
13.6b
(* (/ 1 (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))) (+ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ 1 (fma x x (* 1.0 (- 1.0 x))))))
29.7b
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))))

rewrite638.0ms

Algorithm
rewrite-expression-head
Rules
2074×times-frac
1857×*-un-lft-identity
1007×add-sqr-sqrt
687×add-cube-cbrt
430×distribute-lft-out
340×unpow-prod-down cube-prod
158×associate-*l*
157×difference-of-squares
153×distribute-lft-out--
85×sum-cubes
78×div-inv
55×associate-/r*
38×associate-/r/
37×add-exp-log
27×add-cbrt-cube
19×flip3-+ flip-+
16×div-exp associate-/l*
12×cbrt-undiv associate-*r*
prod-exp
pow1
unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times distribute-rgt-out associate-*r/ cbrt-unprod
rec-exp frac-2neg 1-exp frac-add clear-num
distribute-rgt-in flip3-- distribute-lft-in distribute-lft1-in pow-prod-down associate-*l/ *-commutative flip-- fma-udef associate-/l/
Counts
4 → 999
Calls
4 calls:
30.0ms
(/ x (- (* x x) (* 1.0 1.0)))
101.0ms
(/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3))))
313.0ms
(* (/ 1 (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))) (+ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ 1 (fma x x (* 1.0 (- 1.0 x))))))
0.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ x (- (* x x) (* 1.0 1.0)))
105.0ms
(/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3))))
5.0ms
(* (/ 1 (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))) (+ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ 1 (fma x x (* 1.0 (- 1.0 x))))))
229.0ms
(fma (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0) (/ (/ -1 (fma x x (* 1.0 (- 1.0 x)))) (/ (- x 1.0) (+ (pow x 3) (pow 1.0 3)))))

simplify2.3s

Counts
1011 → 1011
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0109142735
1335239372
done500138530

prune4.9s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 (* x x)) (/ 3.0 x))
0.1b
(/ 3.0 (pow x 3))
0.4b
(/ 1.0 (* x x))
7.8b
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite346.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
42×times-frac
34×add-sqr-sqrt add-cube-cbrt
14×add-exp-log
13×associate-/r*
12×unpow-prod-down cube-prod
11×fma-def add-cbrt-cube add-log-exp
associate-/l*
div-exp frac-add distribute-lft-out
pow1 expm1-log1p-u cube-mult unpow3 sum-log log1p-expm1-u sqr-pow
cbrt-undiv flip3-+ flip-+ div-inv
+-commutative frac-2neg clear-num
pow-to-exp associate-+l+ pow-exp prod-exp cbrt-unprod
Counts
4 → 136
Calls
4 calls:
33.0ms
(+ (/ 1.0 (* x x)) (/ 3.0 x))
13.0ms
(/ 3.0 (pow x 3))
18.0ms
(/ 1.0 (* x x))
276.0ms
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(+ (/ 1.0 (* x x)) (/ 3.0 x))
50.0ms
(/ 3.0 (pow x 3))
39.0ms
(/ 1.0 (* x x))
49.0ms
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify1.1s

Counts
148 → 148
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02021801
14551547
216241460
done50001457

prune446.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

99.1% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 29.2b

bsearch190.0ms

Steps
ItersRangePoint
8
100426.34546533476
68030889.75935516
116203.31990693379
10
-4418200179179808.0
-1501.2167507114543
-254622.29660434803

simplify41.0ms

Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
040115
15598
26298
36398
done6398

end0.0ms

sample1.4s

Algorithm
intervals
Results
449.0ms1741×body1280valid
288.0ms1222×body640valid
270.0ms4107×body80valid
124.0ms614×body320valid
27.0ms316×body160valid