Details

Time bar (total: 56.2s)

sample78.0ms

Algorithm
intervals
Results
25.0ms60×body640valid
15.0ms128×body80valid
13.0ms21×body1280valid
12.0ms37×body320valid
2.0ms10×body160valid

simplify193.0ms

Counts
1 → 1
Iterations
IterNodes
11195
10195
9187
8132
794
683
575
463
343
233
119
010

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x 1))
0.0b
(/ 1 (+ x 1))
0.0b
(- (/ 1 (+ x 1)) (/ 2 x))
2.3b
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

rewrite383.0ms

Algorithm
rewrite-expression-head
Rules
743×*-un-lft-identity
715×times-frac
544×add-sqr-sqrt
494×add-cube-cbrt
468×prod-diff
236×associate-+l+
99×distribute-lft-out
72×div-inv
58×associate-/r/
29×flip3-+ flip-+
22×distribute-lft-out--
20×difference-of-squares
18×fma-neg
13×fma-def
12×add-exp-log
11×associate-/r* add-log-exp
add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u difference-of-sqr-1 div-exp insert-posit16 log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv rec-exp clear-num sum-log sub-neg frac-2neg diff-log 1-exp frac-sub pow-flip inv-pow
+-commutative associate-+l-
Counts
4 → 648
Calls
4 calls:
10.0ms
(/ 1 (- x 1))
10.0ms
(/ 1 (+ x 1))
66.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
264.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ 1 (- x 1))
21.0ms
(/ 1 (+ x 1))
42.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
161.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

simplify4.6s

Counts
660 → 660
Iterations
IterNodes
22750
11122
0495

prune6.8s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.6b

localize69.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (- x 1)) (/ 1 (- x 1)))
0.3b
(* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x)))
2.3b
(- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1))))
13.9b
(/ (- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1)))) (- (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
1672×*-un-lft-identity
1578×times-frac
1191×add-sqr-sqrt
1002×add-cube-cbrt
937×prod-diff
472×distribute-rgt-in distribute-lft-in associate--l+
196×frac-sub
172×distribute-lft-out
164×div-inv
146×distribute-lft-out--
117×associate-/r/
112×frac-times
87×difference-of-squares
80×flip3-- flip--
62×swap-sqr associate-/l/
58×associate-*l/ associate-*r/
52×flip3-+ flip-+
48×add-exp-log
40×associate-*r* associate-*l*
31×un-div-inv
26×pow1
20×add-cbrt-cube
18×difference-of-sqr-1
17×div-exp prod-exp
16×associate-/r*
10×unswap-sqr
rec-exp 1-exp pow-flip inv-pow
pow-prod-up add-log-exp
cbrt-undiv sub-neg cbrt-unprod
expm1-log1p-u pow-prod-down pow-sqr insert-posit16 log1p-expm1-u associate-/l*
pow2 pow-plus *-commutative
clear-num frac-2neg fma-neg diff-log div-sub
Counts
4 → 1422
Calls
4 calls:
69.0ms
(* (/ 1 (- x 1)) (/ 1 (- x 1)))
285.0ms
(* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x)))
154.0ms
(- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1))))
533.0ms
(/ (- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1)))) (- (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))

series666.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (/ 1 (- x 1)) (/ 1 (- x 1)))
43.0ms
(* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x)))
158.0ms
(- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1))))
440.0ms
(/ (- (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (* (/ 1 (- x 1)) (/ 1 (- x 1)))) (- (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))

simplify3.7s

Counts
1434 → 1434
Iterations
IterNodes
13689
01359

prune20.2s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x 1))
0.0b
(/ 1 (+ x 1))
0.0b
(- (/ 1 (+ x 1)) (/ 2 x))
2.3b
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

rewrite315.0ms

Algorithm
rewrite-expression-head
Rules
743×*-un-lft-identity
715×times-frac
544×add-sqr-sqrt
494×add-cube-cbrt
468×prod-diff
236×associate-+l+
99×distribute-lft-out
72×div-inv
58×associate-/r/
29×flip3-+ flip-+
22×distribute-lft-out--
20×difference-of-squares
18×fma-neg
13×fma-def
12×add-exp-log
11×associate-/r* add-log-exp
add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u difference-of-sqr-1 div-exp insert-posit16 log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv rec-exp clear-num sum-log sub-neg frac-2neg diff-log 1-exp frac-sub pow-flip inv-pow
+-commutative associate-+l-
Counts
4 → 648
Calls
4 calls:
9.0ms
(/ 1 (- x 1))
9.0ms
(/ 1 (+ x 1))
53.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
218.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- x 1))
15.0ms
(/ 1 (+ x 1))
33.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
154.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

simplify4.5s

Counts
660 → 660
Iterations
IterNodes
22750
11122
0495

prune7.3s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.5b

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 2 (pow x 7))
0.1b
(* (* x x) x)
0.2b
(/ 2 (pow x 5))
0.6b
(/ 2 (* (* x x) x))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
40×add-sqr-sqrt
39×*-un-lft-identity add-cube-cbrt
28×add-exp-log
24×unpow-prod-down
23×pow1
22×add-cbrt-cube
15×associate-/r*
div-exp associate-/l*
sqr-pow
pow-plus prod-exp pow-prod-up cbrt-unprod
cbrt-undiv
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg associate-*r* pow-prod-down div-inv
pow2 pow-to-exp pow-exp pow-sqr
associate-*l* pow3 *-commutative unswap-sqr
Counts
4 → 153
Calls
4 calls:
6.0ms
(/ 2 (pow x 7))
26.0ms
(* (* x x) x)
10.0ms
(/ 2 (pow x 5))
15.0ms
(/ 2 (* (* x x) x))

series231.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(/ 2 (pow x 7))
35.0ms
(* (* x x) x)
86.0ms
(/ 2 (pow x 5))
42.0ms
(/ 2 (* (* x x) x))

simplify1.8s

Counts
165 → 165
Iterations
IterNodes
33844
21291
1411
0215

prune1.5s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes111.0ms

Accuracy

99.3% (0.1b remaining)

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

bsearch124.0ms

Steps
ItersRangePoint
7
15.597049771107491
3862.7483140020904
109.3629970410856
10
-1231591086050.0088
-0.0006858147917088189
-119.2186693862327

simplify8.0ms

Iterations
IterNodes
240
140
032

end0.0ms

sample2.0s

Algorithm
intervals
Results
747.0ms1890×body640valid
503.0ms4183×body80valid
253.0ms912×body320valid
251.0ms561×body1280valid
101.0ms455×body160valid