Details

Time bar (total: 12.0s)

sample20.0ms

Algorithm
intervals
Results
5.0ms51×body1280valid
3.0ms43×body640valid
3.0ms134×body80valid
1.0ms20×body320valid
0.0msbody160valid

simplify119.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: 28.9b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite210.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:
11.0ms
(/ x (+ x 1.0))
25.0ms
(/ (+ x 1.0) (- x 1.0))
117.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series198.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
125.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify2.2s

Counts
605 → 605
Iterations

Useful iterations: done (2.2s)

IterNodesCost
052334216
1119930851
2282322735
done500016848

prune411.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.7b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.7b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite881.0ms

Algorithm
rewrite-expression-head
Rules
2707×*-un-lft-identity
1732×times-frac
1197×add-sqr-sqrt
936×prod-diff
815×add-cube-cbrt
508×distribute-lft-out
397×distribute-lft-out--
186×sqrt-prod
182×associate-/r/
173×difference-of-squares
91×div-inv
79×swap-sqr
55×flip3-+ flip-+
47×flip3-- flip--
36×fma-neg
24×sqrt-div
19×pow1 associate-*r* associate-*l*
10×frac-sub
frac-times
add-exp-log sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
associate-/r* pow-prod-up
expm1-log1p-u log1p-expm1-u associate-/l* unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr
sub-neg diff-log associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 1238
Calls
4 calls:
23.0ms
(/ (+ x 1.0) (- x 1.0))
495.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
112.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
114.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
126.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
123.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
135.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify1.7s

Counts
1250 → 1250
Iterations

Useful iterations: done (1.6s)

IterNodesCost
060373295
1129063839
2306847517
done500041564

prune1.2s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
4.9b
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
15.8b
(+ (- (fma x x (* 1.0 (+ x 1.0)))) (fma x x (* 1.0 (+ x 1.0))))
29.4b
(fma (fma x x (* 1.0 (+ x 1.0))) (- (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))) (/ (/ x (cbrt (+ x 1.0))) (* (cbrt (+ 1.0 x)) (cbrt (+ 1.0 x)))))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
313×add-sqr-sqrt
281×*-un-lft-identity
200×times-frac
160×difference-of-squares
120×unpow-prod-down cube-prod
80×sqr-pow
73×add-cube-cbrt
56×distribute-lft-out
50×associate-/r* distribute-lft-out--
10×difference-cubes fma-def
add-exp-log add-cbrt-cube associate-/l* add-log-exp
distribute-lft-neg-in
distribute-rgt-neg-in
pow1 expm1-log1p-u distribute-rgt-out associate-/r/ log1p-expm1-u associate-/l/
neg-mul-1 flip3-+ flip-+ fma-udef
cbrt-undiv flip3-- frac-2neg distribute-lft1-in div-exp clear-num sum-log flip-- div-inv
+-commutative neg-sub0 associate-+l- associate-+l+ associate-+r+ distribute-neg-in neg-log
Counts
4 → 341
Calls
4 calls:
51.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
52.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
12.0ms
(+ (- (fma x x (* 1.0 (+ x 1.0)))) (fma x x (* 1.0 (+ x 1.0))))
0.0ms
(fma (fma x x (* 1.0 (+ x 1.0))) (- (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))) (/ (/ x (cbrt (+ x 1.0))) (* (cbrt (+ 1.0 x)) (cbrt (+ 1.0 x)))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
58.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
1.0ms
(+ (- (fma x x (* 1.0 (+ x 1.0)))) (fma x x (* 1.0 (+ x 1.0))))
158.0ms
(fma (fma x x (* 1.0 (+ x 1.0))) (- (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))) (/ (/ x (cbrt (+ x 1.0))) (* (cbrt (+ 1.0 x)) (cbrt (+ 1.0 x)))))

simplify870.0ms

Counts
353 → 353
Iterations

Useful iterations: done (857.0ms)

IterNodesCost
02687673
15596771
215626420
done50016218

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
86×times-frac
69×*-un-lft-identity
60×add-sqr-sqrt add-cube-cbrt
53×fma-def
21×unpow-prod-down cube-prod
14×add-exp-log
13×associate-/r*
11×add-cbrt-cube add-log-exp
cube-mult
unpow3 sqr-pow
associate-/l*
div-exp frac-add distribute-lft-out
pow1 expm1-log1p-u sum-log log1p-expm1-u div-inv
cbrt-undiv flip3-+ flip-+
+-commutative frac-2neg clear-num
pow-to-exp associate-+r+ pow-exp prod-exp cbrt-unprod
Counts
4 → 179
Calls
4 calls:
131.0ms
(+ (/ 3.0 x) (+ (/ 3.0 (pow x 3)) (/ 1.0 (* x x))))
8.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ 1.0 (* x x))
54.0ms
(+ (/ 3.0 (pow x 3)) (/ 1.0 (* x x)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (/ 3.0 x) (+ (/ 3.0 (pow x 3)) (/ 1.0 (* x x))))
41.0ms
(/ 3.0 (pow x 3))
25.0ms
(/ 1.0 (* x x))
87.0ms
(+ (/ 3.0 (pow x 3)) (/ 1.0 (* x x)))

simplify837.0ms

Counts
191 → 191
Iterations

Useful iterations: done (833.0ms)

IterNodesCost
02041878
14901612
217241521
done50001520

prune379.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes58.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.3b

bsearch1.0ms

simplify9.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
037100
148100
259100
361100
done61100

end0.0ms

sample546.0ms

Algorithm
intervals
Results
173.0ms1661×body1280valid
106.0ms1234×body640valid
94.0ms4166×body80valid
37.0ms600×body320valid
14.0ms339×body160valid