Details

Time bar (total: 4.5s)

sample23.0ms

Algorithm
intervals
Results
7.0ms67×body1280valid
5.0ms130×body80valid
3.0ms32×body640valid
1.0ms20×body320valid
0.0msbody160valid

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036
done3036

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.7b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite199.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:
10.0ms
(/ x (+ x 1.0))
23.0ms
(/ (+ x 1.0) (- x 1.0))
112.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series207.0ms

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

simplify181.0ms

Counts
605 → 605
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0120818366
1368713388
2500113292
done500113292

prune704.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
30.4b
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
23×add-cube-cbrt
10×distribute-lft-out
add-exp-log associate-/r*
add-cbrt-cube associate-/l*
distribute-lft-out-- difference-of-squares
pow1 associate-/r/
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l/
rec-exp flip3-- pow-flip 1-exp flip-- fma-udef inv-pow
Counts
3 → 96
Calls
3 calls:
11.0ms
(/ 1 (+ x 1.0))
27.0ms
(/ (+ x 1.0) (- x 1.0))
0.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

series201.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(/ 1 (+ x 1.0))
38.0ms
(/ (+ x 1.0) (- x 1.0))
141.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

simplify39.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0352622
11229566
25001540
done5001540

prune171.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (pow x 3))
0.2b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.5b
(/ (- 1.0) (pow x 2))
8.4b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
440×times-frac
354×add-sqr-sqrt
344×*-un-lft-identity
342×add-cube-cbrt
252×prod-diff
166×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
56×sqr-pow
52×unpow2
41×neg-mul-1
20×associate-/r*
18×add-exp-log
13×associate-/l*
12×cube-prod
div-exp
add-cbrt-cube
div-inv add-log-exp
difference-of-squares
pow1 expm1-log1p-u cube-mult pow-to-exp unpow3 pow-exp log1p-expm1-u
rec-exp 1-exp
cbrt-undiv neg-sub0 frac-2neg div-sub clear-num fma-udef
associate--l- sub-neg flip3-- pow-flip diff-log distribute-frac-neg flip-- associate--r+ distribute-lft-out-- inv-pow
Counts
4 → 559
Calls
4 calls:
9.0ms
(/ 1 (pow x 3))
0.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
11.0ms
(/ (- 1.0) (pow x 2))
95.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series196.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (pow x 3))
88.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
26.0ms
(/ (- 1.0) (pow x 2))
44.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify173.0ms

Counts
571 → 571
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0115912779
141677106
250017094
done50017094

prune756.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 3.0 (/ 1 (pow x 3)))
0.1b
(/ (/ 1.0 x) x)
0.2b
(/ 1 (pow x 3))
8.4b
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
155×times-frac
116×add-sqr-sqrt
100×*-un-lft-identity
96×add-cube-cbrt
40×associate-*r*
38×add-exp-log
23×unpow-prod-down cube-prod
16×add-cbrt-cube associate-/l*
15×div-exp associate-/r*
10×prod-exp
unswap-sqr sqr-pow
cube-mult unpow3 div-inv
pow1 pow-to-exp rec-exp 1-exp pow-exp add-log-exp
cbrt-undiv
expm1-log1p-u log1p-expm1-u
fma-neg associate-*l* prod-diff
frac-2neg clear-num cbrt-unprod
sub-neg flip3-- pow-flip diff-log associate-*r/ pow-prod-down associate--l+ un-div-inv *-commutative flip-- fma-udef associate-/l/ inv-pow
Counts
4 → 245
Calls
4 calls:
29.0ms
(* 3.0 (/ 1 (pow x 3)))
11.0ms
(/ (/ 1.0 x) x)
9.0ms
(/ 1 (pow x 3))
6.0ms
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

series140.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* 3.0 (/ 1 (pow x 3)))
27.0ms
(/ (/ 1.0 x) x)
39.0ms
(/ 1 (pow x 3))
37.0ms
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

simplify100.0ms

Counts
257 → 257
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07601440
139531147
250021133
done50021133

prune445.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

100% (0.0b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
9
7.055123656280252
892369.0132880388
12009.419676004025
10
-1.8070707071506563e+17
-0.15939393977811658
-12526.878831697797

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03816
14216
24216
done4216

end0.0ms

sample573.0ms

Algorithm
intervals
Results
190.0ms1769×body1280valid
112.0ms1250×body640valid
96.0ms4076×body80valid
38.0ms615×body320valid
12.0ms290×body160valid