Details

Time bar (total: 18.8s)

sample134.0ms

Algorithm
intervals
Results
90.0ms179×body1280valid
11.0ms274×body80valid
8.0ms36×body640valid
4.0ms22×body320valid
1.0ms12×body160valid

simplify133.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2268
3408
4498
5548
6638
7808
8958
91038
101118
done1118

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite84.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:
20.0ms
(- (exp x) 2.0)
61.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series90.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(- (exp x) 2.0)
76.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify1.8s

Counts
41 → 41
Iterations

Useful iterations: 3 (570.0ms)

IterNodesCost
093511
1204465
2579445
32107432
done5000432

prune171.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))

rewrite93.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:
9.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
47.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
23.0ms
(* 1/360 (pow x 6))
12.0ms
(* 1/12 (pow x 4))

series372.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
70.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
70.0ms
(* 1/360 (pow x 6))
41.0ms
(* 1/12 (pow x 4))

simplify4.3s

Counts
87 → 87
Iterations

Useful iterations: done (4.3s)

IterNodesCost
01331068
1331934
2952888
34364870
done5001868

prune378.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize18.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)))))

rewrite299.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:
206.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))))))
24.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
39.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
25.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

series815.0ms

Counts
4 → 12
Calls
4 calls:
190.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))))))
223.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
208.0ms
(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)))))

simplify2.3s

Counts
107 → 107
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01614106
13603755
29463511
329353006
done50002940

prune599.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize43.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))

rewrite149.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:
18.0ms
(* 1/360 (pow x 6))
11.0ms
(* 1/12 (pow x 4))
46.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
69.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

series286.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 1/360 (pow x 6))
44.0ms
(* 1/12 (pow x 4))
112.0ms
(pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3)
66.0ms
(cbrt (pow (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))) 3))

simplify943.0ms

Counts
114 → 114
Iterations

Useful iterations: done (939.0ms)

IterNodesCost
01812128
14241835
212161643
done50011627

prune433.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes37.0ms

Accuracy

49% (0.3b remaining)

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

bsearch57.0ms

Steps
ItersRangePoint
8
-0.7718806003288846
-0.0008047768791668974
-0.03372358286109268

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02842
13342
done3342

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.6s5661×body1280valid
521.0ms1239×body640valid
445.0ms7952×body80valid
173.0ms634×body320valid
35.0ms318×body160valid