Details

Time bar (total: 47.8s)

sample48.0ms

Algorithm
intervals
Results
12.0ms47×body1280valid
10.0ms48×body640valid
7.0ms131×body80valid
3.0ms20×body320valid
1.0ms10×body160valid

simplify4.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87913
918313
1053513
11170613
12358413
done500013

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize28.0ms

Local error

Found 2 expressions with local error:

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

rewrite435.0ms

Algorithm
rewrite-expression-head
Rules
963×*-un-lft-identity
724×times-frac
575×add-sqr-sqrt
468×prod-diff
409×add-cube-cbrt
185×distribute-lft-out
92×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
46×div-inv
28×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 associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub
Counts
2 → 561
Calls
2 calls:
55.0ms
(/ (+ 1.0 x) (- x 1.0))
251.0ms
(- (/ x (+ x 1.0)) (/ (+ 1.0 x) (- x 1.0)))

series306.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(/ (+ 1.0 x) (- x 1.0))
235.0ms
(- (/ x (+ x 1.0)) (/ (+ 1.0 x) (- x 1.0)))

simplify3.7s

Counts
567 → 567
Iterations

Useful iterations: done (3.7s)

IterNodesCost
051333838
1122430596
2449223162
done500023161

prune2.0s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize61.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3)) (fma (/ x (+ x 1.0)) (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- x 1.0)) (+ (/ (+ 1.0 x) (- x 1.0)) (/ x (+ x 1.0))))))
0.0b
(pow (/ x (+ x 1.0)) 3)
0.0b
(pow (/ (+ 1.0 x) (- x 1.0)) 3)
2.4b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3))

rewrite3.5s

Algorithm
rewrite-expression-head
Rules
5207×*-un-lft-identity
3831×times-frac
3117×add-sqr-sqrt
2498×unpow-prod-down cube-prod
2436×prod-diff
2009×add-cube-cbrt
950×distribute-lft-out
609×distribute-lft-out--
524×difference-of-squares
412×associate-/r/
207×div-inv
163×sqr-pow
120×flip3-+ flip-+
103×cube-mult unpow3
88×flip3-- flip--
77×associate-/l*
42×fma-neg
12×add-exp-log add-cbrt-cube
pow1 cube-div pow-unpow add-log-exp
difference-cubes
expm1-log1p-u pow-exp log1p-expm1-u rem-cube-cbrt
cbrt-undiv div-exp associate-/r* associate-/l/
pow-to-exp pow-pow frac-sub
sub-neg frac-2neg diff-log div-sub clear-num
Counts
4 → 3028
Calls
4 calls:
1.8s
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3)) (fma (/ x (+ x 1.0)) (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- x 1.0)) (+ (/ (+ 1.0 x) (- x 1.0)) (/ x (+ x 1.0))))))
29.0ms
(pow (/ x (+ x 1.0)) 3)
42.0ms
(pow (/ (+ 1.0 x) (- x 1.0)) 3)
722.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3))

series1.8s

Counts
4 → 12
Calls
4 calls:
1.1s
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3)) (fma (/ x (+ x 1.0)) (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- x 1.0)) (+ (/ (+ 1.0 x) (- x 1.0)) (/ x (+ x 1.0))))))
112.0ms
(pow (/ x (+ x 1.0)) 3)
107.0ms
(pow (/ (+ 1.0 x) (- x 1.0)) 3)
509.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ 1.0 x) (- x 1.0)) 3))

simplify2.9s

Counts
3040 → 3040
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01066241517
12782208740
done5004184616

prune5.4s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize118.0ms

Local error

Found 4 expressions with local error:

21.0b
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
21.0b
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
30.4b
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
31.9b
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

rewrite584.0ms

Algorithm
rewrite-expression-head
Rules
140×add-sqr-sqrt
100×associate-*r*
88×*-un-lft-identity
80×unpow-prod-down times-frac cube-prod
48×add-cube-cbrt unswap-sqr
44×add-exp-log
28×associate-*l*
24×prod-exp sqr-pow
20×pow-exp distribute-lft-out
16×difference-of-squares
14×cube-div pow-to-exp
associate-/r/ add-cbrt-cube
div-exp
pow1 expm1-log1p-u cube-mult frac-times flip3-- flip3-+ unpow3 associate-*l/ flip-- flip-+ log1p-expm1-u div-inv add-log-exp
associate-*r/ pow-prod-down *-commutative cbrt-unprod fma-udef
Counts
4 → 254
Calls
4 calls:
284.0ms
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
275.0ms
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
1.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.0ms
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

series2.2s

Counts
4 → 12
Calls
4 calls:
172.0ms
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
165.0ms
(* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))
620.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.2s
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

simplify5.9s

Counts
266 → 266
Iterations

Useful iterations: 2 (1.8s)

IterNodesCost
02157091
16266733
247326047
done50006047

prune2.5s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize176.0ms

Local error

Found 4 expressions with local error:

30.4b
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
30.4b
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
30.4b
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
31.9b
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
1.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.0ms
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

series3.2s

Counts
4 → 12
Calls
4 calls:
645.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
639.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
624.0ms
(fma (pow x 3) (pow (/ 1 (+ x 1.0)) 3) (- (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3))))
1.2s
(fma (- (pow (+ x 1.0) 3)) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3) (* (pow (+ x 1.0) 3) (pow (/ (+ 1.0 x) (- (* x x) (* 1.0 1.0))) 3)))

simplify5.2s

Counts
52 → 52
Iterations

Useful iterations: done (5.2s)

IterNodesCost
0611853
11311835
25261417
345981105
done50001102

prune940.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes94.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch323.0ms

Steps
ItersRangePoint
10
2.8868360106527892e-08
453261925.93168354
10504.616557362075
10
-906041723027795.1
-3934.6710789005906
-13977.716507512701

simplify31.0ms

Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
044211
162196
271196
374196
done74196

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1261×body640valid
494.0ms1749×body1280valid
317.0ms4049×body80valid
233.0ms624×body320valid
36.0ms317×body160valid