Details

Time bar (total: 4.3m)

sample41.0ms

Algorithm
intervals
Results
14.0ms41×body320valid
12.0ms65×body640valid
6.0ms126×body80valid
2.0ms24×body160valid

simplify14.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
14.0ms
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize23.0ms

Local error

Found 3 expressions with local error:

3.4b
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
0.0b
(/ 1 (+ x 1))
0.0b
(/ 1 (- x 1))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
850×*-un-lft-identity
783×times-frac
710×add-sqr-sqrt
486×prod-diff
454×add-cube-cbrt
125×difference-of-squares
98×associate-/r/
94×distribute-lft-out
81×distribute-lft-out--
58×difference-of-sqr-1
52×div-inv
30×flip-+
29×flip3-+
21×flip--
20×flip3--
18×fma-neg
11×associate-/r* add-exp-log
add-cbrt-cube
associate-/l*
pow1 add-log-exp
div-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv rec-exp clear-num frac-2neg 1-exp pow-flip inv-pow
sub-neg diff-log frac-sub
Counts
3 → 638
Calls
3 calls:
Slowest
68.0ms
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
16.0ms
(/ 1 (+ x 1))
11.0ms
(/ 1 (- x 1))

series108.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
76.0ms
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
19.0ms
(/ 1 (- x 1))
13.0ms
(/ 1 (+ x 1))

simplify3.4m

Counts
1141 → 647
Calls
1141 calls:
Slowest
861.0ms
(fma (/ 1 (- (* x x) (* 1 1))) (- x 1) (- (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))))
815.0ms
(fma (- (/ (cbrt 1) (cbrt (- x 1)))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (- x 1)) (cbrt (- x 1)))) (* (/ (cbrt 1) (cbrt (- x 1))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (- x 1)) (cbrt (- x 1))))))
804.0ms
(fma (/ 1 (+ (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1))) (- (* (/ (cbrt 1) (- x 1)) (/ (* (cbrt 1) (cbrt 1)) 1))))
792.0ms
(fma (/ (sqrt 1) 1) (/ (sqrt 1) (+ x 1)) (- (* (+ x 1) (/ 1 (- (* x x) (* 1 1))))))
773.0ms
(fma (- (/ (sqrt 1) (- (sqrt x) 1))) (/ (sqrt 1) (+ (sqrt x) 1)) (* (/ (sqrt 1) (- (sqrt x) 1)) (/ (sqrt 1) (+ (sqrt x) 1))))

prune4.9s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ -2 (fma x (+ x -1) (+ x -1)))
0.0b
(fma x (+ x -1) (+ x -1))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
associate-/r* associate-/l*
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv clear-num frac-2neg div-exp fma-udef div-inv
Counts
2 → 41
Calls
2 calls:
Slowest
4.0ms
(/ -2 (fma x (+ x -1) (+ x -1)))
0.0ms
(fma x (+ x -1) (+ x -1))

series548.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
474.0ms
(fma x (+ x -1) (+ x -1))
74.0ms
(/ -2 (fma x (+ x -1) (+ x -1)))

simplify6.4s

Counts
31 → 47
Calls
31 calls:
Slowest
830.0ms
(/ (* (* -2 -2) -2) (* (* (fma x (+ x -1) (+ x -1)) (fma x (+ x -1) (+ x -1))) (fma x (+ x -1) (+ x -1))))
433.0ms
(/ (* (cbrt -2) (cbrt -2)) (* (cbrt (fma x (+ x -1) (+ x -1))) (cbrt (fma x (+ x -1) (+ x -1)))))
362.0ms
(/ (sqrt -2) (cbrt (fma x (+ x -1) (+ x -1))))
351.0ms
(/ (* (cbrt -2) (cbrt -2)) (sqrt (fma x (+ x -1) (+ x -1))))
345.0ms
(/ (sqrt -2) (* (cbrt (fma x (+ x -1) (+ x -1))) (cbrt (fma x (+ x -1) (+ x -1)))))

prune282.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ -2 (+ (* x (+ x -1)) (+ x -1)))
0.0b
(+ (* x (+ x -1)) (+ x -1))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
18×times-frac
13×add-sqr-sqrt add-cube-cbrt
10×flip3-+ distribute-rgt-out flip-+
frac-add associate-*r/
add-log-exp
associate-/r* associate-/r/
distribute-lft1-in distribute-lft-out
add-cbrt-cube add-exp-log
sum-log associate-/l*
expm1-log1p-u pow1 associate-+l+ insert-posit16 log1p-expm1-u
distribute-rgt-in cbrt-undiv +-commutative associate-+r+ clear-num fma-def frac-2neg distribute-lft-in div-exp div-inv
Counts
2 → 74
Calls
2 calls:
Slowest
47.0ms
(/ -2 (+ (* x (+ x -1)) (+ x -1)))
28.0ms
(+ (* x (+ x -1)) (+ x -1))

series77.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
44.0ms
(+ (* x (+ x -1)) (+ x -1))
33.0ms
(/ -2 (+ (* x (+ x -1)) (+ x -1)))

simplify17.6s

Counts
75 → 80
Calls
75 calls:
Slowest
1.4s
(/ -2 (sqrt (+ (* x (+ x -1)) (+ x -1))))
1.2s
(/ -2 (cbrt (+ (* x (+ x -1)) (+ x -1))))
817.0ms
(/ -2 (+ (* x (+ x -1)) (+ x -1)))
777.0ms
(/ 1 (* (cbrt (+ (* x (+ x -1)) (+ x -1))) (cbrt (+ (* x (+ x -1)) (+ x -1)))))
776.0ms
(- (log -2) (log (+ (* x (+ x -1)) (+ x -1))))

prune496.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 2 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
98×add-sqr-sqrt
79×add-cube-cbrt
41×distribute-lft-out
24×associate-/l*
19×difference-of-sqr--1
14×associate-/r/
associate-/r* add-cbrt-cube add-exp-log
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
expm1-log1p-u pow1 clear-num frac-2neg insert-posit16 log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 169
Calls
2 calls:
Slowest
34.0ms
(/ (/ -2 (+ x -1)) (+ x 1))
15.0ms
(/ -2 (+ x -1))

series88.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
71.0ms
(/ (/ -2 (+ x -1)) (+ x 1))
17.0ms
(/ -2 (+ x -1))

simplify18.3s

Counts
244 → 175
Calls
244 calls:
Slowest
502.0ms
(/ (+ (* x x) (- (* -1 -1) (* x -1))) (+ x 1))
477.0ms
(/ (+ (* x x) (- (* -1 -1) (* x -1))) (+ x 1))
469.0ms
(/ (/ (sqrt -2) (+ x -1)) (cbrt (+ x 1)))
443.0ms
(/ (/ -2 (- (* x x) (* -1 -1))) (sqrt (+ x 1)))
442.0ms
(/ (/ -2 (+ (pow x 3) (pow -1 3))) (* (cbrt (+ x 1)) (cbrt (+ x 1))))

prune1.2s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes45.0ms

Accuracy

0% (0.1b remaining)

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

bsearch2.0ms

end0.0ms

sample1.7s

Algorithm
intervals
Results
666.0ms1915×body640valid
459.0ms4212×body80valid
376.0ms1233×body320valid
101.0ms640×body160valid