Details

Time bar (total: 13.3s)

sample65.0ms

Algorithm
intervals
Results
25.0ms71×body1280valid
17.0ms51×body640valid
8.0ms179×body80valid
4.0ms24×body320valid
1.0ms15×body160valid

simplify34.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
34.0ms
(/ (- (exp x) 1) x)

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.8b

localize16.0ms

Local error

Found 2 expressions with local error:

3.5b
(- (exp x) 1)
0.0b
(/ (- (exp x) 1) x)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×*-un-lft-identity
21×times-frac
14×add-cube-cbrt
10×difference-of-squares
associate-/l*
difference-of-sqr-1 distribute-lft-out--
add-cbrt-cube add-exp-log add-log-exp
associate-/r*
pow1 flip3-- insert-posit16 flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-sub div-exp div-inv
Counts
2 → 64
Calls
2 calls:
Slowest
34.0ms
(/ (- (exp x) 1) x)
16.0ms
(- (exp x) 1)

series74.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
43.0ms
(/ (- (exp x) 1) x)
30.0ms
(- (exp x) 1)

simplify3.4s

Counts
98 → 70
Calls
98 calls:
Slowest
266.0ms
(/ (* (* (- (exp x) 1) (- (exp x) 1)) (- (exp x) 1)) (* (* x x) x))
260.0ms
(* (* (/ (- (exp x) 1) x) (/ (- (exp x) 1) x)) (/ (- (exp x) 1) x))
229.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
163.0ms
(* (* (- (exp x) 1) (- (exp x) 1)) (- (exp x) 1))
127.0ms
(* -1 (/ (- 1 (exp x)) x))

prune525.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 2 expressions with local error:

0.3b
(* 1/6 x)
0.0b
(* x (+ (* 1/6 x) 1/2))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube associate-*r* associate-*l* add-exp-log add-cube-cbrt
pow-prod-down prod-exp associate-*r/ *-commutative cbrt-unprod insert-posit16 add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
2 → 42
Calls
2 calls:
Slowest
19.0ms
(* x (+ (* 1/6 x) 1/2))
5.0ms
(* 1/6 x)

series133.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
105.0ms
(* x (+ (* 1/6 x) 1/2))
28.0ms
(* 1/6 x)

simplify2.3s

Counts
50 → 48
Calls
50 calls:
Slowest
323.0ms
(exp (* x (+ (* 1/6 x) 1/2)))
268.0ms
(* x (- (* (* 1/6 x) (* 1/6 x)) (* 1/2 1/2)))
246.0ms
(* x (+ (pow (* 1/6 x) 3) (pow 1/2 3)))
224.0ms
(* (* (* x x) x) (* (* (+ (* 1/6 x) 1/2) (+ (* 1/6 x) 1/2)) (+ (* 1/6 x) 1/2)))
200.0ms
(* (* (* 1/6 1/6) 1/6) (* (* x x) x))

prune384.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 2 expressions with local error:

3.5b
(+ (exp x) -1)
0.0b
(/ (+ (exp x) -1) x)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
17×add-sqr-sqrt
15×times-frac
12×add-cube-cbrt
difference-of-sqr--1 distribute-lft-out associate-/l*
add-cbrt-cube add-exp-log add-log-exp
associate-/r*
pow1 flip3-+ flip-+ insert-posit16 associate-/l/
cbrt-undiv +-commutative clear-num sum-log frac-2neg div-exp div-inv
Counts
2 → 52
Calls
2 calls:
Slowest
19.0ms
(/ (+ (exp x) -1) x)
14.0ms
(+ (exp x) -1)

series87.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
65.0ms
(/ (+ (exp x) -1) x)
21.0ms
(+ (exp x) -1)

simplify3.2s

Counts
76 → 58
Calls
76 calls:
Slowest
536.0ms
(* x (+ (* (exp x) (exp x)) (- (* -1 -1) (* (exp x) -1))))
383.0ms
(/ (* (* (+ (exp x) -1) (+ (exp x) -1)) (+ (exp x) -1)) (* (* x x) x))
300.0ms
(* (* (/ (+ (exp x) -1) x) (/ (+ (exp x) -1) x)) (/ (+ (exp x) -1) x))
273.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
226.0ms
(+ (* (exp x) (exp x)) (- (* -1 -1) (* (exp x) -1)))

prune308.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes41.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.0b

bsearch43.0ms

end0.0ms

sample2.6s

Algorithm
intervals
Results
979.0ms2338×body1280valid
729.0ms5287×body80valid
545.0ms1599×body640valid
143.0ms805×body320valid
52.0ms434×body160valid