Details

Time bar (total: 11.7s)

sample82.0ms

Algorithm
intervals
Results
28.0ms72×body1280valid
20.0ms182×body80valid
13.0ms52×body640valid
4.0ms29×body320valid
1.0ms14×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.3b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
5.0b
(- (exp x) 1.0)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
35.0ms
(/ (- (exp x) 1.0) x)
11.0ms
(- (exp x) 1.0)

series86.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(/ (- (exp x) 1.0) x)
16.0ms
(- (exp x) 1.0)

simplify2.4s

Counts
58 → 58
Iterations

Useful iterations: 3 (941.0ms)

IterNodesCost
099596
1227572
2802544
34675537
done5002537

prune194.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (+ 1/2 (* 1/6 x))) 1)
0.0b
(+ 1/2 (* 1/6 x))
0.1b
(* x (+ 1/2 (* 1/6 x)))
0.4b
(* 1/6 x)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
flip3-+ flip-+
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 64
Calls
4 calls:
22.0ms
(+ (* x (+ 1/2 (* 1/6 x))) 1)
11.0ms
(+ 1/2 (* 1/6 x))
18.0ms
(* x (+ 1/2 (* 1/6 x)))
11.0ms
(* 1/6 x)

series196.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* x (+ 1/2 (* 1/6 x))) 1)
44.0ms
(+ 1/2 (* 1/6 x))
93.0ms
(* x (+ 1/2 (* 1/6 x)))
18.0ms
(* 1/6 x)

simplify1.4s

Counts
76 → 76
Iterations

Useful iterations: 2 (354.0ms)

IterNodesCost
0101708
1310650
21528604
done5001604

prune183.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* x (+ 1/2 (* 1/6 x))))
0.1b
(* x (+ 1/2 (* 1/6 x)))
0.4b
(* 1/6 x)
1.0b
(log (* E (exp (* x (+ 1/2 (* 1/6 x))))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1
10×add-exp-log
add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l* add-log-exp
prod-exp
rem-log-exp pow-prod-down
distribute-rgt-in distribute-lft-in associate-*r/ exp-sum log-pow *-commutative cbrt-unprod unswap-sqr
e-exp-1 log-prod exp-prod exp-to-pow flip3-+ flip-+ rem-exp-log
Counts
4 → 65
Calls
4 calls:
11.0ms
(exp (* x (+ 1/2 (* 1/6 x))))
33.0ms
(* x (+ 1/2 (* 1/6 x)))
12.0ms
(* 1/6 x)
18.0ms
(log (* E (exp (* x (+ 1/2 (* 1/6 x))))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(exp (* x (+ 1/2 (* 1/6 x))))
103.0ms
(* x (+ 1/2 (* 1/6 x)))
15.0ms
(* 1/6 x)
167.0ms
(log (* E (exp (* x (+ 1/2 (* 1/6 x))))))

simplify978.0ms

Counts
77 → 77
Iterations

Useful iterations: done (974.0ms)

IterNodesCost
0103681
1274625
21345563
done5001562

prune250.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
0.0b
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
5.0b
(- (exp (+ x x)) (* 1.0 1.0))

rewrite493.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
133×*-un-lft-identity
103×add-sqr-sqrt
81×add-cube-cbrt
44×difference-of-squares
31×associate-/l*
26×distribute-lft-out
22×exp-sum
10×add-exp-log associate-/r/ add-cbrt-cube
associate-/r*
div-inv
flip3-+ flip-+ add-log-exp
cbrt-undiv div-exp
pow1 div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg diff-log
Counts
3 → 183
Calls
3 calls:
194.0ms
(/ (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
206.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
73.0ms
(- (exp (+ x x)) (* 1.0 1.0))

series187.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(/ (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
58.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
34.0ms
(- (exp (+ x x)) (* 1.0 1.0))

simplify2.0s

Counts
192 → 192
Iterations

Useful iterations: 2 (619.0ms)

IterNodesCost
02924572
17684396
238964150
done50004150

prune601.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes39.0ms

Accuracy

98.9% (0.2b remaining)

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

bsearch47.0ms

Steps
ItersRangePoint
8
-0.03117879455470207
-2.7237372521413145e-05
-0.00013650728455141193

simplify10.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02338
12938
done2938

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.1s2286×body1280valid
298.0ms1685×body640valid
273.0ms5420×body80valid
98.0ms807×body320valid
32.0ms424×body160valid