Details

Time bar (total: 20.8s)

sample62.0ms

Algorithm
intervals
Results
21.0ms48×body1280valid
12.0ms131×body80valid
11.0ms34×body640valid
8.0ms28×body320valid
2.0ms15×body160valid

simplify137.0ms

Counts
1 → 1
Iterations
IterNodes
done168
15168
14165
13136
12114
1199
1089
969
853
742
632
526
423
322
219
115
07

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.1b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
1284×*-un-lft-identity
984×times-frac
841×add-sqr-sqrt
612×prod-diff
521×add-cube-cbrt
251×distribute-lft-out
158×difference-of-squares
110×associate-/r/
90×distribute-lft-out--
77×difference-of-sqr-1
55×div-inv
37×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
11×associate-/r*
add-cbrt-cube add-exp-log associate-/l*
add-log-exp
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u
cbrt-undiv clear-num frac-2neg div-exp associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 753
Calls
3 calls:
16.0ms
(/ x (+ x 1))
42.0ms
(/ (+ x 1) (- x 1))
64.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))

series146.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ x (+ x 1))
35.0ms
(/ (+ x 1) (- x 1))
87.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))

simplify1.6s

Counts
762 → 762
Iterations
IterNodes
done2001
22001
11369
0584

prune8.2s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (- x 1)) (+ x 1))
0.1b
(* (/ 1 (- x 1)) (+ x 1))
29.5b
(fma x (/ 1 (+ x 1)) (- (* (/ 1 (- x 1)) (+ x 1))))
32.3b
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
54×associate-*l*
52×*-un-lft-identity
46×times-frac
28×add-cube-cbrt
22×add-exp-log
14×add-cbrt-cube
12×difference-of-squares
pow1 associate-*r* prod-exp
difference-of-sqr-1 distribute-lft-out-- unswap-sqr
expm1-log1p-u frac-times flip3-+ div-exp associate-*r/ associate-/r/ cbrt-unprod flip-+ insert-posit16 log1p-expm1-u add-log-exp
distribute-rgt-in cbrt-undiv rec-exp distribute-lft-in flip3-- 1-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv flip-- distribute-lft-out
Counts
4 → 140
Calls
4 calls:
26.0ms
(* (/ 1 (- x 1)) (+ x 1))
32.0ms
(* (/ 1 (- x 1)) (+ x 1))
0.0ms
(fma x (/ 1 (+ x 1)) (- (* (/ 1 (- x 1)) (+ x 1))))
0.0ms
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ 1 (- x 1)) (+ x 1))
35.0ms
(* (/ 1 (- x 1)) (+ x 1))
86.0ms
(fma x (/ 1 (+ x 1)) (- (* (/ 1 (- x 1)) (+ x 1))))
123.0ms
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

simplify1.1s

Counts
152 → 152
Iterations
IterNodes
done2020
32020
21445
1534
0157

prune1.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize62.0ms

Local error

Found 4 expressions with local error:

14.1b
(/ (+ x 1) (fma x x -1))
14.1b
(/ (+ x 1) (fma x x -1))
29.8b
(fma (/ x (fma x (* x x) 1)) (- (fma x x 1) x) (* (- (+ x 1)) (/ (+ x 1) (fma x x -1))))
32.3b
(fma (- (+ x 1)) (/ (+ x 1) (fma x x -1)) (* (/ (+ x 1) (fma x x -1)) (+ x 1)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
24×times-frac
22×add-sqr-sqrt add-cube-cbrt
add-cbrt-cube add-exp-log distribute-lft-out associate-/l*
associate-/r*
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u add-log-exp associate-/l/
cbrt-undiv clear-num frac-2neg flip3-+ div-exp flip-+ fma-udef div-inv
Counts
4 → 94
Calls
4 calls:
23.0ms
(/ (+ x 1) (fma x x -1))
23.0ms
(/ (+ x 1) (fma x x -1))
0.0ms
(fma (/ x (fma x (* x x) 1)) (- (fma x x 1) x) (* (- (+ x 1)) (/ (+ x 1) (fma x x -1))))
0.0ms
(fma (- (+ x 1)) (/ (+ x 1) (fma x x -1)) (* (/ (+ x 1) (fma x x -1)) (+ x 1)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (+ x 1) (fma x x -1))
37.0ms
(/ (+ x 1) (fma x x -1))
136.0ms
(fma (/ x (fma x (* x x) 1)) (- (fma x x 1) x) (* (- (+ x 1)) (/ (+ x 1) (fma x x -1))))
209.0ms
(fma (- (+ x 1)) (/ (+ x 1) (fma x x -1)) (* (/ (+ x 1) (fma x x -1)) (+ x 1)))

simplify937.0ms

Counts
106 → 106
Iterations
IterNodes
done2002
32002
2703
1248
0111

prune1.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (- x 1)) (+ x 1))
14.6b
(/ (fma x x -1) (* (- x 1) (- x 1)))
29.5b
(fma x (/ 1 (+ x 1)) (- (/ (fma x x -1) (* (- x 1) (- x 1)))))
32.3b
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
30×*-un-lft-identity
27×associate-*l*
26×times-frac
18×add-exp-log add-cube-cbrt
14×add-cbrt-cube
10×associate-/r/
flip3-- flip--
frac-times pow1 difference-of-squares
prod-exp
expm1-log1p-u div-exp associate-*r* associate-*r/ insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv difference-of-sqr-1 associate-*l/ cbrt-unprod associate-/l* distribute-lft-out-- unswap-sqr
flip3-+ flip-+ fma-udef div-inv
distribute-rgt-in rec-exp clear-num associate-/r* frac-2neg distribute-lft-in 1-exp pow-prod-down *-commutative distribute-lft-out
Counts
4 → 113
Calls
4 calls:
26.0ms
(* (/ 1 (- x 1)) (+ x 1))
13.0ms
(/ (fma x x -1) (* (- x 1) (- x 1)))
0.0ms
(fma x (/ 1 (+ x 1)) (- (/ (fma x x -1) (* (- x 1) (- x 1)))))
0.0ms
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

series359.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (/ 1 (- x 1)) (+ x 1))
61.0ms
(/ (fma x x -1) (* (- x 1) (- x 1)))
109.0ms
(fma x (/ 1 (+ x 1)) (- (/ (fma x x -1) (* (- x 1) (- x 1)))))
154.0ms
(fma (- (/ 1 (- x 1))) (+ x 1) (* (/ 1 (- x 1)) (+ x 1)))

simplify750.0ms

Counts
125 → 125
Iterations
IterNodes
done2000
22000
1643
0212

prune1.3s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes38.0ms

Accuracy

100% (0.0b remaining)

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

bsearch167.0ms

Steps
ItersRangePoint
10
186.95626557948964
3373396396890550.5
12311.34325898398
9
-24078.920296370652
-0.35383103211093586
-13167.552073147652

simplify13.0ms

Iterations
IterNodes
done59
359
257
149
031

end0.0ms

sample2.2s

Algorithm
intervals
Results
980.0ms1698×body1280valid
456.0ms1267×body640valid
381.0ms4118×body80valid
163.0ms626×body320valid
68.0ms291×body160valid