Details

Time bar (total: 18.6s)

sample70.0ms

Algorithm
intervals
Results
19.0ms19×body1280valid
16.0ms53×body640valid
11.0ms137×body80valid
8.0ms34×body320valid
3.0ms13×body160valid

simplify642.0ms

Counts
1 → 1
Iterations
IterNodes
done475
9475
8357
7164
6102
581
465
345
235
121
010

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite340.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))
46.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
18.0ms
(/ 1 (+ x 1))
248.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1 (- x 1))
42.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
23.0ms
(/ 1 (+ x 1))
117.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

simplify2.9s

Counts
660 → 660
Iterations
IterNodes
done5000
22961
11148
0495

prune2.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize56.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (/ 2 x) (/ 1 (+ x 1)))
0.1b
(+ (/ 2 x) (/ 1 (+ x 1)))
6.6b
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
15.3b
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (+ (/ 2 x) (/ 1 (+ x 1)))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
29×times-frac
26×fma-def
20×add-sqr-sqrt add-cube-cbrt
11×associate-/r/
10×distribute-lft-out
add-cbrt-cube add-exp-log
add-log-exp
frac-times
flip3-+ frac-add flip-+ div-inv
expm1-log1p-u pow1 flip3-- insert-posit16 log1p-expm1-u flip--
associate-*r/ associate-/l*
cbrt-undiv +-commutative sum-log div-exp associate-*l/
clear-num associate-/r* frac-2neg prod-exp cbrt-unprod fma-udef
Counts
4 → 110
Calls
4 calls:
18.0ms
(+ (/ 2 x) (/ 1 (+ x 1)))
30.0ms
(+ (/ 2 x) (/ 1 (+ x 1)))
0.0ms
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
29.0ms
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (+ (/ 2 x) (/ 1 (+ x 1)))))

series978.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (/ 2 x) (/ 1 (+ x 1)))
31.0ms
(+ (/ 2 x) (/ 1 (+ x 1)))
265.0ms
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
641.0ms
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (+ (/ 2 x) (/ 1 (+ x 1)))))

simplify2.4s

Counts
122 → 122
Iterations
IterNodes
done5026
22166
1474
0157

prune696.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma (* x x) x (/ 1 x)) x)
0.1b
(fma (* x x) x (/ 1 x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt fma-def add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef insert-posit16 log1p-expm1-u
+-commutative associate-+l+ sum-log flip3-+ flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
10.0ms
(+ (fma (* x x) x (/ 1 x)) x)
1.0ms
(fma (* x x) x (/ 1 x))

series195.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(+ (fma (* x x) x (/ 1 x)) x)
140.0ms
(fma (* x x) x (/ 1 x))

simplify1.6s

Counts
36 → 36
Iterations
IterNodes
done5000
31273
2304
191
041

prune187.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.1b

localize101.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2)
1.0b
(cbrt 2)
6.6b
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
15.3b
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (fma (/ (* (cbrt 2) (cbrt 2)) (* (cbrt x) (cbrt x))) (/ (cbrt 2) (cbrt x)) (/ 1 (+ x 1)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
cbrt-prod
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u add-log-exp
times-frac associate-/l*
cbrt-undiv pow1/3 div-exp associate-*l/ associate-/r/
clear-num associate-/r* frac-2neg flip3-- prod-exp cbrt-unprod fma-udef div-inv flip--
Counts
4 → 65
Calls
4 calls:
1.0ms
(cbrt 2)
1.0ms
(cbrt 2)
0.0ms
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
21.0ms
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (fma (/ (* (cbrt 2) (cbrt 2)) (* (cbrt x) (cbrt x))) (/ (cbrt 2) (cbrt x)) (/ 1 (+ x 1)))))

series856.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2)
0.0ms
(cbrt 2)
267.0ms
(fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1))))
589.0ms
(/ (fma (+ (/ 2 x) (/ 1 (+ x 1))) (* (+ (/ 1 (+ x 1)) (/ -2 x)) (- x 1)) (+ (/ 2 x) (/ 1 (+ x 1)))) (* (- x 1) (fma (/ (* (cbrt 2) (cbrt 2)) (* (cbrt x) (cbrt x))) (/ (cbrt 2) (cbrt x)) (/ 1 (+ x 1)))))

simplify2.1s

Counts
73 → 73
Iterations
IterNodes
done5000
21473
1390
0158

prune537.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.1b

regimes142.0ms

Accuracy

96.9% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 10.2b

bsearch2.0ms

simplify6.0ms

Iterations
IterNodes
done35
135
026

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.0s1890×body640valid
364.0ms4153×body80valid
244.0ms936×body320valid
225.0ms557×body1280valid
58.0ms467×body160valid