Details

Time bar (total: 9.6s)

sample20.0ms

Algorithm
intervals
Results
5.0ms48×body1280valid
4.0ms52×body640valid
3.0ms134×body80valid
1.0ms14×body320valid
0.0msbody160valid

simplify90.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87613
99713
1012713
1114313
1215113
done15113

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
55.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series170.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ (+ x 1.0) (- x 1.0))
132.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify1.9s

Counts
77 → 77
Iterations

Useful iterations: 3 (757.0ms)

IterNodesCost
01351218
13171168
28621110
336231097
done50001097

prune131.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.3b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
342×*-un-lft-identity
208×times-frac
152×add-sqr-sqrt
88×add-cube-cbrt
73×distribute-lft-out
72×swap-sqr
44×associate-*r* associate-*l*
36×distribute-lft-out--
28×add-exp-log add-cbrt-cube
21×difference-of-squares
18×pow1
16×associate-/r/
frac-sub
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
+-commutative sub-neg diff-log frac-add sum-log
Counts
4 → 259
Calls
4 calls:
47.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
31.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
51.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
10.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
44.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
59.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
210.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify2.1s

Counts
271 → 271
Iterations

Useful iterations: 2 (865.0ms)

IterNodesCost
03606049
111245295
247134757
done50004757

prune412.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 3.0 x) (/ 1.0 (* x x)))
0.5b
(/ 1.0 (* x x))
0.9b
(/ 3.0 (pow x 3))
9.0b
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
39×times-frac
38×*-un-lft-identity
31×add-sqr-sqrt add-cube-cbrt
14×add-exp-log
13×associate-/r*
12×unpow-prod-down cube-prod
11×add-cbrt-cube add-log-exp
associate-/l*
div-exp frac-add
pow1 cube-mult unpow3 sum-log distribute-lft-out sqr-pow
cbrt-undiv flip3-+ flip-+
+-commutative frac-2neg clear-num div-inv
pow-to-exp associate-+l+ pow-exp prod-exp cbrt-unprod
Counts
4 → 117
Calls
4 calls:
14.0ms
(+ (/ 3.0 x) (/ 1.0 (* x x)))
3.0ms
(/ 1.0 (* x x))
4.0ms
(/ 3.0 (pow x 3))
85.0ms
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(+ (/ 3.0 x) (/ 1.0 (* x x)))
25.0ms
(/ 1.0 (* x x))
41.0ms
(/ 3.0 (pow x 3))
30.0ms
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

simplify989.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (228.0ms)

IterNodesCost
01951727
14521482
220411402
done50001402

prune220.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
0.1b
(* x (+ (* 3.0 x) 1.0))
0.1b
(* (pow x 3) 3.0)
51.6b
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
29×add-exp-log add-cube-cbrt *-un-lft-identity
21×times-frac
19×unpow-prod-down
18×associate-*r*
16×associate-*l*
15×add-cbrt-cube
13×prod-exp
cube-prod associate-/r* sqr-pow
pow1
cbrt-unprod unswap-sqr
pow-to-exp associate-*r/ pow-exp add-log-exp
flip3-+ div-exp *-commutative flip-+ associate-/l*
cube-mult unpow3 associate-*l/ associate-/l/
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num div-inv
Counts
4 → 131
Calls
4 calls:
18.0ms
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
10.0ms
(* x (+ (* 3.0 x) 1.0))
9.0ms
(* (pow x 3) 3.0)
15.0ms
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

series252.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
66.0ms
(* x (+ (* 3.0 x) 1.0))
37.0ms
(* (pow x 3) 3.0)
64.0ms
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

simplify1.3s

Counts
143 → 143
Iterations

Useful iterations: 2 (324.0ms)

IterNodesCost
02242754
15552580
226192077
done50002077

prune297.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
10
5.968040026638966e-05
117627206.70733242
14618.947191620917
10
-64880754058.88788
-2.651420353119469e-05
-11755.062723959316

simplify6.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02781
13766
24466
34766
done4766

end0.0ms

sample527.0ms

Algorithm
intervals
Results
183.0ms1719×body1280valid
103.0ms1224×body640valid
95.0ms4124×body80valid
38.0ms618×body320valid
13.0ms315×body160valid