Details

Time bar (total: 34.8s)

sample27.0ms

Algorithm
intervals
Results
7.0ms49×body1280valid
5.0ms48×body640valid
4.0ms124×body80valid
2.0ms21×body320valid
1.0ms14×body160valid

simplify251.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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite333.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:
22.0ms
(/ x (+ x 1.0))
26.0ms
(/ (+ x 1.0) (- x 1.0))
156.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series336.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ x (+ x 1.0))
50.0ms
(/ (+ x 1.0) (- x 1.0))
240.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify4.1s

Counts
605 → 605
Iterations

Useful iterations: done (4.1s)

IterNodesCost
052334216
1119930851
2282322735
done500016848

prune619.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 (* x x)) (/ 3.0 x))
0.4b
(/ 3.0 (pow x 3))
0.7b
(/ 1.0 (* x x))
6.3b
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite384.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:
52.0ms
(+ (/ 1.0 (* x x)) (/ 3.0 x))
9.0ms
(/ 3.0 (pow x 3))
8.0ms
(/ 1.0 (* x x))
306.0ms
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(+ (/ 1.0 (* x x)) (/ 3.0 x))
79.0ms
(/ 3.0 (pow x 3))
50.0ms
(/ 1.0 (* x x))
35.0ms
(+ (+ (/ 1.0 (* x x)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify1.3s

Counts
148 → 148
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02021801
14551547
216241460
done50001457

prune361.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
0.2b
(/ (- x 1.0) (sqrt (+ x 1.0)))
8.6b
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

rewrite2.2s

Algorithm
rewrite-expression-head
Rules
13737×times-frac
12948×*-un-lft-identity
8314×add-sqr-sqrt
6367×add-cube-cbrt
5834×sqrt-prod
5256×prod-diff
2340×distribute-lft-out
960×difference-of-squares
949×distribute-lft-out--
877×associate-/r/
448×div-inv
430×flip3-+ flip-+
272×sqrt-div
52×associate-/r*
18×fma-neg
15×associate-/l*
13×add-exp-log add-cbrt-cube
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg clear-num
flip3-- flip--
sub-neg diff-log div-sub frac-sub
Counts
4 → 5761
Calls
4 calls:
16.0ms
(/ x (+ x 1.0))
47.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
36.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
697.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

series434.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x (+ x 1.0))
57.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
129.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
206.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

simplify2.8s

Counts
5773 → 5773
Iterations

Useful iterations: done (1.8s)

IterNodesCost
03009598978
done5000598274

prune16.7s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(fma 2.0 (fma x x x) 1.0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
Counts
2 → 45
Calls
2 calls:
31.0ms
(/ x (+ x 1.0))
1.0ms
(fma 2.0 (fma x x x) 1.0)

series93.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ x (+ x 1.0))
49.0ms
(fma 2.0 (fma x x x) 1.0)

simplify2.7s

Counts
51 → 51
Iterations

Useful iterations: 4 (1.4s)

IterNodesCost
090513
1188484
2454438
31036437
43564435
done5000435

prune182.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes68.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 31.6b

bsearch108.0ms

Steps
ItersRangePoint
9
0.21963308938311268
137362616.0762091
9050.184745868966
11
-2445851338.3862987
-4.2674702477225e-16
-1.0064602849522295

simplify12.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02559
13444
24144
34444
done4444

end0.0ms

sample1.4s

Algorithm
intervals
Results
564.0ms1705×body1280valid
250.0ms4080×body80valid
243.0ms1262×body640valid
135.0ms633×body320valid
33.0ms320×body160valid