Details

Time bar (total: 20.3s)

sample50.0ms

Algorithm
intervals
Results
17.0ms61×body1280valid
8.0ms37×body640valid
7.0ms131×body80valid
2.0ms14×body320valid
1.0ms13×body160valid

simplify335.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07202
112202
216202
319202
421202
527202
639202
758202
875202
996202
10222202
11329202
12340202
13346202
14350202
done350202

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.9b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite130.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-cbrt-cube add-exp-log associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-exp frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
20.0ms
(/ (+ x 1.0) (- x 1.0))
107.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series250.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (+ x 1.0) (- x 1.0))
204.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify2.3s

Counts
77 → 77
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
013524037
132121481
291220919
3338520760
done504320760

prune357.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite426.0ms

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
80×times-frac
53×add-sqr-sqrt
52×distribute-lft-out--
32×distribute-lft-out
16×cbrt-prod difference-of-squares
10×add-log-exp
add-cube-cbrt
pow1 flip3-- add-cbrt-cube add-exp-log frac-sub flip--
cbrt-div sub-neg diff-log
pow1/3
Counts
4 → 105
Calls
4 calls:
70.0ms
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
147.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
111.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
91.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series992.0ms

Counts
4 → 12
Calls
4 calls:
414.0ms
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
179.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
209.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
189.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify3.0s

Counts
117 → 117
Iterations

Useful iterations: done (2.9s)

IterNodesCost
014748745
134542531
296341725
3348041285
done500140984

prune441.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

1.0b
(log (exp (cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite681.0ms

Algorithm
rewrite-expression-head
Rules
191×*-un-lft-identity
80×times-frac
55×add-sqr-sqrt
52×distribute-lft-out--
32×distribute-lft-out
20×log-pow
19×exp-prod
16×cbrt-prod difference-of-squares
10×add-log-exp
add-cube-cbrt
pow1
add-cbrt-cube add-exp-log
log-prod sub-neg flip3-- diff-log frac-sub flip--
rem-log-exp
Counts
4 → 109
Calls
4 calls:
349.0ms
(log (exp (cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
97.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
114.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
110.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series965.0ms

Counts
4 → 12
Calls
4 calls:
412.0ms
(log (exp (cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))))
159.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
198.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
195.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify2.9s

Counts
121 → 121
Iterations

Useful iterations: done (2.9s)

IterNodesCost
017248648
137438706
299737939
3357437499
done500437198

prune523.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (* x x))
4.8b
(/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0))))
12.2b
(- (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
17.6b
(* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite312.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
33×times-frac
31×add-sqr-sqrt
25×associate-*l* add-cube-cbrt
20×pow1
19×cube-unmult
16×add-cbrt-cube add-exp-log
difference-cubes distribute-lft-out
add-log-exp
flip3-+ prod-exp pow-prod-up frac-sub cbrt-unprod flip-+
frac-times associate-/r* associate-*r* pow-prod-down associate-*r/ associate-/r/ associate-/l*
flip3-- flip-- unswap-sqr
distribute-rgt-in cbrt-undiv distribute-lft-in div-exp associate-*l/ *-commutative div-inv associate--r+ associate-/l/
pow2 clear-num sub-neg frac-2neg pow-plus diff-log pow-sqr
Counts
4 → 130
Calls
4 calls:
17.0ms
(* x (* x x))
52.0ms
(/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0))))
69.0ms
(- (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
165.0ms
(* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series432.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* x (* x x))
71.0ms
(/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0))))
214.0ms
(- (/ x (+ x 1.0)) (* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
103.0ms
(* (/ (+ 1.0 x) (- (* x (* x x)) (* 1.0 (* 1.0 1.0)))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

simplify3.8s

Counts
142 → 142
Iterations

Useful iterations: done (3.8s)

IterNodesCost
025368700
185859772
2399158292
done500457932

prune521.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes97.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 29.5b

bsearch3.0ms

simplify15.0ms

Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0291054
1381054
done381054

end0.0ms

sample1.6s

Algorithm
intervals
Results
618.0ms1221×body640valid
459.0ms1755×body1280valid
237.0ms4080×body80valid
78.0ms646×body320valid
28.0ms298×body160valid