Details

Time bar (total: 17.9s)

sample119.0ms

Algorithm
intervals
Results
80.0ms179×body1280valid
10.0ms274×body80valid
9.0ms36×body640valid
3.0ms22×body320valid
1.0ms12×body160valid

simplify157.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1188
2368
3668
4848
51048
61588
71598
done1598

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
11.0ms
(- (exp x) 2.0)
65.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series108.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (exp x) 2.0)
85.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify1.6s

Counts
41 → 41
Iterations

Useful iterations: done (1.6s)

IterNodesCost
093511
1357465
done5000439

prune151.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+ distribute-lft-out
Counts
4 → 75
Calls
4 calls:
11.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
35.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
20.0ms
(* 1/360 (pow x 6))
18.0ms
(* 1/12 (pow x 4))

series757.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
76.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
76.0ms
(* 1/360 (pow x 6))
423.0ms
(* 1/12 (pow x 4))

simplify1.7s

Counts
87 → 87
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01331068
1872938
done5001890

prune315.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
29.9b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
29.9b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
29.9b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

rewrite392.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
284.0ms
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
21.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
34.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
47.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

series912.0ms

Counts
4 → 12
Calls
4 calls:
246.0ms
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
195.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
234.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
236.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

simplify3.2s

Counts
107 → 107
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01614106
19283787
done50013182

prune593.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))
0.2b
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
17.5b
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

rewrite164.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
16×add-cube-cbrt unpow-prod-down
15×add-exp-log
14×cbrt-prod associate-*r*
add-cbrt-cube
cube-prod
associate-*l* prod-exp unswap-sqr sqr-pow
pow1
cube-div distribute-lft-out add-log-exp
pow-to-exp pow-unpow pow-exp
cube-mult cbrt-div flip3-+ unpow3 *-commutative cbrt-unprod flip-+
pow-pow pow1/3 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 102
Calls
4 calls:
23.0ms
(* 1/360 (pow x 6))
14.0ms
(* 1/12 (pow x 4))
62.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
60.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

series314.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* 1/360 (pow x 6))
49.0ms
(* 1/12 (pow x 4))
119.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
85.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

simplify1.8s

Counts
114 → 114
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01812128
113701705
done50001637

prune400.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes38.0ms

Accuracy

49% (0.3b remaining)

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

bsearch40.0ms

Steps
ItersRangePoint
8
-0.7718806003288846
-0.0008047768791668974
-0.03372358286109268

simplify7.0ms

Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
02843
13843
23942
done3942

end0.0ms

sample4.8s

Algorithm
intervals
Results
3.4s5661×body1280valid
459.0ms7952×body80valid
377.0ms1239×body640valid
104.0ms634×body320valid
90.0ms318×body160valid