Details

Time bar (total: 26.7s)

sample47.0ms

Algorithm
intervals
Results
19.0ms64×body1280valid
9.0ms40×body640valid
7.0ms124×body80valid
4.0ms22×body320valid
1.0msbody160valid

simplify143.0ms

Counts
1 → 1
Iterations
IterNodes
17206
16206
15204
14192
13143
12112
1199
1090
968
851
740
630
524
421
320
217
113
07

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.2b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
110×*-un-lft-identity
60×times-frac
57×add-sqr-sqrt
25×add-cube-cbrt
20×distribute-lft-out
18×distribute-lft-out--
14×difference-of-squares
11×associate-/r*
add-cbrt-cube add-exp-log associate-/l*
difference-of-sqr-1 add-log-exp
associate-/r/
pow1
cbrt-undiv clear-num frac-2neg flip3-+ flip3-- div-exp flip-+ div-inv flip-- associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 114
Calls
3 calls:
18.0ms
(/ (+ x 1) (- x 1))
7.0ms
(/ x (+ x 1))
39.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))

series155.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ (+ x 1) (- x 1))
29.0ms
(/ x (+ x 1))
94.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))

simplify1.7s

Counts
123 → 123
Iterations
IterNodes
33064
2989
1380
0177

prune711.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (* x x))
0.5b
(/ 3 (* x (* x x)))
0.8b
(/ -1 (* x x))
5.8b
(- (- (/ -1 (* x x)) (/ 3 x)) (/ 3 (* x (* x x))))

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
23×add-cbrt-cube add-exp-log
18×pow1
14×*-un-lft-identity
12×add-sqr-sqrt
add-cube-cbrt add-log-exp
prod-exp cbrt-unprod
times-frac associate-/l*
cbrt-undiv div-exp pow-prod-up
frac-sub
diff-log associate-*l* pow-prod-down distribute-lft-out--
clear-num associate-/r* sub-neg frac-2neg flip3-- associate--l+ div-inv flip--
associate--l- pow2 pow-plus cube-unmult associate-*r* pow-sqr *-commutative difference-of-squares unswap-sqr
Counts
4 → 90
Calls
4 calls:
11.0ms
(* x (* x x))
11.0ms
(/ 3 (* x (* x x)))
5.0ms
(/ -1 (* x x))
150.0ms
(- (- (/ -1 (* x x)) (/ 3 x)) (/ 3 (* x (* x x))))

series159.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* x (* x x))
48.0ms
(/ 3 (* x (* x x)))
39.0ms
(/ -1 (* x x))
29.0ms
(- (- (/ -1 (* x x)) (/ 3 x)) (/ 3 (* x (* x x))))

simplify10.4s

Counts
102 → 102
Iterations
IterNodes
39209
21490
1403
0161

prune646.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x 1))
0.0b
(/ x (+ x 1))
0.1b
(* (+ x 1) (/ 1 (- x 1)))
9.6b
(- (/ x (+ x 1)) (* (+ x 1) (/ 1 (- x 1))))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
69×*-un-lft-identity
56×times-frac
37×add-cube-cbrt
27×associate-*r*
19×add-exp-log
14×difference-of-squares
13×add-cbrt-cube
11×associate-/r*
pow1 difference-of-sqr-1 distribute-lft-out--
associate-/r/ frac-sub associate-/l* add-log-exp
flip3-+ div-exp flip-+ distribute-lft-out
frac-times associate-*l* associate-*l/ prod-exp
cbrt-undiv flip3-- div-inv flip-- unswap-sqr
rec-exp clear-num frac-2neg 1-exp associate-*r/ un-div-inv cbrt-unprod
sub-neg diff-log pow-prod-down *-commutative pow-flip inv-pow
Counts
4 → 155
Calls
4 calls:
9.0ms
(/ 1 (- x 1))
7.0ms
(/ x (+ x 1))
31.0ms
(* (+ x 1) (/ 1 (- x 1)))
60.0ms
(- (/ x (+ x 1)) (* (+ x 1) (/ 1 (- x 1))))

series221.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1 (- x 1))
37.0ms
(/ x (+ x 1))
40.0ms
(* (+ x 1) (/ 1 (- x 1)))
128.0ms
(- (/ x (+ x 1)) (* (+ x 1) (/ 1 (- x 1))))

simplify2.6s

Counts
167 → 167
Iterations
IterNodes
22109
1586
0234

prune1.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize67.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- 1 (- x (* x x))) (* x (- x 1)))
8.4b
(/ (- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))) (* (- 1 (- x (* x x))) (* (- x 1) (+ 1 x))))
10.0b
(+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))
28.4b
(- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x))))))

rewrite420.0ms

Algorithm
rewrite-expression-head
Rules
186×associate-*r/
98×flip3-- flip--
96×frac-sub
94×flip3-+ flip-+
80×frac-times
68×frac-add
50×associate-/l/
34×associate-*l/
26×associate-/r/
18×add-cbrt-cube add-exp-log add-log-exp
17×distribute-rgt-in distribute-lft-in
11×*-un-lft-identity
10×add-sqr-sqrt
pow1 sub-neg
associate--l+
add-cube-cbrt
sum-log associate-*l* prod-exp cbrt-unprod
cbrt-undiv times-frac diff-log div-exp pow-prod-down associate-/l*
associate-+r+ difference-of-squares
+-commutative associate-+l+ clear-num associate-/r* frac-2neg distribute-rgt-out div-sub associate-*r* distribute-rgt1-in *-commutative div-inv associate--r+ distribute-lft-out--
Counts
4 → 229
Calls
4 calls:
77.0ms
(* (- 1 (- x (* x x))) (* x (- x 1)))
235.0ms
(/ (- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))) (* (- 1 (- x (* x x))) (* (- x 1) (+ 1 x))))
17.0ms
(+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))
82.0ms
(- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x))))))

series263.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (- 1 (- x (* x x))) (* x (- x 1)))
113.0ms
(/ (- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))) (* (- 1 (- x (* x x))) (* (- x 1) (+ 1 x))))
60.0ms
(+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x)))))
40.0ms
(- (* (- 1 (- x (* x x))) (* x (- x 1))) (+ (+ 1 (* x (* x x))) (* x (+ 1 (* x (* x x))))))

simplify1.3s

Counts
241 → 241
Iterations
IterNodes
12273
0549

prune3.7s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes41.0ms

Accuracy

100% (0.0b remaining)

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

bsearch216.0ms

Steps
ItersRangePoint
8
0.9676876931049737
32461.898498684495
9738.110188373239
8
-426929.41805624013
-102.89153151738607
-14872.906038072784

simplify17.0ms

Iterations
IterNodes
253
153
038

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.3s1752×body1280valid
419.0ms1260×body640valid
404.0ms4033×body80valid
184.0ms648×body320valid
50.0ms307×body160valid