Details

Time bar (total: 1.0m)

sample193.0ms

Algorithm
intervals
Results
142.0ms192×body1280valid
16.0ms242×body80valid
13.0ms32×body640valid
5.0ms18×body320valid
1.0msbody160valid

simplify75.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
74.0ms
(+ (- (exp x) 2) (exp (- x)))

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.8b

localize13.0ms

Local error

Found 2 expressions with local error:

4.5b
(+ (- (exp x) 2) (exp (- x)))
0.0b
(- (exp x) 2)

rewrite402.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
neg-sub0 exp-neg expm1-log1p-u pow1 sum-log sub-neg add-cbrt-cube exp-diff diff-log add-exp-log insert-posit16 log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative flip3-+ associate-+l- flip-+
Counts
2 → 67
Calls
2 calls:
Slowest
343.0ms
(- (exp x) 2)
58.0ms
(+ (- (exp x) 2) (exp (- x)))

series105.0ms

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

simplify7.0s

Counts
85 → 73
Calls
85 calls:
Slowest
605.0ms
(- (* (- (exp x) 2) (- (exp x) 2)) (* (exp (- x)) (exp (- x))))
462.0ms
(+ (* (- (* (exp x) (exp x)) (* 2 2)) (exp x)) (* (+ (exp x) 2) (exp 0)))
340.0ms
(+ (* (- (pow (exp x) 3) (pow 2 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2 2) (* (exp x) 2))) 1))
291.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))))
246.0ms
(+ (* (- (pow (exp x) 3) (pow 2 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2 2) (* (exp x) 2))) (exp 0)))

prune630.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* x x) (* x x))
0.1b
(* (* x x) (* x x))
0.1b
(* 1/360 (* (* x x) (* x x)))
0.0b
(fma (* (* x x) (* x x)) 1/12 (* x x))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
244×pow1
72×pow-prod-up
59×pow-prod-down
46×add-cbrt-cube add-exp-log
44×pow-sqr
36×pow-plus
29×prod-exp cbrt-unprod
26×pow2
add-sqr-sqrt
*-un-lft-identity associate-*l* add-cube-cbrt
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
associate-*r* *-commutative unswap-sqr
swap-sqr
fma-udef
Counts
4 → 174
Calls
4 calls:
Slowest
58.0ms
(* 1/360 (* (* x x) (* x x)))
35.0ms
(* (* x x) (* x x))
24.0ms
(* (* x x) (* x x))
0.0ms
(fma (* (* x x) (* x x)) 1/12 (* x x))

series302.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
125.0ms
(fma (* (* x x) (* x x)) 1/12 (* x x))
64.0ms
(* 1/360 (* (* x x) (* x x)))
60.0ms
(* (* x x) (* x x))
53.0ms
(* (* x x) (* x x))

simplify14.5s

Counts
186 → 186
Calls
186 calls:
Slowest
827.0ms
(* (* (* 1/360 1/360) 1/360) (* (* (* (* x x) x) (* (* x x) x)) (* (* (* x x) x) (* (* x x) x))))
746.0ms
(* (* (* 1/360 1/360) 1/360) (* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x))))
679.0ms
(* (* (* 1/360 (* (* x x) (* x x))) (* 1/360 (* (* x x) (* x x)))) (* 1/360 (* (* x x) (* x x))))
513.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
497.0ms
(* (* (* (* x x) (* x x)) (* x x)) (* (* (* x x) (* x x)) (* x x)))

prune1.7s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

28.3b
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))
28.3b
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))
0.1b
(* (* x x) (* x x))
0.1b
(* (* x x) (* x x))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
228×pow1
72×pow-prod-up
46×pow-prod-down
44×pow-sqr
36×pow-plus
28×add-cbrt-cube add-exp-log
26×pow2
16×prod-exp cbrt-unprod
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt sqrt-prod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 swap-sqr associate-*r* associate-*l* *-commutative unswap-sqr
Counts
4 → 164
Calls
4 calls:
Slowest
44.0ms
(* (* x x) (* x x))
44.0ms
(* (* x x) (* x x))
2.0ms
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))
2.0ms
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
108.0ms
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))
96.0ms
(sqrt (fma (* (* x x) (* x x)) 1/12 (* x x)))
59.0ms
(* (* x x) (* x x))
51.0ms
(* (* x x) (* x x))

simplify13.2s

Counts
178 → 176
Calls
178 calls:
Slowest
983.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
489.0ms
(* (* (* (* x x) (* x x)) (* x x)) (* (* (* x x) (* x x)) (* x x)))
457.0ms
(* (* (* (* x x) (* x x)) (* x x)) (* (* (* x x) (* x x)) (* x x)))
457.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
405.0ms
(* (* (* (* x x) (* x x)) (* x x)) (* (* (* x x) x) (* (* x x) x)))

prune2.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

20.6b
(cbrt (* (* (fma (* (* x x) (* x x)) 1/12 (* x x)) (fma (* (* x x) (* x x)) 1/12 (* x x))) (fma (* (* x x) (* x x)) 1/12 (* x x))))
0.1b
(* (* x x) (* x x))
0.1b
(* (* x x) (* x x))
0.1b
(* (* x x) (* x x))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
337×pow1
108×pow-prod-up
69×pow-prod-down
66×pow-sqr
54×pow-plus
40×add-cbrt-cube add-exp-log
39×pow2
24×prod-exp cbrt-unprod
add-sqr-sqrt expm1-log1p-u *-un-lft-identity add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
swap-sqr associate-*r* associate-*l* *-commutative unswap-sqr
cbrt-prod pow1/3 pow3 rem-cbrt-cube
Counts
4 → 211
Calls
4 calls:
Slowest
42.0ms
(* (* x x) (* x x))
30.0ms
(* (* x x) (* x x))
22.0ms
(* (* x x) (* x x))
20.0ms
(cbrt (* (* (fma (* (* x x) (* x x)) 1/12 (* x x)) (fma (* (* x x) (* x x)) 1/12 (* x x))) (fma (* (* x x) (* x x)) 1/12 (* x x))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
122.0ms
(cbrt (* (* (fma (* (* x x) (* x x)) 1/12 (* x x)) (fma (* (* x x) (* x x)) 1/12 (* x x))) (fma (* (* x x) (* x x)) 1/12 (* x x))))
63.0ms
(* (* x x) (* x x))
45.0ms
(* (* x x) (* x x))
41.0ms
(* (* x x) (* x x))

simplify13.2s

Counts
222 → 223
Calls
222 calls:
Slowest
863.0ms
(cbrt (* (fma (* (* x x) (* x x)) 1/12 (* x x)) (fma (* (* x x) (* x x)) 1/12 (* x x))))
483.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
478.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
442.0ms
(* (* (* (* x x) (* x x)) (* (* x x) (* x x))) (* (* x x) (* x x)))
437.0ms
(* (* (* (* x x) x) (* (* x x) x)) (* (* (* x x) (* x x)) (* x x)))

prune2.5s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes28.0ms

Accuracy

0% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch3.0ms

end0.0ms

sample5.6s

Algorithm
intervals
Results
3.8s5739×body1280valid
967.0ms8069×body80valid
384.0ms1215×body640valid
119.0ms599×body320valid
75.0ms289×body160valid